Closed (fixed)
Project:
Openlayers
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2015 at 16:50 UTC
Updated:
15 Dec 2015 at 19:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
m.stentaThe problem is that the code at line 240 assumes that $geom['geom'] is a valid geometry object returned by
$geom = geoPHP::geometryReduce($geoms);(line 151 of the same file). This is not always true.So my fix just checks to see if $geom['geom'] is not empty before trying to extract WKT from it.
Comment #4
polThanks !!