Opened 16 years ago
Last modified 16 years ago
#122 closed defect (fixed)
ST_SnapToGrid gives 13 when fed circular string
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | low | Milestone: | PostGIS 1.3.6 |
Component: | postgis | Version: | 1.3.X |
Keywords: | Cc: |
Description
What steps will reproduce the problem?
- 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
Note:
See TracTickets
for help on using tickets.
Fixed in SVN trunk and 1.3 branch.
ATB,
Mark.