Questions tagged [raster-conversion]
Raster conversion between raster formats. Do NOT use for raster to vector conversion (and vice versa) - for that use vectorizing (and rasterizing)
324
questions
2
votes
2
answers
104
views
Extracting Flood Extent from raster file which has only 1 band
I am trying to extract the various flood depth extents from this Flood Depth Raster however I am struggling, and I am not sure if it is to do with all the values being under 1 Band. Would anyone know ...
-2
votes
1
answer
40
views
How to convert .grd file extension to .tif in MAC OS [closed]
I am trying to convert .grd file from here (on the left sided panle, Gridded Data Real Time > Daily Maximum Temp (1 * 1) Binary). While there is an existing library called IMDLib to read and ...
0
votes
0
answers
31
views
Extract a vector from a raster with a single boundary in QGIS
I have a "problem", I need transform a raster in a vector and it works but some pixels like the one in the print it is separated from the boundary, and for my use (a specific use of ...
0
votes
1
answer
61
views
Raster to vector bunch of errors
I'm having a problem where I can't convert my raster file to vector using the raster menu, I'm kind of new to the area and some errors appear that I have no idea how to fix. I know I can do something ...
0
votes
1
answer
62
views
QGIS Converting simple PNG raster file yields "warning 1: model file not specified"
I have GQIS 3.28.14 Firenze on a Mac (12.7.1.Monterey). I want to convert a simple PNG file (30 KB) with county boundaries into a vector file through the QGIS commands: Raster > Conversion > ...
0
votes
1
answer
36
views
Issue with reprojected raster data
I have a raster dataset that is projected with the "NAD_1983_Albers" projected coordinate system and a shapefile projected with "WGS 1984 Web Mercator (auxiliary sphere)."
I am ...
0
votes
1
answer
129
views
How can TAB files be created for TIFF and JPEG raster images using QGIS?
Although feature datasets can be exported from QGIS in TAB format, it doesn't seem to be possible to export a raster image, such as a JPEG or a TIFF format raster image from QGIS. Is there a plugin ...
1
vote
0
answers
40
views
Take colours from a raster image into shapefile
I have georeferenced an image in my project, it's a thematic map in PNG, then I have transformed it in shapefile (Poligonyze). I'm trying to take back the original thematism in the shp. Manually with ...
0
votes
0
answers
116
views
Quickest way to merge or tile many thousands of rasters with empty space between them
I have many thousands of images (actually millions, but one step at a time) that are jpgs with associated world files. They were taken with a downward facing camera as a vehicle traversed terrain on a ...
1
vote
1
answer
111
views
Converting .TIF Image to PNG via GDAL
I have used this code line to convert my .TIF image to PNG :
C:\Program Files\QGIS 3.26.0>gdal_translate -ot UInt16 -b 1 -b 2 -b 3
-r cubic -of PNG "C:\Users\Cemre\Downloads\0309_0_aug_1.tif&...
0
votes
0
answers
46
views
How to assign a value to a set of 25 identical pixels in a raster layer?
I am using ArcGIS Pro 3.1
I would like to create a new raster layer from an existing raster composed of 4 possible discrete values (MIN=0, MAX=4, VAL=0,1,2,3,4). This existing raster illustrate ...
0
votes
0
answers
24
views
Can QGIS save a raster as best-fit off axis rectangle
I often have rasters from real world data collected along straight-ish routes that can largely be in any heading, eg 45 degrees, 160 degrees etc.
The standard raster saving operation will pad this out ...
0
votes
2
answers
77
views
Converting multiband raster to polygon in ArcMap
I'm currently using ArcMap 10.8
I want to convert a Multiband Raster with 3 band with each band represent the RGB value, so I can calculate the area of each value (classification) in a smaller ...
4
votes
1
answer
1k
views
How to write PNG file from a raster using rasterio?
I have an image, which has 3 bands (RGB). I stack the image using numpy and try to write it as PNG. But I'm confused with how to work with the resulting image indexes.
import rasterio
import numpy as ...
1
vote
1
answer
62
views
QGIS Raster resampling without label changes
I am working on raster data that which is in a 5x5 meter resolution. I need to resample this to a 25x25 meter resolution. I have used resample.stats which works, but changes the label numbers into one ...