[mapserver-users] XML mapfile

Ludovic Granjon ludovic.granjon at u-bourgogne.fr
Fri Aug 19 09:34:18 EDT 2011


Yes no problem
http://pastebin.com/fPz6qgXx
Thanks

Le 19/08/2011 15:17, Alan Boudreault a écrit :
> Paste your mapfile on pastebin.com if you can.
>
> Alan
>
> On August 19, 2011 08:40:39 am Ludovic Granjon wrote:
>> Thanks Alan
>>
>> Yes that's what I try to do but when I try to launch xmlstarlet I always
>> have an invalid mapfile;
>> for exemple I join my mapfile
>> And the message of xmlstartlet is :
>>
>> "mapfile-test_ludo.xml:69: element LayerSet: Schemas validity error :
>> Element '{http://www.mapserver.org/mapserver}LayerSet': This element is
>> not expected. Expected is ( {http://www.mapserver.org/mapserver}Web )."
>>
>> If I delete the LayerSet bloc it's ok but  it's annoying ...
>>
>> If I try with my very little mapfile.map, it seems that it always miss
>> some bloc so I must insert legend, scalebar, etc
>>
>> Thanks for your help
>>
>> Ludovic
>>
>> Le 19/08/2011 14:20, Alan Boudreault a écrit :
>>> IIRC, the mapfiles in svn were only to test translation and loading. You
>>> can take a small standard mapfile you have and write it in xml. It
>>> should be very straighforward and you can use the svn mapfiles as
>>> example.
>>>
>>> Let me know if you need further help.
>>>
>>> Alan
>>>
>>> On August 19, 2011 07:42:17 am Ludovic Granjon wrote:
>>>> Hello
>>>> Someone is using mapfiles in xml?
>>>> I tried but it does not work, is there such a minimal mapfile in xml to
>>>> try? Is there a documentation ? I tried unsuccessfully
>>>> http://trac.osgeo.org/mapserver/browser/trunk/mapserver/xmlmapfile
>>>> Thanks
>>>>
>>>> Ludovic

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ludovic_granjon.vcf
Type: text/x-vcard
Size: 149 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110819/6f56e05b/ludovic_granjon.vcf


More information about the mapserver-users mailing list