You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is because it seems the function is overriden in the Collection class. Had the same issue, and I commented line 310 in lib/geometry/Collection.php: public function pointOnSurface() { return NULL; }
and it works fine now.
Using geoPHP with geos installed. pointOnSurface() for a valid polygon always returns null. While other functions such as centroid() work fine.
Example:
I'm wondering if anyone else has this problem (or I'm missing something)?
The text was updated successfully, but these errors were encountered: