Questions tagged [geotiff-tiff]
Use this tag when referring to georeferenced or ungeoreferenced TIFF (Tagged Image File Format) files.
1,950
questions
1
vote
0
answers
15
views
How do you draw a line on a tiff file? (complete beginner)
I am a complete beginner to QGIS and everything that surrounds it so bare with me. I have a tiff file (map) that I have managed to georeference. Now I want to draw a simple line (trail) on the tiff ...
0
votes
1
answer
22
views
Gdal and Pillow Tiff to Jpeg
I have been using the Pillow code below to convert Tiff to Jpeg, but have recently found that I can use Gdal to also convert Tiff to Jpeg. I am trying to understand what the main difference is between ...
0
votes
0
answers
5
views
Get element in raster array based on BNG coordinates
I have some BNG coordinates which are converted from lat and long using proj4. I also have a raster file based on BNG. I want to get the relevant element from the raster array based on the coordinates ...
0
votes
0
answers
21
views
Add time and elevation to GeoTIFF
I create a geo-referenced raster using gdal_translate from a PNG image. I add it to GeoServer as a GeoTIFF store. When I publish the layer, options that are available on the Dimensions tab in the ...
1
vote
1
answer
34
views
Extract shapes and shape data from GeoTIFF using Rasterio and store as GeoJSON
I have a GeoTIFF that has a black background and shapes using various colours and each point has a data value. I'm trying to use rasterIO to extract this GeoTIFF into a GeoJSON so it can be displayed ...
0
votes
0
answers
21
views
RasterIO how to extract multiple shapes from geotiff rather than background
Im trying to convert my geotiff to GeoJson using rasterio, when I run the following code
with rasterio.open("../media/temp/temp.tif") as dataset:
# Read the dataset's valid data mask as ...
0
votes
1
answer
34
views
TIFF file to Google My Maps
I am trying to convert the TIFF file I have been working on to upload to Google My Maps but cannot find a file type in the export dropdown that will work. Any suggestions?
0
votes
1
answer
36
views
Make black pixels transparent in GeoTIFF using Python
I'm looking for a tool that will allow me to convert the following black pixels or null data to transparent so when I turn it into tiles I can't see them.
I'm trying to do it in Python so I can ...
0
votes
0
answers
22
views
GDAL/Python : converting Zarr to TIFF
I have a Zarr file stored on a S3 custom storage (not AWS), that I want to save as a TIFF file locally. I'm trying to use GDAL for the first time here so I don't fully understand the methods.
So far, ...
2
votes
1
answer
37
views
Problem generating GeoTIFF from JPEG using GQIS Georeferencer tool
I am trying to follow this tutorial to convert a JPEG image of a WGS-84 Web Mercator world map to a GeoTIFF file using QGIS, but am failing to do it correctly-- the map comes out with black-hole-like ...
0
votes
1
answer
30
views
Finding latitude and longitude for pixel values
import rasterio as rio
import pandas as pd
import numpy as np
dataset = rio.open('/Users/rchaughule/Desktop/S_197901_concentration_v3.0.tif')
val = dataset.read()
no_data=dataset.nodata
data = [(...
1
vote
0
answers
25
views
Remove pixels 255 255 255 in GDAL
I want to remove all pixels 255 255 255 from my image, using GDAL, how can I do that?
I used the following command but the result is not as expected,
the picture below depicts what I'm having trouble ...
1
vote
0
answers
17
views
Is it possible to detect empty GeoTIFF blocks without reading them when `SPARSE_OK=True` in Python?
I'd like to quickly skip empty sparse blocks of a GeoTIFF file when iterating through all the pixels in the raster. The GeoTIFF Sparse File Documentation says that empty blocks have an offset and and ...
1
vote
1
answer
44
views
Should I use TIFF or PNG Maps [closed]
I have a school project in which I should forecast the UV index based on historical data in former UV maps.
This website http://www.soda-is.com/pub/files/iresen/ includes the UV maps both in TIFF and ...
1
vote
0
answers
16
views
How can I configure zoom extent in Mapbox when generating raster tilesets from GeoTIFF?
GOAL
I'm using Mapbox to generate raster tilesets from raw GeoTIFFs. The GeoTIFFs have a resolution such that a single pixel represents roughly a 5km x 5km square on the map. I hope to generate and ...
0
votes
0
answers
44
views
NaN values for all bands of a TIFF file in GEE using Python
I have a script to download some TIFF files based on grid. For this I've used a shapefile of Germany with 100 km by 100km tile. Then used batch download to download all the images of an image ...
1
vote
1
answer
24
views
In gdaldem: NODATA value in GeoTIFF found in earlier version but not recognized in GDAL 3.4.2
I'm not sure if this is something that has improved in GDAL or something that could/should be fixed. I have a particular GeoTIFF here that has values (-32767) that are supposed to represent NODATA ...
0
votes
0
answers
19
views
Uploading Big GeoTIFF to GEE Assets Error: Total area of overlap
Error: Total area of overlap between input files is too large: 2.00e+01 of the total mosaic area. This overlap may not exceed 5.00e-01. (Error code: 3)
How can I solve this problem if I want to ...
0
votes
0
answers
32
views
Troubles in writing data into TIFF file with GDAL
There are problems in my writing data into .tif file with GDAL module in python.
I want to extract data (numpy array) from a TIFF file and modify some of its values before saving it into a new one, ...
0
votes
0
answers
21
views
Convert MODIS HDF into GeoTIFF
I want to convert HDF files to GeoTIFF format. I attempted to instal Earthdata NASA "Release 2.15 (April 2019)" but was unsuccessful. I made sure to act in accordance with the guidance. But ...
0
votes
0
answers
19
views
Raster export to TIFF fail
I am trying to export a raster from ArcGIS Pro (version 2.6.24783) in TIFF format to run some analysis in Rstudio. I am studying the area of occupancy of a species, hence the raster contains cells ...
0
votes
2
answers
36
views
Convert TIF file to CSV/ASCII format using QGIS v. 3.24.1-Tisler
I have DTM data in the format of .tif and I need to export this as CSV or ASC for point cloud data input into Leapfrog.
I've read other walk-thrus that are outdated now (2014/2017) that came close to ...
0
votes
1
answer
35
views
QgsRasterFileWriter in QGIS gives blank output
I am trying to export the new Mapzen terrain to a local tiff for offline use (licence is open so no copyright issues).
I can easily do this in the interface by using Export -> Save As..
This allows ...
0
votes
0
answers
18
views
QGIS native:rasterize alg won't create alpha band
I'm running the rasterize tool against a .png tilemap layer. The manual "export raster" option exports a 4 band .tif as expected, including an alpha channel. However, when I implement this ...
0
votes
0
answers
21
views
QGIS report based on defined labels
I want to generate a report to see how much area are falling within the range that I have set for the labels. I have tried with the r.report, but it doesn't seem to have a function that I can manage ...
1
vote
1
answer
64
views
Terracotta showing map in B&W
So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized ...
0
votes
1
answer
46
views
Unable to extract all points when converting TIFF file to shapefile using gdal_polygonize.py
UPDATE
I came to know that the gdal_polygonize.py is not the right tool for my purpose.
My aim is to convert the TIFF file to shapefile, so that I can get the elevation points. I already did the ...
3
votes
1
answer
87
views
Want to use PostgreSQL db and ST_AsMVT() to develop a tile server, assuming my start point is a GeoTIFF [closed]
So basically I want to use ST_AsMVT() function to generate a web server that generates vectors tiles for me, which can then can be accessed through a link like "http://localhost:8080/{z}/{x}/{y}....
1
vote
1
answer
28
views
Geocoordinates to pixel value in GDAL?
I'm trying to read a GeoTIFF with one band which stores a value between 0 and 3 ( 255 is no maks ). My Goal is to write a little program which takes in a latitude/longitude and returns the fitting ...
0
votes
0
answers
32
views
ReadRaster returns wrong pixel value
I'm trying to read a GeoTIFF with one band which stores a value between 0 and 3 ( 255 is no maks ). I downloaded it from here :
https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/...
0
votes
1
answer
27
views
Extracting the pixel value of a geocoordinate from a GeoTIFF [closed]
I have a simple GeoTIFF file where I want to query the pixel value of a certain geocoordinate.
I have no experience in this topic and there nearly no tutorials or whatever about this topic.
All I know ...
0
votes
1
answer
45
views
Converting a NetCDF with multiple variables to GeoTIFF calling GDAL_TRANSLATE function from Python
gdal_translate -a_srs EPSG:4326 NETCDF:"file_name.nc":variable_name output_file_name.tif -a_ullr -9.21200 53.28058 -8.88045 53.11338
I am working on some NetCDF files that include multiple ...
0
votes
1
answer
48
views
Split TIFF and shapefile into smaller parts [closed]
I have a large TIFF file (14 GB), and along with it, I have a shapefile, covering parts of the TIFF in different shapes
I want to basically just split the TIFF into smaller squares, while also ...
0
votes
0
answers
30
views
Exporting virtual raster in QGIS
I have multispectral images collected from parrot sequoia. I want to merge all 4 different bands and create a single .tif file. I created the virtual raster layer with all the bands included in that, ...
1
vote
0
answers
29
views
Name of the process to project / map / link a landscape photo to terrain data
A few months back I found a demo of a landscape image where clicking on a point of an image of a mountain range showed where on a map and the elevation of that point. Since then I have not been able ...
0
votes
0
answers
28
views
Adding Mosaic Raster into SDE
I am georeferencing OS 25 and 50K TIFF images in ArcGIS Pro. I have created a raster dataset and use the mosaic tool to 'patch' all the SKs together.
The data has to sit within SDE to be able to feed ...
2
votes
0
answers
53
views
How to clip GeoTiff according to shapefile using javascript?
Situation: I am plotting data provided in a GeoTIFF file on a map using Reactjs and geoTiff.js. An example of the GeoTiff files I am using is at the following link: https://drive.google.com/file/d/...
0
votes
0
answers
54
views
Extract a single pixel of data from multiband time series of raster (TIFF) images in Python
I have two folders of .tif files (41 and 49 rasters, respectively). The rasters are multi-band (14) and of the same location (same extent, boundaries, etc), just on different days.
I would like to ...
0
votes
0
answers
20
views
Rendering geotiff raster on QGIS
I have various GeoTIFF raster image that I display on QGIS (3.2 or 3.4) - ortomoisaic created with agrisoft metashape
Sone raster (between 1 to 4 gb) are very slow to render/zoom on QGIS, while other (...
1
vote
0
answers
55
views
Publish a GeoTIFF file as WMS to GeoServer
I have published the GeoTIFF file which I want to use on the GeoServer without any problems, but when I want to view it on QGIS with a WMS connection, the TIFF file does not come. While uploading to ...
1
vote
0
answers
37
views
How to plot .tif file colour coding onto the map using JavaScript [closed]
I want to plot color coding from the .tif file into the map with the help of react-leaflet. How can this be done?
I am open to other better suggestions. My core goal is to display color coding given ...
1
vote
0
answers
42
views
Poor GeoTIFF display performance using JS plugins contrary to Leaflet for R package
I have question regarding displaying GeotTIFF using leaflet or react-leaflet.
There are some packages allowing displaying tiffs, for example I had used:
https://github.com/stuartmatthews/leaflet-...
1
vote
2
answers
73
views
Create a mosaic in Google Earth Engine in natural colors RGB (4,3,2 channel Sentinel -2) in GeoTIFF format
I need to continue working with a mosaic in ArcMap, I wanted to optimize my work so as not to download for monitoring many pictures. I am attaching my code, I tried to make a mosaic, but I can not ...
0
votes
0
answers
28
views
Projection error of EuroSAT (Sentinel-2) GeoTIFF
I am trying to plot the geospatial positions of multi-spectral satellite images from the EuroSAT dataset.
While plotting all positions at once, I have come to the conclusion that I have some ...
2
votes
1
answer
50
views
Given table of coordinates, obtain attribute from GeoTIFF file for given location
I am completely new to GIS, am currently using QGIS to try and accomplish a major feat.
Background: I have a file of over 150,000 property lat/long coordinates that exist in WA & OR (USA). I have ...
2
votes
1
answer
33
views
Georeferencer QGIS Import jp2 - Export jp2? - Is that possible?
I would like to do a georeferencing via QGIS 3.22.5.
I'm using the standard implementation at the menu point "Raster" -> "Georeferencing". My import file is a jp2-format and ...
-2
votes
1
answer
46
views
Error importing a GeoTIFF in GEE
I have uploaded an asset as GeoTIFF and added it into the script and used these lines:
var input = ee.Image.loadGeoTIFF('users/parivash89/Eucalyptus_Brazil/mean_WinterIC_SaoPaolo_Float-0000000000-...
0
votes
1
answer
86
views
Extracting attribute data to points [closed]
I have a GeoTIFF file downloaded from: https://www.fao.org/soils-portal/soil-survey/soil-maps-and-databases/harmonized-world-soil-database-v12/en/
It includes ".tif" and ".dbf", so ...
2
votes
1
answer
249
views
Get lan&lon and values from GeoTIFF using Python
I have GeoTIFF images from https://esa-worldcover.org/en
My goal is to get a list of latitude / longitude / value from that image. The value is a numeric attribute which represents a class as ...
1
vote
0
answers
22
views
Extract class from lat&lon GeoTIFF using rasterio [duplicate]
I would like to extract the coverland class from all available coordinates from a GeoTIFF downloaded from ESA website.
I can get a JSON structure with the polygon coordinates.
This is the code:
import ...