[GRASS-SVN] r54587 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 9 08:53:04 PST 2013
Author: martinl
Date: 2013-01-09 08:53:03 -0800 (Wed, 09 Jan 2013)
New Revision: 54587
Modified:
grass/trunk/lib/vector/Vlib/read_pg.c
Log:
vlib: fix typo (PostGIS Topology)
Modified: grass/trunk/lib/vector/Vlib/read_pg.c
===================================================================
--- grass/trunk/lib/vector/Vlib/read_pg.c 2013-01-09 11:14:45 UTC (rev 54586)
+++ grass/trunk/lib/vector/Vlib/read_pg.c 2013-01-09 16:53:03 UTC (rev 54587)
@@ -1186,13 +1186,13 @@
"containing_face IS NOT NULL AND node_id NOT IN "
"(SELECT node FROM (SELECT start_node AS node FROM \"%s\".edge "
"GROUP BY start_node UNION ALL SELECT end_node AS node FROM "
- "\"topo_bridges\".edge GROUP BY end_node) AS foo) "
+ "\"%s\".edge GROUP BY end_node) AS foo) "
"UNION ALL SELECT edge_id AS fid, geom, %d AS type FROM \"%s\".edge WHERE "
"left_face = 0 AND right_face = 0 UNION ALL SELECT edge_id AS fid, geom, %d AS type FROM "
"\"%s\".edge WHERE left_face != 0 OR right_face != 0 ) AS foo ORDER BY type,fid",
pg_info->schema_name, pg_info->table_name, pg_info->conn, GV_POINT,
pg_info->toposchema_name, pg_info->toposchema_name, pg_info->toposchema_name,
- GV_CENTROID, pg_info->toposchema_name, pg_info->toposchema_name,
+ GV_CENTROID, pg_info->toposchema_name, pg_info->toposchema_name, pg_info->toposchema_name,
GV_LINE, pg_info->toposchema_name, GV_BOUNDARY, pg_info->toposchema_name);
}
G_debug(2, "SQL: %s", stmt);
More information about the grass-commit
mailing list