I should add that if there’s a clearer way to do that I’m all ears.
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On
Behalf Of Lime, Steve D (MNIT)
Sent: Thursday, August 30, 2018 10:07 AM
To: Rahkonen Jukka (MML) ; Mapserver-Users
(mapserver-users@lists.osgeo.org)
If the layer isn’t a point layer we need numlines>1 and a non-degenerate
bounding box.
If the layer is a point layer we only need numlines>1 (the actual point is
stored in the line array).
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On
Behalf Of Rahkonen Jukka (MML)
Hi,
I can’t really read the code but I still try to look at the changeset with
layman eyes
/* success if at least one line and not a degenerate bounding box */
- if(shape->numlines > 0 && (shape->bounds.minx != shape->bounds.maxx ||
shape->bounds.miny != shape->bounds.maxy))
+