Mulone,<br><br>You&#39;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 <a href="http://mapserver.org/mapscript/mapscript.html">http://mapserver.org/mapscript/mapscript.html</a><br>
<br><br>Best regards,<br><br>Tamas<br><br><br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><br>
<div class="gmail_quote">2010/3/17 Mulone <span dir="ltr">&lt;<a href="mailto:mulone@rome.com">mulone@rome.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi guys,<br>
I&#39;m trying to set up a mapfile generator to generate a customised mapfile<br>
for different users in my system. Our system is written in Java/Groovy, so<br>
it would seem quite natural to me to set up a few classes modelling the<br>
mapfile content (classes, layers with all the options), and then manipulate<br>
these objects in my app (e.g. show/hide layers, change styles, scales, etc),<br>
and then call a simple &quot;genMapfile()&quot; and write everything to a temp file,<br>
then read by mapserver a few millisecs afterwards.<br>
<br>
This looks quite simple to do.<br>
<br>
My point is: do you know of any Java/Groovy generator of mapfiles? If not,<br>
do you think it could be interesting for you if I set up a google-code<br>
project on this idea? Do you think this is a sensible solution to my<br>
problem?<br>
<br>
Thanks for any comment!<br>
<br>
Mulone<br>
<br>
-----<br>
Mulone<br>
PhD student<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/MapFile-generator-tp4752655p4752655.html" target="_blank">http://n2.nabble.com/MapFile-generator-tp4752655p4752655.html</a><br>
Sent from the Mapserver - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</font></blockquote></div><br>