Skip to main content

Questions tagged [rgdal]

R Bindings for the Geospatial Data Abstraction Library

0 votes
0 answers
37 views

So I am trying to write a Hulls object created from the crown_metrics function to a shapefile using st_write. Now, with st_write to resolve the 3D error in regards to a shapefile, I first used st_zm. ...
Arthur_Morgan's user avatar
0 votes
0 answers
206 views

I try to read Open Street Map data as shown in the RDocumentation of the tmap package. library(tmap) library(tmaptools) data(NLD_muni) osm_NLD <- read_osm(NLD_muni, ext=1.1) But I get following ...
sfetan's user avatar
  • 301
0 votes
1 answer
1k views

I'm trying to create a SpatialPointsDataFrame, however I get the error Error: unexpected string constant in: "NET.TO.EXTRAC_1 = SpatialPointsDataFrame(coords = net[,3:2], data = net, proj4string ...
Camila Valdés Cardona's user avatar
1 vote
2 answers
4k views

I am having trouble taking a downloaded shapefile and using it in R and {ggplot2}. The online instructions (like this one) use code that have the function readOGR(). When I use readOGR(), I get ...
Michaela's user avatar
1 vote
1 answer
137 views

I am trying to plot one subdataset of CALIPSO which is in hdf format using R. The data is totally new to me as it's LiDAR data. I am not able to understand how to plot a graph between backscatter ...
shravani banerjee's user avatar
9 votes
2 answers
15k views

I have a single-band raster showing different land cover classes. I want to convert it to a polygon shapefile. I tried to use the rasterToPolygons function with the option to dissolve neighboring ...
Alemex's user avatar
  • 113
0 votes
0 answers
158 views

I have a WI shapefile (https://data-wi-dnr.opendata.arcgis.com/datasets/wi-dnr::wisconsin-state-boundary-24k/explore?location=44.747223%2C-89.836300%2C8.20) and a grid that I want to intersect so that ...
user8229029's user avatar
1 vote
0 answers
38 views

I am trying to do some work that involves spatiotemporal latent surface modeling, but an issue that I am worried about is that calculating distance between two coordinates is quite a bit more ...
ctesta01's user avatar
  • 111
2 votes
1 answer
408 views

I'm trying to plot a tidy map of English regions in R. I'm using code that runs successfully on other shapefiles, but when I run this the code executes without error, but then just presents a blank ...
Tom Wagstaff's user avatar
0 votes
1 answer
267 views

I have a piece of code in R that I have used for a while now to transform .xyz files to .tif and then merge all those .tif files into one big .tif. It has worked well when I last used it 2 years ago, ...
Bianca Piper's user avatar
0 votes
1 answer
916 views

I am trying (and failing) to convert the coordinates in a spatial object (Spatialpolygonsdataframe) form easting/northing to latitude/longitude. The zone is 35S. I know it can be achieved with ...
rratnaya's user avatar
1 vote
1 answer
2k views

I have some site boundary data as follow: UNB_BDSB_SiBdry_v08_201028lico_25831.cpq UNB_BDSB_SiBdry_v08_201028lico_25831.dbf UNB_BDSB_SiBdry_v08_201028lico_25831.prj ...
Haribo's user avatar
  • 115
0 votes
2 answers
377 views

Background: When writing rasters using formats that do not support geolocation (for example .png), the Terra package saves auxiliary files containing this information. This can be prevented by ...
Smerla's user avatar
  • 400
0 votes
0 answers
1k views

Title explains my predicament. I cannot open a tiff file using the raster package and receive an error that tells me it is due to a missing codec: Code: library(rgdal) library(raster) file_name &...
Eric Romero's user avatar
0 votes
0 answers
674 views

This code worked perfectly fine for me a few months ago, but now I am receiving error messages. I've tried it two different ways. Has the projectRaster() function been deprecated or syntax changed? ...
Arden's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
15