[mapserver-users] XML mapfile

Ludovic Granjon ludovic.granjon at u-bourgogne.fr
Fri Aug 19 07:04:35 PDT 2011


Ok it seems to be ok, my mapfile xml is valid and I can generate a .map 
who work fine.
I join my minimum mapfile.
Thanks Alan

Le 19/08/2011 15:34, Ludovic Granjon a écrit :
> 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
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110819/9ce06585/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapfile-test_ludo_2.xml
Type: text/xml
Size: 1572 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110819/9ce06585/attachment.xml>
-------------- 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/9ce06585/attachment.vcf>


More information about the MapServer-users mailing list