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
10 views

How to add CADRG RPF A.TOC Raster Data Source in Geoserver 2.6

I'm currently trying to add CADRG as a datasource in Geoserver 2.6. I've installed the necessary GDAL plugins (1.9.2) for Geoserver 2.6. I placed my RPF folder in C:\Program Files\Apache Software ...
1
vote
0answers
13 views

Python 2.6 Module for GDAL 1.9.2, ImportError

I work on an internal network(IE I cant get the latest 1.11 stuff) and have GDAL 1.9.2 setup on a Red Hat Linux Enterprise Server 6. My linux box has python 2.6.6 however the python binding I received ...
1
vote
1answer
35 views

What options are there for geolocation-aware SQL databses?

I need to implement an SQL database that can make queries using geo-location based logic. e.g. select rows within 500m of coordinate x, y What options are available to do this with sqlite, mySQL, ...
1
vote
0answers
23 views

Reprojecting and Clipping in one script using Python Subprocess module and GDAL

I am trying to reproject a .tif file then clip it to the boundaries of a shapefile using GDAL Warp. I want to do this in a single script, and have successfully used the Python subprocess module to ...
2
votes
1answer
63 views

calling gdal_merge.py into another python script running GDAL processes

Good Afternoon All, I am wanting to use gdal_merge.py to merge a series of .tif files prior to clipping the merged file to a shapefile boundary, but want to do so as part of another larger script ...
1
vote
2answers
22 views

Store result from gdallocationinfo as variable in python?

I'm trying to find the cell value at various locations in a set of rasters so I can count the number of real values (aka not 'NoData') that occur at all the locations within each raster. The various ...
2
votes
1answer
48 views

Clip raster by shapefile in parts

Please help write .sh script command to clip raster by polygonal shapefile. Shapefile have name field with unique name of polygon feature. On the output must be rasters with name of polygons in ...
1
vote
1answer
64 views

Convert PNG to GeoTiff using GDAL

I have a map portion PNG and its associated PRJ file. I want to convert the PNG to a GeoTIFF. I know how to convert a PNG to a GeoTiff if the bounding box is available: gdal_translate -of Gtiff ...
1
vote
0answers
15 views

SQLite Driver available with R's rgdal:writeOGR?

Does anybody know how I can get OGR's SQLite Driver to work with R's rgdal package? When listing the drivers in R with the ogrDrivers() command the SQLITE driver is missing..
3
votes
1answer
61 views

ALOS PALSAR 1.0 level JAXA Orthorectified K & C Mosaic interferometry?

JAXA is providing free access to PALSAR 50m Orthorectified K & C Mosaic. The files are not in the typical PALSAR format. I'm looking for apps that can read and export this data. It's possible to ...
3
votes
1answer
58 views

Generating a GDAL script through the QGIS Georeferencer

For several months, I have been georeferencing files manually using the Georeferencer plugin within QGIS. I am now attempting to automate this process using GDAL. The Georeferencer provides a ...
2
votes
1answer
20 views

warping and outputting coordinates of GeoTiff data: advice and error checking

So I have a massive TIF file (projected in Lambert azimuthal equal-area), and I'm trying to get lat/lon coordinates for each point of the grid. My first step is to warp the projection to the WGS84 ...
1
vote
1answer
71 views

GDAL Merge Py on ubuntu many tif tiles into one

Trying to batch mosaic 1000 Gtiff rasters (all in one folder) into 1 tif file via gdal merge on linux ubuntu. Having trouble with the linux command to bring in all files in a folder into the output ...
0
votes
1answer
32 views

How to preserve GPX track point (trkpt) info when performing ogr2ogr with sql ST_union operation

I am performing GDAL ogr2org operation with ST_union(Geometry) on tracks from GPX file to split those at intersection points. Track points have elevation and depth info. In GPX track point entry looks ...
2
votes
1answer
68 views

Georeferencing a raster using GDAL and Python

I want to georeference a raster using python and GDAL. My current approach is to call gdal_translate and gdalwarp using os.system and an ugly list of ground control points. I'd really like a way to do ...
0
votes
0answers
54 views

PALSAR 50m Orthorectified K & C Mosaic it's possible to create interferometry?

JAXA is providing free access to PALSAR 50m Orthorectified K & C Mosaic. According to the website, data are provided in raw (HDR) and png. ALOS PALSAR K&C Mosaic or New global 50m-resolution ...
2
votes
2answers
55 views

Reclassify rasters using GDAL and Python

Using @SS_Rebelious very useful answer, I am trying to reclassify rasters using GDAL and Python. I have a grayscale raster (with values ranging from 0 to 255) and I want to reclassify it to a binary ...
3
votes
2answers
52 views

gdalwarp leaves horizontal artifacts regridding from EASE-Grid (laea) to Polarstero (stere)

I'm trying to understand how to use gdalwarp to warp an image. I believe I'm doing the basics correctly, but I might be missing some gdalwarp options? Any help would be greatly appreciated. The ...
6
votes
2answers
227 views

How to install GDAL and QGIS on a Raspberry Pi?

I would like to run GDAL QGIS on Raspberry Pi to act as an affordable GIS processing engine. The plan is to buy about 50 Pis. Does anybody have any links or information on installing and running GDAL ...
3
votes
1answer
38 views

Export Raster Attribute Table using Open Source software

I've got 120 or so geotiff files that I'd like to build and export the raster attribute table to something a little more friendly (e.g. csv). I'm curious if there is an open source way to do this. ...
1
vote
0answers
36 views

Using gdal ReadAsArray or Arcpy.RasterToNumPyArray on python 2.6 32bit without it crashing

I am trying to run ReadAsArray on an entire raster and on a single band, python will crash without an error message when trying to do either. Is there a way I can create a 3d array without having to ...
1
vote
1answer
42 views

how to open shp file which created by using python-ogr in qgis?

I have done following steps, so how I open that created shp file in Qgis driver=ogr.GetDriverByName('ESRI Shapefile') out=driver.CreateDataSource('pts.shp') ...
0
votes
1answer
30 views

how to beginning with GDAL, how can i use it for image format conversions

I like to work with GDAL. is it a software with or without graphical user interface? or the commands are run in command prompt.
7
votes
0answers
149 views

Geotransformation for polar stereographic?

I'm currently working to import CANGRID climate data (provided as Surfer Grid ascii, ".grd" files) into ArcGIS. The grid is 95 rows by 125 columns in size.Metadata provides lat/lon of origin (lower ...
2
votes
0answers
31 views

How to Use GetGeomtype Gdal Python

I am just wondering what I am doing wrong when trying to use the GetGeomType. I need to focus on separating layers from a pix file. Two categories are the bitmaps(which are vectors) and then the ...
0
votes
0answers
8 views

Ignore empty tiles in gdal2tiles.py when generating tiles

I am in the process of generating a large set of tiles from a .vrt file composed of many images. The image is following a road section, being very long and small strip of images and due the shape of ...
0
votes
0answers
10 views

gdalbuildvrt not working with star in path on windows

In my directory C:\dev\Jpeg-geo\del1 I have a set of .jpg and .jgw files that I am trying to put together with gdalbuildvrt but its giving me a weird error. ...
4
votes
1answer
50 views

Removing some bands or layers from a tiff using gdal

I have been working on a multiband raster image. It is a pix image. I need to just work on the 26 bands that are raster files and not the 4 bitmaps that are are also included in the pix image. I could ...
3
votes
1answer
90 views

Using GDAL in python to stack Landsat bands

I am processing a large amount of landsat data. Landsat scenes ship as a collection of tiffs- one file for each spectral band, plus a bunch of masks. I need to stack some of the bands into a single ...
1
vote
1answer
46 views

How to get the mapserver WFS OGR driver to encode unicode in geojson

Running mapserver 6.4.1, gdal 1.14.3 I try to output some WFS features using outputformat=geojson. The relevant bits of the mapfile are appended below. Everything works fine, but unicode characters ...
1
vote
0answers
25 views

How to run cmd prompt in the background and show progress bar

I am warping files using gdal. Since I have numerous files to warp how will I run the cmd in background and just have a progress bar to indicate the percentage in warping the files? Because when I ...
1
vote
2answers
130 views

GDAL/PYTHON: Batch Process Project All Level 2 HDF Files Only(Filter) and save to new directory

I have downloaded numerous hdf files from an ftp site. Let's say I already have 500 hdf files, 250 of them were level 1 hdf files and the rest were level 2. The level 1 format is: ...
2
votes
3answers
64 views

How to find all distinct values from a single column of an attribute table with GDAL (Python)?

I am working with GDAL and modify ESRI shapefiles with it. I am searching a possibility how to find all distince values from a single column of an attribute table with GDAL (Python). In SQL it would ...
1
vote
1answer
29 views

Raster created by python GDAL interpreted upside down

I am using CRS which has axis in left bottom corner. Code below produce Geotiff which is shown allright in QGIS but when I open it in other software it is upside down. Also gdal_calc takes it as ...
2
votes
1answer
34 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 ...
0
votes
0answers
15 views

Adding a column to several feature classes in a file gdb using ogr2ogr

I'm trying to add the same column to 25 feature classes in an ESRI FileGDB. I managed to do this for one feature class by using ogr2ogr: ogrinfo C:\temp\test.gdb -sql "ALTER TABLE table01 ADD COLUMN ...
2
votes
2answers
55 views

Can GDAL fill elevation below a certain value?

I have several GeoTIFFs that I'm working with to create contours using gdal_contour. One of them crashes the utility. gdalinfo tells me that the computed min values for band 1 and 2 are ...
2
votes
2answers
69 views

Compression Artifacts and GDAL

I am working with large tiled (no overlap) datasets of ortho imagery that has been mosaicked in ArcGIS and exported as a single, merged TIF for the entire AOI. These images need to be compressed so ...
2
votes
1answer
49 views

GDAL Python Not Working Correctly - Raster Calculations

I am sure this question has been asked and answered before. I am working with a x64 bit installation of OSGeo4W. I am trying to perform raster calculations using the gdal through the OSGeo4W shell, ...
2
votes
2answers
134 views

Exporting 16 bit single-band to 8 bit in SAGA/QGIS

Everytime with every function (e.g convert data storage type or gdal-translat -ot Byte) the output is a completely white map with a black border. only the "save as" export works, but the TIFF also ...
1
vote
0answers
27 views

georeference a grid by using a script

I've got an image and a set of coordinates, which represent a grid, that looks similar to this: What I'm looking for is a script, that would transform my image, by using such a grid. Edit: My ...
0
votes
0answers
24 views

Precision loss when transforming coordinates systems in GDAL (vector layers)

Anybody knows the order of magnitude of the error introduced when transforming coordinates using GDAL? More specifically, I would like to know if significant error is introduced when the ...
0
votes
1answer
40 views

Mapserver: “Premature end of script headers: mapserv,”

Some of requests to the Mapserver return "Internal server error". When I checked the Apache log I saw that there are several error messages: GDAL: In GDALDestroy - unloading GDAL shared library., ...
2
votes
1answer
19 views

ogr2ogr update failing to update shapefile int PostGIS

I have a bunch of shapefiles that I am looping in with a bash script to load and update files but the ogr2ogr fails. I am running gdal 1.92 on ubuntu 14.04. for file in `ls *.shp`;do ogr2ogr ...
1
vote
1answer
24 views

Why does the commands listgeo and gdalinfo don't show the same Proj4 Strings?

As the title says, why doesn't the unix tools listgeo and gdalinfo show the same proj4 strings? Check this file: ...
1
vote
1answer
77 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
48 views

Create Georeferenced Raster For JPEG file with Mapnik Python

I am able to use Mapnik generate_image.py to generate image with a BBOX and projection. Also, I have added a python script to generate a JGW file. But to completely georeference the generated image. ...
0
votes
2answers
71 views

Georeferencing window won't open QGIS 2.4

I had the georeferencer window open in QGIS 2.4 while project was running, I accidentally closed the Qgs document with the georeferencing window open (worked absolutely fine till then). When I opened ...
1
vote
1answer
32 views

Aerial Imagery Showing in Different Colour while pan/zoom geoserver

I have img/tif files of a small aerial imagery. I published it under ImageMosaic plugin (GDAL plugin installed), but when I pan or zoom the map in OpenLayer preview I am getting different colour for ...
1
vote
1answer
44 views

Problem installing gdal - works in build directory, not in /usr/bin

I've been trying to install gdal with the FileGDB driver. I installed it fine on a linux mint machine. I am having problems installing on a CentOS machine though. It builds fine, I can run the apps in ...