[mapserver-users] KML

alok mathur mathuralok.88 at gmail.com
Wed Apr 15 07:24:40 PDT 2015


Hi,

I have a KML as below:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
  <name>doc</name>
  <open>0</open>
 <Placemark>
  <name>SF Marina Harbor Master</name>
  <visibility>0</visibility>
  <MultiGeometry>
    <LineString>
      <!-- north wall -->
      <coordinates>
        -122.4425587930444,37.80666418607323,0
        -122.4428379594768,37.80663578323093,0
      </coordinates>
    </LineString>
    <LineString>
      <!-- south wall -->
      <coordinates>
        -122.4425509770566,37.80662588061205,0
        -122.4428340530617,37.8065999493009,0
      </coordinates>
    </LineString>
<Point> <coordinates>-90.86948943473118,48.25450093195546,0</coordinates>
</Point>
  </MultiGeometry>
</Placemark>
</Document>
</kml>

------------

In DATA part of the map file i want to use a query. but i able to do so.

Example

DATA "select * from 'doc' where fid=1;

any one please suggest how to show all the geometries using FID.

Thanks!

-- 

*Alok Mathur*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150415/14add044/attachment.html>


More information about the mapserver-users mailing list