Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bencevans/find-modis-tile
🛰 Find X/Y MODIS Tile by Lon/Lat
https://github.com/bencevans/find-modis-tile
geospatial modis satelites
Last synced: 9 days ago
JSON representation
🛰 Find X/Y MODIS Tile by Lon/Lat
- Host: GitHub
- URL: https://github.com/bencevans/find-modis-tile
- Owner: bencevans
- Created: 2017-01-01T19:58:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-24T18:08:27.000Z (almost 8 years ago)
- Last Synced: 2024-11-13T00:05:53.392Z (2 months ago)
- Topics: geospatial, modis, satelites
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# find-modis-tile [![Build Status](https://travis-ci.org/bencevans/find-modis-tile.svg?branch=master)](https://travis-ci.org/bencevans/find-modis-tile) [![Coverage Status](https://coveralls.io/repos/github/bencevans/find-modis-tile/badge.svg?branch=master)](https://coveralls.io/github/bencevans/find-modis-tile?branch=master)
> Find the MODIS X/Y for a given Longitude/Latitude
## Install
```
$ npm install --save find-modis-tile
```## Usage
```js
const findModisTile = require('find-modis-tile');const long = 0;
const lat = 0;findModisTile(long, lat);
//=> { x: 17,
//=> y: 8,
//=> lonMin: -10.1532,
//=> lonMax: 0.0085,
//=> latMin: 0,
//=> latMax: 10 }
```## API
### findModisTile(lonLat)
#### lonLat
Type: `array[2]/number`
Longitude, Latitude array.
## License
MIT © [Ben Evans](http://bencevans.io)