GDAL (Geospatial Data Abstraction Library) is an open source translator library & set of command-line utilities for processing raster spatial data formats. As a library, it presents a single abstract data model to the calling application for all supported formats. It also comes with a variety of ...

learn more… | top users | synonyms

1
vote
0answers
35 views

Python crashes when I try to import GDAL after re-installing it

A while back I went through the installation process for GDAL by installing the core components and then the Python/GDAL bindings. Everything was fine when I would type in from osgeo import gdal. ...
3
votes
1answer
352 views

How to re-compile ogrinfo against gdal used by QGIS?

I just solved a problem with missing libraries blocking use of ogrinfo and ogr2ogr, only to find that these utilities are garbled in one more way: whenever I run any of these, I get following error (...
0
votes
2answers
45 views

How do I run gdalwarp on a number of csv of coordinates?

I have a CSV of Ground Control Points in NAD83 UTM 12N and I need to convert them to WSG84. Is it possible to do this with gdalwarp or something similar?
1
vote
1answer
92 views

Erase shapfile (polygon) area from GeoTIFF

I've been reading several posts to do so and one option would be to use gdalwarp -cutline, but I would need to keep what it is NOT inside the polygon area. GDAL or any command-line tool does that? ...
0
votes
1answer
201 views

Problem doing a coordinate transform with GDAL python

I'm trying to do a concordant transform from the format of the shapefile (3309) to google maps(4326). This code works on one Centos 6.6 box with the SCL python 2.7 and a custom gdal 2.0 build. ...
-1
votes
1answer
43 views

ASC file to GeoTIFF

I would like to convert using Arcpy an ASC file to GeoTiff but I can't find nothing about it. I tried : arcpy.ProjectRaster_management() changing .tiff to .geotiff but it didn't work.
1
vote
0answers
82 views

Serving GeoTIFFs of different resolutions as single layer

I'm trying to serve a 30 arc second DEM with global coverage combined with high resolution 1/3 arc second DEM for a very small area. I believed at first I could combine them into a single file, ...
0
votes
0answers
273 views

WCS elevation with Cesium + Geoserver

I'm trying to develop an offline demonstrator showing hi-resolution bathymetry data using Cesium 1.11 and Geoserver. I've merged a number of 1/3 arc second areas around Puerto-Rico from NOAA ...
2
votes
2answers
74 views

Fusion table connexion issue

I'm trying to import some data from a SHP to GFT (Google Fusion Table). I get a 401 error. I'm using an Ubuntu 14.04 LTS Linux 64 bits with GDAL 1.11.0, released 2014/04/16. GFT is available (tested ...
1
vote
3answers
131 views

OSGeo4W GDAL Polygonize Batch Convert?

I'm trying to use GDAL polygonize to run a batch convert but I cannot for the life of my figure out a way to get it to read a text file as input that contains all of the commands. Do any of you know ...
0
votes
2answers
52 views

I cannot find osr after installing OSGeo4W package

I wanted to be able to import OSR from GDAL on my Python 2.7 (Anaconda) Windows 7 64-bit. I installed OSGeo4W after reading this post and eventually I'd like to import osr from osgeo import osr ...
1
vote
1answer
395 views

How do I convert WGS84 to Lat, Long to Google Maps in R?

I have this coordinate which I believe it's in WGS84 format x=1005740.867110, y=243957.356623 I want to plot that in Google Maps which I need to convert that to Lon, Lat. I've found this script ...
3
votes
2answers
365 views

How to have GDAL print layers of GeoPDF AND say which are raster vs vector

My Objective: I would like to use GDAL to convert a GeoPDF. I want the vector layers as shp files and the raster layers as tif files. I want to do this in a programmatic way. Edit: In reality, I ...
0
votes
0answers
19 views

Using GDAL Convert .SHP to GEO TIFF in Command Line Python [duplicate]

I have dozen Shape files (.SHP) with Georeferenced. I need to convert to GeoTiff or other format that GDAL primarly gdal2tiles.py to convert to MBTiles format. All I want is convert the .shp files ...
0
votes
0answers
30 views

Installing GDAL Python bindings on Windows [duplicate]

This has been addressed before (How to install GDAL with Python on windows?), but I wanted to bring the question up again, to see if anybody has come up with a better method in the last 5 years, and ...
0
votes
1answer
212 views

How to get elevation from dted only USGEO format using gdal apps

I need to get hieght by lat long position using gdal utilities
0
votes
0answers
81 views

What are the units in GMTED2010 elevation data?

I have downloaded the GMTED2010 elevation data from http://topotools.cr.usgs.gov/gmted_viewer/viewer.htm I am merging all the files/tiles (to create a global dataset) with: gdal_merge.py There is ...
1
vote
0answers
50 views

Non-Square Pixel on georeferencing of images using GDAL

I have a image in .jpg format. I have some GCP and also know the pixels values of these GCp in that image. Now i trying to convert this image into geotiff. for that I have coded the following lines. ...
2
votes
0answers
75 views

Multiple layer intersection

I am trying to find a way with qgis/python to get the intersection area of more than 2 layers. All the tools in Qgis take just the 2 input layers. ='( For example in the image below, I have 4 layers ...
3
votes
0answers
149 views

How do I specify an outsize for gdal translations to an ENVI file?

I'm trying to create an elevation map using the output from gdal_translate. When I run gdal I can convert to both PNG and ENVI and combine the results to make something like the following image. ...
3
votes
2answers
861 views

Install GDAL 2.0 on a MacOSX

Does anybody know what's the easiest way to install GDAL 2.0 on a MacOSX? The usual suspects kingchaos binary distribution and homebrew seem to be stuck on GDAL 1.11 I need support for TopoJSON ...
2
votes
1answer
284 views

Reprojecting MODIS Sea Ice Extent and IST data using GDAL

This is an additional exploration of the problem described at Reprojecting MODIS Ice Sea Temperature products with gdalwarp which was never answered in a satisfying way (I apologise for the length of ...
4
votes
1answer
73 views

Error trying to import data to CartoDB using ogr2ogr

I have a local install of CartoDB in my Ubuntu 14.04. I have created a CartoDB account called "development" and been playing with it for a while. Now I'd like to import some data from a shapefile ...
1
vote
1answer
141 views

Using GDAL library in QGIS plugin?

i've been working on my project to create QGIS plugin for raster analysis purpose. It will be easier if we use gdal library. Are we able to use gdal library to develop QGIS plugin? If so, how do ...
-1
votes
1answer
104 views

How to cut image into Map Sheets with GDAL?

I want to divide a whole raster map image into map sheets. The gdal tiling or clipping functionality doesn't seem to do it.
1
vote
1answer
365 views

How to Install GDAL with ECW Support on Windows

What do I download from http://www.gisinternals.com/stable.php for Win7-32 to cut 1:1M map sheets out of Australia.ecw file in GDA94/Geographic and save them as geotiff in WGS84/Geographic? I would ...
0
votes
1answer
108 views

Python problem using GDAL

I used the instructions at https://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/ I downloaded the following files: GDAL-1.11.1.win-amd64-py2.7.msi gdal-...
0
votes
0answers
118 views

Creating Composite Raster from multiple GDAL sub datasets where CADRG is the source

I'm using GDAL on a project to view RPF (A.TOC) format of CADRG based imagery. I see how opening the "A.TOC" results in a dataset with many sub datasets. What I want to do is programmatically (on ...
4
votes
1answer
299 views

Difference between gdalwarp and projectRaster

I am trying to project a Raster. In R there is the projectRaster() function to to this (below a fully reproducibly example) : # example Raster require(raster) r <- raster(xmn=-110, xmx=-90, ymn=40,...
2
votes
2answers
357 views

How to convert CSV file in VRT

Im a geomatics student. For the treatment I would like to make, I use the gdal executable in QGIS file, with a DOS command. I have a csv file like this (test.csv) : X Y -5.48 42.81 -4.78 ...
1
vote
1answer
136 views

Where can I find a binary ogr_FileGDB.dll compilled for Windows?

Need GDAL 2.0 with support FileGDB driver. The GDAL build from http://gisinternals.com does not contain this driver.
0
votes
1answer
83 views

Cannot find information about my.table table in raster_columns

I am running PostgreSQL 9.4 and PostGIS 2.1 and have loaded a small piece USGS SRTM data for North America successfully into my database. I am attempting to export a small piece of of the rasters I ...
1
vote
2answers
191 views

Editing .tiff rasters in Python

I am triying to edit .tif rasters in python, but I have some issues regarding the tiff to array converstion. I read there are multiple options for opening rasters (gdal, PIL, matplotlib), but which ...
3
votes
2answers
490 views

GDAL with GEOS support, pandas and VTK using python on Windows?

So far I have been using OSGeo4W shell (or OSGEO install) as really convenient way to use python together with additional packages, namely gdal, shapely, numpy, scipy and matplotlib. I was happy till ...
1
vote
2answers
269 views

How to compile QGIS from source with Grass?

I recently decided to reinstall QGIS and build against the latest version of GDAL - something I have been putting off for ages because I suspected it would be a nightmare. Lo and behold it has been, ...
1
vote
1answer
384 views

How do I convince gdal2tiles to output pngs with transparency?

I have a tiff that was created with Pix4dmapper. This tiff has coordinates embedded (as seen in the logs below) (I think that makes it a geotiff?) as well as a tfw file associated with it. Opening ...
2
votes
2answers
234 views

GDAL/QGIS broken Ubuntu 14.04

I think I've managed to bust GDAL after (I think) installing Grass7. I had previously built GDAL (1.10) from source with a bunch of additional drivers. When installing Grass7 GDAL 1.11 was installed. ...
3
votes
1answer
324 views

Split raster into tiles

I have a raster that needs to be split into tiles (each tile a new raster). I have a Shape file with multiple polygons (these polygons are how I want the raster split). I have Gdal and QGIS. Any ...
0
votes
1answer
33 views

GDAL Truncating/Normalizing Field names

While creating a ESRI-Shapefile using GDAL, it keeps truncating/normalizing my field names. Any reason why it does this? If the Field name is more than 10 characters it seems to do this. For example ...
1
vote
1answer
151 views

Trouble using gdal utilities in python (no output files created)

I am trying to use gdal utilities like gdal_polygonize in python to polygonize my raster image but I'm having trouble understanding the commands. What I mean is in some places the command is of the ...
3
votes
1answer
128 views

Reading Synthetic Aperture Radar raster images using python

Is it possible to read and modify Synthetic Aperture Radar raster images using python? gdal is not able to understand their Type which is Binary (application/octet-stream). One can find sample radar ...
2
votes
0answers
58 views

Is GDAL/OGR (specifically CoordinateTransformation) thread-safe?

I'm using the Java bindings if it matters. I have a heavily multi-threaded program and this is one of the bottlenecks that I have in a synchronization block. If I could remove the synchronization, it ...
2
votes
1answer
139 views

Gdal Python Problem : Black strips in geotiff

I am trying to use GDAL (2.0.0) Python API in Blender, but I am having some difficulties. I am trying to save geotiffs for : - a 2D numpy array storing 32bits floats - a 3 channels rgb numpy array ...
0
votes
0answers
66 views

OGRFeature set Multiple fields

Hi all to start off with: Using Gdal compiled with Xerces Coding in C++ with the QT Creator version 5.4.1 So my problem is im trying to use Gdal to create my own Esri shapefile, I get a strange ...
0
votes
0answers
45 views

Add hillshade to naip imagery

I've been searching for quite a while now. Is there a way to merge a hillshade image with an aerial image with gdal? I'm just trying to create a hillshaded aerial image.
3
votes
1answer
74 views

gdal java API returning different WKT from gdalinfo

I am running into an interesting bug where the wkt returned from dataset.getProjection() does not match the wkt returned from gdalinfo. (simplified) code: final Dataset dataset = gdal.open("<...
0
votes
0answers
96 views

Speeding up a GDAL SQL query with indexes or different file formats

I have a query that I'm performing with python and OGR2OGR similar to this: /opt/gdal-custom/bin/ogr2ogr -f CSV /vsistdout/ foo.shp -dialect sqlite -sql "SELECT A, ...
0
votes
1answer
64 views

Convert Polygons,Points,Lines to GML

I've got a vector of Points, Polygons, Lines. And I'm trying to convert the points into a GML file like a Web Feature Service. I've been doing some reading but cant find any methods that can do this? ...
1
vote
1answer
72 views

gdal_polygonize with World File

I have this image that I want to convert it to GeoJSON. And I have this World File: 0.0388048118 0.0 0.0 -0.0387897595 697054.11331 4458020.56656 When I try to run the gdal_polygonize command ...
0
votes
0answers
97 views

Modify NAIP Images for seamless mosaic with gdal

I'm processing lots of USGS NAIP imagery which overlaps. if I load multiple files into a QGIS project I can clearly see the edges of each tile being that some tiles have a darker or lighter contrast ...