[R-sig-Geo] Converting kml to shape (readOGR)

Edzer Pebesma edzer.pebesma at uni-muenster.de
Tue Jan 6 14:02:14 CET 2009


That's a question beyond the scope of r-sig-geo, IMO; it's in the R 
documentation and/or faqs.
--
Edzer

Henk Sierdsema wrote:
> I have installed Expat XML Parser, but how do I rebuilt GDAL/OGR?
>
> Henk
>
>
> 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
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Edzer Pebesma [mailto:edzer.pebesma at uni-muenster.de]
> Verzonden: dinsdag 6 januari 2009 12:16
> Aan: Henk Sierdsema
> CC: r-sig-geo at stat.math.ethz.ch
> Onderwerp: Re: [R-sig-Geo] 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




More information about the R-sig-Geo mailing list