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

0
votes
0answers
16 views

gdalwarp, pyproj and gdal-osr have different transformation output

I would like to transform Landsat 8 scenes from the native UTM to the official Hungarian spatial reference system. My problem is that pyproj.transform and osr.CoordinateTransformation have the same ...
1
vote
2answers
6 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 ...
3
votes
1answer
31 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 = ...
1
vote
0answers
22 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
11 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
1answer
263 views

Read DGN file in java or c#

I'm looking solution to read DGN file in java or c# without any success. Gdal makes many problem and doesn't support all element eg. complex element. Does anyone know of a library that supports the ...
2
votes
1answer
371 views

gdal2tiles doesn't use resampling method correct?

I'm using gdal2tiles to create tiles from MODIS satellite imagery (250 m resolution) and I have noticed that I get the same bad result if I use -r near or -r bilinear (or lanczos for that matter). See ...
0
votes
2answers
175 views

geotiff conversion to coordinate system with gdal

I would like to get the coordinates X Y Z from a geotiff file. I am using the gdal translate for the conversion. Which output format is the more adequate for containing a 3 numpay array X Y Z ?
3
votes
1answer
180 views

ENVI raster file with nodata change to 0

I have a geotiff that I converted to a ENVI raster file with the following command: gdal_translate -of ENVI srtm_05_08.tif data.bil The geotiff has water values supposedly set to nodata. I am ...
0
votes
1answer
140 views

gdal_contour transparent contour as png

I started using the GDAL Library in a c++ project. It is a great library, but I am a bit stuck right now with different aspects of it. What is the best way to use gdal_contour in my c++ programm? ...
0
votes
1answer
19 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
21 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 ...
4
votes
1answer
740 views

install gdal extention in GeoServer

I am trying to install the GDAL extension (I want to use ecw files in GeoServer). So here is what I did so far: 1) downloaded the GDAL extension and extracted to: C:\Program Files ...
3
votes
2answers
59 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
1answer
38 views

GDAL Python and postgis raster?

I'd like to create a postgis raster using GDAL and python. I can get the driver easily: drv = gdal.GetDriverByName("PostGISRaster") But how can I create a new raster table? I can't find any ...
3
votes
1answer
388 views

GDAL minidriver and Tilecache

I'm trying to use GDAL minidriver to read tiles folders generated from Tilecache seeding. I have set this in my GDAL source <ServerUrl>http://myserver.com/test/${z}/${x}/${y}</ServerUrl>, ...
1
vote
1answer
35 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 ...
2
votes
1answer
394 views

USGS GeoTiff extent via GDAL

I have 2006 land cover GeoTiff from the USGS site (for a county in VA, USA). The projection is Albers Conical Equal Area Units. The download came with an HTML metadata file that tells me the geo ...
2
votes
2answers
138 views

gdal_grid unable to get nodata outside of original data area

I have a vector based csv file that I want to convert into a grid using gdal_grid, but I want to force null data values strictly around the area where there is data. I can get gdal_grid to work but ...
1
vote
1answer
177 views

setup Mapserver WMS from tile files

I'm totally new to Mapserver and I've been banging my head trying to figure out how to mount a WMS server that will seed images of a small geographical area to a OpenLayers HTML page. I already ...
43
votes
11answers
34k views

How to install GDAL with Python on windows?

Can anyone please explain to me in step by step instructions how to install GDAL/OGR with Python on Windows. I have Windows Vista and I have tried following the information on the website and it does ...
0
votes
0answers
14 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
23 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 ...
2
votes
2answers
286 views

Driver Error : DTM to Raster using GDAL_GRID

I am looking to interpolate a DTM (eventually over 4,000 DTMs) that is in a personal geodatabase format. I would like to do this in as few step as possible, eventually writing a batch script to do ...
2
votes
1answer
480 views

How to run OGR in ArcGIS Scripts?

When I run my script outside ArcGIS it works because during execution script uses a GDAL and OGR modules from osgeo. When I use script as a tool in ArcGIS it does not work. In PySripter I can import ...
1
vote
1answer
463 views

Using GDAL to read dted files

How do I get the elevation at a certain point using gdal to read in a dted file? I don't see much useful information out on the web. I'm sorry I should have been more specific. How would I ...
0
votes
1answer
145 views

Combine overlapping rasters in gdal_calc.py, taking the maximum value from each pixel?

I want to combine 3 overlapping rasters to create 1 raster. Each have the same dimensions, resolution and CRS. I want to populate the new raster with the maximum value from each of the layers. ...
0
votes
0answers
20 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
1
vote
0answers
79 views

CentOS 6.5 - After compiling gdal.so: Unable to load dynamic library

CentOS release 6.5 (Final) Linux version 2.6.18-028stab101.1 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) I'm trying to Install Cartaro CMS (http://cartaro.org/). GeoServer, ...
2
votes
0answers
48 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 ...
2
votes
1answer
81 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 ...
0
votes
0answers
19 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 ...
3
votes
0answers
17 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. ...
1
vote
1answer
670 views

How to generate JPEG tiles using gdal2tiles.py

I am using gdal2tiles.py to generate tiles and packing it into MBTiles using mb-util. gdal2tiles by default generates PNG tiles. When I convert PNG tiles to JPEG large black area around tiles are left ...
2
votes
2answers
1k views

Problem in displaying tile images using openlayers3

I have problem with displaying my TMS layer using OL3. This is my first time working with tile images this way so maybe it doesn't have to do anything with ol3, maybe I just don't understand it right. ...
0
votes
1answer
63 views

How do I convert a VMAP to a shapefile using GDAL?

This is my first time trying to convert a VMAP to a shapefile and the examples online aren't as straightforward to me. Any guidance is appreciated.
0
votes
1answer
434 views

help with TMS (gdal2tiles) Openlayers 3 and custom projection

I work with a local italian projection (EPSG:3003 Monte Mario Italy zone 1) and I had loaded this projection in my project for evitate to reproject all of my data. I had created the tile pyramid with ...
1
vote
0answers
19 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
34 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 ...
0
votes
0answers
17 views

Install GDAL 2.0 on a MacOSX

Anbody knows 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 feature ...
4
votes
1answer
153 views

Grass NVIZ has no output in QGIS 2.8.1 ubuntu 14.04

I am trying to use the Grass7 NVIZ algorithm from the QGIS 2.8.1 toolbox, on ubuntu 14.04. I have enabled Grass7 in the QGIS processing preferences. I have compiled Grass7 from source, and Grass ...
1
vote
2answers
67 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
84 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, ...
-1
votes
1answer
56 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.
0
votes
2answers
111 views

gdal_grid performance issue — alternatives?

I use gdal_grid within a Python script, but for my large files the calculation time is enormous. Apparently this is a gdal_grid issue http://trac.osgeo.org/gdal/ticket/2411 Does anyone have an advice ...
1
vote
0answers
12 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 ...
0
votes
1answer
63 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
vote
1answer
45 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
36 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 ...
0
votes
0answers
19 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 ...