[postgis-devel] Issue 68 in postgis: ST_Shift_Longitude doesn't work with MULTIPOINT

codesite-noreply at google.com codesite-noreply at google.com
Tue Nov 4 12:28:25 PST 2008


Issue 68: ST_Shift_Longitude doesn't work with MULTIPOINT
http://code.google.com/p/postgis/issues/detail?id=68

New issue report by robe.... at cityofboston.gov:
What steps will reproduce the problem?
1. SELECT ST_Shift_Longitude(ST_GeomFromText('MULTIPOINT(1 3, 4 5)'))

Gives error

ERROR:  lwgeom.c:723: unknown geom type: 4

********** Error **********

ERROR: lwgeom.c:723: unknown geom type: 4
SQL state: XX000


--However this works fine -  isn't MULTIPOLYGON more complex
SELECT ST_Astext(ST_Shift_Longitude(ST_GeomFromText('MULTIPOLYGON(((1 3,4
5,3 4,3 4.5,1 3)))')))


Also doesn't work with Circular string - gives similarly cryptic message

SELECT ST_Shift_Longitude(ST_GeomFromText('CIRCULARSTRING(1 3, 4 5, 6 7)'))

ERROR:  lwgeom.c:723: unknown geom type: 8

I just tried on newest 1.3.4SVN snapshot and 1.3.3.  Gives same error on  
both.



Issue attributes:
	Status: Accepted
	Owner: robe.... at cityofboston.gov

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings



More information about the postgis-devel mailing list