The MapScript Java bindings is used on the server side primarily, and it would not be so straightforward to utilize that in a browser on the client side. However you could implement a Java standalone application according to your requirements below. In this case, you could easily install all the required dll-s to the required locations (depending on your platform).<br>
<br>Best regards,<br><br>Tamas<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/20 Mulone <span dir="ltr"><<a href="mailto:mulone@rome.com">mulone@rome.com</a>></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>
Thanks for your reply.<br>
My point is that we need a structure to load, manipulate and generate<br>
mapfiles similar to an XML/JSON parser.<br>
Something like:<br>
<br>
mapfile = new Mapfile( path );<br>
mapfile.getLayer('buildings').setColor( newcolor );<br>
// change structures<br>
mapfile.write( new path );<br>
<br>
Probably we don't need to call functions on the server, so I was wondering<br>
if it is possible to extract a smaller library to do this.<br>
We could easily write it ourselves, but it would be a bit of a waste of<br>
time, given that all that logic is already written in mapscript.<br>
<br>
Cheers<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-tp4752655p4769517.html" target="_blank">http://n2.nabble.com/MapFile-generator-tp4752655p4769517.html</a><br>
</font><div><div></div><div class="h5">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>
</div></div></blockquote></div><br>