Opened 12 years ago
Last modified 12 years ago
#4091 new defect
symbology wrong when changing resolution
Reported by: | debe | Owned by: | tbonfort |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Renderer API | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | aboudreault |
Description
setting resolution to 300 and defresolution to 72 when there is a layer with symbol scale denom set and symbols/labels with size,maxsize and minsize set, they dont get scaled correctly
Change History (2)
comment:1 by , 12 years ago
Cc: | added |
---|---|
Component: | MapScript-PHP → Renderer API |
Owner: | changed from | to
comment:2 by , 12 years ago
from the mapserver doc i read that if i change the resolution from 72 to another keeping the defresolution to 72, the map maintains the same look at each resolution.
This is my case that seem not working explained with 2 screenshot:
http://imageshack.us/photo/my-images/266/mapscale250resolution72.png/
this first image is took with a resolution of 72 and this one is the same portion of image but with resolution 300
http://imageshack.us/photo/my-images/705/mapscale250resolution30.png/
as you can see, some lines and symbols look the same in both resolution but some not.
labels are configured like this:
- layer symbol scale denom 200 (scale at which symbols and/or text appear full size)
and label settings:
- angle follow
- position auto
- size 6
- minsize 6
- maxsize 12
other symbols are pixmap with the layer symbol scale denom and style min/max sizes set (example: size 8 minsize 8 maxsize 14)
with the various test i've done seems that mapserver don't automatically scale the symbology when they use min/max sizes
hope someone can help me to solve this problem
please provide more information (test mapfile, sample requests and images, and why you believe they are incorrect)