Opened 13 years ago
Last modified 13 years ago
#3567 new defect
labels outside of extents
Reported by: | greenwood | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | 5.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
Labels are being drawn well outside of the map extents and outside the extents of the data. Please notice the "Bechler River" and "Falls River" labels in the image below. The map image is at a scale of approx 1:250,000 and the labels are approx 40,000 feet west of the westerly extent of the data and of the map file extents.
In some cases the problem is causing a server fault on a Windows 2003 server running mapserv 5.6.3 and 5.6.5. The problem did not exhibit itself in mapserv 5.2.
The mapext and imgext in the CGI request that is causing the problem are outside of the mapfile extents. Why am I requesting mapext and imgext outside of my data you may ask. The mapext and imgext are generated by OpenLayers, despite setting the OL bounds to match the MS extents.
A zip file with a minimal mapfile and data to produce the problem is here:
http://www2.tetonwyo.org/gis/download/ZipFiles/mapserv_label_bug.zip
The URL to reproduce the problem is the first commented line in the mapfile.
Thanks, Rich
Change History (3)
comment:1 by , 13 years ago
comment:3 by , 13 years ago
I can confirm that the problem exists in Linux here:
I had to edit the test.map file to change the case of 'water' to 'Water' in the data clause.
I have not been able to create an example that consistently reproduces the server fault, but at least you can see the labels way outside of the extents.
Thanks, Rich
Are you sure this is Windows only? If so I have little chance of debugging. Let me know and I'll figure out how to reassign to one of the windows devs...
Steve