[OpenLayers-Users] Best way to read/parse kml
Vidal, Antoni
antoni.vidal at icc.cat
Fri Jul 17 03:04:45 EDT 2009
Hello,
I'm trying to read kml file from user client side. I use:
g = new OpenLayers.Format.KML();
features = g.read(req.responseText);
...
To get the collection of features, and all is ok if the kml NOT contains a <MultiGeometry> tag. If so, I get an error.
How can I solve this?
Thank's in advance
Antoni Vidal
Unitat d'Aplicacions SIG-WEB
Institut Cartogràfic de Catalunya <http://mercuri.icc.cat/website/mob_nf/mob1/mob2/inici2.htm?CONSULTA=Institut%20Cartogr%25E0fic%20de%20Catalunya&XYADDRESS=429486:4580392>
Parc de Montjuïc, E-08038 Barcelona
Tel. (+34) 93 567 15 00 (ext. 3228)
www.icc.cat <http://www.icc.cat/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090717/7b52d4c5/attachment.html
More information about the Users
mailing list