All Questions
1,063 questions
0
votes
1
answer
846
views
enlarge bounding box from a smaller one in GDAL
I have a small raster tiff and I want copy its data in a new raster with a bigger bbox. So is it possible, via a GDAL command, to enlarge a bounding box maintaining same pixel locations from the ...
0
votes
0
answers
623
views
Georeferencing PNG image by GDAL in QGIS
I am not familiar with GDAL so far. Thereby I don't know how to start. By knowing the problem from the question below:
Georeferencing PNG image in QGIS when the coordinates of image corners are known
...
0
votes
1
answer
972
views
Installing rasterio and Fiona together?
I work on Windows; I use Christoph Gohlke wheels; Python 3.7
After installing GDAL-3.0.1 and Fiona-1.8.6
an error occurs on import of fiona
from fiona.ogrext import Iterator, ItemsIterator, ...
0
votes
1
answer
576
views
Georeference Sentinel-3 Data with irregular grid
I need to georeference and subset a lot of Sentinel-3-Syn-2-Files. Every data product provides seperate NetCDF-Files for each band and the actual (irregular) coordinate grid called 'geolocation'. So ...
0
votes
1
answer
629
views
Cut a hole into a geotiff
I have two hillshading geotifs that I created using gdaldem hillshade. One covers a huge area with an OK resolution and the other has a much higher resolution for a smaller part within the huge area. ...
0
votes
1
answer
2k
views
Trouble installing GDAL in R for MODIS package
I'm having trouble installing GDAL in R with the MODIS package. Every time run MODIS I get this error:
GDAL : Not available. Use 'MODIS:::checkTools('GDAL')' for more information!
I have tried ...
0
votes
0
answers
433
views
How to find patches with data in Raster and then how to extract those patches?
I have a single band raster file as drawn in the labeled image attached.
The size of raster is around 4k pixel in each x and y axis. Large part of this raster is empty. Only in small portions of the ...
0
votes
1
answer
4k
views
Does Gohlke GDAL break Command-Line GDAL/OGR in Windoiws?
I recently gave up trying to get the gisinternals versions of GDAL's Python bindings to work, and sought instead to use the 'gohlke' approach - getting the appropriate wheel from the UCI repository.
...
0
votes
1
answer
1k
views
GDAL Delete geopackage layer
This seems like it ought to be straightforward:
from osgeo import gdal
gpkg = gdal.OpenEx('path_to_gpk',gdal.OF_VERBOSE_ERROR,allowed_drivers=['GPKG'])
error = gpkg.DeleteLayer(0)
After running this ...
-1
votes
1
answer
2k
views
Receiving GDAL Clipper Error from QGIS? [duplicate]
I realise there has been quite a lot of discussion on this topic and have already read through the suggestions on this forum of how to rectify this problem, but still nothing has worked.
I am ...
-2
votes
1
answer
4k
views
tif tfw to GeoTiff [duplicate]
How do I combine a .tif file with a .tfw file to create a GeoTiff? There are many answers telling me to use gdal, but I have no clue. So can someone provide a step by step example of how to do this ...
-2
votes
1
answer
2k
views
Getting the intersection of two raster files using Pandas Python
I am trying to get the intersection (the overlap part) of two rasters but the thing is that by comparing them in a dataframe, I cannot find common points. I check on QGIS and there are common areas. ...
-4
votes
1
answer
136
views
Move vector layer based on YX (Meters)
I need to move a vector layer XY (Meters) how can I do that used the gdal? I found something for rasters, but I want something for a Vector layer from osgeo import gdal.