You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with printing symbols with anchorpoint on MapServer version 7.1-dev with map_resolution=288 :
I tested a layer with symbols with anchorpoint (svg, pixmap, truetype). I want to set the anchorpoint on the buttom center of my symbol.
Print 72 dpi (default): symbols are displayed at the anchorpoint. -> everything ist ok
Print 288 dpi (with map_resolution=288): symbols aren't displayed at the anchorpoint. They are displayed in the center of the symbol.
SYMBOL
NAME 'wind_anchor'
TYPE SVG
IMAGE '..3501_1.svg'
ANCHORPOINT 0.5 1
END
LAYER
NAME "anchorpoint"
STATUS ON
TYPE POINT
SIZEUNITS METERS #SIZEUNITS pixels same effect
...
CLASS
NAME "svg_anchorpoint"
STYLE
SYMBOL "wind_anchor"
SIZE 28
MINSIZE 24
MAXSIZE 32
END
END
The text was updated successfully, but these errors were encountered:
Perhaps you could attach the SVG file you are using for the symbol? I recently ran into a strange issue with SVG symbols and it was due to width/height not being specified in the top-level element. See: https://gist.github.com/iljya/e67a2a245c6968e685c11498a8361fe0
I have a problem with printing symbols with anchorpoint on MapServer version 7.1-dev with map_resolution=288 :
I tested a layer with symbols with anchorpoint (svg, pixmap, truetype). I want to set the anchorpoint on the buttom center of my symbol.
Print 72 dpi (default): symbols are displayed at the anchorpoint. -> everything ist ok

Print 288 dpi (with map_resolution=288): symbols aren't displayed at the anchorpoint. They are displayed in the center of the symbol.

The text was updated successfully, but these errors were encountered: