All Questions
32
questions
1
vote
0
answers
26
views
Error when running loop to section out data in R
I am attempting to run a loop in R that looks at home ranges of 27 individual animals by individual and by year.
I tried running this code:
df <- read_csv('animaltelemetry.csv')
df<-data.frame(...
0
votes
0
answers
341
views
Plotting a map (with background) starting from CSV long lat data in R
I have a csv file geolocalised in a simple way with latitude and longitude data for each row. I want to create a simple map with it.
But I am missing a step: how do I visualise my data on a map ...
0
votes
1
answer
258
views
Integrating raster images in a scatter plot via R
I'm trying to plot a graph of a linear profile with integrated pictures of drilling cores at certain points and hights in the profile. I have a directory with 22 .png images of the drilling cores, ...
0
votes
1
answer
140
views
Extract values from raster matching csv and raster filenames
I have a folder with many csv files. Each file has several columns as well as lat and long columns. Another folder have many rasters in tif format. The .csv files are named based on Julian date (e.g. ...
1
vote
1
answer
199
views
Efficiently write LiDAR data to CSV with data.table::fwrite
I have a LiDAR file (.las) that I ran through my R function:
writelas2csv <- function(x,y) {
lasinspatpt <- list(as.spatial(readLAS(x)))
write.csv(lasinspatpt, y, row.names = T)
}
but as we ...
1
vote
2
answers
416
views
LiDAR with treeID exported to csv
I have used the lidR package in R to run a point cloud segmentation of trees using the li2012 algorithm. I am interested in exporting my results to a csv file, but the methods I have tried did not ...
0
votes
1
answer
91
views
Retrieve WRB soil classes by country [closed]
I would like to retrieve the list of the different WRB soil classes by country (https://data.isric.org/geonetwork/srv/fre/catalog.search#/metadata/c4dc161c-d62d-11ea-a1a3-292680b15169).
I would like ...
0
votes
0
answers
931
views
Extracting NDVI values from MODIS datasets in R
Firstly, I'll provide a bit of context behind my question. I've been reading a paper about bushfire modelling, and the paper uses the MODIS datasets (this is my first time learning about them). In ...
1
vote
1
answer
113
views
Export latitude/longitude coordinates of a R map plot into an external file
I have a simple map and like to export the used coordinates of latitude/longitude
into an external CSV file. Is this possible?
library('maps')
map(database='world',regions='germany')
2
votes
1
answer
192
views
CSV export undesirably rounding text-coded unique identifier
I am extremely new to QGIS and to GIS software generally, so apologies in advance if the answer here is obvious.
I have used QGIS to create intersection percentages and maps based on two different ...
3
votes
1
answer
2k
views
Read CSV file in R using sf()
I can see that it's possible to load in csv data to R (as per here: Load a CSV as Simple Features R), however, it appears to me that there is a limitation on the range of delimiters allowed given the ...
3
votes
3
answers
6k
views
Convert CSV file with long and lat geometry column to sf object in R
I can't seem to find the answer to this anywhere. How can I read in and convert a CSV file with geometry column containing long/lat to sf object. Here is the dput for the file
structure(list(date = ...
0
votes
0
answers
54
views
Projection of CSV after converting geographic to planar coordinate system
I have a conceptual question. I have lat-long points which I have used to extract environmental variables from. My coordinates are in WGS1984. For most of the variables, I converted the environmental ...
2
votes
2
answers
2k
views
Merging a .csv file with a .shp file in R
I am trying to merge a .csv file with a .shp file. The shapefile has more information that I need so I also want to limit it by only adding information for the counties in my csv file. I tried my code ...
3
votes
0
answers
225
views
R raster / rasterize creating GeoTIFF with Null Value "grid lines"
I am attempting the seemingly simple task of converting a .csv with lat, lon and population values into a .tif (raster).
Here's my R code:
geoName <- read.csv("/pathToData/geoName.csv")
...