92

GitHub - simonepri/geo-maps: ? High Quality GeoJSON maps programmatically genera...

 6 years ago
source link: https://github.com/simonepri/geo-maps
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

geo-maps

world_map High Quality GeoJSON maps programmatically generated.

The only GeoJSON maps of the world you will ever need!

Motivation

The purpose of this project is to programmatically extract maps from open databases like OpenStreetMap providing you with a ready to use GeoJSON map that fits your needs.

Do you believe that this is cool? If so, !

Table of maps

In this section you can find all the maps generated by this project.
Feel free to propose new kinds of maps! tada

For each map you can click on the image to see a live preview.
Please note that the previews show you the worst resolution available.
See the details for higher resolutions.

All the maps are exported as GeoJSON and available to be downloaded directly from GitHub or as package on npm.
See the details of each map for more information on how to get started.

Preview Name Short Description Info Page
countries-land Countries' political land borders
countries-coastline Countries' political coastline borders
countries-maritime Countries' political maritime borders
earth-lands Earth's lands
earth-coastlines Earth's coastlines
earth-waterbodies Earth's waterbodies
earth-seas Earth's seas and oceans
earth-lakes Earth's lakes
earth-rivers Earth's rivers

Conversion to other formats

If you need to convert maps in any of Shapefile, TopoJSON, CSV, SVG formats you can use the mapshaper's web interface to export the map in the format of your need.

Showcase

Do you use geo-maps in your application? Please open a Pull Request to include it here.
We would love to have it in our list:

  • country-iso: world_map Get ISO 3166-1 alpha-3 country code for geographic coordinates.
  • is-sea: ocean Check whether a geographic coordinate is in the sea or not on the earth.

Development

PRs are REALLY welcome.
Scripts used to build maps are all contained in the gulp folder.

To release the project the following actions needs to be executed from the root.

$ npm i
$ npm run test
$ npm run build
$ npm run previews
$ npm run release
$ npm run publish

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

All data of this project is licensed under the Open Data Commons Public Domain Dedication and License as stated in OpenStreetMap License

All source code of this project is licensed under the MIT License - see the LICENSE file for details.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK