Converting kml to shape (readOGR)
Henk Sierdsema wrote:
Hi, I've been trying to convert a vector kml-file to an ESRI shape with readOGR(), but I don't manage to read the kml-file. Can anyone help me with this?
http://www.gdal.org/ogr/ogr_formats.html mentions at KML that "read support needs libexpat". Further it says "KML reading is only available if GDAL/OGR is built with the Expat XML Parser, otherwise only KML writing will be supported." Maybe this was missing while your gdal/rgdal was built? -- Edzer
Thnx, Henk Sierdsema SOVON Vogelonderzoek Nederland / SOVON Dutch Centre for Field Ornithology Rijksstraatweg 178 6573 DG Beek-Ubbergen The Netherlands tel: +31 (0)24 6848145 fax: +31 (0)24 6848122
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Edzer Pebesma Institute for Geoinformatics (ifgi), University of M?nster Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de/ http://www.springer.com/978-0-387-78170-9 e.pebesma at wwu.de