[mapserver-users] Kml + mapserver
alok mathur
mathuralok.88 at gmail.com
Wed Apr 15 09:58:41 PDT 2015
Hi Lars,
I have a KML with multiple placemarks in it. Now i want to read each
Placemark and make it a different layer in mapfile.
Is it a right way to do so and also in case of multigeometry how to handle
that with fid.
Let me know in case of any concern.
for eg
KML
----------
<Folder>
<name>Fibertech
<Placemark>
<name>P1</name>
...
</Placemark>
<Placemark>
<name>P2</name>
...
</Placemark>
</Folder>
MAP file
-----------------
LAYER
NAME ""
...
DATA "select * from "Fibertech" where fid =1;
..
END
LAYER
NAME ""
...
DATA "select * from "Fibertech" where fid =2;
..
END
--
*Alok Mathur*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150415/4714b995/attachment.htm>
More information about the MapServer-users
mailing list