The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
1answer
22 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
19 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 ...
3
votes
1answer
40 views

How to convert a GeoTIFF into a KMZ image? 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
13 views

How to read 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
16 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
1answer
28 views

Cropping GeoTIFF by lon and lat [closed]

I am looking for a way to crop a raster by longitude and latitude. I am used to do this task with NetCDF but since I need to use GeoTIFFs in this case, I am struggling with the task. Loading a TIFF ...
0
votes
0answers
17 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
25 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
51 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
47 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
24 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
18 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
28 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
26 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
48 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
11 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 ...
0
votes
1answer
47 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
38 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
112 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
1answer
60 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
20 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
72 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
36 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
25 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 ...
0
votes
1answer
39 views

How to calculate mean pixels value of shapefile (for specific place)?

I have GeoTIFF image. I want to know how to calculate specific area mean pixels values? Is field calculator for(value*count fields) right or get raster properties? Or what can I do?
2
votes
0answers
23 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 ...
1
vote
1answer
41 views

How to convert GeoTIFF to array of normalized (0 - 1 range) values using C# GDAL Nuget Package?

I currently have a Unity3D tool that allows users to import different heightmap files into the Unity3d Game Engine, in order to produce Unity Terrain objects. The tool currently has limited support ...
2
votes
1answer
40 views

Python GDAL writing image output all pixels as zeros

I have an array "array" with numbers range from -5 to 1 (with decimal) and I tried to write it as a geotiff. However, the output geotiff turns out to be all zeros. Can someone tell me why? Here the ...
0
votes
0answers
16 views

Setting extent before stacking multiple TIFF files in R?

I downloaded 15 tiles from Earthdata of MOD17A2 (GPP). I converted the HDF files to TIFF formats via R software. Now I would like to stack them altogether, I am aware there are many questions related ...
1
vote
0answers
30 views

Color change when zoomed out large GeoTIFF (34gb from mosaic .ECW)

I have a large GeoTIFF (34gb, exported using ArcMap Copy Raster Tool). We had many troubles exporting the original .ECW mosaic map to a GeoTIFF with original resolution but a smaller extant.. Now the ...
2
votes
2answers
45 views

Use Lat and Long to Zoom and Crop A Color GEOTIFF Based Map In R

I have a strong background in R but have only done limited GIS work. I have a color Geotiff file that I downloaded from the USGS Earthexplorer. It is a "LandsatLook Image with Geographic Reference". ...
1
vote
0answers
35 views

Show geospatial TIFF as base layer in OpenLayers using GeoServer

I am trying to show a GeoSpatial TIFF file as a base layer in OpenLayers, on which further layers can be imposed. Upon trying to add the TIFF file as GeoTIFF store GeoServer throws below error: ...
1
vote
0answers
39 views

Expand features in shapefile

I have a shapefile with 634k features that when I open in QGIS is filtered to 6 squares. How can I expand it to get all the points, I need to make a topo map from it.
0
votes
0answers
13 views

GeoServer REST create TIFF layer from datastore

I am creating a layer from a TIFF data store with the REST API in GeoServer. The command works if I use <coverage> <name>tiffLayer1</name> <title>tiffLayer1</title> <...
1
vote
1answer
54 views

How to compress ecw when gdal_translate from tiff to ecw?

I wish to translate geotiff 16gb to ecw, cause current size is so big. but when I run sudo gdal_translate ppp_2020.tif ppp_compr.ecw -co "COMPRESSION_RATE_TARGET =80" 0...70...80...90...100 - done. ...
0
votes
0answers
19 views

R gdal_grid interpolation results in null values for elevation

I am trying to grid point cloud data. I created a csv with coordinates x,y and elevation z-values. The first lines of the .csv file look like this: "X", "Y", "Z" 666578.24179169,5747856.3361029,-0....
3
votes
1answer
49 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 ...
1
vote
0answers
13 views

Multiband GeoTIFF loading slow in browser

Here's the problem: http://www.doctorharapos.com/webMap/geotiff.html My GeoTIFF files are light, just 4MB My process: starting from an ASCII Esri file I transform it to GeoTIFF using gdalwarp, ...
4
votes
1answer
111 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: ...
1
vote
1answer
21 views

installing gdal from osgeo to work with GeoTIFF

I just installed Anaconda Navigator (and nothing else) in Windows and want to be able to work with GeoTIFF files in Spider (Python 3.7). It is my understanding that Navigator can search for packages ...
2
votes
2answers
53 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
1answer
58 views

Converting Grayscale GeoTiff to PNG using QGIS results in all black image

I have a GeoTiff in QGIS that I created by merging some images inside QGIS. It looks like this: I use Raster>Conversion>Translate. And save it as a PNG. I then open the image in both, Photoshop ...
0
votes
0answers
88 views

NotImplementedError: Wrong number or type of arguments for overloaded function 'CoordinateTransformation_TransformPoint'

Hello I am new to working with GeoTiff data and I am trying to grab lat/lon values from a tiff image. Here is my code: import gdal import matplotlib.pyplot as plt import osr # open the dataset and ...
0
votes
1answer
38 views

Using QGIS to create a GeoTIFF raster of Google Earth import

I've managed to link QGIS3 to Google Earth via XYZ tiles. I would like to convert the Google Earth map shown to a GeoTIFF raster (to save on memory?). I try and export the Google Earth layer to a ...
1
vote
1answer
96 views

Opening a BigTIFF file in Python

I am trying to open and extract data from a 90MB TIFF file using Python. The code I'm using is the following: from osgeo import gdal, osr, ogr def get_value_at_point(rasterfile, pos): gdal....
0
votes
1answer
31 views

Saving levelplot to a TIFF raster without changing pixel size?

I am working on change detection and have been able to visualize the results that I have created through levelplot. Previously I used to use Writeraster for storing my plots as tif files which did not ...
0
votes
0answers
28 views

Leaflet load GeoTIFF file from browser [duplicate]

I want to load a GeoTIFF file from a browser using Leaflet. I have created a custom control button that on click loads a file from local computer. fileInput.Change() is the function that is called, ...