Tagged Questions
0
votes
0answers
19 views
Change offset of geotiff file [migrated]
I need to change the offset of some tiff files that I am exporting from Qgis.
Qgis gives them a offset of 0xbd72, while the program I need to load them in to only reades files with an offset of ...
1
vote
2answers
165 views
Merging many rasters using Python
I have a list of many many rasters. I want to have a simple and easy to understand script that takes this and merges it into one big mosaic. I found a similar question but the accepted answer adivises ...
2
votes
1answer
173 views
GDAL_translate: converting ESRI GRID to Geotiff in batch
The Challenge:
To batch convert 1000 rasters in ESRI Grid binary to Geotiff using either using a batch file or Python 2.7 without ArcGIS/Arcpy module.
The Tools:
Win7Pro, GDAL 1.9.2 (via OSGeo4W), ...
3
votes
1answer
80 views
Grid registration issue converting from GeoTIFF to ARC ASCII Grid
I've got a 3 arc second digital terrain model represented as a 32-bit GeoTIFF that looks like this:
$ gdal_info gom03_v1_0.tif
Driver: GTiff/GeoTIFF
Files: gom03_v1_0.tif
Size is 10200, 7800
...
1
vote
0answers
106 views
Question about geotiffs
My colleague and I are georeferencing a bunch of .tif images. After each image, we'll click "update georeferencing". The resultant .tif files are different between our computers and I'm trying to ...
2
votes
0answers
134 views
Problem converting georeferenced jpgs to geotiff - image is shifted/warped
I have hundreds of georeferenced jpgs in ArcGIS 10 that I need to convert to geotiffs.
I'm trying to use GDAL translate to create geotiffs from them. Everything works great except that the ...
0
votes
1answer
71 views
GeoTIFF: How to remove Internal Overview without recompression
"gdaladdo -clean" does not remove the internal overview from the file see http://trac.osgeo.org/gdal/ticket/4940
How do I remove GeoTIFF overview(s) without having to re-compress the main image.
0
votes
0answers
53 views
Converting different zoom-level GeoTiff to tms
I have several GeoTiff images I want to convert to a TMS structure of .png files.
The GeoTiff images are different scale maps of an area (1:10000, 1:5000, 1:2500) with increasing detail level.
How ...
10
votes
2answers
251 views
How to reproject raster from 0 360 to -180 180 with cutting 180 meridian
I have a geotiff raster image that has a coordinate system with longtitudes from 0 to 360.
The horizontal center of the image is 180 longtitude. See image below:
I want to transform it to EPSG:4326 ...
2
votes
0answers
198 views
How to read Geotiff tags and pixel per pixel values using GDAL C#
I'm new here and I'm new at programing with GDAL C#.
My question is how I can get the value of SRTM GEOTIFF pixel to compare with it's neighbors, and how can I get the values of Geotiff tags.
2
votes
2answers
638 views
Adding georeferencing data into tiff image
I want to create a georeferenced .tiff file from a .png file. So I convert the .png into a normal .tiff file using the following command line :
convert image.png image.tiff
Here, all works fine, I ...
6
votes
2answers
144 views
How to use GDAL to convert Int16 data to Byte
I have some data with Int16 bands in HDF format.
I want to convert this to Byte bands in GeoTIFF format.
The data range for the Int16 is -2000 to 12000, so I want to map this to the Byte range 0 to ...
1
vote
1answer
242 views
gdalwarp results in incorrect extent
I have a GeoTIFF that's 172800x86400 on the MODIS "250 meter" Sinusoidal grid (more like 231.7, but who's counting?). (You can find its metadata at the bottom of this post.) This bounty of resolution ...
2
votes
1answer
164 views
Crop collar from chart
I need advice on how to complete the following task:
I have aeronautical charts covering parts of the US
(example: http://aeronav.faa.gov/content/aeronav/sectional_files/Albuquerque_89.zip - Each ...
4
votes
1answer
716 views
How to get GDAL to create statistics for GTiff in Python
I regularly create my own GeoTIFF rasters with GDAL in Python, e.g.:
from osgeo import gdal
from numpy import random
data = random.uniform(0, 10, (300, 200))
driver = gdal.GetDriverByName('GTiff')
ds ...
1
vote
1answer
138 views
gdal_retile - Out of range band requested
I'm using gdal_retile to create ImagePyramid from a set of GeoTIFF images. I'm using following command:
gdal_retile.py -v -r bilinear -levels 8 -ps 2048 2048 -co "TILED=YES" -co "COMPRESS=JPEG" ...
1
vote
1answer
390 views
Serving 4 band GeoTIFF in GeoServer 2.1.4
I have an uncompressed GeoTIFF file (figure 1) with the following band information:
Image Structure Metadata:
INTERLEAVE=PIXEL
Band 1 Block=5000x1 Type=Byte, ColorInterp=Red
Band 2 Block=5000x1 ...
5
votes
3answers
770 views
How to generate colorful images using GDAL?
I am using gdal_translate -of JPEG -scale -co worldfile=yes ndvi.tiff output.jpg command to convert tiff images to jpg and resize it. But it generates only black and white images.
How can I generate ...
3
votes
2answers
852 views
how to convert qgis generated tiff images into jpg/jpeg using gdal command line utilities?
I want to develop a web portal that will show the images dynamically produced by qgis . but qgis provided tiff images are too big in size and it is not possible to show it on website using image ...
5
votes
2answers
509 views
Big Satellite Image Processing
Im trying to run Mort Canty's http://mcanty.homepage.t-online.de/ Python iMAD implementation on bitemporal RapidEye Multispectral images. Which basically calculates the canonical correlation for the ...
2
votes
1answer
1k views
GDAL: Convert specific RGB (GeoTIFF) color to transparent
I have an RGB GeoTIFF file and I want to convert a specific RGB colour to transparent. I would like to use GDAL for doing this, but external Python scripts are also an option (though I haven't learned ...
2
votes
1answer
487 views
Problems serving GeoTiff using GeoServer and ImageMosaic
Goal:
I am trying to serve a large (1GB+) GeoTiff file using GeoServer and ImageMosaic.
Process:
iant have written a simple guide for this, which he proposed as an answer for a previous and similar ...
0
votes
2answers
325 views
Geoserver - ImagePyramid plugin problem
I have a huge Geotiff file , and i've tiled it ..
I've created the tiles using gdal_retile.py tool , but i'm getting the following error from Geoserver while linking the layer with the tiles folder : ...
1
vote
2answers
1k views
Georeferencing an image in C# with GDAL
I want to upload a jpeg or some raster image into a C# form and then on entering the latitude and longitudes I need to be able to create an GEOTIFF file of the same image. How can this be done in ...
1
vote
1answer
362 views
Getting geotiff information into variables, not files, using gdal_translate, gdalinfo
I received an excellent answer to my question of how to get the lat/lon coordinates of the corners of a geotiff file. I used gdalinfo. The lat/lon info comes out into a file. Similarly I turned the ...
2
votes
1answer
344 views
Finding lat/lon of corners of geotiff file
I am a GIS newbie. I just recently managed to turn a GeoTIFF file into a bmp file using gdal_translate. Now I need to find the latitude/longitude coordinates of the corners. I would prefer to use ...
1
vote
2answers
190 views
Convert HMR to GeoTiff
I've got gigs of .hmr raster files from our customer and I need them to be converted into GeoTiffs or something else which can be nicely imported into Geoserver system. I wonder if I can do it with ...
3
votes
1answer
84 views
rgb2pct.py increases size of file 20 fold!
I wanted to reduce the number of bands of a tif file from 3 to 1...
I used this command
rgb2pct.py -n 256 fnp_braunschweig.tif fnp_bs.tif
and it increased the size from 31mb to 778mb
I actually ...
1
vote
2answers
742 views
How to convert GeoTIFF to grayscale and add gaussian blur?
I have a giant GeoTIFF I'd like to convert to grayscale and add a gaussian blur to. As far as I know, GDAL can strip two of the three color bands and call it grayscale, which might work, but is there ...
2
votes
1answer
137 views
Define gdalwarp tile size
gdalwarp has -co TILES=YES (256x256 as default)
Can I set different tile size?
Thanks
2
votes
1answer
435 views
overlap two GeoTiffs to fill missing information (transparency)
I have several hundered geotiff files. Some of them (almost all of them) have black areas (irregular) on the edges. However, these black areas are covered by some other file in the file set.
I read ...
4
votes
2answers
849 views
How to use NASA Digital Elevation model data?
I've heard it is possible to use NASA elevation model to determine approximate elevation at (lat;lng) point.
This might be really useful for my upcoming project since Google Elevation API has weird ...
2
votes
1answer
772 views
Tiling rgba geotiffs using vrt rather than gdal_warp
I've carefully cut the collar off a set of USGS geotifs and I'd like to run through them with gdal2tiles but producing a vrt that undersands the alpha layer, or having gdal2tiles overlap two source ...
0
votes
1answer
183 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 ...
13
votes
3answers
4k 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 would ...
6
votes
1answer
377 views
BigTIFF support in libraries?
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 ...
8
votes
3answers
1k 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
910 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" ...
14
votes
6answers
3k views
Should GDAL be set to produce GeoTIFF files with compression? Which algorithm should be used?
I have a folder of GIS data that consists mainly of GeoTIFF files. The whole set weighs in at about 1.2 GB. I noticed that if I pack the contents into a tarball, it smashes down to about 82 MB. I ...