Last active
July 20, 2018 01:33
-
-
Save mmcfarland/5b3ec57991cb2d2c2a38f225d45de8e6 to your computer and use it in GitHub Desktop.
PWD Parcels to Vector Tiles
This file contains 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
# Shapefile in state plane to geojson wgs84 | |
docker run -v $(pwd):/data -i fuzzytolerance/gdal ogr2ogr -f "GeoJSON" parcels.geojson PWD_PARCELS.shp -s_srs EPSG:2272 -t_srs EPSG:4326 | |
# Geojson to directory of uncompressed vector tiles | |
docker run -it -v $(pwd):/tmp klokantech/tippecanoe tippecanoe --no-feature-limit --no-tile-size-limit --no-tile-compression --minimum-zoom=11 --maximum-zoom=15 --exclude-all --drop-fraction-as-needed --output-to-directory /tmp/tiles -L parcels:/tmp/parcels.geojson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment