[mapserver-users] XML mapfile
Alan Boudreault
aboudreault at mapgears.com
Fri Aug 19 06:17:06 PDT 2011
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
--
Alan Boudreault
Mapgears
http://www.mapgears.com
More information about the MapServer-users
mailing list