Skip to content

Commit

Permalink
fixes #103 to mark Kentucky as 2014 vintage
Browse files Browse the repository at this point in the history
  • Loading branch information
nvkelso committed Apr 1, 2017
1 parent 49f8115 commit 937b36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ out/21-kentucky/state.gpkg: data/21-kentucky/statewide/2016/kyprecinctsmergedfin
# Write to temporary GeoJSON because OGR SQL and GPKG driver
# don't like spaces in shapefile layer name.
rm -f out/21-kentucky/source/temporary.geojson
ogr2ogr -sql "SELECT '2016' AS year, 'Kentucky' AS state, COUNTY AS county, VTD AS precinct, 'polygon' AS accuracy FROM "'"KY Precincts Merged Final"' \
ogr2ogr -sql "SELECT '2014' AS year, 'Kentucky' AS state, COUNTY AS county, VTD AS precinct, 'polygon' AS accuracy FROM "'"KY Precincts Merged Final"' \
-t_srs EPSG:4326 -overwrite -f GeoJSON out/21-kentucky/source/temporary.geojson 'out/21-kentucky/source/KY Precincts Merged Final.shp'
ogr2ogr -overwrite -f GPKG $@ out/21-kentucky/source/temporary.geojson
rm -rf out/21-kentucky/source
Expand Down

0 comments on commit 937b36a

Please sign in to comment.