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

PostGIS trac at osgeo.org
Tue Jun 6 07:38:10 PDT 2017


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

Comment (by robe):

 Okay even in 2.4.0 becomes invalid:


 {{{
 select
 st_isvalidreason(ST_Translate(st_geometryfromtext('SRID=21781;MULTIPOLYGON(((669054
 215766.1, 669054.8 215766.9, 669095.2 215807.2, 669064 215776.1, 669054
 215766.1)))'),  2000000, 1000000));


 }}}


 outputs:


 {{{
 Self-intersection[2669054 1215766.1]
 }}}

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