Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [geotiff-tiff]

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

2
votes
1answer
115 views

How can we extract values from a raster and put it in a shapefile?

I just started using QGIS for a research project and I am not at all familiar with the software nor the formats used. I have a shapefile representing the different departments of France, delimited by ...
2
votes
1answer
28 views

Palleted/Unique values rendering not displaying in QGIS

I have a multi-band raster in the form of a GeoTIFF. The raster contains 4 bands. Band 2 has 27 unique values ranging from 151 - 281. I would like to display each value discreetly using the 'Paletted/...
1
vote
0answers
26 views

Python rasterio for saving GeoTIFF files and read in ArcGIS or QGIS

After following the steps in the tutorial of the Planet website (https://developers.planet.com/tutorials/convert-planetscope-imagery-from-radiance-to-reflectance/), I want to save each individual band ...
0
votes
0answers
25 views

Python rasterio save GeoTIFF files

After following the steps in the tutorial of the Planet website (https://developers.planet.com/tutorials/convert-planetscope-imagery-from-radiance-to-reflectance/), I want to save each individual band ...
1
vote
1answer
74 views

List of lat-long, need values in a raster

Apologies in advance as I am not a GIS specialist by any means. I have a set of 1 million points and I'm trying to find their values in a geotiff raster. I've tried various versions of this answer ...
0
votes
1answer
25 views

GeoTIFF and shapefiles do not coincide [closed]

I am relatively new to QGIS and I am getting into it to do the analysis of my thesis. I am working with QGIS 2.18.15 I am working with crop data from Ramankutty et al. which comes in GeoTIFF format. ...
0
votes
0answers
26 views

Converting GeoTIFF file into vector file using QGIS? [closed]

I have a GeoTIFF file and what I want is to convert this raster file into a vector file. I've tried several times, but it didn't work. My aim is to get a file to create a terrain analysis
0
votes
0answers
15 views

From EE GeoTiff to MS Word PNG/JPG?

I would like to put some images from Earth Engine (EE) in my report. So far I screenshot it and paste PNG on MS Word. I see EE can export images to Google Drive. But its geotiff, I can't just paste ...
0
votes
0answers
7 views

When I try to get the layer using Geotiffreader, I get a black background image

GeoTiffReader geoTiffReader = new GeoTiffReader(filePath); StyleBuilder sb = new StyleBuilder(); GridReaderLayer layer = new GridReaderLayer(geoTiffReader, sb.createStyle(sb.createRasterSymbolizer()));...
0
votes
1answer
29 views

Correcting scale of heatmap data when plotting GeoTIFF file as map in R?

I'm trying to use R (and R studio) to examine a GeoTIFF file that I've gotten from NASA's Socioeconomic Data and Applications Center (SEDAC). I'm a complete beginner in GIS, so as a first step, I was ...
0
votes
0answers
25 views

How to create GeoTIFF from PNG raster and and pgw world file with GDAL

I've used GDAL tools for several other operations on GeoTIFFs. There is lots of information on how to splice geotiffs into pgw world files and images, but I havent found ANY documentation on how to ...
1
vote
0answers
24 views

Extracting values From several raster .tif files to a .csv file using python

I have multiple raster .tif files. I am using Python, and I want to extract cell's attribute values from all rasters based on the latitude and longitude similarity, and saved in a .csv file, the ...
0
votes
1answer
19 views

Writing a 3-band image with rasterio

I would like to save a 3-band raster to file using rasterio. The official docs have examples for saving a single band image in both the quickstart and in the advanced topics. What I would like to do ...
0
votes
0answers
27 views

Changing color of GeoTIFF using GDAL and Mapbox?

I have a geotiff that I am importing to a mapping software that I want in the color pink. It is currently a white image, and I would like a GDAL option to change the color. I am using Mapbox, which ...
1
vote
1answer
62 views

Save TIFF from WMS layer QGIS for bhuvan lulc

I am new to QGIS. I was trying to export .tiff from WMS layer. WMS URL is : https://bhuvan-ras2.nrsc.gov.in/cgi-bin/LULC250K.exe This WMS layer is from bhuvan for lulc data India. https://bhuvan-...
1
vote
1answer
18 views

Error using GDAL to Export Raster to GeoTIFF

I am correcting and cropping GeoTIFF DEM data using GDAL 2.4.0 to obtain the image raster. After doing my manipulations, I have the raster I want (checked by plotting with plt.imshow()), but while ...
1
vote
1answer
49 views

How to create georeferenced dataset from georeferenced satellite image? [on hold]

I downloaded a nighttime light composite satellite image (https://ngdc.noaa.gov/eog/dmsp/downloadV4composites.html#AVSLCFC) which uses a scale for light intensity from 0 (no light) to 63 (max light). ...
0
votes
0answers
18 views

GeoServer: serve series of GeoTIFF files in YYYY/MM/DD/ structure

I have a growing archive of satellite data in GeoTIFF format that is stored on disk in a YYYY/MM/DD/ directory format. Each day, the most recent data is added to this archive. I've spent the last few ...
1
vote
1answer
23 views

Transforming NetCDF file in longlat projection into TIF in EASE 2.0 using gdal_translate and gdalwarp

I am very new in this. My goal is to convert 1 subband from .nc files (which I have several thousand if it matters) stored in longlat projection into .tif files in EASE 2.0 projection. I do that in 2 ...
4
votes
1answer
61 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 ...
0
votes
1answer
27 views

Using gdal_translate for multiband raster to convert into .XYZ file? [duplicate]

I have raster containing 2 bands (NDVI and DEM). This raster was created in SNAP using "Add Elevation Band" option, "DEM Model:SRTM 1sec Grid" to the NDVI product I had generated earlier. I could not ...
1
vote
1answer
53 views

Getting Canada shapefile to overlay model on QGIS?

How can I get Canada to overlap with the rest of my map? I think this is a CRS problem but I really do not know how to solve it.
0
votes
1answer
31 views

Opening scripter in Whitebox GAT?

I am trying to open the scripter or scripting tool in Whitebox GAT so that I can edit Export GeoTIFF tool to make Whitebox export a TIFF file from dep/tas format, which was suggested by Whitebox ...
1
vote
2answers
19 views

Storing image with rasterio as gtiff modifies image histogram

I'm trying to store and image as as gtiff, but the resulting image is changed, and I can't explain why. I'm reading sentinel jp2 band images using rasterio, I rescale these images from [0-10.000] to [...
0
votes
1answer
16 views

How to keep color changes / corrections of all GeoTIFF files during merge with gdal or in QGIS?

I am trying to merge two GeoTIFF files in QGIS or w/ gdal, but when I merge them I lose the color changes / corrections I made to the second GeoTIFF. Is there any way to keep the color changes I made ...
0
votes
2answers
26 views

Commandline tool to change RGB value of GeoTIFF

I would like to change the rgb-value of raster-tiffs from 0,0,0 to 1,1,1. Is there a commandline-tool that can change the rgb-values of GeoTIFF files? At the moment I use irfanview to change the ...
3
votes
1answer
38 views

Creating animation from multi-band raster?

I have a GeoTiff raster with 1461 bands, each band representing 1 day for a total of 4 years. Basically, the geotiff is just a collection of 1461 images. What would be the best option to animate ...
0
votes
0answers
12 views

.tif to PCraster format conversion in QGIS 3.2

I am using QGIS 3.2 and trying to convert a resampled .tif file into PCRaster format which is used for a downstream model. Unfortunately when i try to export the resampled.tif file into PCRaster ...
0
votes
0answers
16 views

lat/long coordinates of the extreme points in GeoTIFF [duplicate]

I have population count data from http://sedac.ciesin.columbia.edu/data/set/gpw-v4-population-count-adjusted-to-2015-unwpp-country-totals-rev11/data-download gdalinfo <filename> outputs the ...
2
votes
3answers
32 views

Extracting coordinates of segments in raster from TIFF image?

I'm working with the attached tiff file and I am trying to extract the xy coordinates of the green lines. so far I saved the image as raster stack, and this specific image is from a layer of that ...
0
votes
0answers
12 views

XML to TIFF raster and zonal statistics in QGIS

I was sent several XML files of a flood model's peak extent that works fine in ArcGIS, I need to use zonal statistics, and I don't have that available in my workplace's ArcGIS subscription, so I need ...
1
vote
1answer
74 views

Using GDALwarp for reprojecting netCDF file?

I am trying to re-project a netCDF file using the gdalwarp command. However, the gdalwarp is giving me a black output. Below is my code: import gdal import osr import netCDF4 from osgeo.gdalconst ...
0
votes
0answers
20 views

Getting elevation value of point from TIFF Image in GeoTrellis

val path: String = "data/imgn19w065_13_geotiff.tif" val geoTiff: SinglebandGeoTiff = GeoTiffReader.readSingleband(path) val point : Point = Point.apply( -64.858043,18.332479); How I can read the ...
0
votes
0answers
18 views

Export whole Projekt to multiple geotiff

I want to export my whole Projekt (with the current activated Layers) to multiple geoTIFF's. Each TIFF images should be have a dimension of 1km x 1km. My project consists polygons out of a shapefile. ...
0
votes
1answer
45 views

Change CRS of large GeoTIFF and extract windows from large raster in Python

This is the first time I am working with GeoTIFF formats and I want to do this in Python. I am trying to use rasterio and pyproj for the following tasks. I have already made some first steps based on ...
0
votes
1answer
19 views

Calculate max of all cells of a raster with gdal_calc.py

I want to calculate max of all cells of a raster, i.e. the result should be a scalar. Regardless of what I call amax, max, numpy.max(A, axis=0) I always get a raster with the same WxH as the original ...
0
votes
1answer
36 views

Convert a .png file to a GeoTIFF while knowing the boundings

Disclaimer: I've already found this link Convert PNG to GeoTiff using GDAL - but it was of no help. Actually I've got a .png file of a hand-drawn map (I also got it in the .svg format in case this ...
0
votes
0answers
12 views

Google Earth Engine - Error: Affine mismatch

Error: Affine mismatch: found AffineTransform[[4.500000005E-6, 0.0, -66.73953600000003], [0.0, -4.500000005E-6, -66.37788]] in 15DEC04140340-P2AS_R3C2-054763377010_01_P002.TIF, previously saw ...
0
votes
0answers
30 views

Compression not applying when updating/exiting GeoTiff file in GDAL?

I have a GeoTiff file with dimensions 300 x 300 and 8760 bands (hourly for one full year). I am testing some code that opens the file, updates ONE band and exits - but I am finding that the file size ...
0
votes
1answer
47 views

Convert Sentinel GeoTIFF file to JPEG image

I am facing difficulty converting between Sentinel GeoTIFF file and JPEG file. I used below command i.e. gdal_translate -b 4 -b 3 -b 2 -of JPEG -scale inputimage.tif outputfile.jpeg The problem with ...
1
vote
1answer
46 views

Conversion of GeoTIFF to NetCDF file doesn't create a NetCDF file but my database thinks it does

I am using miniconda and the Open Data Cube project. I am trying to ingest some Landsat_5 data into a datacube, where the geotiff are converted to netCDF files. Using the datacube code I used the ...
0
votes
0answers
44 views

GDALWarp and Target Aligned Pixels Not Effective

I have two sets of TIFFs of different resolutions (100m and 1000m), different alignment, and varying data types with corresponding no data values. I need to downsample the 100m TIFFs to match the ...
0
votes
0answers
27 views

Fixing sharp edges between GeoTIFF tiles? [duplicate]

I've downloaded a couple SRTM DEMS from http://srtm.csi.cgiar.org and when I load some of them into QGIS, there is a noticeable edge between 2 of the tiles (see image). Why does it happen? These are ...
-1
votes
1answer
39 views

Cell Size Discrepancy When Exporting TIFFs Using QGIS?

I am using QGIS Madeira 3.4.3. I am downsampling 100m TIFFs to 1000m. I am using Export - Save As GeoTIFF specifying cellsize 1000m, and the appropriate No Data value. This works just fine with the ...
2
votes
0answers
55 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 ...
1
vote
1answer
40 views

gdal_translate for rotated image [closed]

Even after rotating a GeoTIFF file, the resulting file size do not change. however, the rotated file overlays on the original TIFF file. When I tried gdal_translate with projwin switch an error ...
0
votes
1answer
28 views

GeoTIFF / Geotools / Mollweide / customer projection not recognized

Although I got a hint from Ian, I still have a problem to read a GeoTIFF in Geotools. I ask this as a new question so that I can put all info. The GeoTIFF is from http://cidportal.jrc.ec.europa.eu/...
2
votes
1answer
25 views

Geotiff Mollweide and geotools

I am new to GIS and I want to read population data from a GeoTiff Grid using the java geotools library. The following throws a runtime error GridCoverage2D image = new GeoTiffReader(f); gives ...
0
votes
0answers
39 views

Creating a world file for Lambert azimuthal polar equal-area projection?

I have a TIFF image I'd like to load into ArcGis, but the TIFF isn't georeferenced. I'd like to create a World File for the TIFF but am not sure how to do this for the Lambert azimuthal polar equal-...
1
vote
0answers
35 views

Adjusting coordinates system for GeoTIFF

I have processed GeoTIFF image in UTM 43N Zone, EPSG:32643. Now, the problem is, the name of the zone is given as 'WGS_1984_UTM_zone_43N' and in ArcGIS database name is, 'WGS 1984 UTM zone 43N' due ...