[mapserver-dev] MapFile generator?

Stephen Woodbridge woodbri at swoodbridge.com
Wed Mar 17 23:08:20 EDT 2010


Mulone,

You might also want to look at the XML mapfile and the XSLT to transform 
it into a regular mapfile.

http://mapserver.org/development/rfc/ms-rfc-51.html
http://trac.osgeo.org/mapserver/ticket/2872
http://targetgis.org/2010/01/19/a-new-xml-mapfile-format-in-mapserver-5-6/

-Steve W


Tamas Szekeres wrote:
> Mulone,
> 
> You're probably searching for an object model to access/generate the 
> mapfiles. In this regards you might want to use the Java MapScript API 
> as described at http://mapserver.org/mapscript/mapscript.html
> 
> 
> Best regards,
> 
> Tamas
> 
> 
> 
> 
> 2010/3/17 Mulone <mulone at rome.com <mailto:mulone at rome.com>>
> 
> 
>     Hi guys,
>     I'm trying to set up a mapfile generator to generate a customised
>     mapfile
>     for different users in my system. Our system is written in
>     Java/Groovy, so
>     it would seem quite natural to me to set up a few classes modelling the
>     mapfile content (classes, layers with all the options), and then
>     manipulate
>     these objects in my app (e.g. show/hide layers, change styles,
>     scales, etc),
>     and then call a simple "genMapfile()" and write everything to a temp
>     file,
>     then read by mapserver a few millisecs afterwards.
> 
>     This looks quite simple to do.
> 
>     My point is: do you know of any Java/Groovy generator of mapfiles?
>     If not,
>     do you think it could be interesting for you if I set up a google-code
>     project on this idea? Do you think this is a sensible solution to my
>     problem?
> 
>     Thanks for any comment!
> 
>     Mulone
> 
>     -----
>     Mulone
>     PhD student
>     --
>     View this message in context:
>     http://n2.nabble.com/MapFile-generator-tp4752655p4752655.html
>     Sent from the Mapserver - Dev mailing list archive at Nabble.com.
>     _______________________________________________
>     mapserver-dev mailing list
>     mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list