Skip to main content

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)

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

QGIS raster georeferencing. Is it possible to get a table with a coordinate and a pixel corresponding to it on the ORIGINAL raster?

I have an image of some area (raster) and I need to, knowing coordinate, get pixel on that raster. But if I will use raster georeferencig, I'll get a distorted GeoTIFF. Can I get this data from ...
Ivan Beskorovayniy's user avatar
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 ...
Jack's user avatar
  • 35
-2 votes
1 answer
44 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 ...
proy's user avatar
  • 95
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 ...
Mestrexama's user avatar
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 ...
Leo's user avatar
  • 3
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 > ...
Schorsch's user avatar
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 ...
Ben M's user avatar
  • 1
0 votes
1 answer
130 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 ...
Dave Matthews's user avatar
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 ...
Bernardo Chiaravalli's user avatar
0 votes
0 answers
119 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 ...
Alex's user avatar
  • 111
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&...
Stud17's user avatar
  • 23
0 votes
0 answers
47 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 ...
Raphael's user avatar
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 ...
Campbell Smith's user avatar
0 votes
2 answers
78 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 ...
Dwiki Muharrama's user avatar
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 ...
Nikko's user avatar
  • 611
1 vote
1 answer
63 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 ...
Hartje's user avatar
  • 153
0 votes
1 answer
243 views

Raster to Vector GDAL raster conversion error QGIS 3.28

I'm trying to convert a raster layer with values 1 to 0 in vector layer using GDAL raster conversion - Polygonize (Raster to Vector) in QGIS 3.28. After processing i got an error at the Log window: ...
Iven Pepa's user avatar
  • 341
0 votes
0 answers
34 views

Raster calculator in QGIS returns 8.367e-11 instead of zero

I've a raster layer with nine classes, values 1 to 0.05. In the processing toolbox-raster analysis-raster calculator of QGIS, version 3.28.9, I've used the formula: 0.00872-(raster layer*0.00872) Now ...
Tom's user avatar
  • 1
0 votes
0 answers
19 views

Vector convert from raster hangs just before fully rendering in QGIS

I've converted a raster to a vector layer (final size 200 megabytes), but when I load it in QGIS, it always hangs at about 95% and then takes sometimes 15 minutes to fully load. To be fair it does ...
qgisguy's user avatar
0 votes
1 answer
49 views

How do I map points from a CSV file against bands in a raster?

I have a series of biome maps in QGIS 3.32 as multiband (RGB) raster layers. In a separate layer I have a series of points imported from a CSV file. How do I go about mapping the points (or rather a ...
Robert's user avatar
  • 3
1 vote
1 answer
1k views

Converting float32 format raster in integer type raster

To load my landscape map on Graphab, my raster needs to be in the format "integer type". However, it is in float32 format and I can't manage to convert it. I am using QGIS. Can someone help ...
Justine J's user avatar
3 votes
3 answers
392 views

Converting 5m DTM Raster to 0.5 m resolution in QGIS

I have 2 rasters (0.5m and 5m resolution respectively). There are some areas which the 0.5m raster doesn't cover. For these areas, I want to use the 5m raster. How do I merge these rasters into one ...
ChetanT's user avatar
  • 31
0 votes
1 answer
176 views

How to create grid/fishnet based on the cell resolution of a raster

I am interested in using water quality stations that are distributed throughout the Chesapeake Bay to attempt to explain waterbird distribution. For the sake of this question, we are only focused on ...
Devin Mendez's user avatar
1 vote
1 answer
999 views

Converting Esri Grid format (adf files) to GeoTIFF using Python and ArcPy

In ArcGIS Pro, I am attempting to convert and export Esri Grid Format (ADF) files that are rasters to TIFF files. I want to be able to do this in Python using ArcPy. However, when I attempt to use the ...
Connor Garrett's user avatar
0 votes
0 answers
43 views

Have to extract data in CSV from TIFF file a/c to my shapefile, have the data of entire coordinates but I only want the data as per my shapeile

I have the meteorological data of entire globe. I have uploaded the .tiff file into the raster layer in QGIS. I have also uploaded a layer of my desired country in .shp file. Now, I want to have the ...
Ravi's user avatar
  • 1
1 vote
1 answer
165 views

Rasterize (vector to raster) Error 4 - problem converting CVS point grid to raster [duplicate]

What I want to do: I have data with point-coordinates (integer) and composite probability (decimal). I want to convert this to raster data to be able to compare it to other layers. The cvs file is ...
kar-g's user avatar
  • 15
2 votes
1 answer
147 views

Error in RGB to HSV conversion in R: "cannot use this formula, probably because it is not vectorized"

I'm trying to convert a bunch of small rgb rasters (3 channels) into hsv rasters using the raster package in R, similar to the suggestion here: QGIS - RGB multiband to HSB(HSV?) multiband It has ...
Geos's user avatar
  • 21
0 votes
0 answers
84 views

"Heightmap" of the PolygonZ features in QGIS

Let's say I have 3D model of city made from multiPolygonZ features and I need to create black and white image, where each pixel brightness represents height of the building at that coordinate. I need ...
Matyas M. Svejdik's user avatar
0 votes
0 answers
43 views

Exporting as JPEG with the same boundary

I want to export without adding those white zones. Original images, which shapefile created from, width/height value is 7062/9307, I use these numbers as exported image size. In my mind expected ...
Kerim Mirzeyev's user avatar
1 vote
2 answers
272 views

How to use Raster Translate in QGIS to convert to PNG with color?

I am trying to use the QGIS Raster Translate to convert a geotiff of my slope to PNG. I was able to create a PNG image with transparency. However the resulting image was white/black and did not adopt ...
Nikko's user avatar
  • 611
1 vote
0 answers
985 views

Export different resolution of raster from QGIS

I'm currently sitting on a project where I have a DEM of an area that has been scanned. it currently has around 3-ish pixel per meter on export but I need to export it as 1 pixel per meter and also ...
TECHGUNK's user avatar
1 vote
2 answers
703 views

Raster Conversion Translate to 16 bit Tiff with custom min/max values

I'm new to QGIS. I have some bathymetric data of Australia I'm trying to output as a high bit depth Tiff, however it's not coming out the way I want. In QGIS I have set the singleband grey to a custom ...
Tom V's user avatar
  • 11
2 votes
2 answers
2k views

Terrain creation error using a GeoTIFF file with HEC-RAS 6.2 - "object reference not set to instance of object"

I am attempting to import a TIFF file created in QGIS, into HEC-RAS. I have a projection file as the SRS definition for HEC-RAS, which is derived from a shapefile that lines up with the spatial extent ...
Matt Canada's user avatar
2 votes
1 answer
196 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 ...
A__'s user avatar
  • 131
0 votes
0 answers
256 views

Why is my raster range changing when converting from one format to another?

I am trying to export some rasters from .bil to GRID format and my workflow is as follows. I open up the raster I want to convert and take a screenshot of the raster information under the source tab. ...
Noah P's user avatar
  • 59
0 votes
1 answer
1k views

Converting raster GeoTIFF or NetCDF to image in Google Earth Engine

I try to convert raster tif or netcdf file to ee.Image Google Earth Engine object in Python. The netcdf raster testing data (5-bands) is in this link. Here I converted the first band from raster file ...
Tuyen's user avatar
  • 211
2 votes
1 answer
453 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 ...
brisamh's user avatar
  • 21
0 votes
0 answers
298 views

Converting 64 bit raster to 16 bit

I have drone captured aerial image that I'd like to add as a layer to a project on GIS Cloud. The file is currently 64 bit which is not supported on GIS Cloud. Using QGIS I ran Raster-Conversion-...
JoshCTM's user avatar
3 votes
0 answers
327 views

MODIS MCD18A2 (PAR) reproject via rasterio vs. via HDF-EOS

I downloaded MODIS L3 PAR data (https://lpdaac.usgs.gov/documents/750/MCD18_User_Guide_V61.pdf, https://e4ftl01.cr.usgs.gov//DP128/MOTA/MCD18A2.061/2014.07.04/MCD18A2.A2014185.h18v04.061.2021258072101....
Timespirelegend's user avatar
1 vote
1 answer
173 views

Area based Heatmap (QGIS)

I am new to QGIS. I am trying to create a heat map based on area not points. What I want to acheive is similar to this question. I want to create a binary raster (0 for no point, 1 for point). Then, ...
Myaccount's user avatar
-1 votes
1 answer
247 views

Merge hundreds of rasters

I am willing to merge hundreds of rasters (around 500) but I cannot find a solution. I am running on qgis 2.6.1 and I have tried to use gdalbuildvrt. It seems to work for combining 10 rasters for ...
twister's user avatar
  • 11
1 vote
0 answers
25 views

GDAL QGIS Polygonize function does not work properly [duplicate]

I have a single band raster, range in values from -0,19 to 0,34. I am trying to convert it to a multipolygon shapefile, but I am only coming up with a single polygon, with only 0 or 1 values in its ...
Pedro Gomes's user avatar
0 votes
1 answer
3k views

Matching a raster projection to simple features spatial layer using R

I have two dataframes in R. One, df_points, has spatial information saved as points. The other, df_raster, is a raster file. I want to extract information from the raster to the points using: rasValue ...
tchoup's user avatar
  • 73
0 votes
0 answers
106 views

Create the loop for multiple raster convert to vector polygon using the arcpy scripting tool

This is my code which works only with the one raster image. But I need to create the tool that converts the multiple raster to vector in loop with arcpy. import arcpy from arcpy.sa import * arcpy.env....
harini ravi's user avatar
0 votes
0 answers
436 views

Error when attempting to rasterize vector layer in QGIS "ERROR CODE 127"

I am trying to rasterize a vector layer of data, a pretty simple function in QGIS on my MacBook and it is popping up with an error message which I included in the screenshot below. I have had this ...
Sadie Horner's user avatar
2 votes
1 answer
1k views

How to get float values instead of integers when polygonizing rasters using QGIS?

I'm using QGIS 3.16.13-Hannover to convert a TIF file (solar radiation grid cells) into a vector like a Geojson or Shapefile. I was confused that everytime I ran the polygonize workflow in QGIS, I was ...
Kyle Pennell's user avatar
1 vote
0 answers
303 views

Losing data when converting from vector to raster of 1 sqkm resolution?

I am dealing with 1000 species data over the region of my interest. when I convert my this 1000 species polygon into raster by 1km by 1km resolution in QGIS. All data is in one polygon. The resultant ...
user_3264's user avatar
  • 358
0 votes
0 answers
50 views

Vector to raster with name of species

I am dealing with polygons of species almost 500. I convert them into raster of 1km by 1km resolution to know the presence of species in each cell. When I convert them into raster they give me total ...
Daniel's user avatar
  • 306
1 vote
0 answers
149 views

TypeError: cannot unpack non-iterable NoneType object when converting raster file to csv file

I want to convert a raster file to csv file. When I use raster2xyz, my code raises TypeError: cannot unpack non-iterable NoneType object error. from raster2xyz.raster2xyz import Raster2xyz from ...
user195057's user avatar
0 votes
0 answers
178 views

Getting the pixel value from the user defined Image (which converted form a FeatureCollection)

There is a simple FeatureCollection, and the reduceToImage() function can convert this FC to a google-earth-engine image. How can I get the pixel value from this image. This is the JS code: https://...
dong fan's user avatar

1
2 3 4 5
7