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

#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&gt;
GRASS GIS <https://grass.osgeo.org>

#3339: postgis topology: missing relations
--------------------------+------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.4
Component: LibVector | Version: unspecified
Resolution: | Keywords: postgis topology
       CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------
Changes (by martinl):

* Attachment "libvect_postgis_topo_relations.diff" added.

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

#3339: postgis topology: missing relations
--------------------------+------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: LibVector | Version: unspecified
Resolution: | Keywords: postgis topology
       CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------
Changes (by martinl):

* milestone: 7.2.4 => 7.8.0

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3339#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>

#3339: postgis topology: missing relations
--------------------------+------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.8.0
Component: LibVector | Version: unspecified
Resolution: fixed | Keywords: postgis topology
       CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------
Changes (by martinl):

* status: new => closed
* resolution: => fixed

Comment:

In [changeset:"74013" 74013]:
{{{
#!CommitTicketReference repository="" revision="74013"
postgis topology: missing relations, fix #3339
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3339#comment:6&gt;
GRASS GIS <https://grass.osgeo.org>