Ticket #452 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

ST_FlipCoordinate seems to be missing support for lots of geometry types

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
Keywords: Cc:

Description

It also gives the cryptic geometry type id in the error instead of type name.

e.g. SELECT ST_FlipCoordinates('MULTILINESTRING((-10.123456789 50,50 -10.123456789, 51 -10.123456789))')

Gives error:

unsupported input geometry type: 5

Other errors gotten testing this thru battery of geometries psql:torturetest20_subset.sql:147: ERROR: unsupported input geometry type: 7 psql:torturetest20_subset.sql:162: ERROR: unsupported input geometry type: 4 psql:torturetest20_subset.sql:177: ERROR: unsupported input geometry type: 5 psql:torturetest20_subset.sql:190: ERROR: unsupported input geometry type: 6 psql:torturetest20_subset.sql:205: ERROR: unsupported input geometry type: 4 psql:torturetest20_subset.sql:220: ERROR: unsupported input geometry type: 5 psql:torturetest20_subset.sql:236: ERROR: unsupported input geometry type: 6 psql:torturetest20_subset.sql:252: ERROR: unsupported input geometry type: 4 psql:torturetest20_subset.sql:268: ERROR: unsupported input geometry type: 5 psql:torturetest20_subset.sql:281: ERROR: unsupported input geometry type: 6 psql:torturetest20_subset.sql:295: ERROR: unsupported input geometry type: 7

Attachments

torturetest20_subset.sql Download (11.2 KB) - added by robe 3 years ago.
Battery of tests

Change History

Changed 3 years ago by robe

Battery of tests

Changed 3 years ago by colivier

Yeap this one is interresting, because it show that the cunit use don't stop anymore on lwerror (and then could lead to false security feeling)

Should be Fixed as r5346

Also corrected some lwgeom_typename missing in lwgeom.c

Tks Regina for reporting ! :)

Changed 3 years ago by colivier

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.