Skip to content

Commit

Permalink
Import all spatial reference systems, not just 900913.
Browse files Browse the repository at this point in the history
  • Loading branch information
chihchun committed Aug 4, 2015
1 parent 097ca4d commit 2f2cfd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Expand Up @@ -56,8 +56,8 @@ createdb () {
# Set the correct table ownership
$asweb psql -d $dbname -c 'ALTER TABLE geometry_columns OWNER TO "www-data"; ALTER TABLE spatial_ref_sys OWNER TO "www-data";'

# Add the 900913 Spatial Reference System
$asweb psql -d $dbname -f /usr/local/share/osm2pgsql/900913.sql
# Import all the spatial reference systems from PostGIS
$asweb psql -d $dbname -f /usr/share/postgresql/9.3/contrib/postgis-2.1/spatial_ref_sys.sql
}

import () {
Expand Down

0 comments on commit 2f2cfd1

Please sign in to comment.