[mapserver-users] Fwd: Kml To mapserver

alok mathur mathuralok.88 at gmail.com
Wed Apr 8 03:57:07 PDT 2015


Also i want to know how to handle multigeometry in kml in map file using
FID.

---------- Forwarded message ----------
From: alok mathur <mathuralok.88 at gmail.com>
Date: Sat, Apr 4, 2015 at 7:34 PM
Subject: Kml To mapserver
To: "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org>


Hi,

I have a kml as an data for mapserver. In that kml there is one folder with
multile point placemarks. I want to create a map file for this kml data.

Each point should represent single layer in map file.

Sample KML.
---------------------

<?xml version="1.0" encoding="utf-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">

 <Folder>
 <Placemark>
<name>P1</name>
<description>ObjectId: 1120</description>
<Point>
<tessellate>1</tessellate>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates>
-70.563856,42.288663,0
</coordinates>
</Point>
</Placemark>

<Placemark>
<name>P2</name>
<description>ObjectId: 1120</description>
<Point>
<tessellate>1</tessellate>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates>
-71.563856,42.288663,1
</coordinates>
</Point>
</Placemark>
<Placemark>
<name>P3</name>
<description>ObjectId: 1120</description>
<Point>
<tessellate>1</tessellate>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates>
-71.563856,42.288663,1
</coordinates>
</Point>
</Placemark>

............



</Folder>
</kml>



-- 

*Alok Mathur* |



-- 

*Alok Mathur* | Software Engineer 2A | Ciena
Mobile +91 9899413266
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150408/6eb25f8c/attachment.htm>


More information about the MapServer-users mailing list