- Timestamp:
- 02/14/11 20:31:03 (15 months ago)
- Files:
-
- 1 modified
-
sample/trunk/geodata/create_database.bash.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sample/trunk/geodata/create_database.bash.in
r3735 r3736 19 19 shapefile=$1 20 20 echo $${shapefile} 21 if [[ -f $${ shapefile}.shp ]]; then22 shp2pgsql -s 900913 -I -W UTF8 $${ shapefile}.shp public.$${shapefile} | psql -d $${dbname}21 if [[ -f $${dirname}/$${shapefile}.shp ]]; then 22 shp2pgsql -s 900913 -I -W UTF8 $${dirname}/$${shapefile}.shp public.$${shapefile} | psql -d $${dbname} 23 23 fi 24 24 }
