generated SVG-File

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Tue May 9 10:24:33 EDT 2006


Andreas Nemmert wrote:
> Hy,
> 
>  
> 
> I set up my Mapfile so that my MapServer generates SVG-Files.
> 
> Is it possible that the MapServer generates groups in this SVG File?
> 
  Are you refering to the possibility to have the <g> tag around all 
layers that share the same group name in the map file ? It should be 
possible although groups in mapserver do not affect the order in which 
layers are displayed. I am under the impression that if we do that for 
the svg output, we would need to  affect the rendering order.  I have 
entered a bug on this, so please update the bug with you comments and 
possible solutions. (http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1774)

> When I send a GetMap Request all the layers I requested are in the SCG 
> File, but I can not handle one single layer. Do I have to request every 
> layer individual?
> 

  Not sure to understand : are you using mapserver cgi and doing a 
mode=map ? In that case you are able to specficy an individual layer 
using the parameter layers 
(http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/example.map&mode=map&layers=layers1)

  Make sure that the ststus of your layers in the map file are not set 
to DEFAULT. All layers with the DEFAULT status will be rendered all the 
time.

> Is there any chance to revise the colours of features in the requested 
> SVG file?
> 
>  
  Not sure to undertand this.
> 
> Thank you for your help!
> 
> Andreas Nemmert        
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list