163 lines
15 KiB
Plaintext
163 lines
15 KiB
Plaintext
# awesome geojson [](https://github.com/sindresorhus/awesome)
|
||
|
||
GeoJSON utilities that will make your life easier.
|
||
|
||
<a href='https://www.placemark.io/'><i><img src='.github/placemark.png' width='16' alt='Placemark' height='16' /> Sponsored by Placemark, a collaborative editor for maps with great support for GeoJSON</i></a>
|
||
|
||
### operations
|
||
|
||
* [CoGran](https://github.com/berlinermorgenpost/cogran): Resample statistics from one set of GeoJSON polygons to another
|
||
* [geo_assigner](https://github.com/stadt-karlsruhe/geo_assigner): Copy a property to all intersecting features
|
||
* [geojson-coords](https://github.com/mapbox/geojson-coords): Extract coordinates from GeoJSON
|
||
* [geojson-extent](https://www.npmjs.com/package/geojson-extent): compute the bounding box of geojson features
|
||
* [geojson-flatten](https://github.com/tmcw/geojson-flatten): flatten multi geometries into normal geometries
|
||
* [geojson-multiply](https://github.com/haoliangyu/geojson-multiply): merge normal geojson features into one multi geometry type feature
|
||
* [geojson-js-utils](https://github.com/maxogden/geojson-js-utils): JavaScript helper functions for manipulating GeoJSON
|
||
* [geojson-merge](https://github.com/mapbox/geojson-merge): Merge multiple GeoJSON files into one FeatureCollection.
|
||
* [geojson-normalize](https://github.com/mapbox/geojson-normalize): normalize any geojson object into a geojson featurecollection
|
||
* [geojson-pick](https://www.npmjs.com/package/geojson-pick): remove all but specified properties from features in a geojson featurecollection
|
||
* [geojson-random](https://github.com/tmcw/geojson-random): generate random geojson points, lines, and polygons
|
||
* [geojson-rewind](https://github.com/mapbox/geojson-rewind): enforce ring winding order
|
||
* [rfc7946-to-d3](https://github.com/tyrasd/rfc7946-to-d3): Converts polygon winding order between rfc7946 and [d3 compatible](https://github.com/d3/d3-geo#d3-geo) conventions.
|
||
* [geojson-summary](https://github.com/mapbox/geojson-summary): get a plain-english summary of what's in a geojson file
|
||
* [point-grouper](https://github.com/substack/point-grouper): group geojson points into containing polygons
|
||
* [geojson-join](https://github.com/tmcw/geojson-join): join geojson against json, dbf, and csv files
|
||
* [simplify-geojson](https://github.com/maxogden/simplify-geojson): apply the ramer-douglas-peucker line simplification to geojson features or feature collections in JS or on the CLI
|
||
* [turf](https://github.com/Turfjs/turf): collection of functions for spatial operations and analysi
|
||
* [turf_dart](https://github.com/dartclub/turf_dart): a turf.js port for Dart and Flutter
|
||
* [de9im](https://github.com/dpmcmlxxvi/de9im): collection of fast functions for spatial javascript operations
|
||
* [winnow](https://github.com/dmfenton/winnow): run sql queries against geojson with javascript
|
||
* [geojson-id-streaming](https://github.com/andrewharvey/geojson-id-streaming): Add a unique id to each Feature
|
||
* [geojson-mesh](https://github.com/andrewharvey/geojson-mesh): extract shared borders of Polygons in a GeoJSON
|
||
* [geojson-polygon-labels](https://github.com/andrewharvey/geojson-polygon-labels): generate point labels from GeoJSON polygons
|
||
* [geojsontools](https://github.com/micolous/geojsontools): Python tools for manipulating GeoJSON files
|
||
* [geojson-indoor-tools](https://github.com/armanjr/geojson-indoor-tools): Python tools for editing indoor GeoJSON features: adding room heights, building walls and creating doors
|
||
* [geojson-shave](https://github.com/ben-n93/geojson-shave): a Python command-line tool for reducing the size of GeoJSON files.
|
||
|
||
|
||
|
||
### editors & viewers
|
||
|
||
* [play.placemark.io](https://play.placemark.io/): web-based editor, supports many filetype imports & exports, operations
|
||
* [geojson.io](http://geojson.io/): web-based editor, supports many filetype imports & exports, operations, sharing via GitHub
|
||
* [umap](http://umap.openstreetmap.fr/en/): web-based editor, supports sharing on-site
|
||
* [geojson.tools](http://geojson.tools/): web-based editor from HERE XYZ
|
||
* [mapstarter](http://mapstarter.com/): helps generate svg, images, and code from GeoJSON
|
||
* [gjv](https://github.com/anandthakker/gjv): electron app enables viewing GeoJSON locally and hack on it with turf; works offline
|
||
* [GeoJSON editor](https://tomscholz.github.io/geojson-editor/): a modified version of Google's simple geojson editor
|
||
* [geojson2image](https://github.com/brycejohnston/geojson2image): library for generating images from GeoJSON
|
||
* [dropchop](http://dropchop.io/): browser-based GIS based on Turf.js
|
||
* [Web GIS](https://drewweth.github.io/geodebugger): tools to view, inspect, and manipulate geospatial data
|
||
* [img2geojson](https://caseymm.github.io/img2geojson/): digitize images by overlaying on a web map and drawing
|
||
* [point_ed](https://zverik.github.io/point_ed/): click on map to add points, download those as GeoJSON file
|
||
* [geojson.io-for-vscode](https://marketplace.visualstudio.com/items?itemName=swallow.geojson-io-for-vscode): create, edit, and preview GeoJSON data in VSCode, just like [geojson.io](http://geojson.io/)
|
||
|
||
### validation
|
||
|
||
* [geojsonhint](https://github.com/mapbox/geojsonhint): find errors in your geojson files
|
||
* [check-geojson](https://github.com/placemark/check-geojson): alternative to geojsonhint
|
||
* [geojson-validation](https://www.npmjs.com/package/geojson-validation): many validation functions, plus simple gjv command line tool
|
||
* [gjf](https://github.com/yazeed44/gjf): A tool to fix invalid GeoJSON objects
|
||
* [Jest-GeoJSON](https://github.com/M-Scott-Lassiter/jest-geojson): an extended set of matcher functions for the Jest Javascript unit testing framework tailored to evaluating GeoJSON data
|
||
* [antimeridian](https://github.com/gadomski/antimeridian): Fix GeoJSON polygons that cross the antimeridian (Python package)
|
||
* [geojson-pydantic](https://github.com/developmentseed/geojson-pydantic): [Pydantic](https://docs.pydantic.dev/latest/) models for GeoJSON
|
||
|
||
### services
|
||
|
||
* [geojsonio-cli](https://github.com/mapbox/geojsonio-cli): send geojson features to geojson.io from your command line
|
||
* [geojsonio-extension](https://github.com/mapbox/geojsonio-extension): chrome extension for editing github files in geojson.io
|
||
* [geojsonlint](http://geojsonlint.com/): REST interface for GeoJSON validation
|
||
* [mapshaper](http://mapshaper.org/): Simple interface for simplification and conversion of GeoJSON and TopoJSON
|
||
* [koop](https://koopjs.github.io): Server with plugins that recast Esri, GitHub, Socrata and other services as GeoJSON endpoints
|
||
* [featureserver](https://github.com/featureserver/featureserver): An open source Esri-Style Feature Server
|
||
* [geojson minify](https://open-innovations.github.io/geojson-minify/): Minifier (compressor) to reduce file sizes
|
||
|
||
### conversion
|
||
|
||
* **CSV**
|
||
* [csv2geojson](https://github.com/mapbox/csv2geojson): convert CSV to geojson
|
||
* [geojson2dsv](https://github.com/tmcw/geojson2dsv): convert geojson to CSV and TSV
|
||
* [geojson-mapnikify](https://github.com/mapbox/geojson-mapnikify): Transform GeoJSON objects into Mapnik XML stylesheets with embedded GeoJSON data and simplestyle-spec-derived styles.
|
||
* [geojson-vt](https://github.com/mapbox/geojson-vt): Slice GeoJSON into vector tiles on the fly in the browser
|
||
* [vt-geojson](https://github.com/developmentseed/vt-geojson): Extract GeoJSON from Mapbox vector tiles
|
||
* [geojson2rtree](https://github.com/maxogden/geojson2rtree): generate a static rtree (using terraformer) from a set of geojson features
|
||
* [ogr2ogr](http://www.gdal.org/ogr2ogr.html): convert anything to anything
|
||
* [fiona](https://github.com/toblerity/fiona): nice python interface on top of ogr
|
||
* [shp2json](https://github.com/substack/shp2json): convert shapefile zip archives to streaming GeoJSON
|
||
* [togeojson](https://github.com/tmcw/togeojson): convert GPX & KML to geojson
|
||
* [tokml](https://github.com/mapbox/tokml): convert GeoJSON to KML
|
||
* [topojson](https://github.com/topojson/topojson): convert GeoJSON to & from TopoJSON, join data from CSV
|
||
* [wellknown](https://github.com/mapbox/wellknown): convert WKT to GeoJSON
|
||
* [betterknown](https://github.com/placemark/betterknown): convert WKT to GeoJSON (successor to wellknown)
|
||
* [esri2open](https://github.com/project-open-data/esri2open) converts proprietary Esri formats to GeoJSON
|
||
* [gtfs2geojson](https://github.com/tmcw/gtfs2geojson): convert GTFS transit data to GeoJSON
|
||
* [geoxform](https://github.com/koopjs/geoxform): convert any size stream of geojson into a streaming CSV, Shapefile or KML, etc.
|
||
* [supercluster](https://github.com/mapbox/supercluster): A fast GeoJSON clustering library for browsers and Node.
|
||
* **SVG**
|
||
* [geojson2svg](https://github.com/gagan-bansal/geojson2svg): Converts GeoJSON to SVG string given SVG view port size and maps extent.
|
||
* [geojson-svgify](https://github.com/juliuste/geojson-svgify): Convert GeoJSON geometry paths to SVG polyline elements.
|
||
* [geojson-to-svg-cli](https://github.com/derhuerst/geojson-to-svg-cli): Command line tool to convert GeoJSON to SVG.
|
||
* [svg-to-geojson](https://github.com/mapbox/svg-to-geojson): Drag and drop SVG on the map and it returns GeoJSON back to you.
|
||
* [geojson2ndjson](https://www.npmjs.com/package/geojson2ndjson): convert GeoJSON to/from newline-delimited GeoJSON
|
||
* [geobuf](https://www.npmjs.com/package/geobuf/v/0.2.1): convert GeoJSON to/from GeoBuf
|
||
* **OpenStreetMap**
|
||
* [osmtogeojson](https://github.com/tyrasd/osmtogeojson): convert OpenStreetMap data to GeoJSON
|
||
* [osm2geojson](https://github.com/rclark/osm2geojson): converts OSM XML to GeoJSON
|
||
* [osm2geojson](https://github.com/aspectumapp/osm2geojson): (Python) converts OSM XML and Overpass XML/JSON to GeoJSON
|
||
* [minjur](https://github.com/mapbox/minjur): converts OpenStreetMap data to GeoJSON faster than anything else
|
||
* [geojsontoosm](https://github.com/tyrasd/geojsontoosm): convert GeoJSON to OSM XML
|
||
* [geojson2osm](https://github.com/Rub21/geojson2osm): convert GeoJSON to OSM XML
|
||
* [osm-and-geojson](https://github.com/aaronlidman/osm-and-geojson): convert GeoJSON to OSM XML and OSM XML to GeoJSON
|
||
* [geojson2osm-es6](https://github.com/DenisCarriere/geojson2osm-es6/): convert GeoJSON to OSM XML
|
||
* [query-overpass](https://github.com/perliedman/query-overpass) CLI to make Overpass query and transform result to GeoJSON. Based on [osmtogeojson](https://github.com/tyrasd/osmtogeojson)
|
||
* [topojson for Python](https://github.com/mattijn/topojson): Topojson is a library that is capable of creating a topojson encoded format of merely any spatial object in Python.
|
||
* [geomet](https://github.com/geomet/geomet): Pure Python conversion library for common geospatial data formats
|
||
|
||
|
||
### data
|
||
|
||
* [natural earth](http://www.naturalearthdata.com/): country, province, and geographical data
|
||
* [geojson.xyz](http://geojson.xyz/): natural earth data in web-friendly sizes with hotlinking
|
||
* [world-atlas](https://github.com/topojson/world-atlas): customizable simplified versions of natural earth data
|
||
* [geo-maps](https://github.com/simonepri/geo-maps): High Quality GeoJSON maps programmatically generated.
|
||
* [openflights-geojson](https://github.com/tmcw/openflights-geojson): [openflights](http://openflights.org/) airports & airplane routes
|
||
* [us-atlas](https://github.com/topojson/us-atlas): geojson & topojson for United States features
|
||
* [metro-extracts](https://mapzen.com/data/metro-extracts/): regional OpenStreetMap data as GeoJSON
|
||
* [whereonearth-airport](https://github.com/straup/whereonearth-airport): outlines of every airport
|
||
* [whereonearth-building](https://github.com/straup/whereonearth-building/): building outlines
|
||
* [whereonearth repos](https://github.com/search?q=user%3Astraup+whereonearth): other features output from GeoPlanet by Aaron Straup Cope
|
||
* [tgn-geojson](https://github.com/straup/tgn-geojson): The Getty Thesaurus of Geographic Names (TGN) As GeoJSON.
|
||
* [strava-to-geojsonio](https://github.com/taketime/strava-to-geojsonio): export runs & rides from Strava to GeoJSON
|
||
* [strava-geojson](https://github.com/tmcw/strava-geojson): export _all_ strava data to geojson, in node & [on the web](http://www.macwright.org/strava-geojson/)
|
||
* [gimme OSM](http://ustroetz.github.io/gimmeOSM/): Fetch geojson file by openstreetmap id
|
||
* [country-levels](https://github.com/hyperknot/country-levels-export) Full planet GeoJSON extracts, based on ISO and FIPS codes.
|
||
* [historical-basemaps](https://github.com/aourednik/historical-basemaps): Collection of georeferenced boundaries of world countries and cultural regions for use in mapping historical data on the world scale.
|
||
* [99boundaries](https://github.com/TimMcCauley/nintynine-boundaries): Generate any maritime & land boundary in GeoJSON and other file formats or [download directly from the web](https://99boundaries.com)
|
||
* [france-geojson](https://github.com/gregoiredavid/france-geojson): Outlines of regions, departments, arrondissements, cantons and communes of France (mainland and overseas departments) in GeoJSON format
|
||
* [zg3d](https://data.zagreb.hr/dataset/zg3d-2022-3d-model-gz): 3D models of existing buildings in the City of Zagreb, Croatia in GeoJSON (CSV and Excel also available).
|
||
|
||
### serialization
|
||
|
||
* [python-geojson](https://github.com/frewsxcv/python-geojson): serialize geojson to/from python datatypes
|
||
* [rgeo-geojson](https://github.com/rgeo/rgeo-geojson): serialize geojson to/from ruby RGeo datatypes
|
||
* [rust-geojson](https://github.com/georust/rust-geojson): serialize geojson to/from rust datatypes
|
||
* [geojson-jackson](https://github.com/opendatalab-de/geojson-jackson): serialize GeoJSON to and from Java datatypes (based on [Jackson](http://wiki.fasterxml.com/JacksonHome))
|
||
* [mapbox-java](https://github.com/mapbox/mapbox-java): serialize GeoJSON to and from Java datatypes (based on [Gson](https://github.com/google/gson))
|
||
* [geojson-serializer](https://github.com/ancore/geojson-serializer): serialize Java with annotations as GeoJSON
|
||
|
||
### resources
|
||
|
||
* [RFC 7946 – The GeoJSON Format](https://tools.ietf.org/html/rfc7946): the current GeoJSON standard by IETF
|
||
* [GeoJSON.org](http://geojson.org/): the first specification, defining all the rules for GeoJSON structures
|
||
* [More than you ever wanted to know about GeoJSON](http://www.macwright.org/2015/03/23/geojson-second-bite.html): a review of the concepts behind the specification in a more narrative format.
|
||
* [geojson-invalid-geometry](https://github.com/chrieke/geojson-invalid-geometry): List of GeoJSON invalid geometry issues with example files.
|
||
|
||
## License
|
||
|
||
[](https://creativecommons.org/publicdomain/zero/1.0/ )
|
||
|
||
To the extent possible under law, [Tom MacWright](http://www.macwright.org) has waived all copyright and related or neighboring rights to this work.
|
||
|
||
[geojson.md Github](https://github.com/tmcw/awesome-geojson
|
||
)
|