[postgis-tickets] [PostGIS] #3002: ST_GeomFromGeoJSON() Causes postgres to crash
PostGIS
trac at osgeo.org
Tue Nov 25 06:41:20 PST 2014
#3002: ST_GeomFromGeoJSON() Causes postgres to crash
---------------------+------------------------------------------------------
Reporter: vannut | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.5
Component: postgis | Version: 2.1.x
Keywords: |
---------------------+------------------------------------------------------
Comment(by robe):
Mine works fine too running on windows 9.3 64-bit.
{{{
SELECT
ST_GeomFromGeoJSON('{"type":"Point","coordinates":[-48.23456,20.12345]}');
st_geomfromgeojson
--------------------------------------------
01010000009279E40F061E48C0F2B0506B9A1F3440
(1 row)
}}}
{{{SELECT postgis_full_version();
POSTGIS="2.1.4 r12966" GEOS="3.4.2-CAPI-1.8.2 r3924" PROJ="Rel. 4.8.0, 6
March 2012" GDAL="GDAL 1.11.0, released 2014/04/16" LIBXML="2.7.8"
LIBJSON="UNKNOWN" TOPOLOGY RASTER
SELECT version();
version
-------------------------------------------------------------
PostgreSQL 9.3.5, compiled by Visual C++ build 1600, 64-bit
}}}
Regarding the LIBJSON version not showing, PostGIS only shows the JSON
version if you are running LIBJSON 0.11 and above as I recall so the fact
it doesn't show is not an issue. You probably do want to check what
version yours was compiled with.
Actually I'm not even sure if we show the libjson version in PostGIS 2.1
for any version of LIBJSON (I think we do, but mine doesn't but my json
version might be too low). Brian is cheating cause he's running a
development version of both PostgreSQL and PostGIS :)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3002#comment:5>
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