[GRASS-SVN] r70330 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 10 02:45:30 PST 2017
Author: martinl
Date: 2017-01-10 02:45:30 -0800 (Tue, 10 Jan 2017)
New Revision: 70330
Modified:
grass/trunk/lib/vector/Vlib/read_pg.c
Log:
v.external: mixed up IDs from PostGIS tables (see #3248)
Modified: grass/trunk/lib/vector/Vlib/read_pg.c
===================================================================
--- grass/trunk/lib/vector/Vlib/read_pg.c 2017-01-10 09:14:19 UTC (rev 70329)
+++ grass/trunk/lib/vector/Vlib/read_pg.c 2017-01-10 10:45:30 UTC (rev 70330)
@@ -386,7 +386,7 @@
Vect_reset_cats(line_c);
if (!pg_info->toposchema_name) { /* simple features access */
- cat = (int) Line->offset;
+ cat = fid;
}
else { /* PostGIS Topology (cats are cached) */
cat = pg_info->cache.lines_cats[cache_idx];
More information about the grass-commit
mailing list