[OpenLayers-Users] Best way to read/parse kml

bartvde at osgis.nl bartvde at osgis.nl
Fri Jul 17 03:11:36 EDT 2009


Hi,

can you post a sample KML file which fails?

What is the exact error that you are getting?

Best regards,
Bart

> 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/>
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list