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
7
votes
1 answer

error while loading shared libraries: libgdal.so.1 in archlinux

I (myself a programm novice) get the following error message when starting a script in archlinux, which has been written by a friend: /usr/bin/psxy: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or…
Til Hund
  • 1,543
  • 5
  • 21
  • 37
7
votes
4 answers

How to set the "band description" option/tag of a GeoTIFF file using GDAL (gdalwarp/gdal_translate)

Does anybody know how to change or set the "Description" option/tag of a GeoTIFF file using GDAL? To specify what I mean, this is an example of gdalinfo return from a GeoTIFF file with set "Description": Band 1 Block=64x64 Type=UInt16,…
Generic Wevers
  • 570
  • 6
  • 10
7
votes
3 answers

Convert features of a 'multifeature' GeoJSON into R spatial objects

Normally you can read geojson files into R with trusty readOGR, as illustrated here. However, this fails for multifeature geojsons. Reproducible…
RobinLovelace
  • 4,799
  • 6
  • 29
  • 40
7
votes
1 answer

Convert GeoTIFF to JPEG and Extract GeoTIFF Headers in Python

I am making a Python script which will read in a GeoTIFF file, and will do both: convert the GeoTIFF into a static JPEG (that is much smaller in size), and create a separate text file which contains the GeoTIFF headers. Using the Python GDAL API, I…
Phanto
  • 1,147
  • 5
  • 16
  • 19
7
votes
1 answer

How to I get the coordinates of a cell in a geotif?

I have a tif with geoinformation. With gdal I can transform the raster file to an array (numpy). How can I get the coordinates for one entry in that array?
gustavgans
  • 5,141
  • 13
  • 41
  • 51
7
votes
1 answer

Read elevation using gdal python from geotiff

I am loading a geotiff file using GDAL. I have managed to read the coordinates X,Y but not the elevation. Has anyone worked on a similar case before ? Regards,
user3548574
  • 87
  • 1
  • 2
  • 10
7
votes
2 answers

Unable to install GDAL in python 3 using pip (clang failed with exit status 1)

After running sudo pip3.4 install gdal from terminal (Mac OS X Mavericks) I obtain an error message saying that the 'col_port.h' file was not found and displaying the following error: command '/user/bin/clang/ failed with exit status 1 (the full…
7
votes
3 answers

Easy methods of installing and having access to the GDAL library?

The GDAL library homepage implies that people who arrive there already know what they are doing. I work with ArcGIS, and am unfamiliar with intricate setups with library dependencies as GDAL suggests. Is there an easy "package" i can download? I…
em kay
  • 71
  • 1
  • 2
7
votes
1 answer

Link error with GetACP under mingw64 (mingw-builds)

I was trying to build gdal-1.10.0 (http://trac.osgeo.org/gdal/wiki/DownloadSource) using mingw64 (from http://sourceforge.net/projects/mingwbuilds/files/host-windows/ x64-4.8.0-release-posix-seh-rev2.7z). I have compiled gdal-1.10.0 under…
thor
  • 21,418
  • 31
  • 87
  • 173
7
votes
1 answer

Install rgdal library in rstudio - GDALAllRegister not found in libgdal

I'm trying to install rgdal library in Rstudio (0.97.332), using Ubuntu 12.10 (quantal) and R 2.15.1 (Roasted Marshmallows). I have the following installed regarding gdal in Ubuntu: $ apt-cache search gdal dans-gdal-scripts - GDAL contributed tools…
Tomas Greif
  • 21,685
  • 23
  • 106
  • 155
7
votes
3 answers

NSTask or equivalent for iPhone

I've an open source project (gdal) that I want to compile and run as part of an iOS app. I had been expecting to use NSTask but I see now that it was removed in iOS 3.0. I've also seen elsewhere that running external applications, though this would…
Craig
  • 8,093
  • 8
  • 42
  • 74
6
votes
1 answer

Work with large raster mosaics in R without merging them to a single file (like lidR catalog)

The lidR package has a neat way to work with huge (pointcloud) datasets: The catalog function (doc here) avoids loading the dataset to memory and can treat mosaics [datasets that are spread across multiple (non-overlapping) tiles] as single dataset.…
Honeybear
  • 2,928
  • 2
  • 28
  • 47
6
votes
1 answer

Provide a path to gdal-config using a GDAL_CONFIG environment variable error while attempting to install mapbox-tileset

when running pip install mapbox-tilesets I get the following error on my windows 10 computer during the Collecting rasterio process specifically the requirement to build wheel where I get the error. Details below. Collecting rasterio Using cached…
Sandy H
  • 61
  • 2
6
votes
1 answer

Installation fails for Fiona and Geopandas with GDAL on Python 3.6 on Microsoft Windows OS?

I need to install Geopandas which depends on Fiona and GDAL with pip on Python 3.6. I have installed the GDAL library on Python using the wheel file downloaded from here. Processing…
alextc
  • 3,206
  • 10
  • 63
  • 107
6
votes
2 answers

What are the corresponding fields to set in libtiff or libgeotiff, given a minimal ESRI ASCII file?

I have an ESRI ASCII file of the form: ncols 5 nrows 4 xllcorner 0 yllcorner 0 cellsize 10 NODATA_value -9999 25.4 26.1 27 28.6 27.7 25 26 26.4 27.9 27.4 25.1 25.8 26.8 28.6 27.6 27.5 28 27.7 30.6 28.3 And I need…
Graviton
  • 81,782
  • 146
  • 424
  • 602