[postgis-tickets] [PostGIS] #2216: ST_GeomFromGeoJson MultiPolygon crash

PostGIS trac at osgeo.org
Tue Feb 26 13:02:16 PST 2013


#2216: ST_GeomFromGeoJson MultiPolygon crash
---------------------+------------------------------------------------------
 Reporter:  halset   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.3
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 I am having trouble parsing a MultiPolygon GeoJSON.

 Some googling lead me to http://trac.osgeo.org/postgis/ticket/2130, so I
 upgraded from 2.0.1 to 2.0.2. At least, I think I did. I installed postgis
 and did a "ALTER EXTENSION postgis UPDATE TO '2.0.2';" in my database. The
 query in #2130 does work in my database.

 The sql that crashes in my database are attached.

 postgis_full_version() returns
 POSTGIS="2.0.2 r10789" GEOS="3.3.5-CAPI-1.7.5" PROJ="Rel. 4.8.0, 6 March
 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8"
 LIBJSON="UNKNOWN" RASTER

 This is with json-c 0.9. I have tried with json-c 0.10 as well, but it
 still says LIBJSON="UNKNOWN" and crashes.

 This is on a mac, but I have the same problem on ubuntu linux

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