From 378e21a578e9594317553170874d64717c907923 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 6 Nov 2015 21:14:04 +0000 Subject: [PATCH] Remove issue with json parsing git-svn-id: http://svn.osgeo.org/postgis/trunk@14364 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/lwin_geojson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblwgeom/lwin_geojson.c b/liblwgeom/lwin_geojson.c index e645c23e0..b605814af 100644 --- a/liblwgeom/lwin_geojson.c +++ b/liblwgeom/lwin_geojson.c @@ -399,7 +399,7 @@ parse_geojson_multipolygon(json_object *geojson, int *hasz, int root_srid) { json_object* points = json_object_array_get_idx( poObjPoly, j ); - if( json_type_array == json_object_get_type( poObjPoly ) ) + if( json_type_array == json_object_get_type( points ) ) { POINTARRAY *pa = ptarray_construct_empty(1, 0, 1); -- 2.40.0