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

Reply via email to