Skip to content

Commit

Permalink
Fixed GeoJSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
qjhart committed Jan 18, 2015
1 parent 2d4da06 commit 99818b0
Show file tree
Hide file tree
Showing 4 changed files with 657,967 additions and 657,971 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ PG:=psql -d ${db}

data: clean
${PG} -f dwr_grid.sql
${PG} -a -t --pset=footer=off -c 'select geojson from dwr_grid.calsimetaw_geojson' >geojson/calsimetaw.geojson
${PG} -a -t --pset=footer=off -c 'select geojson from dwr_grid.cimis_geojson' >geojson/cimis.geojson
${PG} -A -t --pset=footer=off -c 'select geojson from dwr_grid.calsimetaw_geojson' >geojson/calsimetaw.geojson
${PG} -A -t --pset=footer=off -c 'select geojson from dwr_grid.cimis_geojson' >geojson/cimis.geojson
pgsql2shp -f shp/calsimetaw -g boundary ${db} dwr_grid.calsimetaw
pgsql2shp -f shp/cimis -g boundary ${db} dwr_grid.cimis

Expand Down
2 changes: 1 addition & 1 deletion dwr_grid.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ with p as (
from p
),
c as (
select 'Feature Col lection' as type,
select 'Feature Collection' as type,
array_to_json(array_agg(feature),true) as features
from f
)
Expand Down
Loading

0 comments on commit 99818b0

Please sign in to comment.