Opened 9 years ago

Closed 8 years ago

Last modified 3 years ago

#3 closed defect (fixed)

SVG Symbol Support for MapServer

Reported by: Jeff McKenna Owned by: Jeff McKenna
Priority: major Milestone: 5.0.0 release
Component: MS4W - MapServer Version: 3.1.0-beta4
Keywords: Cc: TC Haddad
Blocked By: Blocking:

Description

  • 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)

comment:1 by Jeff McKenna, 9 years ago

Version: 3.1.03.1.0-beta4

comment:2 by Jeff McKenna, 9 years ago

Milestone: 3.1.1 release

comment:3 by Jeff McKenna, 9 years ago

Milestone: 3.1.1 release3.1.2 release

comment:4 by Jeff McKenna, 9 years ago

Milestone: 3.1.2 release4.0 release

comment:5 by Jeff McKenna, 9 years ago

Priority: majorblocker

comment:6 by Jeff McKenna, 8 years ago

Priority: blockermajor

Requires funding to build this support into MS4W.

comment:7 by Jeff McKenna, 8 years ago

Milestone: 4.0 release4.1 release

comment:8 by Jeff McKenna, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in the MS4W 3.2.1 release: http://ms4w.com/release/

Last edited 7 years ago by Jeff McKenna (previous) (diff)

comment:9 by Jeff McKenna, 8 years ago

Cc: TC Haddad added

comment:10 by Jeff McKenna, 5 years ago

Milestone: 4.1 release4.2 release

Milestone renamed

comment:11 by Jeff McKenna, 5 years ago

Milestone: 4.2 release4.1 release

Milestone renamed

comment:12 by Jeff McKenna, 4 years ago

Milestone: 4.1 release4.1.0 release

Milestone renamed

comment:13 by Jeff McKenna, 3 years ago

Milestone: 4.1.0 release5.0.0 release

Milestone renamed

Note: See TracTickets for help on using tickets.