[mapserver-users] WMS GetfeatureInfo from KML file

Favre, Sebastien Sebastien.Favre at spotimage.fr
Mon Mar 21 02:44:51 PDT 2011


Hello to all,

I have managed to expose a KML file as a WMS layer.
Now I want to allow GetFeatureInfo for the layer in my OpenLayers client.
Attributes are stored as follows in the KML file :
<ExtendedData>
<SchemaData schemaUrl="#country">
<SimpleData name="CNTRY_NAME">Aruba</SimpleData>
...
</SchemaData>
</ExtendedData>
I have added : "KML_INCLUDE_ITEMS all" in the METADATA tag  of the LAYER declaration part without success.
How must I configure the mapfile for that ?
Thank you.

Sébastien


Sebastien FAVRE
Software Engineer | Spot Image
GEO-Information Services

Astrium Services
2600 route des Crêtes, BP 282
F-06905 Sophia Antipolis Cedex, France
Tel: +33 (0) 4 97 23 24 12 | Fax: +33 (0) 4 93 95 83 29
sebastien.favre at spotimage.fr<mailto:sebastien.favre at spotimage.fr> | www.spotimage.com<http://www.spotimage.com/>

>> Spot Image & Infoterra are teaming up. The GEO-Information Services division of Astrium will bring a consolidated portfolio of services & products to customers worldwide.
[Description : Description : Description : Description : Description : Description : Description : cid:image001.png at 01CBAC1D.6B514B70]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110321/56352de5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9730 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110321/56352de5/attachment.png>
-------------- next part --------------

Ce courrier électronique et toutes les pièces éventuellement jointes qu?il contient sont CONFIDENTIELS et destinés exclusivement à l?usage de leur destinataire. Si une erreur de transmission ou une adresse erronée a mal dirigée ce courrier, merci d?en informer l?expéditeur en lui faisant une réponse par courrier électronique dès réception. Si vous n?êtes pas le destinataire de ce courrier, vous ne devez pas l?utiliser, le conserver, en faire état, le distribuer, le copier, l?imprimer ou en révéler le contenu à une tierce partie.
Ce courrier électronique est à usage strictement informatif et ne saurait engager de quelque manière que ce soit SPOT IMAGE SA, ni ses filiales.

This e-mail and any attachments hereto are CONFIDENTIAL and intended solely for the use of the addressee. If you have received this e-mail in error please send it back to the person that sent it to you.
If you have received it in error, please notify the sender by return email. If you are not the addressee of this email, you must not use, keep, disseminate, copy, print or otherwise deal with it.
This email is for information only and will not bind SPOT IMAGE SA in any contract or obligation, nor its subsidiaries.


More information about the MapServer-users mailing list