SVG Symbol Support for MapServer
- building libsvg and libsvg-cairo in the MS4W 3.1.0 build environment compiles MapServer successfully, but when trying to use a .map file with an SVG symbol, mapserv.exe crashes
- this is related to an earlier report by an MS4W user:
SVG symbols are not drawn with MS4W 6.2 - beta4
Map file example :
MAP
STATUS ON
EXTENT 0 0 100 100
SIZE 1024 768
IMAGETYPE PNG
UNITS METERS
RESOLUTION 96
DEFRESOLUTION 96
WEB
IMAGEPATH "c:/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
INCLUDE "symbol1.map"
LAYER
NAME "TEST"
STATUS DEFAULT
TYPE POINT
FEATURE
POINTS
10 30
END
END
CLASS
NAME "TEST"
STYLE
SYMBOL "symbol1"
SIZE 50
END
END
END
END
symbol MapFile example :
SYMBOL
NAME "symbol1"
TYPE svg
IMAGE "testsvg.svg"
END
Change History
(13)
Version: |
3.1.0 → 3.1.0-beta4
|
Milestone: |
→ 3.1.1 release
|
Milestone: |
3.1.1 release → 3.1.2 release
|
Milestone: |
3.1.2 release → 4.0 release
|
Priority: |
major → blocker
|
Priority: |
blocker → major
|
Milestone: |
4.0 release → 4.1 release
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Milestone: |
4.1 release → 4.2 release
|
Milestone: |
4.2 release → 4.1 release
|
Milestone: |
4.1 release → 4.1.0 release
|
Milestone: |
4.1.0 release → 5.0.0 release
|
Requires funding to build this support into MS4W.