Opened 4 years ago
Closed 4 years ago
#4871 closed defect (fixed)
TopoGeometry::geometry cast returns NULL for empty TopoGeometry objects
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.10 |
Component: | topology | Version: | 2.4.x |
Keywords: | Cc: |
Description
Example:
nibio=# select ST_AsEWKT(toTopoGeom('SRID=4258;LINESTRING(0 0, 10 0)', 'topo_rein_sysdata_rdr', 1, 0)); st_asewkt --------------------------------------- SRID=4258;MULTILINESTRING((0 0,10 0)) (1 row) nibio=# select ST_AsEWKT(toTopoGeom('SRID=4258;LINESTRING EMPTY', 'topo_rein_sysdata_rdr', 1, 0)); st_asewkt ----------------------- MULTILINESTRING EMPTY (1 row)
Happens at least as back as 2.5.6 (but probably for longer)
Change History (6)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Milestone: | PostGIS 2.5.6 → PostGIS 2.4.10 |
---|---|
Status: | new → assigned |
Version: | 2.5.x → 2.4.x |
Note:
See TracTickets
for help on using tickets.
In ec53e3b1/git: