[R-sig-Geo] writeOGR layer options for the KML driver?

Roger Bivand Roger.Bivand at nhh.no
Fri Aug 4 21:48:53 CEST 2017


On Fri, 4 Aug 2017, MacQueen, Don wrote:

> Hi,
>
> Where can I find documentation for available layer_options (if any) for 
> the writeOGR KML driver?

http://www.gdal.org/drv_kml.html

for the KML driver,

http://www.gdal.org/drv_libkml.html

for the LIBKML driver. I an uncertain about their ability to do what you 
need.

Roger

>
> Specifically, I want to be able to specify the line color when writing a 
> SpatialLines or SpatialLinesDataFrame object to a KML file for viewing 
> in Google Earth. (also specifyng a fill color and fill transparency 
> would be nice, but I can certainly do without it)
>
> I see that the plotKML package has a kml() function. I'll send a 
> separate email asking for assistance with it.
>
> Thanks
> -Don
>
>

-- 
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; e-mail: Roger.Bivand at nhh.no
Editor-in-Chief of The R Journal, https://journal.r-project.org/index.html
http://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en



More information about the R-sig-Geo mailing list