Questions tagged [geotiff-tiff]

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

286 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
327 views

Executing bidirectional dijkstra on TIFF image?

Can anyone indicate an example of how to do this? Link, tutorial etc... I started a discussion here about how to load a TIFF image like a graph nicely answered by @sehe. But, in this post the image is ...
5
votes
0answers
196 views

Stacking and masking Landsat at the same time with rasterio

Based on answers from previous questions 1,2 and the Masking a raster using a shapefile guide from rasterio cookbook, I wrote the code below. The code runs correctly. I would like to improve it. 1- ...
4
votes
0answers
218 views

Is it possible to get the compression level of a GeoTiff?

When creating a GeoTiff and using Deflate or LZW as compression it is possible to select the level of compression from 1 to 9. Is it possible afterwards to see which level was used? I have a lot of ...
4
votes
0answers
317 views

gdal_translate slightly changes output pixel values

I have used this batch script for /r %%g in (*.jp2) do gdal_translate -co COMPRESS=LZW -co NUM_THREADS=ALL_CPUS %%g %%~dpng.tif to recursively convert all my .jp2 files in .tif files. However, the ...
4
votes
0answers
2k views

Compression in GeoTIFF files with GDAL

I have an output from 3rd party program in TIFF format where gdalinfo gives the following information: Driver: GTiff/GeoTIFF Files: J:\ascend\Lufthavne - ImgRAW\S°nderborg\ortho\...
3
votes
1answer
159 views

Sentinel-1 SAR image is displayed upside down

I am looking at Sentinel-1 SAR image downloaded from ESA Copernicus - dhus location around south of Tokyo, Japan. File format is GeoTIFF. It looks good in QGIS. However, if I use SAGA, or SNAP, or ...
3
votes
2answers
120 views

GeoServer not rendering GeoTIFFs after JPEG compression

I previously asked about some problems I was having converting JP2/MrSid data to GeoTIFF for use in GeoServer. It was suggested that I needed to add overview data to the 4 GB-sized GeoTIFF -- and that ...
3
votes
0answers
176 views

Writing masked GeoTIFF in rasterio and visualizing in QGIS?

I have an interpolated raster, which is a masked array, that shows where the data is valid. I want to save it as masked TIFF with rasterio. To test, here's the JSON file, and the code: import ...
3
votes
0answers
301 views

QGIS 3.4.2 not loading .tif files correctly

I have a surface which has been exported from Civil3D and added to both QGIS 2.18 and 3.4.2 When added they both look very different and the imported image and values in 3.4.2 is not very helpful in ...
3
votes
0answers
190 views

Importing Georaster into BlenderGIS causes blender to not respond

I am trying to load a geotiff of the UK into blender, when I try with smaller files it seems to work. I am thinking that maybe blender cannot handle the size of this geotiff, is there anyway to stop ...
3
votes
0answers
237 views

convert tiff to UInt16 PNG turns black

Im using to gdal_translate to create tiled DEM, tif(float32) -> PNG (UInt16). All the images trun out black. When I change UInt to byte - everything work as expected. What am I doing wrong? import ...
3
votes
0answers
494 views

Anaconda UnsatisfiableError installing QGIS

If I run conda install -c conda-forge qgis=2.18.2 from my Ubuntu bash environment, I obtain the following error: UnsatisfiableError: The following specifications were found to be in conflict: - ...
3
votes
0answers
493 views

Upload .tif to GeoServer via Node.js

How do I upload a .tif file to my running GeoServer via Node.js? I'd like to upload a GeoTIFF to provide it as a WMS by the GeoServer. The GeoServer is responding with a 405, which I think is right (...
3
votes
0answers
628 views

QGIS poor Geotiff quality after importing?

I keep getting poor image quality after exporting (high DPI) from the map composer in QGIS. The original Geotiff is 254 DPI and has great image quality (smooth lines). After opening in QGIS and ...
3
votes
0answers
254 views

Generating raster (spec. GeoTiff) out of mesh file (.ply)?

I created mesh file using OpenDroneMap program out of 100 geotaged jpgs, and i would like to know for a way for generating raster image out of this .ply file? Has anyone done this? Mashlab has the ...
3
votes
0answers
219 views

Applying unified color scale to tiles with gdal2tiles?

Background: I have a series of about 40 small GeoTIFFs that need to be merged together to make one large image. Each GeoTIFF has 2000 bands. I've tried using both gdal_merge and gdal_retile to pull ...
3
votes
0answers
102 views

gdal_translate bilevel tiff output

I have a geotiff image that rings in at about 290MB. However, once I smooth it using a gaussian filter I'm unable to get it back to that size, it ends up being 1720MB. The size isn't really the ...
3
votes
0answers
2k views

Merge several images and Export a GeoTiff File

I have approx 500 geo-referenced images that I was hoping to merge into 1 geo-referenced file, and export it as a single geotiff file. To be used in AutoCAD Civil 3D I know I am pushing my luck and ...
2
votes
2answers
37 views

QGIS Raster Georeferencer adds black padding to corners of adjusted black and white TIFF image

After georeferencing a black and white TIFF image, the QGIS Raster Georeferencer fills the corners with black pixels, creating black elongated triangles along the edges of the new image. I could not ...
2
votes
0answers
18 views

TIFF to KMZ passing altitude data

I am currently trying to create a KMZ from a GeoTIFF by using gdal_translate. This Works fine and I am accomplishing this by using by using this command gdal_translate.exe -of KMLSUPEROVERLAY c:\in....
2
votes
0answers
28 views

Coordinate tags of GeoTIFF are not recognized

I received a bunch of GeoTIFFs for which the location is not recognized. It think this is because the tags for storing the coordinates are not recognized as such. Is there a way to rename/convert ...
2
votes
0answers
24 views

A GeoTIFF heightmap from SRTM embeds vertical planes along lat/lon grids in its 3D representation

I've downloaded an SRTM GeoTIFF from Open Topography and converted it into the grayscale image before I imported it into Blender to improve the quality. It is apparent that vertical planes are cutting ...
2
votes
0answers
24 views

QGIS raster files not aligned due to different extent

I have a DEM file of building heights calculated from DSM-DTM in QGIS. Based on this DEM file, I generated a mask that indicates the presence of buildings in matlab. However, when I load the building ...
2
votes
0answers
71 views

All (GeoTIFF) raster values NA after converting to velox

Cross-posted to the velox GitHub repo: https://github.com/hunzikp/velox/issues/40 I'm able to extract average tree cover values for each of the three small counties in the US State of Delaware, but ...
2
votes
1answer
46 views

Best approach to process thousands of TIFF files

I have a data source with a folder pyramid that contains several thousands of GeoTIFF files, about 70Mb each. I would like to process these so that I can display the map overlays on a OpenLayers web ...
2
votes
0answers
115 views

Whitebox GAT Import GeoTIFF tool error

I'm trying to run Whitebox GAT's Import GeoTIFF tool. The following message pops up each time: ArcMap's source info says the Tiff I'm trying to import is not compressed or 48/64-bit RGB. It is a ...
2
votes
0answers
41 views

Preventing ArcGIS Desktop from creating 64-bit rasters?

I've run into this issue recently wherein I run the Con tool on a 32-bit raster (TIFF format) to change some absurdly high/low values to 0 and I get a 64-bit raster (TIFF format) out the other side. ...
2
votes
0answers
69 views

TIFF image from R displaying only white in ArcMap?

I cannot get this TIFF image, which was exported from R to display in ArcMap 10.5. I would like to georeference the nodes, but the image only displays as all white. Can someone help me with this? ...
2
votes
0answers
128 views

Read only a crop or certain extent of a tif raster R

I am working with a huge amount of data in daily tif files (thousands of daily files). I am analyzing the mean of the raster in a shapefile area, repeated over potentially thousands of shape layers. ...
2
votes
0answers
187 views

Batch convert geotiff to jpg but ensure nodata is white

I've been using gdal_translate to convert geotiffs of rotated paper maps to jpg+wld, but nodata sections would always turn up black (i.e., where the original data has been rotated). So based on other ...
2
votes
0answers
55 views

geoTIFF raster // random display errors only in QGIS

Sometimes I experience display issues with geoTIFF in QGIS (also had this once in TatukGIS). Now i have a situation in latest QGIS running on Linux KDE. The image is kind of disturbed (s. example). ...
2
votes
0answers
279 views

Transparency not working right in GeoServer layer group

I have two image mosaic layers of geotiffs. One contains aerial photos, the other contains rasterized vector data, meant as an overlay. Creating a layer group of these two produces an unpleasant ...
2
votes
1answer
197 views

Georeferencing X Y (AND Z) with GCPs in QGIS

I have GCPs recorded to centimeter precision in lat, long, and elevation. I want to georeference my UAV-photogrammetry-generated GeoTIFF and DEM with these GCPs (since the GPS on my UAV is only ...
2
votes
0answers
283 views

reading 13 bands (Sentinel 2A) .tif image in cv::Mat (opencv C++)

I want to read 13 bands of a .tif image in separate cv::Mat objects for processing. I have tried reading it with opencv imread() function but it fails to load it. Also, I have used libtiff but I am ...
2
votes
0answers
413 views

Editing coordinates of GeoTIFF map in QGIS?

I have a GeoTIFF image imported in QGIS. Unfortunately when compared to older image I have of the same area, there is a slight shift in coordinated in the new image. Assuming that I calculated the ...
2
votes
0answers
361 views

Why do gdal_translate and python gdal give wrong result (output spatial location) for translation of netcdf4 to geotiff?

I try to convert netcdf4 file to raster by using gdal and python. The netcdf4 file is in the WGS84 geographic coordinate system. When I use "Make NetCDF Raster Layer" in ArcMap, the netcdf file is ...
2
votes
0answers
173 views

Saving VRT file crashes QGIS

When I load a .vrt file, the image comes in with a black and blue tint usually or is some other weird color. If I zoom in at all QGIS crashes and creates a minidump in my program folder. Also, when I ...
2
votes
0answers
130 views

Add RGB values from CPT file to Int16 GeoTIFF using Python and Gdal

I want to add color, using RGB values stored in a CPT file, to a black and white Int16 GeoTIFF file using Python. I tried to use SetColorEntry(), but when I add the ColorTable to the RasterBand, I ...
2
votes
1answer
803 views

Export VRT to GeoTIFF in Python

I'm trying to export a Virtual raster (VRT) to GeoTIFF in Python 2.7 (Windows 10 System), but code runs with some problems. When i try export the following image (.vrt file) to GeoTIFF i had a ...
2
votes
0answers
69 views

MapServer reading SQL from 8-bits data type TIFF

I'm converting to SQL (PostGIS) some raster files (TIFF). Then I'm using those SQL files for queries with MapServer, and displaying it in my app with OpenLayers with no problems. Everything goes well. ...
2
votes
0answers
458 views

How to compute Tree Cover Loss by year in QGIS?

I want to compute the value of tree cover loss per year from 2001 to 2014, based on the "Global Forest Change 2000 to 2014" data by Hansen et al. I downloaded the geotif "lossyear" from http://...
2
votes
0answers
133 views

How to extract information from a tiff through the use of a shapefile?

I am having trouble in using the data from the South America amazon from a shapefile. What I was asked to do was to take the data from the loss of forest in a format where it is possible to make sense ...
2
votes
0answers
68 views

QGIS Modeler Input WMTS

Maybe I'm just missing something here, but i can't figure out how to set a WMTS Layer as an Input Parameter in QGIS Modeler. I just wanted batch the process of exporting a GeoTiff from a WMTS Layer. ...
2
votes
0answers
255 views

Dynamically styling LiDAR data in QGIS?

I am using QGIS 2.18.4 on Windows. I have LiDAR data in GeoTiff format. Is there a way to dynamically style the GeoTiff layer based on the current map extent? I need to re-style the GeoTiff layer ...
2
votes
0answers
73 views

longitude and latitude values calculated using gdal differs from values displayed in various tools like (photoscan , global mapper etc..)

I have used gdal to read geotiff file. I tried to calculate longitude and latitude value for each pixel and line. Here is part of my code. for (int l_idx = 0;l_idx < line;l_idx++ ) { for (...
2
votes
1answer
2k views

How to use gdal to convert HDF multi-band file to a single GeoTiff file?

I have a multi-band HDF file that I want to convert to a single GeoTiff file, using free tools, preferably gdal. I'm trying to use gdal_translate, but I either get back multiple output .tif files, or ...
2
votes
0answers
64 views

Connecting to WMS in QGIS - Single Band Image Won't Render as TIFF?

In QGIS when we connect to an ArcGIS Image Service via WMS we can load the data as PNG/JPEG, however TIFFs do not render on the map. It is only occurring with single band Image Services, the 3-band ...
2
votes
0answers
2k views

How to import NetCDF file to PostgreSQL

I looked at the other similar questions posed and none of them seem to be answered. Basically I have a NetCDF file with multiple subdatasets and from what I've read, I should be converting it to a ...
2
votes
0answers
500 views

Remove black borders when converting GeoTiff to MBTile with gdal_translate

I am using gdal_translate to convert a fairly large geoTiff to MBTiles. As the geoTiff is reprojected, it is not square anymore in Google Mercator and the parts that are not covered appear black when ...
2
votes
0answers
73 views

QGIS geotiff extract world fails with AttributeError: 'ExtractThread' object has no attribute 'fileProcessed'

I am trying extract the projection and create the world file and prj file from a geotiff but I get a failure. I have the GDAL plugin enabled and I know it is a geotiff with the projection embedded ...