[postgis-tickets] [PostGIS] #1292: ST_SnapToGrid returns a value out of range
PostGIS
trac at osgeo.org
Tue Feb 19 06:24:43 PST 2013
#1292: ST_SnapToGrid returns a value out of range
----------------------------+-----------------------------------------------
Reporter: realityexists | Owner: pramsey
Type: patch | Status: reopened
Priority: medium | Milestone: PostGIS 2.0.3
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------------+-----------------------------------------------
Comment(by realityexists):
It checks that the points at 180 longitude remain at 180. Without this
patch they become -180 instead. It also checks multi-geometries and a
polygon with multiple rings, which have failed in the past (at r8990).
ST_SnapToGrid is what causes the coordinates to be "just over" 180, so
it's essential to the test.
The NOTICE is gone from another test because it no longer occurs. Looking
at that test, I think it never should have occurred and was just allowed
because it didn't seem to cause any problems, but maybe someone more
familiar with it can comment.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1292#comment:14>
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