Questions tagged [geotiff-tiff]

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

325 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
356 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
259 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
1answer
129 views

MODIS Fire Product tile conversion to GeoTIFF problem

I downloaded a tile (selected tile in the picture) from https://ladsweb.modaps.eosdis.nasa.gov/search/order/3/MOD14--6/2019-08-09/DB/Tile:H25V6 I used gdalinfo on the file. It's output is Driver: ...
4
votes
0answers
235 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
363 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
0answers
56 views

R raster / rasterize creating GeoTIFF with Null Value “grid lines”

I am attempting the seemingly simple task of converting a .csv with lat, lon and population values into a .tif (raster). Here's my R code: geoName <- read.csv("/pathToData/geoName.csv") ...
3
votes
1answer
47 views

Unable to read TIFF file with raster2pgsql

I am having some trouble with the raster2pgsql function (on a Windows 7 in the OSGeo4W shell). I am receiving the error "Unable to read raster file". I can import shapefiles, ok using org2org so I ...
3
votes
1answer
302 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
177 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
243 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
361 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
230 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
300 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
506 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
517 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
706 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
263 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
232 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
109 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
746 views

Saving a TIFF file with band names

Does anyone know if it's possible to add a TIFFTAG when saving a tiff file (I'm using the C/libtiff interface) that will give a name to each band? Some kind of per-band TIFFTAG_IMAGEDESCRIPTION is ...
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 ...
3
votes
1answer
52 views

Nodata value making holes in merged GeoTIFFs in QGIS?

I am trying to remove black borders around the edge of a GeoTIFF. The Black border around the GeoTIFF has an RGB value of (0,0,0). I have tried assigning 0 as a "No Data" value to the tiff, but QGIS ...
2
votes
0answers
21 views

gdalwarp cuts off top and right edge of globe from gfs data

I am using data from this GFS forecast: https://nomads.ncdc.noaa.gov/data/gfs4/201905/20190502/gfs_4_20190502_1800_000.grb2 Specifically the bands 102 and 103 containing wind data. I first combine ...
2
votes
0answers
61 views
+100

Rasterize GeoJSON or Shapely Geometry?

I am trying to rasterize a GeoJSON or shapely geometry but it does not rasterize all the geometry (some of it is not in the TIFF-file). I tried gdal_rasterize -burn 255 -burn 0 -burn 0 -ts 4950 4900 ...
2
votes
1answer
40 views

Extract images from GeoTIFF file using shapefile

I would like to know if there is any way that I can extract images from a GeoTIFF file using a shapefile which contains shapely polygon data for specific locations in the image in Python. I would like ...
2
votes
0answers
89 views

Stitching rasters with specific coordinates together

I have a list of images (read with tifffile.imread) and the coordinates (xmin, xmax, ymin, ymax) stored in a list. Suppose the images cover an area of 100 by 100 meters. Some of the areas are missing. ...
2
votes
0answers
47 views

Find area under different colors in TIFF?

I have a TIFF file that has 17 bands (colors). Each color corresponds to different land use land cover characteristics. Additionally, I have a shapefile of a district with blocks. I want to find the ...
2
votes
0answers
74 views

Writing a GeoTIFF file that is rotated with respect to a projected coordinate system using Matlab's Mapping Toolbox

I've been prototyping some processing techniques for SAR images in Matlab. This requires importing a GeoTIFF file, and then exporting a file with modified data but the same spatial reference. I have ...
2
votes
0answers
24 views

Clip Raster in ArcGIS Desktop 10.3.1 writes NoData border

I'm trying to clip a DEM raster using a rectangular polygon shapefile as the extent. The Clip Raster tool will add/write a NoData border surrounding the output raster. The NoData pixels are ...
2
votes
0answers
24 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
30 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
31 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
25 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
110 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
59 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
146 views

Creating tiled pyramidal TIFF from PNG tiles that are organized in slippy map?

I have map tiles (Z/X/Y) of a certain location which I serve via a simple web server and add on QGIS for offline usage via the XYZ Tile Layer from the Browse menu. These are to be used in a survey of ...
2
votes
0answers
188 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
42 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
80 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
1answer
96 views

Interpolation Algorithm with gdal in R

I'm currently having some problem while trying to create a GTiFF file. require(raster) require(sp) require(rgdal) require(gdalUtils) library(rgeos) map <- readOGR ('MyShapefile.shp',layer='...
2
votes
0answers
152 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
205 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
56 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
309 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
229 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
321 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
506 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
380 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
193 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 ...