Thanks for that, I have attached Map.html = the html + js loading A3+A4.kml A3.kml = non-working one (as exported directly from ESRI ArcMAP) A4.kml = the same one working (after I'm- and -export into/from QGIS) Both are OK when loading in Google Earth.
All tests done on Mac OSX Lion + FireFox 12.0 + OpenLayers 2.10... My original question still stands in that I wonder if there is any documentation of what OpenLayers claims to support (KML versions/schemas) and what not...? Barend On 13-06-12 10:04, "Christian Ledermann" <[email protected]> wrote: >If you could post examples of not working KML files we could have >a look at them and tell you what is not working. > >I suspect that maybe the encoding is not valid utf but that >is just a shot in the blue. > >On Tue, Jun 12, 2012 at 8:57 PM, Barend Köbben <[email protected]> wrote: >> Hi, >> >> Is there any documentation about what flavours of KML are supported in >>the >> vector type layers for OpenLayers? I have been experimenting with >> OpenLayers.Layer.Vector, using protocol: OpenLayers.Protocol.HTTP and >> format: OpenLayers.Format.KML. >> >> But I find that there are many KML versions and ways of setting up a >>KML. >> E.g. KML created by QGIS always works fine, but ArcMAP exports as KML >> works sometimes, mostly not. Most curiously, not even "Save Place as" >>KML >> from Google Earth (KMLs native habitat, I'd have thought) not even >>always >> work...? >> >> -- >> Barend Köbben >> Senior Lecturer, ITC - University of Twente, >> Faculty of Geo-Information Science and Earth Observation >> PO Box 217, 7500AE Enschede (The Netherlands) >> +31-(0)53 4874 253 >> >> >> >> >> >> >> >> Faculty of Geo-Information Science and Earth Observation (ITC) >> University of Twente >> Chamber of Commerce: 501305360000 >> >> E-mail disclaimer >> The information in this e-mail, including any attachments, is intended >>for the addressee only. If you are not the intended recipient, you are >>hereby notified that any disclosure, copying, distribution or action in >>relation to the content of this information is strictly prohibited. If >>you have received this e-mail by mistake, please delete the message and >>any attachment and inform the sender by return e-mail. ITC accepts no >>liability for any error or omission in the message content or for damage >>of any kind that may arise as a result of e-mail transmission. >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users > > > >-- >Best Regards, > >Christian Ledermann > >Nairobi - Kenya >Mobile : +254 702978914 > ><*)))>{ > >If you save the living environment, the biodiversity that we have left, >you will also automatically save the physical environment, too. But If >you only save the physical environment, you will ultimately lose both. > >1) Don¹t drive species to extinction > >2) Don¹t destroy a habitat that species rely on. > >3) Don¹t change the climate in ways that will result in the above. > >}<(((*> >_______________________________________________ >Users mailing list >[email protected] >http://lists.osgeo.org/mailman/listinfo/openlayers-users Faculty of Geo-Information Science and Earth Observation (ITC) University of Twente Chamber of Commerce: 501305360000 E-mail disclaimer The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
