[postgis-tickets] [PostGIS] #4585: st_astwkb not returning valid geometry

PostGIS trac at osgeo.org
Tue Nov 19 05:33:54 PST 2019


#4585: st_astwkb not returning valid geometry
-------------------------+---------------------------
 Reporter:  furstenheim  |      Owner:  pramsey
     Type:  defect       |     Status:  new
 Priority:  medium       |  Milestone:  PostGIS 2.4.9
Component:  postgis      |    Version:  2.4.x
 Keywords:               |
-------------------------+---------------------------
 Hi,
 st_astwkb is not returning a valid geometry. As an example:

 ```select st_isvalidreason(st_geomfromtwkb(st_astwkb(st_geomfromgeojson('{
         "type": "Polygon",
         "coordinates":
 [[[2.1776390993201,41.3722988965004],[2.17763909886103,41.37229889631543],[2.17763909900003,41.3722988970001],[2.1820804568871637,41.37027921005133],[2.18208045654673,41.3702792096251],[2.1776390993201,41.3722988965004]]]
       }'))))
 ```

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4585>
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