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

2
votes
1answer
445 views

How to determine area of pixel in meters with GDAL and Python?

I have a raster loaded in Python using GDAL bindings. I'd like to be able to determine the area of a pixel in meters although I'm not confident that the projection is in meters. On this page I see a ...
7
votes
1answer
826 views

Building GDAL With Read/Write Support of FileGDB

Has anyone been successful in building gdal with read/write support of file geodatabases? I am able to build successfully, just never see FileGDB as in the supported vector formats. Here is what I ...
3
votes
1answer
438 views

Want to use GDAL in Arc10 toolbox via subprocess call

I'm attempting to launch a version Python 2.5 that supports GDAL from an ArcGIS10 toolbox script. I'm doing this because I'm having loads of trouble importing the GDAL library directly into Arc, and ...
5
votes
2answers
2k views

GDAL Python bindings not picking up OGR PostgreSQL driver

I have a windows server (Microsoft Windows Server 2003) with: Python 2.7, PostgreSQL 9.04-1, GDAL 1.8.1 (installed from the windows installer (gdal-18-1500-core.msi) hosted at ...
1
vote
1answer
291 views

How to aggregate points with same value into polygons from a shapefile using GDAL or any other opensource solution

I have a shapefile with around 19,000 points. Its basically export from a raster. No i need to extract polygons, by aggregating the points which have same value.The field who's value i am going to use ...
4
votes
2answers
244 views

Finding Raster Overlap within a Directory

Here is the scenario: I have a directory with 100+ map projected, single band, rasters that weighs in a 40GB+. I have used ArcMap's built-in mosaicing tools to create a raster mosaic. I am using a ...
2
votes
1answer
202 views

QGIS 1.7 + MacOS 10.6 : georeferencing from map canvas bugs

I am experiencing issues with the gdal plugin to georeference a raster. It works fine when I enter the coordinates manually but it does not work when I try to link the plugin with the map canvas. ...
5
votes
5answers
1k views

Python, shapely library: is it possible to do an affine operation on shape polygon?

I am trying to create a rotated rectangle in lat/lon coordinates. Basically I have the coordinates of the center and rotation angle around the center. Is it possible to do using, shapely or gdal, or ...
5
votes
1answer
314 views

How to label raster cells in QGIS?

I try to show a small resolution raster file in the QGIS Print Manager tool. I would like to show a small label with each cell value (position - circa middle of each cell). How I can do it? Is there ...
1
vote
3answers
3k views

Convert Lambert Conformal Conic to WGS84

I am trying to convert my "Lambert Conformal Conic map with 2 standard parallels" to the basic/standard WGS84 projection that Google Maps use. I have 30 of these maps which I need to convert. They ...
3
votes
1answer
2k views

Georeferencing with Quantum GIS and reprojecting to EPSG:900913

I'm trying to reproject a map to EPSG:900913 The image I'm reprojecting is the following http://i.imgur.com/HmfLW.png I'm using the cities as reference points obtaining the coordinates from Google ...
3
votes
2answers
235 views

What projection is this in GDAL classification

I need to re-project a PNG from a given projection to the Google maps projection. I have a grid of the source projection, looks like a Mercator projection. What is the exact name of this projection in ...
4
votes
1answer
1k views

GDAL - creating vector from raster

[SOLVED] Good day! I'm looking at either gdal_contour or gdal_polygonize.py to create a vector layer file from a raster file. I can create the vector file using either method, but it's upside down ...
5
votes
2answers
2k views

Geoserver 2.1.1 with ECW support

I am trying to add ECW support into Geoserver 2.1.1 (also tried 1.7.7) but no luck so far. Does anyone have a step by step guide to add the ECW support ? (the one However, my understanding is that ...
1
vote
2answers
2k views

Get extent of Georeferenced Rasters in Python and output to polygon shapefile

I would like to create a shape file containing the extents of each of the rasters in a directory. Is it possible to capture the extent of a raster using Python? I have tried ...
3
votes
1answer
274 views

Polygon Shared Boundaries in GML

Last week I was told on a phone conference that GML supports shared boundaries in Polygon's. I have been unable to find any documenatation to substantiate the claim. Here is the situation: I have a ...
0
votes
1answer
238 views

Tiling failing near the end of generating base level tiles

I have a GeoTiff file that I have created by using the command: gdal_translate -gcp <my gcp> -a_srs <my wkt file> input.tif output.tif Note that I have twelve -gcp options set on the ...
4
votes
2answers
397 views

What alternatives to Orfeo are out there and what are the pros and cons of each?

I'm interested in using a library for abstracting the common, repeatable tasks that entail the usage of GDAL (like registiring a driver, getting bands.. etc). In general, GDAL is "low-level" and most ...
2
votes
3answers
1k views

Read KML file with GDAL/OGR for Python

I have file : test.kml and I try to open it with GDAL/OGR (1.6) librairie in Python (2.5). But I don't succed can you help me ? This is my code : from osgeo import ogr adresse = 'test.kml' ...
3
votes
2answers
700 views

Overlaying GPX data on rasters in QGIS

I have a series of raster map images that I would like to use in QGIS and overlay some simple GPX routes over the top to produce a custom map image. This is all quite new to me so please bare with ...
19
votes
3answers
4k views

What is Lanczos resampling useful for in a spatial context?

GDAL includes a resampling method beyond the normal mix of nearest neighbor, bilinear, cubic and splines: "Lanczos windowed sinc resampling". I understand that its a convolution filter, but unlike ...
3
votes
1answer
952 views

GDAL ECW Support on OSX

I have a large number of ECW format raster images and would like to use with GDAL (and ultimately in QGIS) on Mac OSX. Having seen that there is no official ESRI support for the ECW library on any ...
2
votes
2answers
754 views

Is there any way of merging two sets of tiles with gdal2tiles?

I've executed gdal2tiles against 2 raster coverages: One big raster coverage, composed by several TIFF files. Example of tile: http://dl.dropbox.com/u/6599273/319.png One single TIFF file, ...
1
vote
1answer
286 views

gdalwarp - strange result

I have an input jpg image (sat thumbnail) and I know a number of gcps for this image. I want to reproject the jpg to have a north up image. This is what I do: ./gdal_translate -of GTiff -a_srs ...
1
vote
2answers
901 views

Automate creating Rectified files from georeferenced images

A python 2.6.5 / ArcGIS 10 solution is preferred. UPDATE: I found a tool to do this "Create Ortho Corrected Raster Dataset" but the python script for it gives errors when I try. import arcpy import ...
1
vote
1answer
265 views

How to reproject a noaa bsb nautical chart?

I have some nautical charts in .BSB format. GDAL can read bsb and I successfully imported them to qgis. But I can't figure out what is the coordinate system they use. Does anyone has some experience ...
5
votes
1answer
2k views

Extracting Lat/Lng from Shapefile using OGR2OGR/GDAL [closed]

I'm trying to extract lattitude/longitude values for the streets in this shapefile: http://gispub02.sfgov.org/website/sfshare/catalog/stclines_streets.html I've seen it reommended in many places that ...
2
votes
1answer
736 views

How to provide transform information to openlayers on Image layer

I would like to include an overlay raster layer into my OpenLayers map. I've pre-transformed the image into the correct projection (EPSG:900913) and saved as a png using the gdal_translate command: ...
2
votes
2answers
2k views

GDAL tools for QGIS on OSX - what is the exact directory for gdal binaries?

When I try to use the gdal raster tools, eg clipper, I get the message "The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the ...
4
votes
2answers
960 views

Translating grid to USGS .dem in C# via GDAL

I am attempting to translate ArcInfo binary grids to USGS DEM format (.dem). I have installed the GDAL .NET bindings thru this build installer. I can get to GDAL in my C# add-in I am working on. ...
14
votes
3answers
6k views

What's the easiest way to install GDAL and OGR for Python?

I am developing some code in Python, and I want to use the GDAL/OGR python bindings. What is the minimum I need to install in order to use the GDAL and OGR python bindings? What is the easiest way to ...
1
vote
0answers
278 views

gdal-grass plugin for gdal 1.8 [closed]

I'm facing a big issue...i moved from the ubuntugis version of grass to the svn one. I managed to compile the svn (releasebranche6.4) version nicely but i can't download the gdal-grass plugin for ...
6
votes
1answer
939 views

gdalwarp, cutline and postgis

I can not figure out how I directly can read a polygon into gdawarp's -cutline argument. My current approach is: ogr2ogr -f "ESRI Shapefile" mydata.shp PG:"user=myuser dbname=gisdb" -sql "select * ...
1
vote
1answer
506 views

Problems with gdal1.8 Java bindings gdal.ReprojectImage, produces no data

I have a problem with gdal.ReprojectImage from gdal1.8 Java bindings. When I perform the reprojection, the projected image is totally black. And the origin of the projected image is wrong too. There ...
5
votes
1answer
835 views

Specify directories for use with gdaltindex

I'd like to use gdaltindex to create a polygon shapefile of thousands of georeferenced .tif documents. I've found this incredibly easy to accomplish in a single directory on Linux (e.g. gdaltindex ...
8
votes
6answers
852 views

How do I generate thumbnails images from lots of shapefiles?

A colleague and I recently released an Open Source project called Mapoteca which is a set of Python Scripts that integrates with a GDAL/FWTools installation allowing a full walk-through of directories ...
2
votes
1answer
764 views

gdal_grid problem reading vrt file

I am trying to parse csv file and visualize it as geotiff using gdal_grid but I keep getting this error: C:\work\testgdal1>gdal_grid -ot Float32 -l test test.vrt dona.tif ERROR 1: Failed to ...
6
votes
2answers
411 views

Visualize text file with location info and intensity

I have an ascii text file containing location data (column 9-lat and 10-long) and intensity(column 20) 200010 207 020311 40658.5 406593 52 344927.31 7100203.50 -26.2078720 127.4491855 ...
3
votes
2answers
887 views

Change output file type in QGIS georeferencer?

I have successfully georeferenced a raster file via the Georeferencer plugin (Georeferencer GDAL Version 3.1.9) in QGIS 1.7.0. However, I noticed that the output georeferenced raster file is in TIFF ...
2
votes
1answer
562 views

Converting CIB data to Google Tiles with GDAL

I'm trying to convert CIB map data into Google compatible Tiles through the following process (in Linux, GDAL compiled from source): gdalbuildvrt data.vrt A.TOC gdal_translate -of VRT -expand rgba ...
7
votes
1answer
1k views

How to create a 4096x4096 png from a 1440x720 data set using GDAL?

I'm having a bear of a time trying to do something that seems fairly straightforward. I'm trying to take a netcdf file from ftp://eclipse.ncdc.noaa.gov/pub/OI-daily-v2/NetCDF/2011/AVHRR-AMSR/ and turn ...
6
votes
2answers
673 views

What's a good toolchain to reproject some PNGs in plate carre to UTM?

I have some PNGs produced from Canadian DEM data. They're 1201px by 1201px heightmaps. Each one represents one quarter of a degree latitude and one quarter of a degree longitude. But I want to work ...
6
votes
2answers
4k views

How do I convert affine coordinates to lat/lng?

I am extremely new to GIS. I'm using gdal to read in a landuse/landcover map and I need to pick out the lat/lng of certain land cover types to index into a different dataset which is expressed only ...
3
votes
1answer
217 views

Unexpected Result After Reprojection Attempt

I'm a member of a student team that is currently researching how to query raster information using PostGIS v2.0. Our raster's coordinate system is EPSG 2236 (NAD 83 / Florida East) and as we will be ...
3
votes
1answer
821 views

Open-source projects that use DotSpatial?

I'm intrigued by what I see with DotSpatial, mainly for its C# interface with GDAL. I've downloaded the source (and the 3.5 x86 package) and I'm a bit stuck with using the GDALHelper class to ...
2
votes
1answer
2k views

What are the appropriate parameters to convert .asc file to geotiff using gdal_translate?

My starting file of interest is an ASC file with the following gdalinfo Driver: AAIGrid/Arc/Info ASCII Grid Files: sd_1_3_110805.asc Size is 11880, 9720 Coordinate System is `' Origin = ...
1
vote
1answer
1k views

ImportError: 'No module named pyproj'

im running mac os X with native python 2.6.1 install . Later today installed GDAL complete pkg, and added the program to the shell path on the terminal with the folowing cmd : ~: echo "export ...
6
votes
2answers
327 views

Clarification of the “25D” option in ogr2ogr

[EDIT: In my original post, I had received an error that was based on a typo, so I scrapped that part of the question, but left the questions that still apply.] In the ogr2ogr docs it says: -nlt ...
8
votes
4answers
1k views

Performance of google map tile creation processes

I know that question is rather vague but please bear w/me. I'm trying to get an idea of what sort of product performance - specifically timing - people have seen for various methodologies they have ...
9
votes
3answers
1k views

getting dxf files out of PostgreSQL

I've successfully loaded a bunch of shapefiles into a PostGIS database. I would like to be able to retrieve specific geometry and layers as dxf files based on SQL queries. I'm using PostGIS, GDAL, ...