Questions tagged [geotiff-tiff]

Use this tag when referring to georeferenced or ungeoreferenced TIFF (Tagged Image File Format) files.

Filter by
Sorted by
Tagged with
51
votes
8answers
21k 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 ...
40
votes
5answers
33k views

How to determine if a tiff is georeferenced or not?

I received a tiff file from someone, but I'm not sure if it's georeferenced. Is there an easy way to check this?
31
votes
5answers
8k 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 ...
25
votes
7answers
5k views

Speed of various raster data formats

I'm having trouble locating any discussion or comparative benchmarking of different raster file formats (e.g., for use in data analysis in R). Does anybody have any insight into why particular formats ...
22
votes
3answers
5k views

How are GeoTIFF pyramids/overviews standardised?

While pyramids/overviews are not part of the GeoTIFF standard, many tools support creating them. For example vips/nip2, Orfeo Toolbox (otb) and ossim which all promise some support for creating those. ...
19
votes
1answer
5k views

File size inflation normal with gdalwarp?

After using gdalwarp to project and align-to-grid (via -tap) a number of rasters I noticed that the output rasters were significantly larger than the original rasters. A fairly thorough web search ...
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 ...
15
votes
5answers
23k views

Creating TFW and PRJ files for folder of GeoTIFF files? [closed]

I have a folder which contains a large number of files in GeoTIFF format. I need to generate both PRJ and TFW files for each of these images. Is there some way to do this?
15
votes
3answers
58k views

Steps to creating a GeoTIFF

First off, I'd like to mention that I'm pretty new to working with GIS, so please forgive my inexperience. My situation is as follows: I'm tasked with georectifying a set of imagery and importing ...
14
votes
2answers
26k 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 ...
14
votes
2answers
9k views

GEOTIFF explanation of .aux xml and tfw world file

I want to know how raster images work, I have a set of geotiffs that has no aux, tfw or xml when I check the spatial information in arccatalog, they do have an projection. and they shows correctly. ...
13
votes
4answers
12k views

Splitting .tif image into several tiles? [closed]

I have an image of size 1GB (.tif), with the width and height 94000x71680. I would like to chunk this image into 20000X20000 tiles so that I can process them. How can I do this?
13
votes
2answers
8k 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 ...
13
votes
2answers
8k views

GeoServer: Best way to publish 2500 TIFF or 71 ECW files?

I have ortophotos of an area that I need to serve as a background map for my vectors. I got it as 2500 files (71,5MB each) in raw TIFF format with corresponding TFW word file - 180GB of data. ...
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 ...
12
votes
2answers
20k views

Convert .tif with .tfw to a GeoTiff?

I have a tif image file, and a .tfw world file (created from OSM data with Mapertive). How can I (using linux command line) convert that to a GeoTIFF file? (i.e. I want to have one file, not 2). I'm ...
12
votes
3answers
6k views

Is there service for exporting georeferenced OpenStreetMap (OSM) maps in GeoTiff format?

Is there a service available for exporting georeferenced OpenStreetMap (OSM) maps in the GeoTiff format?
12
votes
1answer
2k views

Should I always be using BIGTIFF=YES as default?

I sometimes write short scripts/work instructions for colleagues who are not very skilled at GDAL / programming in general. To prevent any problems with the scripts, when merging/converting geotiffs ...
12
votes
1answer
928 views

Can I preserve a fading alpha layer when mosaicing images with gdal?

I am mosaicing some images with gdal and would like to improve the final result by using a fading / gradual alpha layer towards the edge of each image to remove the sharp edges in the middle of the ...
11
votes
3answers
3k views

Raw Sentinel 2 jp2 to RGB geotiff

I'm looking for a way to merge Sentinel 2 jp2 band files(B02, B03, B04) and fix RGB colors. All should be done with bash or python script. For my example I work on these images. Ideally the solution ...
11
votes
4answers
9k views

Reading GeoTiff using .NET

Is there a managed library for reading the coordinates from a geotiff file in .NET ? I know it can be done thru GDAL, but I am looking for a managed alternative.
11
votes
2answers
8k views

Convert huge XYZ CSV to GeoTIFF

I have a huge amount of data in the form of CSV containing UTM coordinates as X and Y and an elevation value as Z information. I need to convert these data into a DEM as GeoTIFF for further analysis. ...
11
votes
6answers
20k views

Batch convert GeoTIFF's to KMZ files

I have about 600 GeoTIFF map files, each about 140 mb in size that I'd like to convert to KMZ files so people can download them and use them with Garmin GPS units, Google Earth, etc. Anyone know an ...
11
votes
1answer
28k views

Reading, modifying and writing a geotiff with GDAL in python

I'm trying the learn the ropes of Remote Sensing image processing using Python GDAL bindings and numpy. As a first attempt, I'm reading a Landsat8 geotiff file, do a simple manipulation and write the ...
11
votes
4answers
1k views

Best way to manage large number of GeoTIFF rasters?

I have around 2-3000 1-bit GeoTIFFs of size 11000x9400. Color 0 should be transparent, and QGIS gets it wrong in the first place, so I used a .vrt file to set all the parameters in one single place. ...
11
votes
1answer
807 views

GeoServer ImageMosaic PostGIS index update

I use GeoServer where I created an ImageMosaic storage following this manual. When I create a new datastore, all *.tif files are indexed into the DB (PostgreSQL with PostGIS). How can I create new ...
11
votes
1answer
1k views

Most Effective Format to Manage Aerial Photography for Viewing Only

What is the most effective format to manage aerial photography for viewing in ArcGIS? I manage several datasets of Aerial Photography at a few different companies. I have backups of the original ...
10
votes
10answers
16k views

Can QGIS export Geospatial PDF for Avenza PDF map app?

Since QGIS uses GDAL, does any map exported as a PDF become a Geospatial PDF? I am hoping to import maps from QGIS into the Avenza PDF Map app on my phone. Previous posts mentioned exporting as ...
10
votes
7answers
45k views

How to export/save a layer composition to GeoTiff?

I want to export/save a QGIS composition of raster/vector layers to a GEOTIFF or ECW raster with high resolution (20 000 * 20 000 Pixel).
10
votes
2answers
22k views

Obtain coordinates and corresponding pixel values from GeoTiff using python gdal and save them as numpy array

How can I obtain projected coordinates as well as the actual pixel values at those coordinates from a GeoTiff file and then save them into a numpy array? I have arsenci020l.tif file, and its ...
10
votes
2answers
27k views

Manipulating ASCII (.asc) files in QGIS?

I have an .asc file and I want to import in QGIS. The standard way to open it is from "add Raster layer" ("import Raster Layer") but is there another way? I need to convert the .asc file to .tif or ...
10
votes
2answers
4k views

Finding centre point of a raster in ArcGIS?

If I have, say, a rectangular and georeferenced raster file loaded in an ArcMap 10 document (.tiff w/ associated tfw), how do I easily find its centre point and store that point in a points vector ...
10
votes
1answer
7k views

How to import GeoTIFF via postGIS into GeoServer?

As a simple test case, I'm trying to configure the software stack of OpenGeo such that I can display a GeoTIFF as an overlay to a normal map like OSM. So I perform the following steps: Create a ...
10
votes
2answers
695 views

What is the correct way to convert a USGS Orthoimage from WorldImage format to tiled GeoTiff for GeoServer?

USGS provides different resolution orthoimage quadrangles in the WorldImage format (*.tif with an accompanying *.tfw world file). Some of these quadrangles can be used by GeoServer (2.1.0 - 2.1.2) by ...
10
votes
1answer
4k views

Why result of merge of multiple raster is so big? [closed]

I try to merge 14 geotiff like this : Each geotiff is about 50Mb. I need a geotiff at the output My workflow : gdalbuildvrt -input_file_list list.txt test.vrt (where my list contains the name of ...
9
votes
2answers
8k views

Using Rasterio or GDAL to stack multiple bands without using subprocess commands

Does anyone have a eloquent way of stacking multiple .tif files into a multiple band stack using Rasterio and/or GDAL? I am looking for a way to avoid using a subprocess command like gdal_merge.py ...
9
votes
4answers
2k views

Precision vs Resolution in elevation data

Update: A good example of something I am confused about: on the Wikipedia page for "digital terrain model" one can find the following statement about a satellite in the "See Also" section: TanDEM-...
9
votes
3answers
4k views

Filtering out canopies and buildings from DSM to have a bare earth elevation

Can anyone suggest methods in filtering out trees and buildings from a DSM so as to come up with a reliable DEM? What I have is a grid from a LIDAR data (.tif file, with 1m resolution). I was going ...
9
votes
2answers
9k 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 ...
9
votes
2answers
3k views

Creating image with specific latitude/longitude positions using GDAL?

I have an ASCII file with latitude, longitude, and data_val in the following format. 35-13.643782N, 080-57.190157W, 118.6 ... I have a GeoTiff image file, and I can easily view it. I want to place ...
9
votes
3answers
6k views

How to find lat/lon values for every pixel in a GeoTIFF file?

I want to a store GeoTIFF file pixel by pixel in the database. I need to store pixel values along with the lat/lon of that pixel on the GeoTIFF image. Is it possible to do that?
9
votes
1answer
5k views

Is there image editing software that will not alter a GeoTIFF's embedded georeferencing?

I know there are a couple workarounds for this but I was hoping a direct solution exists. I am looking for an image editor (like Photoshop but hopefully free software) which can be used to edit ...
9
votes
2answers
3k views

iPad mapping application with custom maps

I'd like to load custom maps onto my iPad and use them offline with the GPS for navigation. These are maps I can prepare in any format and projection. Is there an application that can take, for ...
8
votes
2answers
8k views

Convert from img to geotiff

Using gdal translate, would it be possible to convert from IMG to GeoTIFF? We have very little experience with gdal and would really be grateful for some insight.
8
votes
1answer
1k views

How does QGIS open so large raster datasets (about 40GB)?

I have problem with GDAL library when open a big GeoTiff file, with size about 32000x32000. I cannot use ReadAsArray function because maximum size of numpy array in python. But I'm wondering why QGIS ...
8
votes
2answers
4k 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 ...
8
votes
1answer
2k views

What's the best way to display a huge aerial image using GeoServer

I have an aerial image - almost 1.5 GB , GeoTIFF - and I have been trying to add it as a layer in GeoServer... Adding the layer went successful, but the performance was very bad. I tried to cache ...
8
votes
1answer
1k views

Can GDAL report if a .tiff is tiled or not?

A certain piece of software that I use doesn't support .tiff DEM's that are tiled. Is there a way with a GDAL utility to determine if a .tiff DEM is tiled or not? gdalinfo dem.tif will report the ...
8
votes
1answer
2k views

Creating geopackage from multiple raster files?

I've got a bunch of geotiffs' that I would like to combine into a single geopackage. Using QGIS, I've only managed to export one layer as a geopackage. I've tried merging the layers and created a ...
8
votes
2answers
5k views

GeoTiff to 16 bit tiff, png or bmp image for heightmap

I have a GeoTiff that acquired through processing Mars Hirise stereo images with ISIS3 and ASP. I want to convert it to a 16bit greyscale tiff, png or bmp file to use as a heightmap in a game engine, ...