[postgis-tickets] r14365 - Remove json parsing issue

Paul Ramsey pramsey at cleverelephant.ca
Fri Nov 6 13:14:48 PST 2015


Author: pramsey
Date: 2015-11-06 13:14:47 -0800 (Fri, 06 Nov 2015)
New Revision: 14365

Modified:
   branches/2.2/liblwgeom/lwin_geojson.c
Log:
Remove json parsing issue


Modified: branches/2.2/liblwgeom/lwin_geojson.c
===================================================================
--- branches/2.2/liblwgeom/lwin_geojson.c	2015-11-06 21:14:04 UTC (rev 14364)
+++ branches/2.2/liblwgeom/lwin_geojson.c	2015-11-06 21:14:47 UTC (rev 14365)
@@ -399,7 +399,7 @@
 				{
 					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);



More information about the postgis-tickets mailing list