Opened 6 years ago

Closed 4 years 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 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by martinl, 6 years ago

Milestone: 7.2.17.2.2

comment:2 by neteler, 5 years ago

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:3 by martinl, 5 years ago

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:4 by martinl, 5 years ago

Milestone: 7.2.4

by martinl, 5 years ago

comment:5 by martinl, 4 years ago

Milestone: 7.2.47.8.0

comment:6 by martinl, 4 years ago

Resolution: fixed
Status: newclosed

In 74013:

postgis topology: missing relations, fix #3339

Note: See TracTickets for help on using tickets.