[GRASS-dev] [GRASS GIS] #3339: postgis topology: missing relations

GRASS GIS trac at osgeo.org
Fri Apr 28 05:30:17 PDT 2017


#3339: postgis topology: missing relations
------------------------------+-------------------------
 Reporter:  martinl           |      Owner:  grass-dev@…
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:  7.2.1
Component:  LibVector         |    Version:  unspecified
 Keywords:  postgis topology  |        CPU:  Unspecified
 Platform:  Unspecified       |
------------------------------+-------------------------
 GRASS currently wrongly interprets relation between feature table and
 topological primitives (nodes, edges, faces). The correct relation is
 defined by `relation` table in topo schema which is currently empty.

 {{{
 test=# SELECT * from topo_sample_invalid_geom_in_pg.relation;
  topogeo_id | layer_id | element_id | element_type
 ------------+----------+------------+--------------
 (0 rows)
 }}}

 Correct table for 3 polygons:

 {{{
 test=# SELECT * from topo_sample_invalid_geom_in_pg1.relation;
  topogeo_id | layer_id | element_id | element_type
 ------------+----------+------------+--------------
           1 |        1 |          1 |            3
           2 |        1 |          2 |            3
           3 |        1 |         30 |            3
 (3 rows)
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3339>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list