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
0answers
34 views

Get pixel value of ImageWMS that has geotiff format [closed]

I have layer (ImageWMS that has GeoTIFF format) and also OSM or another for my baselayer. According to https://openlayers.org/en/latest/examples/disable-image-smoothing.html I should get pixel[0] and ...
0
votes
0answers
9 views

Reading CRS and Affine transformation from a NetCDF with CF conventions

I have a NetCDF with geographical information. I'd like to obtain a GeoTIFF file with rasterio. The problem is how to translate the geographical information from CF standard to something that GeoTIFF ...
1
vote
0answers
27 views

Defining CRS with tifffile - export .tif

I am trying to figure out how to define/keep my images CRS throughout a splitting script I have written. I tried adding metadata={'init': 'epsg:3857'} when calling tifffile.imsave(dir_out, image), but ...
1
vote
1answer
18 views

Splitting a BigTIFF using tifffile

I am having trouble splitting a BigTIFF. I am orginally using @Ivan code from this question. I had to modify it a bit since I am using a .tif that was larger than 4GB. Pillow does not support BigTIFFs....
0
votes
1answer
16 views

Gdal_polygonize and gdaltindex error

I'm trying to convert .tif file to .geojson using following cmd: gdal_polygonize.py flowdirection.tif -f "ESRI Shapefile" flowdirection_shp.shp After which I'm getting error: Program '...
0
votes
0answers
14 views

Tiling striped GeoTIFF in JavaScript/TypeScript [closed]

New to GIS, and I was wondering if it was possible to transform small striped GeoTIFFs into tiled ones, in JavaScript or TypeScript? I know JS/TS is not originally meant for image processing, but I am ...
0
votes
1answer
25 views

Converting.tif files to shapefiles [closed]

I have received multiple tif. files like roads, forest_dis_scaled, grass_dis_scaled. I am trying to create a useful map for the study area but I am not sure if it is even possible to convert these ...
1
vote
2answers
39 views

Displaying raster layer in QGIS without any formatting

I have nine adjoining DEM layers (3x3) styled as 'hillshade' but there are some obvious artefacts, particularly where tiles meet. I've exported the hillshade layers to TIFFs in QGIS using the '...
1
vote
0answers
18 views

Obtaining real world long/lat from GeoTIFF file using GDAL and C#?

I am trying to obtain and convert latitude and longitude values into British National Grid coordinates from GeoTIFF using GDAL C# file, I managed to read the coordinate system and corner coordinates ...
2
votes
0answers
36 views

Create cloud optimized GeoTIFF without re-encoding?

I have a lot of jpeg-in-geotiff imagery that I would like to convert to Cloud Optimized GeoTIFF. Is there any way to do that without re-encoding the pixel values? I'm trying to avoid paying the price ...
0
votes
0answers
14 views

Merging two data with different resolution and band [closed]

I am new to work on GIS with python. I have 2 DEM with different resolution and band. Here is the information(output of gdalinfo): Bathymetry Driver: GTiff/GeoTIFF Files: /Users/zhangwenlan/...
0
votes
0answers
15 views

Creating Quadtree/Space Filling Curve Index atop GeoTiFF

I'm a complete beginner in GeoTiFF manipulation. I'd like to get some help in possible Java/Python/Scala project which performs spatial indexing (Quadtree, Space Filling Curves) atop given image(s). I ...
0
votes
0answers
19 views

Receiving planet basemaps in earth-engine

I am working on satellite imagery from the NICFI Program which is available on planet.com I am trying to download those basemaps in earth-engine. I followed this setup guide and have connected my gee ...
0
votes
0answers
27 views

How to fix incorrect land cover pixel data in GeoTIFF

I have downloaded a large dataset of 7,046 global land cover TIFF files from here: http://data.ess.tsinghua.edu.cn/fromglc10_2017v01.html The dataset is 10m per pixel so is very high resolution, but ...
0
votes
0answers
8 views

How can I merge multiple .h5 files while I just want to extract one single band in output in Google Colab using gdal?

I have 366 .h5 files in a drive over Google Colab. I can read single .h5 file using 'gdalinfo'. But I have to extract only a same single layer (subdataset) from all of those .h5 files and extract as ...
1
vote
0answers
15 views

R -raster: Define raster extent from centre and rotation

I am quite new to R spatial transformation. My aim is to write a GeoTiff to be correctly geolocated in GIS software (e.g. ArcGIS). I have a raster with known coordinates of the centre (proj: UTM WGS84 ...
0
votes
1answer
15 views

Converting 4 Band RGBA to 2 Band LA (Gray + Alpha) mode while keeping georeferenced data in GeoTiff

I created some GOES-16 images where the dark/night side of the visible image is transparent (alpha channel). I used satpy's DayNight Compositor to make the night side of the image transparent, while ...
1
vote
0answers
14 views

Convert transparent black to white with only GDAL

I have an RGBA foo.tif with NoData Value=0 on all 4 bands. Unfortunately values that are transparent black (0 0 0 0), when converting to jpg, become black instead of no data becoming white like I ...
2
votes
0answers
90 views

Split Raster Missing Data

I have a code that will read a .tif and split the image into a specific number of rows and columns (code 1). I modified it to be able to be able to easily set the wanted image size (by pixels) (code 2)...
0
votes
1answer
30 views

abind Error when converting a .tif raster data object to an sf object using st_as_sf() in R

When I try to convert a .tif raster data object to an sf object using st_as_sf() in R, I get the following error: Error in abind(x, along = length(dim(x)) + 1) : along must be between 0 and 2 Does ...
0
votes
0answers
23 views

Map Series export to TIFF in ArcGIS Pro

I've been using ArcPy and Data Driven Pages for a while and now I'm trying to do the same thing in ArcGIS Pro but there doesn't seems to be as many resources. I'm wondering if anyone has any working ...
1
vote
1answer
28 views

Understanding land cover RGB values in greyscale GeoTIFF

I apologise if I'm not using the right terms but I'm not a GIS expert. This page has some GeoTIFFs (at least, I'm pretty sure they're GeoTIFFs) which I'd like to analyse and I have downloaded the ...
2
votes
1answer
34 views

Export numpy array as TIFF with rasterio fail with the folder name :No such file or directory

I experienced unexpected behaviour of rasterio and I couldn't understand yet where is my mistake. I have opened rasterio TIFF, did some manipulations on it as numpy array and then export it as TIFF ...
1
vote
0answers
18 views

QGIS: Exporting/saving extents of WMS raster layer in a batch process

In QGIS is it possible to run: Export -> Save As as a batch command? I have WMS-raster layers from which I'd like to extract certain extents (based on quite a number of features from a vector layer)...
0
votes
0answers
11 views

How can I use gdal warp on a .sid to create an .tif of the same resolution?

I’m trying to convert a .sid to .tif in OSGeo and was left this script by a former co-worker. I’m not very savvy in scripting, so I’m unsure of my translation. First, I set the directory. The ...
0
votes
0answers
24 views

Conflicting sizes for dimension 'time' with rioxarray

I've been using rioxarray to convert netcdf files to geotiffs, and up till now, it's worked great. However, when I open a ERA5 reanalysis netcdf dataset, rioxarray appears to find that the data size ...
2
votes
0answers
60 views

SRTM HGT to GeoTIFF conversion using GDAL

I have (for example) SRTM-1 file n48e083.hgt with resolution 3601x3601. What is right way to convert it to GeoTIFF? gdal_translate -srcwin 0 0 3600 3600 -a_ullr 83 49 84 48 n48e083.hgt n48e083.tif or ...
1
vote
0answers
22 views

Erase area from GeoTIFF covered by area in another GeoTIFF

I have 2 GeoTIFFs, A and B and I want to produce GeoTIFF C: Both A and B have 4 bands (RGBA) and the same projection A covers large area and has lower resolution (bigger pixel size) than B B covers ...
2
votes
1answer
61 views

Reprojecting raster changes pixel scale (makes it darker)

I have an HH polarised SAR image as follows: This is how it looks in QGIS in the default EPSG:4326 projection. Now I would like to reproject this raster to ESRI:102020 (South Pole Lambert Azimuthal ...
0
votes
0answers
28 views

CSV into GeoTIFF (bin bash)

I have bunches of .csv.gz file and want to convert into GeoTIFF format. the csv.gz file contains information as below Line 1: Date/time line 2: latitude line 3: longitude line 4: col line 5: row line ...
1
vote
1answer
29 views

Converting .tif files to vector MBTiles by using gdal_polygonize

I am trying to use GDAL 2.2.2 and the gdal_polygonizecommand to convert a TIF into vector MBtiles from the link: https://github.com/geostarters/gdal_snipets I run the following command on the tif as ...
1
vote
1answer
42 views

Why mapping a GeoTIFF world map in QGIS at low zoom level (0~2) results in a strange behavior?

I have created a GeoTIFF world map, but I notice that it cannot be rendered correctly at zoom level which are low (e.g. zoom level 0, 1, 2). Is it a predicted behavior or how can I fix this? I also ...
0
votes
0answers
29 views

Open more than one GeoTiff file with Rasterio and PyCharm at once

I have just started to deal with Rasterio and programming. And have the following problem that I have 20 GeoTiff files of which I need the extent. But I am not able to open and read more than 1 ...
0
votes
0answers
12 views

QGIS 3.16 GeoTIFF Not Producing World File

I am using the function to export map to Image, I have the "Append georeference information (embedded or via world file)" ticked but I do not get a world file and when I drag the TIFF in to ...
0
votes
0answers
7 views

The Java API bindings: Band.GetActualBlockSize

The Java API bindings are missing Band.GetActualBlockSize: https://gdal.org/java/org/gdal/gdal/Band.html I have several questions: Is it possible to reproduce the code for https://gdal.org/api/...
1
vote
0answers
32 views

Extracting value of each pixel of a tiff file

I have a aggregated tif file, and I want to extract the value of each pixel in the tif file. Here is my code to read values of each pixel, but all the values I got were nan. I do not know why. import ...
2
votes
1answer
28 views

Gdal translate HDF5 to GeoTIFF library funtion

Im am trying to convert a radar file provided in HDF5 to a GeoTIFF using gdal.Translate() in my Python script. An example of the HDF5 file can be downloaded here I have already managed to get it ...
0
votes
0answers
24 views

Raster formats that support colormaps for floating-point data in GDAL?

I am writing a program to overlay a raster image over a map in a KDE Marble project. I am using a combination of QGIS and GDAL to convert non-standard NetCDF data to a raster file. I began using ...
1
vote
1answer
32 views

Using R, how do I rotate a GeoTiff file with multiple bands and save it?

My existing code (see below) only reads and rotates one band but I want all 360 of my bands to rotate. library(raster) your_raster <- raster("path/to/raster.tif") rotated_raster <- ...
2
votes
1answer
38 views

Exporting separately ground and the sea from QGIS as TIFF files

I am very bad at QGIS, but I really need to have TIFF of the area on the picture, to export it later to Unreal Engine. The problem is the sea. Unreal takes it as a part of the ground. It doesn't ...
0
votes
0answers
13 views

Get satellite image in GeoTiff format with a specific zoom [duplicate]

Hello I can't find a simple solution to the following problem. I need to extract at a particular zoom level (17) and resolution (1280x1280) satellite images in GeoTiff (.tif) format that cover my ...
2
votes
0answers
25 views

Longitude of GeoTIFF from grib2 not in negative for west lons using GDAL translate

I am trying to generate a GeoTIFF from a grib2 section of the GFS weather model. After downloading the area needed I select the band that I want to make the GeoTIFF with this command gdal_translate -...
1
vote
0answers
41 views

QGIS does not polygonize [closed]

I have a .tif which I want to have polygonized. I take the Raster/Conversion/Raster to Polygon. QGIS 3.12 starts the process but never ends (once I waited half an hour). I maybe don't see a mistake. ...
3
votes
0answers
24 views

Retaining Bounding Box after Fishnet Clip

I have a large image that contains around 7000 trees. I created a bounding box around each one of them and then saved it as a .xml file. I would now like to create different fishnet sizes and clip ...
2
votes
0answers
21 views

Visualizing GeoTIFF containing multiple GeoTIFF data sources (APPEND_SUBDATASET) in QGIS

I have a GeoTIFF that I have created in the following manner: gdal_translate first_grid supergrid.tif gdal_translate second_grid supergrid.tif -co APPEND_SUBDATASET=YES Dragging this into QGIS ...
-2
votes
1answer
56 views

Extracting the pixels value inside the circle drawn over the raster file using Python [closed]

I have a GeoTIFF file and a series of the center point. I want to create/draw the circle over the GeoTIFF using these center points and extract the pixels value inside those circles. I want to do it ...
1
vote
1answer
30 views

From several polygons of one layer to several layers/files

I'm new in QGIS and I have a question. I am sampling an onion crop from a geottif: I need to export each single rectangle/polygon into a single tiff file. Is there a plug-in for doing so?
5
votes
2answers
112 views

Converting NetCDF files to geo-referenced GeoTIFF

I have a NetCDF .nc file that gives me an initial error Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute from gdalinfo. After searching I found out this relates to NetCDF files having no inherent ...
0
votes
1answer
17 views

Mapbox GL JS add raster without tiling

With leaflet with reference to this sample: https://github.com/stuartmatthews/leaflet-geotiff I was able to host a GeoTIFF file on the server and access it without tiling. Can the same be achieved ...
0
votes
0answers
181 views

Downloading satellite images in GeoTIFF format

I need to extract at a particular zoom level (17) and resolution (1280x1280) satellite images in GeoTiff (.tif) format that cover my polygons and points in my GeoJson file. To obtain static images in ....

1
2 3 4 5
35