<p dir="ltr">For issue 1 you should take this to the geotools mailing list as you won't get any meaningful answers here.<br>
For issue 2, unless you want to display altitude in a label or use different styles based on altitude, this should not be an issue for mapserver itself.<br>
On a side note, if kml2 is only to be used by mapserver, then you should preferably be creating shapefiles rather than kml for ingestion by mapserver as you'll be getting way better performance with that format.</p>
<p dir="ltr">--<br>
Thomas</p>
<div class="gmail_quote">On Feb 20, 2015 2:52 PM, "satpal bhandari" <<a href="mailto:satpal82bhandari@gmail.com">satpal82bhandari@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi Team ,<br><br></div>We are using planning to set up mapserver with geotools.version:12-RC1.<br><br></div><div>We are planning the below approach : <br><br></div><div>1. Input file KML1.<br></div><div>2. Read KML1 with geotoolls . Get all the details likes folders , placemarkers etc with java code.<br></div><div>3. Creating KML2 file on the fly with the details got in step2 so that this KLM2 file can be used with a standard .map file which will have color coding style as needed in our application(We are following this as mapserver is not able to read kml file's style.).<br><br></div><div>Let me know if the above approach make sense.<br></div><div><br></div><div><br></div>As a POC we found that below issues :<br><br></div>1. geotools is not able to read MultiLineString  tag in KML input file.<br></div>2. After reading any coordinate , geotool is only giving the long/lat in returned coordinate , it is not giving the altitude written in kml file. Does it matters to our mapserver to process final kml<br><br><br></div><div>Please suggest.<br></div><div><br></div>Regards<br></div>Satpal<br></div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div>