openstates / openstates-geo

Source for state legislative district map tiles for openstates.org
MIT License
24 stars 12 forks source link

Try merging GeoJSONs within tippecanoe #13

Closed mileswwatkins closed 5 years ago

mileswwatkins commented 5 years ago

Tippecanoe can apparently take multiple GeoJSON inputs. If it can properly ingest all 102 files simultaneously (which is a big "maybe"), then we could avoid the sed and awk shell-script steps that currently manually append the GeoJSON Features together (since @mapbox/geojson-merge fails to do so). This would also require moving the OCD ID assignment step to earlier in the process, and maybe removing the streaming component.

mileswwatkins commented 5 years ago

Now it seems that the build process is slower, but much simpler and more readable.