Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-30 Thread Lime, Steve D (MNIT)
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)

Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-30 Thread Lime, Steve D (MNIT)
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)

Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-30 Thread 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)) +