All Questions
48 questions
0
votes
0
answers
212
views
Error: Problem: package gdal-devel-3.0.4-12.el8.x86_64 from epel requires libgdal.so.26()(64bit), but none of the providers can be installed
I have a RHEL8 machine with "8.10 (Ootpa)".
I am trying to install the following package but getting the following errors:
$ yum install gdal-devel -y
Last metadata expiration check: 2:56:...
0
votes
2
answers
300
views
How to publish C# Gdal project to Debian
I have a .NET Core C# web project which uses GDAL and GDAL.Native packages. All works well locally, but after publishing to a Debian server, it reports a bunch of messages like
/usr/share/dotnet/...
0
votes
1
answer
389
views
NetCDF multidimensional array issue with gdal
I am trying to extract depth levels from a NetCDF multidimensional array file and it seems that those depths cannot be queried with gdal tools (eg. gdalmdimtranslate). After checking the gdal.org ...
6
votes
1
answer
4k
views
R install rgdal package - Error: GDALAllRegister not found in libgdal
I am trying to install the package in R on a Fedora platform. However, the following error message appears: configure: error: GDALAllRegister not found in libgdal.
I don't know what to do with the ...
1
vote
0
answers
214
views
gdal_translate error: Could not perform Read/Write (ecw to tif)
Thanks in advance for any help!
I am using the gdal CLI for ECW file conversions to subset and convert a large ECW file to individual tif files. I have two ECW files, one infrared and one RGB. on the ...
1
vote
1
answer
655
views
g++ failing when trying to use GDAL library [duplicate]
I just want to compile this easy example of the GDAL library in my Ubuntu 22.04 system using the system-packed g++, version 11.3.0:
#include <iostream>
#include "gdal_priv.h"
#include ...
0
votes
1
answer
723
views
Unable to extract all points when converting tiff file to shape using gdal_polygonize.py
I am trying to extract elevation points from tiff file by converting it to shape file using gdal_polygonize.py command on Linux
The conversion is successful, however the shape file does not contain ...
0
votes
1
answer
948
views
GDAL 3.4.1 build "Cannot create TIFF file due to missing codec for DEFLATE"
I have built GDAL 3.4.1 on CentOS7. Everything seems to be working except if I try to use DEFLATE compression and I get the error below. I have installed libtiff-4.1.0 and libdeflate-1.10. ...
0
votes
0
answers
1k
views
How to solve Error 2 in Make command on Windows?
I'm trying to install the following GitHub Repository in my machine:
Br-Altlas
The instructions tell me to install Gdal before clonning it, and then run npm install and run the command "make"...
3
votes
1
answer
567
views
Issues installing gdal-bin (libmysqlclient21 dependency) on 20.04.3 (databricks job clusters)
I've had, in the past, gdal utilities installed successfully on a Databricks Cluster running 20.04.3 LTS (focal).
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)&...
0
votes
1
answer
852
views
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.
...
9
votes
4
answers
11k
views
Error building pygdal: Unknown distribution option: 'use_2to3_fixers' and 'use_2to3_exclude_fixers'
Solution provided below:
Started getting errors when building pygdal on Ubuntu 20.04:
# Command
python3 -m pip install --no-cache-dir pygdal==3.0.4.*
produces the following output
Collecting pygdal==...
2
votes
2
answers
5k
views
GDAL (CentOS 8) Install Failing
For the best part of today, I've been trying to get my head around how to install GDAL on my CentOS 8 server.
I've researched on many different answers and solutions across different sites and across ...
2
votes
0
answers
537
views
Cluster install of gdal: Gdalinfo hdf "not recognized as a supported file format"
We have gdal installed on a University cluster. The current install doesn't recognise HDF files (Modis HDF-EOS2?). What specific compile settings do we need for these formats? Any links to guide our ...
1
vote
0
answers
1k
views
Why do I get a "invalid pointer" error when trying to install the gdalUtils package (in R)?
I am trying to install the gdalUtils package on my Linux system (Parrot OS, Debian-based). However, whenever I try this, I get the following error: munmap_chunk(): invalid pointer. What is going wrong?...
2
votes
1
answer
3k
views
installing sf package with libraries in non-standard locations
The required libraries are in non-standard locations and I can install rgdal by the command below:
install.packages('rgdal', type = "source",
configure.args=c('--with-gdal-config=/home/programs/...
14
votes
1
answer
15k
views
Package missing in Alpine Linux even though it's listed on package repo website [closed]
I am attempting to build out a Docker container that runs Alpine Linux with GDAL and the necessary Python hooks:
FROM python:3.6-alpine
RUN apk update
RUN apk add py-gdal gdal
RUN pip install ...
0
votes
2
answers
699
views
Cannot build rgdal package on amazon linux AMI
I am unable to build rgdal (see output in code chunk below) on my AWS server. I understand from the discussion here, and here that this has something to do with missing libraries for geos and gdal, ...
1
vote
0
answers
262
views
gdal_array import error Red Hat linux
I have gdal 2.2.4 installed and running python 3.5 on a Red Hat EL (7.3) cluster. I am able to import gdal and osgeo in python, but I get an import error that looks like this when I try to import ...
10
votes
5
answers
11k
views
Configure error in rgdal "gdal-config"
I am currently running some species distribution modelling and richness mapping in R on a linux cluster. In order to run my analyses I need to install rgdal so that the raster function in my modelling ...
1
vote
1
answer
583
views
CartoDB installation on ubuntu 16.04 gdal compile error
I followed the installation steps in
https://gist.github.com/azvoleff/f8f06d22a8a4d89401e09d6607a5ecc4
to install cartoDB to Ubuntu 16.04.
everything is fine and installed correctly (although i ...
0
votes
1
answer
76
views
Linux Executables Sometimes Not Found
Question:
How can I resolve executables disappearing sometimes during batch processing scripts?
Background:
I have a series of scripts designed to parse xyz elevation data, partition into grids, ...
0
votes
0
answers
328
views
gdal can't import ogr
I've written a python script that runs fine on one computer. but can't import ogr from osgeo on another. Both machines running linux, and have gdal compiled from source and both include with-python=...
0
votes
0
answers
44
views
gdal_translate is not working apache user
When I call command in ssh console root user its all working, but I call in program in apache user this not working, please help
gdal_translate -of GTiff -co "TILED=YES" /opt/path/path/TCSHAPE/11-38-...
2
votes
3
answers
3k
views
Install GDAL on Python 2.7 on a Amazon Linux virtual server
I have a t2.micro Amazon Linux instance running.
Python 2.7.12 is pre-installed already. I would like to install GDAL with the Python.
I have got gcc c++ and numpy installed.
None of the following ...
2
votes
0
answers
816
views
Getting GDAL to work in Python (libjpeg.so.8: cannot open shared object file)
I have been trying to get GDAL to work from Python (Anaconda) for quite a while, but I am not able to figure it out. Would be great if someone can help me out.
First I tried to install gdal from ...
1
vote
0
answers
491
views
Using gdal_merge.py to merge three jpeg2000 files results in an ImportError: libgeos-3.5.0.so
I am pretty new to python and Linux so my knowledge is still rather small. I work on a virtual machine via vncviewer on GNOME 64bit. I try to use the gdal_merge.py script on three colour bands of .jp2 ...
1
vote
0
answers
2k
views
Installing GDAL on Linx Mint
I've installed GDAL using Anaconda on my Linux machine
conda install gdal
but I can't load it. If I run Python
import gdal
------------------------------------------------------------------------...
1
vote
2
answers
1k
views
Problems with trying to to install rgdal package in R on Linux
I am trying to install the R (R version 3.2.4 Revised) package 'rgdal' onto my Linux, Ubuntu 14.04, but the package is having difficulties when it tries to load dependencies, specifically sqlite.
The ...
48
votes
4
answers
64k
views
python GDAL 2.1 installation on Ubuntu 16.04
Here will be my sequence of command lines while trying to install gdal2.1 in a UBUNTU virtual machine. My virtual machine is a UBUNTU 16.04 LTS(64bit) I would need gdal2.1 and especially the Python ...
13
votes
2
answers
10k
views
How can I install a recent version of GDAL on Amazon Linux?
I'd like to install GDAL on an EC2 instance running Amazon Linux (which I think is based on RHEL 6). I'd like to avoid compiling from source if possible.
The version of GDAL included in the EPEL Yum ...
0
votes
1
answer
223
views
Error during installation of GDAL with ogr2ogr
Here,i am trying to draw the map of my country and for that i got a article http://bost.ocks.org/mike/map/ and the i have installed all the tools said here like as i am user of ubuntu 14.04 , homebrew ...
48
votes
1
answer
210k
views
How to fix symbol lookup error: undefined symbol errors in a cluster environment
I'm working on some python code that extracts some image data from an ECW file using GDAL (http://www.gdal.org/) and its python bindings. GDAL was built from source to have ECW support.
The program ...
1
vote
1
answer
4k
views
Plot .tif GDAL raster using matplotlib Basemap
I have a bit of code from here that I am using for plotting a geotiff image (Landsat):
from mpl_toolkits.basemap import Basemap
from osgeo import osr, gdal
import matplotlib.pyplot as plt
import ...
3
votes
1
answer
1k
views
Link conda HDF4 to conda GDAL (Anaconda Python)
I have python installed through the Anaconda distribution. It works for most regular things. I need to be able to open a MODIS HDF4-EOS file, however. I have tried
conda install -c https://conda....
0
votes
1
answer
690
views
want to merge tiles of different jpg images and show it on map
I have generated tiles of multiple jpg images using gdal2tiles. Now I want to merge all tiles of multiple jpg images and show it on map. So how can I achieve it?
3
votes
1
answer
2k
views
A program With GDAL API in Linux
I have used gdal api in Windows but now I need use it in Linux (Ubuntu). I don't know how install the library for c++ and neither how build a gdal program with g++ or another compiler.
I saw that ...
0
votes
1
answer
397
views
GDAL 1.11 no vector support?
I was trying to look at the OGR api in GDAL, and was following the tutorial here: http://www.gdal.org/ogr_apitut.html. I kept getting an undefined reference to pretty much everything. I've installed ...
0
votes
2
answers
2k
views
gdal_translate with input file list and output file list
I used gdal_translate -of ENVI inputpath1/RE1.tif outputpath1/RE1 in my linux shell for the conversion of one file. Now, I want do the same with 50 other files. Those files are in different ...
2
votes
0
answers
2k
views
undefined reference to `GDALAllRegister'
I have problem with gdal.Iam currently working on Ubuntu and the IDE is Eclipse CDT i have given my code below and i have also installed the gdal package but it gives build errors
#include <stdio....
4
votes
2
answers
7k
views
Installing GDAL python binding Linux
I've been trying to install the python GDAL binding from source with ./configure --with-python but when i attemp
from osgeo import gdal
I get:
Traceback (most recent call last):
File "<stdin&...
0
votes
2
answers
2k
views
Bash scripting and gdal - how to refer to elements in an array variable?
I am trying to use gdal in a bash script. I have several input raster files, in ENVI format, in different directories, and want to give new outputnames, in GTiff format.
The idea is then to run the ...
1
vote
0
answers
776
views
Can't execute a python command (gdal2tiles.py) from PHP
I am trying to execute the following command from PHP (run on ubuntu)
"gdal2tiles.py" -p raster -z 0-6 -w none '/opt/lampp/htdocs/attachments/pt.png'
Running this command into the terminal works ...
0
votes
1
answer
1k
views
How to install libgdal on openSUSE 11.3?
libgdal
linux-y3pi:~ # rpm -Uvh libgdal1-1.8.0-1.59.src.rpm
warning: libgdal1-1.8.0-1.59.src.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
1:libgdal1 ##################...
148
votes
11
answers
148k
views
Error: gdal-config not found while installing R dependent packages whereas gdal is installed
Please point out the point that I am missing:
openSUSE 11.3
xx@linux-y3pi:~/Desktop/R> sudo R CMD INSTALL rgdal_0.7-12.tar.gz
root's password:
* installing to library ‘/usr/lib64/R/library’
* ...
0
votes
1
answer
219
views
How to avoid repetition in file paths when using input/output shortcuts in bash?
Sorry if the title is vague, I'm not sure what terminology to use. Here is my problem. I use the following bits of code to shortcut INPUT/OUTPUT locations etc.:
BASE=~/J/ca/wgs
INPUT=~/J/ca/wgs/shps
...
0
votes
2
answers
2k
views
How to write a batch command in linux ubuntu 10.04?
I have an installed library called Gdal which runs certain GIS commands.
This command runs for a single file
gdal_translate -a_srs EPSG:25832 INPUT_FILE OUTPUT_FILE
but I would like to run a batch ...
1
vote
3
answers
11k
views
using GDAL/OGR api to read vector data (shapefile)--How?
I am working on an application that involves some gis stuff. There would be some .shp files to be read and plotted onto an opengl screen. The current opengl screen is using the orthographic ...