Questions tagged [gdal]

GDAL (Geospatial Data Abstraction Library) is a library for reading and writing raster geospatial data formats.

GDAL (Geospatial Data Abstraction Library) is a library for reading and writing raster geospatial data formats.

2184 questions
0
votes
1 answer

Output of gdal2tiles not visible on map

I use gdal2Tiles project to tile a .tif image from a Python script runing on AWS Lambda. The tiles are created but it doesn't seem to work correctly because the image is not visible on the map. If I compare with the output from the programm…
Philiz
  • 429
  • 5
  • 25
0
votes
1 answer

GeoServer 2.19.2 ECW, MrSid, JP2 Stores not present after installing GDAL Extension and GDAL on Linux 20.04

I've followed the directions at the Geoserver website here for installing the GDAL Image formats on Linux. However, afterwards there don't seem to be any entries to add ECW, MrSID, or JP2 rasters. GDAL 3.0.4 is installed: GDAL 3.0.4, released…
lcrumb
  • 51
  • 5
0
votes
1 answer

Copy raster exif in GDAL

I have two images with the same size - first one is an image from a drone and the second - a mask. I need to subtract both images and of course translate the exif data from the original image into the resulting one. Is it possible in gdal or…
0
votes
1 answer

Problems referencing a Net Standard GDAL library from Net Framework

I have a .Net Standard 2.0 libray using Gdal.Core 2.3. I can reference it successfully from a Net5 project, but I get a "Gdal.Core dll not found" error if I reference it from a Net Framework4.7.2. If I manually add the Gdal.Core.dll to the Framework…
SandiaDeDia
  • 291
  • 2
  • 9
0
votes
0 answers

Batch file incorrectly sets the root directory of Python script

Problem I have a gdal2tiles.bat file that says @echo off call "%OSGEO4W_ROOT%\bin\o4w_env.bat" python "%OSGEO4W_ROOT%\apps\Python39\Scripts\gdal2tiles.py" %* However, when I run the script from Powershell as gdal2tiles earth.tif or gdal2tiles.bat…
BallpenMan
  • 185
  • 1
  • 12
0
votes
1 answer

How to overlap (mach) and clip a radar image with a shapefile in python

I was wandering if someone could help me with the following issue. In advance, I really appreciate it. I have a shapefile and a radar image. But they are in different coordinate systems. The radar image is a NetCDF file which covers a part of the…
Jab
  • 65
  • 1
  • 5
0
votes
1 answer

Cannot run a .py which requires a gdal module in anaconda prompt nor in command prompt

I have created a new environment in anaconda, then installed the gdal module with conda install -c conda-forge gdal and I can see it by checking conda list Then I navigate to the folder with the .py file and enter [file name].py. The prompte…
0
votes
1 answer

gdal dyld: Library not loaded Reason: image not found

➜ ishan git:(master) ✗ ogr2ogr -f GPKG ./testgpkg.gpkg combining_elevation_coastline_data.csv -oo X_POSSIBLE_NAMES=x -oo Y_POSSIBLE_NAMES=y -a_srs 'EPSG:4326' dyld: Library not loaded: @rpath/libpoppler.91.dylib Referenced from:…
Ishan Srivastava
  • 1,129
  • 1
  • 11
  • 29
0
votes
0 answers

GDAL for python

I am trying to install GDAL for Python via anaconda prompt but I am getting this error: [ERROR conda.core.link:_execute(699): An error occurred while installing package 'conda-forge::openssl-1.1.1l-h8ffe710_0'. Rolling back transaction: done [Errno…
0
votes
1 answer

How is the gdal.Translate function used in the GDAL Java bindings?

I am trying to preform some processing (i.e. applying a function to the contents of each cell of a raster, and then writing that out as a new raster), where the SRS of the input dataset is different (and has a different extent) from the target…
Nathan BeDell
  • 2,263
  • 1
  • 14
  • 25
0
votes
1 answer

Bubble plot corresponding dot negative and positive values in R

I want to plot bubbles of my data. Here is what I already have: library(sp) library(rgdal) require(gstat) setwd("C:/Users/49151/Desktop") #import data data <- read.csv("kerpentest0909x.csv") head(data) hist(data$Z, breaks = 20, xlab = "subsidence…
0
votes
1 answer

How to overlay shoreline shapefile into geo tiff file?

I have a shoreline shapefile of five great lakes and a georeferenced lakeshore tiff photo of lake Ontario. I want to overlay the shoreline shapefile into a tiff photo as a new raster layer. Specifically, I want to match pixels of the shapefile and…
Chloe
  • 71
  • 1
  • 7
0
votes
0 answers

Recreating QGIS "Save Raster as Rendered Image" using GDAL in Python API

I have a set of Geotiff that will be inputted in a machine learning model. The problem is that Geotiff file is not considered as an image for some reason and the model only takes in image files. I found that using QGIS "save Raster as Rendered…
0
votes
1 answer

How to convert shape file to GeoJSON using ogr2ogr?

I'm trying to generate MBTiles file using tippecanoe and to do that first I am converting a shape file downloaded from Geofabric downloads to a GeoJSON file using ogr2ogr and then using that GeoJSON file to MBTiles file using tippecanoe. The step…
vepzfe
  • 4,217
  • 5
  • 26
  • 46
0
votes
0 answers

error MT3001: Could not AOT the assembly when running Xamarin iOS project

I have a Xamarin .iOS project, that is using GDAL(libgdal.a) and PROJ(libproj.a) files. I m trying to executing the iOS project and getting following build error: Target(s)…
1 2 3
99
100