questions related to the R package plotKML
Questions tagged [plotkml]
9 questions
2
votes
1 answer
Merging multiple GPX files into a single GPX file with multiple tracks
I have multiple .gpx files that I would like to merge into a single file with multiple tracks using R. As an example, two files can be downloaded…

twb10
- 533
- 5
- 18
1
vote
0 answers
plotKML - layer names, label size, and layer hierarchy
I'm producing a kml file with several layers. Within each layer, I'm colour-coding the points based on a sub-grouping. I'm struggling with a few things:
all layers are named "SpatialPointsDataFrame" in the kml, and I can't figure out how to assign…

user2602640
- 640
- 6
- 21
0
votes
0 answers
R - Write KML with colour determined by value
I'm trying to export a KML file from R that assigns a fill colour to specific polygons based an associated numeric value - effectively a choropleth map.
A simplified version of my current code is as follows:
#read in polygon boundaries
shp_lsoa <-…

Ant
- 313
- 5
- 19
0
votes
1 answer
plot KML library load fail, unable to load shared object
Not sure if relevant, but I'm getting this error after a recent update to Mac OS Monterey Version 12.5.1.
After trying library(plotKML) I get the following:
Error: package or namespace load failed for ‘plotKML’ in dyn.load(file, DLLpath = DLLpath,…
0
votes
1 answer
How to Fix error loading plotKML package in R
During the installation I had no problem,
I need to use this package but when loading it I have an error that does not allow me to use it properly
I have already tried the restart R trick but this persists; below the error:
>…

dovat_
- 1
- 3
0
votes
1 answer
Write KML File in R
I am creating a shiny application where I allow the user to write the data out to either csv or kml. However, my code below does not write the features out to the kml file, such that when I open the KML in google earth it shows black dots and when…

casanoan
- 27
- 1
- 5
0
votes
1 answer
Using plotKML::kml_layer inside a function causes error if object passed to z.lim argument
I'm having an odd issue with the R plotKML package in which I can use the kml_layer() function just fine up until I try to incorporate the kml_layer into my own function and pass arguments from my custom function along to the kml_layer function. I'm…

Adam C
- 334
- 1
- 9
0
votes
0 answers
Can't install plotKML package in R
I have tried to install plotKML package, but it raises the next error. I can't see any missing dependencies and I don't know what's wrong.
> install.packages("plotKML")
Installing package into ‘/home/benmhamed/R/x86_64-pc-linux-gnu-library/4.0’
(as…

Abdelouahed BEN MHAMED
- 103
- 9
0
votes
1 answer
Is it possible to create a SpatialPolygonsDataFrame with three dimensions?
I'm using the plotKML package to write a number of shapefiles to a KML file. The shapefiles only contain coordinates in two dimensions (longitude & latitude). The plotKML package has support for reading a third dimension (elevation or altitude) from…

Michael Henry
- 599
- 2
- 4
- 17