Command line utility to convert raster data between different formats.

learn more… | top users | synonyms

0
votes
1answer
23 views

Error with Gdal 1.10 install on Ubuntu 13.10

I've installed GDAL 1.9 then upgrade to 1.10 on Ubuntu 13.10 and then now it's error (gdalwarp can work but gdal_translate is fail) gdal_translate ERROR 1: gdal_translate was compiled against GDAL ...
2
votes
1answer
103 views

Georeferencing an image with GDAL, based on QGIS Georeferencer Plugin

I would like to georeference an image with GDAL. The image already has a spatial reference set (EPSG:31276). For the georeferencing, I have a list of 4 ground control points (also in EPSG:31276). ...
2
votes
0answers
17 views

Problem defining the tiling starting point

We are tiling a image datasets. However, we want to specifically define custom windows. To do this, we are using -te option during warping. The warped output is then tiled. The problem though is that ...
1
vote
2answers
29 views

Why do I get a gdal_translate error when creating ecw from tif

I have python 2.7 and the latest gdal 32bit core with also GDAL-1.10.1.win32-py2.7.msi and the ecw plugin on windows xp. I have checked that the ecw plugin works by checking the installed formats with ...
0
votes
3answers
134 views

Leaflet.js displaying incomplete base map

I am working on a tile server with a leaflet.js UI. I have successfully created the tiles for my base map and the tiles for the overlay. The result can be seen here (zoom in further to see overlay). ...
2
votes
2answers
72 views

How to show only raster attribute table using GDAL?

I have a binary ArcGRID raster (AIG/Arc/Info Binary Grid) with an attribute table. I would like to get only this attribute table but gdalinfo outputs also projection information and bounds and then ...
3
votes
1answer
81 views

White lines in merged GeoTIFF files after ImageMosaicing on GeoServer

I have merged 21 GeoTIFF images using GDAL utilities. Each image is the result of merging 500 smaller tiles. I am using ImageMosaic in Geoserver but I am getting a mosaic that contains white lines and ...
1
vote
0answers
45 views

How do I set nodata with custom color for gdal_translate and gdal2tilespy?

I start with a bunch of 1-bit geotiff files that I had to convert to 8-bit RGB tiff files to use with GDAL. Then I tried to set borders to red (content is in black and white so I can't use those) and ...
2
votes
2answers
122 views

GDAL_TRANSLATE Assumes Picture is Orientated North?

I used gdal_translate to change a jpeg to a geotiff. Attempting to use gdalwarp to create a mosaic I found the images skewed and this lead me to the observation in the title of the question. Below ...
1
vote
1answer
204 views

Convert multiple GeoTIFF to one KMZ

I am using GDAL to convert GeoTIFF to KMZ. I am using the following command: gdal_translate.exe -of KMLSUPEROVERLAY *.tif out.kmz If I have one TIF file in the folder, it works ok. If I have more ...
3
votes
2answers
205 views

Help making geotiff and reprojecting to EPSG:4326

My goal is to download a gif file from this webpage: http://aviationweather.gov/data/iffdp/2104.gif Then crop it to the known latlon bounds of 75N,45S,35W,70E, convert to geotif, and then project to ...
2
votes
2answers
153 views

How to export raster from PostGIS enabled DB as GTiff with gdal_translate

When I want to export a GTiff from my PostGIS DB with this code: gdal_translate -of GTiff PG":host='localhost' port:'5432' dbname='landslide' user='postgres' password='pass' schema='public' ...
2
votes
1answer
156 views

gdal_translate produces tif with different colors as original

I am using SDE as my raster data source with the ultimate goal to tile this dataset: I am running the following gdal_translate command to generate the initial VRT: gdal_translate -projwin 390605 ...
4
votes
1answer
174 views

How to apply “Band” settings using gdal Python bindings?

I am trying to replicate the gdal_translate command, but using pure Python: gdal_translate infile.tif outfile.tif -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TFW=YES -b 1 -b 2 -b 3 I have ...
2
votes
1answer
137 views

How can I dynamically trim the informational border off of FAA sectional raster charts?

I'm trying to write a script that can automatically use GDAL to crop the informational border from the FAA's published sectional charts (GeoTIFF) found here: I know that I can use gdal_translate ...
1
vote
0answers
27 views

How to reproduce the gdal utility programs in Java by GDAL Java bindings [duplicate]

Can anyone tell me how can I reproduce the gdal utility programs gdal_translate, gdalwarp and gdal2tiles in java by GDAL Java bindings? Thanks!
2
votes
0answers
29 views

Workflow to assign and reproject VRT [duplicate]

I have the following workflow. generate vrt from imagelist file(with paths to tifs/grids) check if coordinate transformation is required, if so convert to target SRS Create tile using gdal_retile ...
1
vote
1answer
101 views

Convert grib (grb2) precipitation band to visible PNG

I'have been trying to convert band 7 (precipitation) of a grib file (you can download it if you like) to a visible PNG image which I can load via KML into a google maps viewer I have. The ...
0
votes
1answer
66 views

Issue with `-sds` naming convention in gdal_translate

I'm converting ~100 .hdf files to .tiff using gdal and getting some unfortunate naming conventions when using -sds for %A in ("...\*.hdf") do gdal_translate -of GTiff -sds "%A" "%A.tiff" However, it ...
1
vote
0answers
161 views

QGis Save Raster as Rendered Image

In QGIS 1.9.0 Master, when you right click on a raster in the Layers Panel and select "Save As", you can select the output mode to be "Raw Data" or "Renedered Image". When selecting the Rendered ...
1
vote
2answers
171 views

gdal_translate syntax windows command line

I am trying to extract a band from a MODIS hdf file on windows with gdal_translate. Here's my prompt: gdal_translate -of GTiff ...
1
vote
1answer
80 views

Gdal image georeferencing and gdal2tiles image flip question

I'm georeferencing an image using gdal and the following command: gdal_translate -of Gtiff -co tfw=yes -a_ullr 0.016264915466308594 51.505109712517786 -0.0024890899658203125 51.492018739579336 -a_srs ...
1
vote
0answers
115 views

gdal_translate KMLSUPEROVERLAY creates blank black image

I am trying to convert a geotiff to kmz file to view in GE. The geotiff is 878,720 KB. Using a 'regular kml' - the resolution is very low in GE. Having read around - it seems as conversion to a ...
0
votes
0answers
21 views

GDAL2Tiles: TMS MapTiles [duplicate]

I am getting following swapped tiles: where top tiled image is in the bottom and blank strips on the tiles. I georeferenced my own tiff tile. I used gdalinfo and it seems to be accurate. I used: ...
2
votes
1answer
502 views

GDAL2Tiles: MapTiles from BSB/KAP are Switched

As an example I have a BSB file from NOAA which is a navigational map. The map has a SRS of WGS84 and a Mercator projection. I initially translate the file from BSB format to GTiff format using the ...
0
votes
0answers
18 views

How to set transparent geotiff by GDAL? [duplicate]

How to set transparent geotiff by GDAL? I get png with transparent background but i use gdal_translate - background is with.