Opened 4 years ago

Closed 3 years 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 by pramsey, 3 years ago

Milestone: PostGIS 3.1.23.1.3

comment:2 by pramsey, 3 years ago

Milestone: 3.1.3PostGIS 3.1.3

Milestone renamed

comment:3 by robe, 3 years ago

Milestone: PostGIS 3.1.3PostGIS 3.1.4

In prep for 3.1.3 release

comment:4 by Sandro Santilli <strk@…>, 3 years ago

In 34382d4/git:

Fix toTopoGeom(TopoGeometry,TopoGeometry) return type

References #4854 in main (3.2.0dev) branch

comment:5 by Sandro Santilli <strk@…>, 3 years ago

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.