We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0
votes
1answer
17 views

How to normalize elevation of GeoTIFF file data stored as unsigned integers?

I have a GeoTIFF file where the pixels are stored as unsigned 16 bit integers. I am using C# Gdal bindings to read the GeoTIFF file, using the Band.ReadRaster method, in order to produce an array of ...
0
votes
0answers
31 views

Open TIFF image in Python

I'm working with jupyter and I have been trying to open TIFF images that I have download from GEE. I have trying to open the images in Jupyter environment. This is my code: from PIL import Image ...
1
vote
1answer
17 views

Exporting to GeoTIFF from data view with Data Driven Pages and ArcPy

I'm trying to work with ArcGIS Desktop with this problem. I need to export a data to geotiff with specific boundaries which are polygons, so i decided to use Data Driven Pages (DDP). Because there is ...
1
vote
0answers
15 views

How to add a raster layer to Geoserver via the REST-API? [duplicate]

I want to automatically (via script) add new TIF-files on the harddrive to Geoserver as a new layer. I use the REST-API for that. In the first step I added the TIF as a coveragestore, and that step ...
2
votes
0answers
31 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
31 views

how to convert geotiff format to CSV format? [closed]

how to convert Geo tiff format to Comma separated value_format?
0
votes
0answers
10 views

Extract value of a latitude/longitude for a NETCDF4 file containing vertex_longitude and vertex_latitude values for OCO-2 product

I had downloaded a file from https://co2.jpl.nasa.gov/build/?dataset=OCO2L2Stdv8&product=FULL#download The data is freely available and you can download it without registering It is a Netcdf4 ...
0
votes
0answers
38 views

Make TIFF files transparent in QGIS?

I am trying to make my scanned and georeferenced TIFF file translucent so I can see the layers underneath, however when I do so using the global opacity tool, it becomes pixelated, as shown in the ...
2
votes
1answer
33 views

Batch TIFF export, QGIS

I try to export 30 different TIFFs from one TIFF and 30 layer of boundaries boxes using QGIS. Maybe someone has a hint for me? Edit1: I have a map in TIFF format and I need to export 30 different ...
0
votes
0answers
23 views

GDAL virtual dataset with transparency

I'm trying to create image pyramid of multiple smaller images for GeoServer use. I have done this by first creating virtual dataset with gdalbuildvrt and then with gdal_retile.py. The problem I'm ...
1
vote
2answers
27 views

Merging .tif files downloaded from Google Earth Engine in correct order in Python

When you download a large image from Google Earth Engine, it is in multiple small images. Each sub-image name contains the x_min and y_min coordinates of that image. It is described here - https://...
2
votes
0answers
38 views

Cannot open TIFF in QGIS after mergin with gdal_translate [closed]

I have merged several TIFF files into a bigger one. When trying to add this image to QGIS I get the following error: Cannot open TIFF file due to missing codec. Raster layer Provider ...
0
votes
0answers
18 views

TIFF file missing spatial reference

I am using ArcGIS 10.6. I have a .tif file and I created a mosaic dataset and added this .tif file to it. Then I published it to Portal and everything was working fine. Then suddenly I started ...
1
vote
0answers
21 views

Batch convert GeoTIFFs to JPEG keeping GPS info [closed]

How can I convert a batch of GeoTIFFs files to JEPG preserving GPS info on EXIF?
2
votes
2answers
47 views

Merging two Landsat TIFF file of same band in QGIS 3.4

I've been wanting to merge two TIFF files of same band (this case it will be B1 in Landsat). I have followed tutorials which I came across online, but none of them seems to work. Generally, raster > ...
3
votes
0answers
53 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
51 views

Watermarking TIFF with pillow in Python breaks georeferencing

I am trying to automate the watermarking of thousands of georeferenced TIFF files with a Python script. The files have related tfwx world files and aux.xml files. When I run the code the spatial ...
3
votes
1answer
37 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 ...
1
vote
1answer
32 views

VIIRS DBN data preview in QGIS

I have downloaded VIIRS day/night Band data from here but when I try to open tiff files in QGIS software, it doesn't show like usual night light files and it is similar to cloudy sky image (see the ...
1
vote
0answers
16 views

Cannot open TIF files using TauDEM in ArcMap:

I am trying to use TauDEM in Arcmap. When I try to start the "Pit Remove" script it does not accept my .tif Input (see picture). Same with every other script from the tbx. If I press OK a empty error ...
1
vote
1answer
26 views

Weird looking color when creating tiles from large GeoTIFF

I encounter some weird problem when creating tiles from GeoTIFF. Context: I am generating small tiles from a large GeoTIFF image. The B and R band were swapped so I had to do a gdal_translate to swap ...
1
vote
1answer
28 views

Properties of Google Earth Engine GeoTIFF export

I am adding a couple of properties to an export, named 'elev' and 'threshold'. My objective is to have those properties embebed in the exported GeoTIFF, however, when I open the exported GeoTIFF and ...
1
vote
2answers
39 views

How to convert PNG files to GeoTIFF using Python

I have a big set of PNG files and EPSG:3006 coordinates of the edges of each file. (actually the coordinates of the edges are given in the file name, like this: 'image_666751_7023263_667007_7023519....
2
votes
0answers
30 views

Transform raster CRS fails [closed]

I have a large amount of .TIF which come in EPSG 31467. I want to transform them into EPSG 3044. My gdalwarp command throws me various errors, no matter what I try: gdalwarp - s_srs EPSG:31467 -t_srs ...
2
votes
1answer
35 views

How to create contour lines from TIFF (raster with more than 100 bands)

I need to do batch processing from a raster with 120 bands (GeoTIFF). I need 120 contour line shapefiles, but I get only one. I had no problem when the result is another raster file with all the bands,...
1
vote
1answer
28 views

Enabling Time on raster layers in ArcGIS Pro

I have several raster layers (all tiffs) in ArcGIS Pro and I would like to enable Time on each layer. This was straightforward in all versions of ArcMap 10 but not so here it would seem. As ...
4
votes
1answer
54 views

Converting GeoTIFF into KMZ image using GDAL_translate returns empty, all black image

GDAL I have installed gdal in the following way: conda create -c conda-forge -n mygdalenv gdal python=3.6 on Ubuntu 18.04.2 LTS. Input GeoTIFF I have a GeoTiff image. The result of gdalinfo input....
1
vote
0answers
21 views

Reading ushort and uint data using gdal C# Band.ReadRaster method

I am using C# bindings for gdal in order to get elevation data from GeoTIFF files. The API contains a Band.ReadRaster method. This method supports a lot of data types, but for reading unsigned ...
0
votes
0answers
18 views

After r.sun processing pixels in [0,:] row and [:,0] column of output contain NaN/nodata values

I am using r.sun to calculate the daily insolation values for a region of a GeoTIFF. I noticed that the resulting output has a 1-pixel wide artefact along the [0,:] row and the [:,0] column (assuming ...
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 ...
0
votes
0answers
18 views

Converting TIFF to IMG using GDAL [duplicate]

I would like to convert a bunch of .tifs to .img using GDAL. Here's what I've got: D:\>gdal_translate -of HFA D:\*.tif D:\*.img Where am I going wrong?
1
vote
1answer
26 views

Applying equation to a Numpy array while preserving TIFF metadata (coordinates)

I wish to load a .tif image into a numpy array, apply a formula and then spit the image back out with the same geo/nodata metadata information. So far I have created this, which does the processing ...
2
votes
2answers
59 views

Calculate average value in GeoTIFF file inside a shapefile polygon?

I'm a forest owner and have information about my forest areas in ESRI shapefile format, in ETRS-TM35FIN coordinate system. I managed to create a text dump about the forest area in the following style: ...
2
votes
0answers
58 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 ...
0
votes
1answer
35 views

Adding TFW metadata to TIFF header to create GeoTIFF

I'm aware this question has been asked several times already: Convert .tif with .tfw to a GeoTiff? tif tfw to GeoTiff However, my aim is a bit different here: I have a few hundred TIFF files that ...
1
vote
0answers
24 views

Converting uint16 RGB&NIR geotiff image to a uint8 RGB geotiff?

I am trying to convert a uint16 geotiff image with 4 bands (RGB&NIR) with LZW compression to a uint8 geotiff image with 3 bands (RGB) without compression. Here is what I have tried: ...
1
vote
1answer
34 views

gdalwarp to change block size also changes pixel values

I'm working with a GeoTIFF from http://www.fao.org/geonetwork/srv/en/main.home?uuid=ba4526fd-cdbf-4028-a1bd-5a559c4bff38 The original has data values from 0-11: $ gdalinfo -hist ./data/FAO/...
0
votes
0answers
40 views

Error “Too many points failed to transform, unable to compute output bounds.” using gdal2tiles

I want to generate tiles from a GeoTIFF file using gdal2tiles. gdal2tiles.py input.tif when I try the above command I got the following error Too many points (10201 out of 10201) failed to ...
0
votes
2answers
56 views

Altitude extraction from a DEM(.tiff) file using Python [duplicate]

I have a DEM(.tiff) file and I need to know the altitude of certain points(coordinates). I opened it like this: import tifffile as tiff import matplotlib.pyplot as plt import rasterio tfile = tiff....
0
votes
0answers
13 views

Create Geotiff from JPEG or PNG [duplicate]

I'm working on creating maps using Cesium. Now my client needs to export the viewport map to an image. I'm already exporting to PNG/JPEG but now I need to create a GeoTiff. Is there any way to ...
1
vote
2answers
64 views

Remove Angle or Projection in GDAL

I am completely new to GeoData so this might be somewhat of a silly problem, but I am having a problem with the angle GeoTIFF images tend to come with. I am collecting satellite images for a deep ...
0
votes
1answer
47 views

Loading color table (.csv) file to interpret raster data using C#?

I have a raster (GeoTIFF .tif file) that is stored in three bands (Red, Green, Blue), with each band's data type as a byte. I have a separate color table in the form of a .csv file, that stores a ...
3
votes
1answer
122 views

Unable to delete GeoTIFF after adding it to GeoServer

After adding a file to GeoServer via REST I am unable to delete it from the directory on my computer. I always get the same error saying that the file is in use by another process. This only happens ...
1
vote
2answers
68 views

How to designate a polygon as range on a TIFF file and take the raster data which in this range?

In GeoTools, GridCoverage2D.evaluate(DirectPosition coord, int[] dest) can get the raster data in specified location. It's powerful, but I want to get some raster data in a spatial range. I try to ...
1
vote
0answers
36 views

Interpolating VRT to Geotiff using gdal.Grid in Python creates null image

I have a set of points with X, and Y coordinates and associated Z values POINT (-102.9071045 31.43453407 1871.930298) POINT (-102.8339386 31.45111084 1856.14209) POINT (-102.4687424 31.53144836 1869....
2
votes
1answer
83 views

Artefacts (gaps) in tiles from GeoServer

I have created a series of GeoTiff files containing global satellite raster data in EPSG 4326 format. I serve them in GeoServer (v2.15.2) and ask for the data through WMS requests from Leaflet maps in ...
0
votes
0answers
33 views

Degradation of the quality of a raster after publishing to GeoServer [duplicate]

I'm trying to publish a satellite raster (.tif) into GeoServer and display it in a web application using OpenLayers. I tried to use many procedures but without any good results. This is the original ...
0
votes
0answers
71 views

Display GeoTIFF layer from GeoServer in OpenLayers

I have a number of GeoTIFF files to be published in GeoServer and consume in OpenLayers. I have published vector data and able to consume them in openlayers, However I am not able to show a sample ...
1
vote
0answers
16 views

Import Rasterlayer in QGIS with 140 GB Size

I try to load a file with the size of 140 GB into QGIS. The file is in the format .tif (BigTIFF). For a reason unknown to me, QGIS does not load the file. I use QGIS in Version 3.6.2. It aborts ...
0
votes
0answers
27 views

Converting from netCDF to GeoTiff using gdal_translate

gdal_translate netcdf_file.nc output.tif I'm trying to generate a GeoTiff using this command, and it works... kind of. The output tif image is just black and white, and I'd like actual colors on the ...