Questions tagged [gdalutils]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
56 views

How to make 'gdalUtils' package in R to use GDAL installed in OSGeo's directory instead of QGIS's directory

I have GDAL installed through QGIS and OSGeo in the directories: C:\Program Files\QGIS 3.6\bin\gdalinfo.exe C:\OSGeo4W64\bin\gdalinfo.exe My gdalUtils package uses GDAL installed in QGIS and I want ...
0
votes
0answers
16 views

Setting tiles as relative to VRT in R gdalUtils

I'm using VRT files to mosaic many separated tiles over my study region. I'd like to set an additional argument in gdalbuildvrt function from gdalUtils R package. This additional argument is used to ...
0
votes
0answers
37 views

read error after mosaic_rasters in R

I am using mosaic_rasters from gdalUtils to combine different raster files. More specifically, I am using the 12 tiles that cover Southern Africa from the well-known Hansen et al. (2013) forest map (1....
0
votes
1answer
43 views

gdal_translate in R changing the cell resolution of extracted subdataset from HDF

I'm trying to extract subdataset from MODIS LST HDFs using following code. library(gdalUtils) HDF_list = list.files(path, pattern= "\\.hdf$", all.files=FALSE, full.names=TRUE,recursive=FALSE) ...
1
vote
0answers
59 views

Issue with gdalUtils vs. raster in gridding data in R

I have irregularly spaced data (XYZ) and I'm trying to grid it in R using 2 different libraries, gdalUtils and raster. I'd prefer to use gdalUtils as I have more options, but the output looks off. ...
3
votes
2answers
532 views

Calculate buffer / multi-ring buffer of geometry with GDAL / gdalUtils

I wonder if there is any way to calculate a buffer on a spatial data set with basic command line GDAL or the R interface gdalUtils. To specify the Q: I have a lot of points around the globe. For ...
2
votes
0answers
594 views

Download HDF NDVI in R

I have a function to automate downloading NDVI data from https://e4ftl01.cr.usgs.gov/MOLT/ However, I'm hitting an error when downloading the .HDF files. They download fine but they seem to be ...
1
vote
0answers
319 views

Using gdalUtils to reproject hdf file in R

I am now working with GEFED dataset, which is a global wild file dataset.You can download one from FTP: fuoco.geog.umd.edu; Login name: fire; Password: burnt; The file is stored into gfed4/monthly/ ...
1
vote
1answer
475 views

Rasterizing lines with “gdal_rasterize” in R return no result and status 1

I am using gdal_rasterize in the gdalUtils package to convert lines in a Shapefile to a raster. library(gdalUtils) src <- "D:/Test/sample.shp" dst <- "D:/Test/raster.tif" raster <- ...
3
votes
0answers
412 views

ogr2ogr{gdalUtils} correct syntax to set Ground Control Points for vector georeferencing

I would like to know correct syntax of R {gdalUtils} package (version 2.0.1.7) to georeference Shapefiles using corner points as GCPs. (These Shapefiles have y=height and x=width information, without ...
2
votes
1answer
168 views

R gdalUtils::ogrinfo error or very slow

I am pulling WFS data into R and using gdalUtils::ogrinfo to look at the available layer names on a WFS server. Using the same url in QGIS, this is very fast and gives complete information. With ...
3
votes
2answers
3k views

Rasterizing polygons with the function “gdal_rasterize” in R

I'm using the function gdal_rasterize in R (package gdalUtils) to convert a polygon shapefile into a raster. Here is my code: r.test <- gdal_rasterize(src_datasource="df.shp", dst_filename="test....
4
votes
1answer
1k views

Working with MODIS in R

I am new to using MODIS data and was hoping to get some help starting out. I have been able to download the hdf file but viewing it in R has been a problem for me. What I have found so far, and ...