Opened 14 years ago

Closed 14 years ago

#452 closed defect (fixed)

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: master
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 (1)

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

Download all attachments as: .zip

Change History (3)

by robe, 14 years ago

Attachment: torturetest20_subset.sql added

Battery of tests

comment:1 by colivier, 14 years ago

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 ! :)

comment:2 by colivier, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.