Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/earth-shapefiles
:earth_asia: Shapefiles of the Earth sourced from Natural Earth
https://github.com/hughsk/earth-shapefiles
Last synced: 8 days ago
JSON representation
:earth_asia: Shapefiles of the Earth sourced from Natural Earth
- Host: GitHub
- URL: https://github.com/hughsk/earth-shapefiles
- Owner: hughsk
- License: other
- Created: 2014-09-23T14:20:57.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-23T15:52:52.000Z (about 10 years ago)
- Last Synced: 2024-04-25T23:20:23.593Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 117 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# earth-shapefiles [![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)
Shapefiles of the Earth sourced from
[Natural Earth](http://www.naturalearthdata.com/).## Usage
[![NPM](https://nodei.co/npm/earth-shapefiles.png)](https://nodei.co/npm/earth-shapefiles/)
After installing, you can get the file path of the shapefile like so:
``` javascript
require.resolve('earth-shapefiles/110m.shp')
require.resolve('earth-shapefiles/50m.shp')
require.resolve('earth-shapefiles/10m.shp')
```Or like so:
``` javascript
require('earth-shapefiles')['110m']
require('earth-shapefiles')['50m']
require('earth-shapefiles')['10m']
```## License
MIT. See [LICENSE.md](http://github.com/hughsk/earth-shapefiles/blob/master/LICENSE.md) for details.