Luca, I've done more testing and in fact I can get point & line features (with label leader lines) to work with that mapfile. I can now see Thomas' point, that this is a documentation issue (likely when I originally documented this I could only get it to work with polygons, but now when I test I can get points,lines,polygons to work by adapting that same mapfile).

I'll fix that document now.

If you post your mapfile and data I can test your data locally here.

-jeff



--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/


On 2021-06-24 3:12 p.m., Jeff McKenna wrote:
Hi Luca,

I agree with your thoughts that it would be nice if it worked with points as well.  (I don't believe that I ever had it working locally with anything but polygons)  Please definitely file a ticket.  Thanks!

-jeff



On 2021-06-24 2:29 p.m., Luca Delucchi wrote:
On Thu, 24 Jun 2021 at 19:08, Jeff McKenna
<[email protected]> wrote:

Hi Luca,


Hi Jeff,

I had created that page that Thomas pointed to, I see that my test files
are still available that I used to generate those map images
(https://download.osgeo.org/mapserver/tickets/label-leader.zip).  Give
that mapfile a try with your local MapServer instance, and let me know
if I need to update that test package.

I tested that data and it work properly, but as Thomas reported it
seems to work only with polygon, with my point data it doesn't work
Should I open a enhancement (or bug) issue? I think it should be
useful to have it at least for points, but also for line


-jeff

Thanks for your help




_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to