1
0
Fork 0

PostGIS 2.x nomenclatura cleanup

This commit is contained in:
Martin Spott 2011-09-28 04:30:21 -07:00
parent 952e3c3489
commit 8394e604f0

View file

@ -57,7 +57,7 @@ case ${MODE} in
PREFIX=cs_
# Maybe unsafe because "_" matches any single character in LIKE;
# escape understores.
SELECTION=`${PSQL} "SELECT f_table_name FROM geometry_columns WHERE f_table_name LIKE '$(echo ${PREFIX} | sed -e 's/_/\\_/g')%' AND type LIKE 'POLYGON' ORDER BY f_table_name"`
SELECTION=`${PSQL} "SELECT f_table_name FROM geometry_columns WHERE f_table_name LIKE '$(echo ${PREFIX} | sed -e 's/_/\\_/g')%' AND type LIKE 'ST_Polygon' ORDER BY f_table_name"`
# SELECTION=`psql -tA -c "\dt" | awk -F\| '{print $2}' | grep \^${PREFIX}`
SNAP=0.0003 # Fits nicely with VMap0, consider SNAP=0.00001 for accurate data
# SPAT="spatial=2.8,49.8,8.2,54.2" # spatial=-123,37,-121,38 # spatial=3,50,8,54