[postgis-tickets] [PostGIS] #1292: ST_SnapToGrid returns a value out of range
PostGIS
trac at osgeo.org
Thu Feb 14 05:31:04 PST 2013
#1292: ST_SnapToGrid returns a value out of range
----------------------------+-----------------------------------------------
Reporter: realityexists | Owner: pramsey
Type: defect | Status: reopened
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------------+-----------------------------------------------
Changes (by realityexists):
* status: closed => reopened
* resolution: fixed =>
Comment:
This was broken again in r10670. Looks like the call to
lwgeom_nudge_geodetic() was lost in that commit. With that change the test
cases above no longer raise errors, but instead wrap around the dateline:
-180 is returned instead of 180. It's the same underlying problem, though.
Please add a unit test for this.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1292#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list