The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [gdal]

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 useful commandline utilities for data translation and processing.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k 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
524 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
1k 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
875 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 ...
8
votes
1answer
2k 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
1k 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 ...
14
votes
3answers
15k 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
249 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
2k 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
4k 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 = (-117....
1
vote
1answer
9k views

ImportError: 'No module named pyproj'

I'm running Mac OS X with native Python 2.6.1 installed. Later today installed GDAL complete pkg, and added the program to the shell path on the terminal with the folowing cmd: ~: echo "export PATH=/...
11
votes
2answers
1k 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 ...
11
votes
4answers
4k 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 ...
10
votes
3answers
3k 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, ...
7
votes
2answers
6k views

ogr2ogr srs options: where is the well known definition determined?

In the ogr2ogr documentation it says that when using -a_srs srs_def: Srs_def can be a full WKT definition (hard to escape properly), or a well known definition (ie. EPSG:4326) or a file with a WKT ...
5
votes
1answer
2k views

Rescale Raster Band With GDAL Python Bindings

I am trying to figure out how to rescale a raster band's pixel value using the GDAL python bindings. I am looking to emulate the -scale switch in gdal_translate.exe; rescaling the pixel values in my ...
6
votes
3answers
2k views

Reading palsar k&c 50 data in GDAL or other open source application

I posted this inquiry in the grass-user list. JAXA is providing free access to PALSAR 50m Orthorectified K & C Mosaic. According to the website, data are provided in: Data files (Raw format)...
2
votes
2answers
550 views

Ruby bindings to GDAL

I'm looking for a guide on how to get up and running with ruby and gdal on Mac. I've seen some examples on how to use gdal in ruby but never found any tutorials on where to download and install it.
15
votes
2answers
27k views

Converting projected geoTiff to WGS84 with GDAL and Python

Apologies if the following question is somewhat stupid, but I am only VERY new to this whole GIS thing. I am trying to convert some projected geoTiff images to WGS84 using gdal in python. I have ...
11
votes
2answers
5k views

Difference between Geoserver stores: ImageMosaic, WorldImage, ImagePyramid

What are the differences between the Geoserver stores ImageMosaic, WorldImage, and ImagePyramid? I noticed that ImagePyramid is no longer included in the latest Geoserver. Is one of these more ...
6
votes
2answers
2k views

What tile/tiling strategy should I use with GeoNode/GeoServer?

I've got a wicked GeoNode instance running, loaded with some basic vector data. I want to be able to serve our local-County aerial imagery as a basemap within GeoNode. I am thoroughly overwhelmed with ...
12
votes
7answers
10k views

installing GEOS, PROJ, GDAL/OGR into a python virtualenv on Mac OS X

I am trying to setup an isolated python virtualenv to work on GIS projects on my Mac OS X. Sounds like I will need to install the GEOS, PROJ, GDAL/OGR from the kyngchaos site here http://www.kyngchaos....
2
votes
2answers
276 views

Why are results all black using gdalwarp via QGIS?

I'm trying to convert a bmp image in BNG to WGS84 using gdalwarp (via QGIS). It seems to be running without errors but the output is all black. What am I doing wrong?
3
votes
1answer
314 views

How to write binary ArcGRIDs outside of ArcGIS in linux?

I've been looking for a way to create\write binary formatted ArcGRID images in Linux without much luck. It seems the GDAL project only supports reading these files, but there is not write support. ...
6
votes
1answer
427 views

GDAL and ArcObjects in The Same Project - A Recipe For Disaster?

I am working on a project where I am attempting to use GDAL and ArcObjects together in the same project. Although the project itself is nothing more than a toolbar in ArcMap, I would like to use some ...
5
votes
1answer
2k views

Best GeoDjango MySQL workaround for distance queries

I'm using mysql 5.1.50, so the distance QuerySet method is not available to me. Here is my model: class Location(models.Model): name = models.CharField(max_length='100') point = models....
22
votes
7answers
11k views

How to cut a 'tiled image' from a raster dataset using GDAL?

I am working on an app that needs to create tiles (jpeg) from a given raster dataset. My initial inclination was to use gdal2tiles.py, but its performance seems like it could be improved. That leads ...
6
votes
2answers
6k views

How should I use GDAL to perform a transformation?

I am a student who wishes to use GDAL to transform a series of images from Lambert Conformal Conic (EPSG: 9802) to Google Earth's WGS 84 (EPSG: 4326) for a web mapping project. I know that in order ...
3
votes
3answers
1k views

Mosaic the output of gdal2tiles

I have a folder with a gdal2tiles output: 6 levels of zoom (and folders), with subfolders and .png tiles. Is there a gdal tool to merge in a single geotiff file these .png tiles?
3
votes
2answers
819 views

gdalwarp outline artefact

I'm using GDAL to warp images into a different map-projections. However the warping processes seem to leave grey marks where the boundary of the original image was (see warped.png below). I figured ...
3
votes
1answer
1k views

Loading TIGER 2010 Edge Shapefile with ogr2ogr produces reversed Latitude and Longitude

I'm attempting to build a MySQL database that will allow me to reverse geo-code addresses using the MBR functions within MySQL. I've downloaded the latest set (2010) of TIGER edge shapefiles from the ...
7
votes
2answers
2k views

gdal2tiles misalignment

I have a map image that I have reprojected from OSGB36 to googleMaps projection (EPSG:900913). When I run gdal2tiles on the reprojected map, the results are not alligned with the google maps images (...
6
votes
2answers
5k views

How do I use GDAL to convert from an arbitrary projection/datum into Equirectangular/WGS84?

I've been trying to use GDAL to convert from an arbitrary projection/datum into Equirectangular (aka Plate Caree, aka Equidistant Cylindrical, aka Geographic, aka Lat/Long) with WGS84 datum. All of ...
5
votes
1answer
824 views

GDAL Pixel Functions question

I am writing a program in python that converts raster files using gdal, and using VRT as an intermediate format. One of the things that i need to do is convert bands between different formats. I am ...
17
votes
3answers
14k views

How do I change geotiff “no data” color to white/transparent rather than black?

I am preparing data for inclusion into a geonetwork node, where the maps are displayed via geoserver. The problem is that cells that have"no data" are displaying as black in the geotiff and I am ...
16
votes
3answers
13k views

How to georeference a web mercator tile correctly using gdal?

As an example I will take the following tile http://a.tile.openstreetmap.org/3/4/2.png and save it as "4_2.png". The WGS84 coordinates of this tile can be calculated or read there by clicking the ...
8
votes
2answers
4k views

Deploying Application With C# GDAL/OGR Bindings

I developed a relatively simple web app that uses the C# OGR bindings to do a couple of simple geometric functions; buffer, clip...etc. I developed this application on my local machine, which has ...
4
votes
2answers
893 views

Maturity of Mapserver mapscript C# bindings?

I've been thinking about possibly porting an internal custom GIS application built on top of Python / PyQt / Mapscript / GDAL-OGR / PostGis to C#. I was wondering about the maturity of the C# ...
6
votes
3answers
2k views

GDAL and Geospatial PDF on Windows

GDAL 1.8 now supports reading GeospatialPDF, see pdf format description page. Using it depends on the poppler pdf library. What is the smoothest route to getting gdal and geospatial pdf working on ...
5
votes
1answer
745 views

BigTIFF support in libraries? [closed]

What is the level of support for BigTIFF in image processing libraries? GDAL supports this functionality so long as you're building against libtiff4(beta), and I would assume most open source C ...
2
votes
1answer
349 views

I wish to reproject a hypertile image from GDA94/Zone 55 to a flat planar image

please bear with this newbee as I am just getting into this extremely interesting field. My Problem: I have setup Hypertiles to use the GDALCompress batch file to mosaic my image - all good so far - ...
5
votes
3answers
2k views

reprojecting geotiffs to spherical mercator using gdalwarp

I would like to reproject raster images (tiffs+proj+tfw) files too "google's" projection using gdalwarp. From what I understand, google uses epsg:900913/epsg:3785. What I don't know is how to ...
9
votes
4answers
4k views

Converting huge geotiffs to tilepyramid

I'm trying to convert a 20 GB LZW compressed geotiff to a tilepyramid using gdal2tiles. Unfortunately, gdal2tiles seems not to be able to handle this, after running it for 10 hours it still hasn't ...
92
votes
13answers
110k views

Installing GDAL with Python on windows?

Can anyone explain 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 not seem to bind the exe files for me. ...
7
votes
1answer
2k views

Programmable buffers using GDAL and python

Is there a way to programmatically generate buffer layers for vector layers using GDAL and python?
12
votes
3answers
5k views

gdalmerge produces file that is much too large

I'm trying to merge 60 geotiff files into one huge file in order to be able to product tiles from that resulting huge geotiff file by using gdal2tiles. The merge process worked, but for some reason ...
2
votes
3answers
1k views

Creating GeoTiff from Tiff+WorldFile+Proj

I'm currently using the global mapper export function to convert my tiffs+worldfile+projection file to geotiff. Is there a commandline tool (for Linux) that lets me do the same thing? "gdaltranslate" ...
5
votes
2answers
1k views

What is north-up projection?

How do I know what projection to use for north-up or 0 rotation? I have a gtiff (ND83-nf) that gives me the error when importing to Grass. Should I re-project or recreate the image with the rotation ...
11
votes
1answer
8k views

How to resample a batch of rasters using OGR/GDAL?

I'm looking for a function similar to GRASS r.resample. I have a folder full of TIF files and want to reduce their resolution ("scale them down") to reduce file size.
4
votes
4answers
878 views

OGR OVF has no identified FID column

I have an OVF layer defined as follows: <OGRVRTDataSource> <OGRVRTLayer name="UserPoint"> <SrcDataSource>ODBC:un/pw@CLO</SrcDataSource> <SrcSQL>...