GithubHelp home page GithubHelp logo

githubjike / geo-maps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simonepri/geo-maps

0.0 2.0 0.0 10.61 MB

๐Ÿ—บ High Quality GeoJSON maps programmatically generated.

License: MIT License

JavaScript 96.88% Shell 3.12%

geo-maps's Introduction

geo-maps

awesome-geojson total downloads maps format maps source software license data license


๐Ÿ—บ High Quality GeoJSON maps programmatically generated.

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

Previews

Click on the images below to see some live examples of maps generated by this project.

Please note that these examples show you the worst resolutions available (for speed reasons).
You can find more maps below.

Background

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.
Feel free to propose new kind of maps! ๐ŸŽ‰

Do you believe that this is cool? If so, support us with a โญ๏ธ!

Maps

Below you can find different kind of maps divided by type and exported with different precisions.
Please note that for precision we mean the absolute error between the polygons in the original map extracted from OSM and the ones we produce.

In case you are using these maps for some projects, let us know!
We will love to see what you have built!

Map of countries' political maritime boundaries

To export these maps we retrieve the list of countries with osm-countries and for each country, we fetch its GeoJSON using osm-geojson.
Then we collect all GeoJSONs in a single GeoJSON on which we apply the Visvalingam algorithm with different resolutions using mapshaper's simplify feature.

You can find the source code of the exportation process here.

Below you can find references to all the resolutions available for this kind of map.
Click on badges to interact with them.

Resolution Preview Size GH Downloads NPM Downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads

Map of countries' political coastline boundaries

To export these maps we retrieve the list of countries with osm-countries and for each country, we fetch its GeoJSON using osm-geojson.
Then we subtract from each country's GeoJSON the world-land's GeoJSON using the clip feature of mapshaper.
Finally we collect all GeoJSONs in a single GeoJSON on which we apply the Visvalingam algorithm with different resolutions using mapshaper's simplify feature.

You can find the source code of the exportation process here.

Below you can find references to all the resolutions available for this kind of map.
Click on badges to interact with them.

Resolution Preview Size GH Downloads NPM Downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads

To export these maps we first download the simplified shapefile of land polygons from the OpenStreetMapData page.
Then we project the shapefile to EPSG:4326 coordinates and export it to GeoJSON format using mapshaper project feature.
Finally we apply the Visvalingam algorithm on the GeoJSON with different resolutions using mapshaper's simplify feature.

You can find the source code of the exportation process here.

Below you can find references to all the resolutions available for this kind of map.
Click on badges to interact with them.

Resolution Preview Size GH Downloads NPM Downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads
map resolution map preview file size github downloads npm downloads

Conversion to other format

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

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.

geo-maps's People

Contributors

tapionx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.