[postgis-tickets] [PostGIS] #3768: Geometry becomes invalid after a simple shift (black magic)

PostGIS trac at osgeo.org
Tue Jun 6 08:16:52 PDT 2017


#3768: Geometry becomes invalid after a simple shift (black magic)
--------------------------+------------------------------
  Reporter:  tobiasreber  |      Owner:  pramsey
      Type:  defect       |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS 2.0.8
 Component:  postgis      |    Version:  2.1.x
Resolution:  wontfix      |   Keywords:  invalid Geometry
--------------------------+------------------------------

Comment (by komzpa):

 We're even exploiting this fact to have more resolution for spatial
 computation, by shifting the geometry to the beginning of coordinate grid:

 https://github.com/gojuno/lostgis/blob/master/sql/functions/ST_Safe_Difference.sql#L18

 In some edge-cases this helps to get a valid geometry when subtracting two
 very similar ones.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3768#comment:4>
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