[postgis-devel] Issue 122 in postgis: ST_SnapToGrid gives 13 when fed circular string

codesite-noreply at google.com codesite-noreply at google.com
Tue Mar 3 07:16:44 PST 2009


Status: Accepted
Owner: robe.... at cityofboston.gov
Labels: Type-Defect Priority-Low Milestone-1.3.X

New issue 122 by robe.... at cityofboston.gov: ST_SnapToGrid gives 13 when fed  
circular string
http://code.google.com/p/postgis/issues/detail?id=122

What steps will reproduce the problem?
1. 	SELECT ST_SnapToGrid(foo1.the_geom, 0.5, 0.5)
			
			FROM ((SELECT ST_LineToCurve(ST_Buffer(ST_SetSRID(ST_Point(i,j),4326),
j))  As the_geom
		FROM generate_series(-10,50,10) As i
			CROSS JOIN generate_series(40,70, 20) As j)) As foo1;


What is the expected output?
IT either works or says it doesn't work with curved polygons

What do you see instead?
ERROR:  lwgeom_grid: Unknown geometry type: 13

Happens in both 1.3 and 1.4SVN





--
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