Hello, I am in the process of updating all my maps files to use Mapserver 7.0.7 / MS4W 3.2.7. I noticed a possible odd issue with PARTIALS=FALSE. Normally I would expect that PARTIALS False would not label sections if the label falls off the edge of the map. However in my case for one of the layers in my map file I noticed that only the sections in the center of my map were labeled. About 60% of the labels I would otherwise expect to be labeled did not appear. I am not really sure why more of my sections were not labeled. Here is what I can tell you:
* I removed the index files (esri and qix) files. However this should not be an issue because I can see the polygons for sections across the map. * The labels on the map are sparse enough that there should not be any label collision issues with other layers on the map. o Only the center labels appear even if I turn every other layer off in my map. * The map file was upgraded from an older version of mapserver which seemed to work fine. * See an example at https://geomoose.lyonco.org/LyonMoose/BadSectionLabels.png * All the expected labels appear for other layers regardless if PARTIALS are set to true or not. * The map file is relatively simple. If anyone could help tell my why only the central sections are labeled please let me know. Thank You! LAYER NAME 'sections' DATA 'Boundaries/Sections' PROJECTION 'init=epsg:103749' END STATUS OFF TYPE POLYGON LABELITEM 'SECT' LABELCACHE ON LABELMAXSCALE 100000 MINSCALE 1 MAXSCALE 120000 CLASS NAME 'Sections' STYLE #SIZE 1 OUTLINECOLOR 243 137 153 COLOR -1 -1 -1 WIDTH 2 linecap butt PATTERN 10 10 10 10 END END #Style LABEL ANTIALIAS TRUE TYPE TRUETYPE FONT vera_sans SIZE 7 ANTIALIAS TRUE COLOR 254 0 0 OUTLINECOLOR 254 254 254 BUFFER 2 MINFEATURESIZE auto #If Partials is set to true then all the sections are labeled. #PARTIALS TRUE #if Partials is set to false then only about 40% of the sections are labeled - even if there is plenty of room for many labeles PARTIALS FALSE POSITION cc END #label END#Class END#layer sections Sincerely, Mark Volz, GISP Lyon County GIS Coordinator 504 Fairgrounds Rd<https://www.google.com/maps/?daddr=504%20Fairgrounds%20Rd,%20Marshall,%20MN%2056258?z=6> Marshall, MN 56258<https://www.google.com/maps/?daddr=504%20Fairgrounds%20Rd,%20Marshall,%20MN%2056258?z=6> Ph: (507) 532-8218 Fax: (507) 532-8217 http://lyonco.org/ http://geomoose.lyonco.org/
_______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
