Created
December 3, 2019 02:15
-
-
Save clhenrick/ff28e365d85c4cea14793630a1863595 to your computer and use it in GitHub Desktop.
California Assembly Districts GeoJSON using ogr2ogr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
URI="https://services1.arcgis.com/sTaVXkn06Nqew9yU/ArcGIS/rest/services/Political_Boundaries_Feb2016/FeatureServer/1/query?&outfields=*&f=geojson&where=objectid%20is%20not%20null" | |
ogr2ogr -f GeoJSON ca_assembly_districts.json $URI OGRGeoJSON |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment