open-redistricting icon indicating copy to clipboard operation
open-redistricting copied to clipboard

Find examples of using Esri/other industry-standard tools to output geojson

Open waldoj opened this issue 8 years ago • 7 comments

Add this to step 4.

waldoj avatar Jul 27 '16 20:07 waldoj

Be sure to look into TopoJSON vs. GeoJSON.

waldoj avatar Jul 27 '16 20:07 waldoj

Esri Redistricting publishes its data to ArcGIS Online, which allows data to be downloaded as GeoJSON. I want to plot out what that path looks like, but at least we know it's possible.

waldoj avatar Jul 28 '16 14:07 waldoj

Maptitude supports GeoJSON, but in an odd way. Their table of formats does not mention GeoJSON, but their "Mapplications" export process publishes data as GeoJSON:

In Maptitude, it is as simple as choosing File-Save As-Mapplication.

It sounds like it produces a directory full of images, Leaflet JS, GeoJSON, HTML etc., which the user can then publish to their own web server. So this sure looks like a simple path for the production of GeoJSON directly from Maptitude.

waldoj avatar Jul 28 '16 16:07 waldoj

Linked here from workflow doc. https://github.com/stamen/usopendata/commit/49b2d73181a422bbc58f2469c36f55c06a50813c

Leaving open in case we want to find more tools. Ultimately, it would be good to pull these options directly into the workflow doc.

ericsoco avatar Sep 19 '16 21:09 ericsoco

@benbalter uses ogr2ogr to automate conversion from ESRI shapefiles to GeoJSON.

Pretty sure I've used this before as well, since openredist went on hold.

ericsoco avatar Jan 14 '19 00:01 ericsoco

@benbalter uses ogr2ogr to automate conversion from ESRI shapefiles to GeoJSON.

See also https://ben.balter.com/2013/06/26/how-to-convert-shapefiles-to-geojson-for-use-on-github/

benbalter avatar Jan 14 '19 17:01 benbalter

Mapshaper is great for a web UI, and offers shape simplification, reprojection, and other features (available via ogr2ogr CLI).

ericsoco avatar Jan 21 '19 22:01 ericsoco