[mapserver-users] Fwd: Kml To mapserver
alok mathur
mathuralok.88 at gmail.com
Tue Apr 7 22:31:39 PDT 2015
Can i use FID for the below problem. Eg:
DATA "Select * from 'F1' where FID=1 in map config file.
Please help me out.
I have a kml as an data for mapserver. In that kml there is one folder with
multile point placemarks( no of placemark can vary). I want to create a map
file on the fly 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>
<name>F1</name>
<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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150408/cc8eed1e/attachment.htm>
More information about the MapServer-users
mailing list