Skip to content

Instantly share code, notes, and snippets.

@olt
Created March 23, 2016 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olt/2a345fe22653cd021c29 to your computer and use it in GitHub Desktop.
Save olt/2a345fe22653cd021c29 to your computer and use it in GitHub Desktop.
SVG box is clipped when rotated
MAP
NAME test
IMAGETYPE png
SIZE 200 200
EXTENT -10 -10 10 10
PROJECTION
'init=epsg:4326'
END
LAYER
TYPE point
STATUS ON
FEATURE
WKT "POINT(-5 0)"
END
CLASS
STYLE
SYMBOL "box"
ANGLE 0
END
END
END
LAYER
TYPE point
STATUS ON
FEATURE
WKT "POINT(0 0)"
END
CLASS
STYLE
SYMBOL "box"
ANGLE 45
END
END
END
LAYER
TYPE point
STATUS ON
FEATURE
WKT "POINT(5 0)"
END
CLASS
STYLE
SYMBOL "box"
ANGLE 90
END
END
END
SYMBOL
NAME box
IMAGE "symbol.svg"
TYPE svg
END
END
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment