<div dir="ltr"><div class="gmail_quote">Can i use FID for the below problem. Eg:</div><div class="gmail_quote"><br></div><div class="gmail_quote">DATA "Select * from 'F1' where FID=1 in map config file.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Please help me out.</div><div class="gmail_quote"><div dir="ltr"><div><br></div><div>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. </div><div><br></div><div>Each point should represent single layer in map file.</div><div><br></div><div>Sample KML.</div><div>---------------------</div><div><br></div><div><div><?xml version="1.0" encoding="utf-8"?></div><div><kml xmlns="<a href="http://earth.google.com/kml/2.1" target="_blank">http://earth.google.com/kml/2.1</a>"></div><div> </div><div> <Folder></div><div><name>F1</name></div><div> <Placemark></div><div><span style="white-space:pre-wrap">                     </span><name>P1</name></div><div><span style="white-space:pre-wrap">                      </span><description>ObjectId: 1120</description></div><div><span style="white-space:pre-wrap">                                    </span><Point></div><div><span style="white-space:pre-wrap">                                            </span><tessellate>1</tessellate></div><div><span style="white-space:pre-wrap">                                           </span><altitudeMode>relativeToGround</altitudeMode></div><div><span style="white-space:pre-wrap">                                                </span><coordinates></div><div><span style="white-space:pre-wrap">                                                      </span>-70.563856,42.288663,0</div><div><span style="white-space:pre-wrap">                                           </span></coordinates></div><div><span style="white-space:pre-wrap">                                     </span></Point></div><div><span style="white-space:pre-wrap">   </span></Placemark></div><div><br></div><div><Placemark></div><div><span style="white-space:pre-wrap">                      </span><name>P2</name></div><div><span style="white-space:pre-wrap">                      </span><description>ObjectId: 1120</description></div><div><span style="white-space:pre-wrap">                                    </span><Point></div><div><span style="white-space:pre-wrap">                                            </span><tessellate>1</tessellate></div><div><span style="white-space:pre-wrap">                                           </span><altitudeMode>relativeToGround</altitudeMode></div><div><span style="white-space:pre-wrap">                                                </span><coordinates></div><div><span style="white-space:pre-wrap">                                                      </span>-71.563856,42.288663,1</div><div><span style="white-space:pre-wrap">                                           </span></coordinates></div><div><span style="white-space:pre-wrap">                                     </span></Point></div><div><span style="white-space:pre-wrap">   </span></Placemark></div><div><div><Placemark></div><div><span style="white-space:pre-wrap">                    </span><name>P3</name></div><div><span style="white-space:pre-wrap">                      </span><description>ObjectId: 1120</description></div><div><span style="white-space:pre-wrap">                                    </span><Point></div><div><span style="white-space:pre-wrap">                                            </span><tessellate>1</tessellate></div><div><span style="white-space:pre-wrap">                                           </span><altitudeMode>relativeToGround</altitudeMode></div><div><span style="white-space:pre-wrap">                                                </span><coordinates></div><div><span style="white-space:pre-wrap">                                                      </span>-71.563856,42.288663,1</div><div><span style="white-space:pre-wrap">                                           </span></coordinates></div><div><span style="white-space:pre-wrap">                                     </span></Point></div><div><span style="white-space:pre-wrap">   </span></Placemark></div></div><div><br></div><div>............</div><div><br></div><div><br></div><div><br></div><div><span style="white-space:pre-wrap">    </span></Folder></div><div></kml></div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><p><font><a name="14c84bf3606e1b2f_SafeHtmlFilter__MailAutoSig"><b><span style="font-family:Arial,sans-serif">Alok Mathur</span></b></a><span style="font-family:Arial,sans-serif"> </span></font></p></div></div></div></div></div></font></span></div></div>
</div>