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))
+ if(shape->numlines > 0 && (layer_type == MS_LAYER_POINT ||
(shape->bounds.minx != shape->bounds.maxx || shape->bounds.miny !=
shape->bounds.maxy)))
return MS_SUCCESS;
else
return MS_FAILURE;
I wonder two things:
What happens now if the layer type is not MS_LAYER_POINT?
What if layer is of type MS_LAYER_POINT and numlines=1, which means that the
bounding box of the result set is just a point and minx=maxx and miny=maxy?
-Jukka Rahkonen-
Lähettäjä: Lime, Steve D (MNIT) [mailto:[email protected]]
Lähetetty: 29. elokuuta 2018 22:52
Vastaanottaja: Lime, Steve D (MNIT)
<[email protected]<mailto:[email protected]>>; Rahkonen Jukka (MML)
<[email protected]<mailto:[email protected]>>;
Caleb Lee <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Aihe: RE: Getting an empty MVT output for a point layer
Fix is in place in the 7.2 branch. If folks would let me know how it goes I’d
appreciate it. --Steve
From: mapserver-users [mailto:[email protected]] On
Behalf Of Lime, Steve D (MNIT)
Sent: Wednesday, August 29, 2018 11:54 AM
To: Rahkonen Jukka (MML)
<[email protected]<mailto:[email protected]>>;
Caleb Lee <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: Re: [mapserver-users] Getting an empty MVT output for a point layer
Found the issue – clipping logic error. Will commit a fix today…
From: Lime, Steve D (MNIT)
Sent: Wednesday, August 22, 2018 9:11 AM
To: 'Rahkonen Jukka (MML)'
<[email protected]<mailto:[email protected]>>;
Caleb Lee <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: RE: Getting an empty MVT output for a point layer
A ticket would be terrific. I’m on this one… --Steve
From: mapserver-users [mailto:[email protected]] On
Behalf Of Rahkonen Jukka (MML)
Sent: Tuesday, August 21, 2018 8:28 AM
To: Caleb Lee <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: Re: [mapserver-users] Getting an empty MVT output for a point layer
Hi,
I haven’t heard any feedback yet. Test data seems to be still available and I
believe that the issue is real. It seems that nobody has bothered to create a
ticket yet https://github.com/mapserver/mapserver/issues.
-Jukka Rahkonen-
Lähettäjä: mapserver-users [mailto:[email protected]]
Puolesta Caleb Lee
Lähetetty: 21. elokuuta 2018 16:20
Vastaanottaja:
[email protected]<mailto:[email protected]>
Aihe: Re: [mapserver-users] Getting an empty MVT output for a point layer
Hi, is there any update regarding this MVT output problem for point layers?
Thanks,
Caleb
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users