SVG-Legend

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Mon Nov 6 20:31:01 EST 2006


Miklos Geyer wrote:
> 
> Am 06.11.2006 um 16:31 schrieb Yewondwossen Assefa:
> 
>> Miklos Geyer wrote:
>>
>>> Hi,
>>> thanks for the info, although it's not the best message ;-)
>>> Are there any plans to implement Lengends / Scalebars in SVG?
>>
>>
>>   There is no current plan to add these functions. The initial  
>> project  was limited to do the map output only.
>> If you are familiar with mapscript, It should be possible to  generate 
>> an svg legend by looping through the map/layer/class objects.
> 
> 
> yes, my applicatioin is based on php mapscript.  Because I offer SVG- 
> Downloads, the best thing would be to emded the legend into the map.
> Is ist possible to get and modify /add the svg-xml direct before it  is 
> written in the tmp-Dir?
> ... maybe a stupid question?
> 

  If I understand correctly, you could possibly do a 
$map->save("myfile.svg"), then load this svg  with php and insert 
features that you want and return the result to the user.

> 
>>
>>
>>> Am 06.11.2006 um 15:31 schrieb Yewondwossen Assefa:
>>>
>>>> Hi There,
>>>>
>>>>  Only Map output is supported in SVG. Such things as Legend and   
>>>> Scalebar are not supported.
>>>>
>>>> Miklos Geyer wrote:
>>>>
>>>>> Hi,
>>>>> I'm still struggling with Legends in SVG.
>>>>> The same Mapfile with IMAGETYPE png shows the Legend (and  Scalebar).
>>>>> Ist this not implemented in MapServer 4.8 ?
>>>>> Any help / hints / examples appreciated.
>>>>> Miklós
>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> ----------------------------------------------------------------
>>>> Assefa Yewondwossen
>>>> Software Analyst
>>>>
>>>> Email: assefa at dmsolutions.ca
>>>> http://www.dmsolutions.ca/
>>>>
>>>> Phone: (613) 565-5056 (ext 14)
>>>> Fax:   (613) 565-0925
>>>> ----------------------------------------------------------------
>>>>
>>>>
>>>>
>>
>>
>> -- 
>> ----------------------------------------------------------------
>> Assefa Yewondwossen
>> Software Analyst
>>
>> Email: assefa at dmsolutions.ca
>> http://www.dmsolutions.ca/
>>
>> Phone: (613) 565-5056 (ext 14)
>> Fax:   (613) 565-0925
>> ----------------------------------------------------------------
>>
>>
> 
> 
> 
> 
> 


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