61 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
60
views
Creating separate STL files from a GPX (in R)
I have a GPX file of a biking trail. My goal is to create two STL files; one of the surrounding terrain and the other of the trail itself. The idea is that I will 3D print these using filaments of ...
0
votes
0
answers
46
views
Is there an R function to plot multiple colour textures with a single height matrix?
Plotting a height matrix of population densities to make a 3D map using rayshader. I want to plot different textures reflecting population characteristics – e.g. population densities in high income ...
1
vote
0
answers
48
views
3D plot using Rayshader
My aim is to create a crisp spike map (e.g. Example) based on the distribution of points in a given country. Although I got the "spikes", I do not know how to include the country's borders.
...
2
votes
1
answer
169
views
Map colours not showing correctly, all SpatRaster values converted to 1 when using crop and mask
I am following this tutorial to create a 3d land cover map and this is the complete code:
library(terra)
library(giscoR)
library(sf)
library(tidyverse)
library(ggtern)
library(elevatr)
library(png)
...
0
votes
0
answers
97
views
Is there an R-package to make a spatial 3D visualization of layers, including the subsurface?
I want to make a 3D map of a specific sampling site, having the digital terrain model in 3D at the top and add additionally soil layers in their corresponding depth in the subsurface- simliar to what ...
0
votes
1
answer
71
views
How to change perspective in Rayshader RGL without a middle mouse button?
I am trying to move the perspective of the rendered 3D scene in RGL after calling plot_3d in rayshader. I don't have a middle click on my computer, just left and right. When I open RGL using for ...
0
votes
1
answer
390
views
Population Density Maps: How to deal with NAs in heightmap matrix for rayshader?
I am replicating a 3D population density map. Everything seems so work fine and when calling the plot_3d() function, my map and its barcharts properly in an rgl window. However, when I run the ...
1
vote
1
answer
346
views
How can I plot 4D results as a surface in R?
I have a model including a three-way interaction term (XYZ). I have used this model to create predictions across the parameter space. Thus, I have four pieces of information to convey: X, Y, Z, and ...
0
votes
1
answer
199
views
RGL: GL Library : Maximum texture size of 1024x1024 exceeded
I keep getting the following error. I'm using the template here https://github.com/Pecners/rayshader_portraits/blob/main/R/portraits/arizona/render_graphic.R
Warning messages:
1: In rgl.primitive0(...
0
votes
0
answers
24
views
How to downgrade rayshader? [duplicate]
I want to downgrade version rayshader in R. Can anyone tell me how to do it? Thank you.
i try this code, but i think i do something wrong.
library(remotes)
remotes::install_github("...
0
votes
0
answers
116
views
Add text based on shape of the map on map 3D (with Rayshader)
i want to add label text on map 3D based on shape the map.
the output
my expect
i use this code
nc = st_read(system.file("shape/nc.shp", package="sf"), quiet = TRUE)
pts <- ...
2
votes
1
answer
252
views
Polygon edges and sides distorted in rayshader render
I've been trying to plot a 3D plot of some spatial polygons, but I cannot render the sides and edges of the polygons properly. Below is the code I used to produce the plot below.
# Produce the 2D plot ...
0
votes
2
answers
256
views
Rayshader path has offset when plotting a ggplot2 object
I am trying to plot a world map and a path between Berlin and Cancun.
So far I managed to plot a world map using library rnaturalearth and convert it to a ggplot2 object which is plotted using ...
1
vote
2
answers
1k
views
Why is the background of my plot black when I use plot_gg() from Rayshader in R
I am trying to represent some point data for a region in 3D using the Rayshader package. It plots everything correctly, except that the background is totally black. How to fix this? Below is my code:
...
2
votes
2
answers
1k
views
Add color on height 3D map with Rayshader in R
I want to make 3D map with rayshader. I have seen this web https://www.tylermw.com/3d-ggplots-with-rayshader/ and try the code with my data. In this web, height map has black color but not on my ...