Opened 2 years ago

Closed 2 months ago

#3339 closed defect (fixed)

postgis topology: missing relations

Reported by: martinl Owned by: grass-dev@…
Priority: normal Milestone: 7.8.0
Component: LibVector Version: unspecified
Keywords: postgis topology Cc:
CPU: Unspecified Platform: Unspecified

Description

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)

Attachments (1)

libvect_postgis_topo_relations.diff (3.6 KB) - added by martinl 12 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 23 months ago by martinl

Milestone: 7.2.17.2.2

comment:2 Changed 18 months ago by neteler

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:3 Changed 12 months ago by martinl

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:4 Changed 12 months ago by martinl

Milestone: 7.2.4

Changed 12 months ago by martinl

comment:5 Changed 2 months ago by martinl

Milestone: 7.2.47.8.0

comment:6 Changed 2 months ago by martinl

Resolution: fixed
Status: newclosed

In 74013:

postgis topology: missing relations, fix #3339

Note: See TracTickets for help on using tickets.