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*
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to