Opened 8 months ago

Closed 3 months ago

#4854 closed defect (fixed)

toTopoGeom(point, lineTopoGeom) returns a "puntal" TopoGeometry instead of Collection

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.1.4
Component: topology Version:
Keywords: Cc:

Description

Adding a "puntal" TopoGeometry to a "lineal" TopoGeometry currently returns a "puntal" TopoGeometry instead of a "collection" one. This results in an invalid/corrupted "relation" table in that a TopoGeometry with a given ID exists as being defined by both a NODES and EDGES but the literal value of such TopoGeometry is erroneously marked as being of "puntal" kind.

This is probably a long standing issue, I only tested it with current master (to become 3.2.0) but I'm sure it predates 2.0.0

Change History (5)

comment:1 Changed 5 months ago by pramsey

Milestone: PostGIS 3.1.23.1.3

comment:2 Changed 5 months ago by pramsey

Milestone: 3.1.3PostGIS 3.1.3

Milestone renamed

comment:3 Changed 4 months ago by robe

Milestone: PostGIS 3.1.3PostGIS 3.1.4

In prep for 3.1.3 release

comment:4 Changed 3 months ago by Sandro Santilli <strk@…>

In 34382d4/git:

Fix toTopoGeom(TopoGeometry,TopoGeometry) return type

References #4854 in main (3.2.0dev) branch

comment:5 Changed 3 months ago by Sandro Santilli <strk@…>

Resolution: fixed
Status: newclosed

In d322359c/git:

Fix toTopoGeom(TopoGeometry,TopoGeometry) return type

Closes #4854 in 3.1 branch (3.1.4dev)

Note: See TracTickets for help on using tickets.