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
12 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. ...
user avatar
  • 33
0 votes
1 answer
57 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 ...
user avatar
  • 161
2 votes
1 answer
42 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 ...
user avatar
  • 21
0 votes
0 answers
28 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-...
user avatar
2 votes
0 answers
37 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....
user avatar
1 vote
1 answer
52 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, ...
user avatar
-1 votes
1 answer
63 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 ...
user avatar
  • 11
0 votes
0 answers
11 views

Output .map layer stretches when using Convert to PCRaster Format in QGIS

My first task after installing the PCRaster plugin into QGIS 3.18.3 (also tried in 3.16) was to convert a DEM using the Convert to PCRaster Format tool. The image attached shows how the output layer ...
user avatar
0 votes
0 answers
19 views

Loading multiple multi-dimensional NetCDF files into QGIS

I have many multi-dimensional (24 layers) NetCDF files that I need to load into QGIS, then export the individual files out. The `add layer' feature asks for 'which layers to load' for each file, which ...
user avatar
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 ...
user avatar
0 votes
0 answers
38 views

Matching number of rows and column of two different cell size data for doing LULC changes in Terrset

I have two raster datasets: NRSC LULC for ORISSA and ESRI for ORISSA They both have different cell sizes for which I used resample tool to make them but when I run those files on Terrset software in ...
user avatar
0 votes
1 answer
346 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 ...
user avatar
  • 103
0 votes
0 answers
30 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....
user avatar
0 votes
0 answers
111 views

gdalwarp options for speedy processing

In QGIS 3.16, I am clipping a large raster (48000P x 44000 L) by a vector, and trying to use the options to crank it up to "all systems go" i.e. fastest processing possible for this dataset. ...
user avatar
  • 869
0 votes
0 answers
24 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 ...
user avatar
2 votes
1 answer
94 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 ...
user avatar
1 vote
0 answers
43 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 avatar
  • 318
0 votes
0 answers
32 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 ...
user avatar
  • 196
1 vote
0 answers
21 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 ...
user avatar
0 votes
0 answers
61 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://...
user avatar
1 vote
1 answer
175 views

Converting a TIFF file meant for a GIS program for use as a heightmap formatted for 3D modelling software [duplicate]

I've downloaded a TIFF taken by the Chang'e 2 orbiter. It's listed as a DEM file, and it came with 2 other files I didn't bother with because they are for GIS software - a .prj and a .tfw. When I ...
user avatar
0 votes
0 answers
63 views

Converting float raster to integer failing in ArcGIS Pro

I'm trying to convert a 32 bit floating raster into an integer type using the 'int' spatial analyst tool within ArcGIS Pro (2.8.3). I have used the raster calculator to remove the decimals (in my case,...
user avatar
2 votes
0 answers
26 views

How to get equal size cells when using rasterize in QGIS on slanted points

I'm trying to get nice, centered cells on every point. I'm using the tool rasterize in QGIS. I have gotten the method to work with uniform point data, however, I am having more trouble with slanted ...
user avatar
3 votes
1 answer
43 views

Generating paths from proximity map in QGIS

I'm trying to generate paths from proximity map in QGIS, is there a way to convert the light areas into vector lines?
user avatar
0 votes
1 answer
2k views

Convert sf data frame to raster in R

I am trying to export landscapemetrics output which is a sf dataframe as a raster, the first column of the df is the grid cell number, the second is the value and the third column has the polygon ...
user avatar
0 votes
0 answers
38 views

When saving an ASCII grid as a GeoTIFF in QGIS, the resulting raster has slightly different cell values than the input file

My input raster is a Arc ASCII grid that I drag into QGIS. It has a cell size of 1. If I try to convert that to a GeoTIFF by going Export>Save as> GeoTIFF, and using the same extent and cell ...
user avatar
  • 207
0 votes
0 answers
43 views

Extracting geo data from .adf file in QGIS

I am new to GIS and using QGIS with LandScan 2019 population dataset (https://landscan.ornl.gov/landscan-datasets) to extract population data for a specific country. After I extract it, I get the ...
user avatar
0 votes
1 answer
58 views

Creating Raster Dataset from Point Values using ArcMap

I am using ArcMap. I'm trying to re-create a map similar to the attached image showing rain gauge locations with a raster dataset that estimates the rain in the surrounding areas based off the ...
user avatar
  • 5
0 votes
1 answer
264 views

Point file to Raster conversion using "geocube"

Problem 1: Whenever I generate raster from a point using “geocube” I am noticing a shift in raster i.e., pixel center is not in line with the input point. Buffer snippet used is as follows Note: If ...
user avatar
  • 1
1 vote
0 answers
77 views

Keep all individual raster pixel after applying the Raster to Polygon tool

I have a raster with a float data type, which I want to convert to polygon maintaining each pixel. I mean that each pixel will be a single part polygon on the output polygon layer. However, when I ...
user avatar
  • 301
4 votes
1 answer
271 views

How to polygonize raster with range of values?

I have a raster with range 0 - 1. I want to polygonize them in QGIS according to their value to be later classified from "Very Low" to "Very High". raster_value ...
user avatar
  • 430
1 vote
1 answer
247 views

Merging several ASCII (.asc) files together and then converting it to a GeoTIFF (.tif)

In QGIS I'm trying to merge several ASCII (.asc) ESRI files in REGCAN95 (EPSG:4083) projection together to make one big file, and then convert it to GeoTIFF (.tif) in WGS84 (EPSG:4326) projection for ...
user avatar
  • 21
0 votes
1 answer
40 views

Convert Image Band Values from Array into Number

I am trying to convert the pixel values that appeared to be an array (see the snapshot below) into numeric. In its current state, every time I tried implementing reduction, I got an error: Input to ...
user avatar
1 vote
0 answers
36 views

While clipping a Raster generated from SCP plugin (classification) all the colors are vanished in the end output and the raster generated is in B/W

I have done all the LULC classification using SCP plugin. after completing my classification, I wanted to clip the raster using a Shape File. But when I do it, the colors are vanished in the output ...
user avatar
  • 33
1 vote
1 answer
107 views

Loading pre-labeled *.adf raster coverage into QGIS

I am attempting to load this dataset into QGIS. Following Loading *.adf files into QGIS, I can load the data by opening the hdr.adf file in the Data Source Manager. However, it imports without any ...
user avatar
  • 199
0 votes
1 answer
220 views

QGIS set raster No-Data value

I have a raster layer that resulted from a series of calculations with raster calculator (simple subtraction of two raster layers) gdal_translate -ot Int16 -of GTiff ... (convert to Int16, as the ...
user avatar
  • 1,209
2 votes
0 answers
71 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 ...
user avatar
  • 27.5k
2 votes
0 answers
68 views

Converting 3-band raster of a topo map into Unique Values with Colormap or by Reclassifying using ArcMap

I'm using a 1998 USGS topo map for a geologic map base in ArcMap 10.5.1. Right now, the topo raster is in 3-bands with an unsigned 8-bit pixel type. Strictly for cartographic reasons, I need to strip ...
user avatar
0 votes
1 answer
25 views

Render the point shapefile and raster layer together as single image

I have a point layer as one shapefile and MrSid file as raster layer. How to overlap these two layers and clip the merged layer and render it as an output image file?
user avatar
0 votes
1 answer
55 views

Converting Raster Values from Long Integer and Double Values to Short Integer

In order to make my categorical raster data compatible with another model, I need to convert the values from Long Integer and Double to Short Integer. Is there a way to export or convert the files ...
user avatar
  • 83
0 votes
1 answer
1k views

Converting File Geodatabase Raster to TIFF [closed]

I am trying to export a raster file, saved as File Geodatabase Raster (FGDBR), as a .tif The usual tools have not worked for me: data>export feature (resulting error: failed to create raster data ...
user avatar
0 votes
0 answers
50 views

Export ArcGrid Raster to Esri file geodatabase on MacOS

I have downloaded this dataset, what I believe is an ArcGrid Raster, from this site. However, I ideally would like the data to be in a file geodatabase format so that I can access it using GeoPandas ...
user avatar
  • 121
0 votes
1 answer
431 views

How to convert grid to vector in SAGA?

I need to convert raster to vector, I have data from a field in two layers. In the first i have DSM (digital surface model) and DTM (digital terain model) in the second layer. Based on difference in ...
user avatar
0 votes
0 answers
66 views

Creating shapefile of a raster image in QGIS 3.6

I use QGIS 3.6 on Windows and I have been trying to convert raster images into shapefiles. I managed to do that for Digital Terrain Models only, using the conversion --> vectorize tool in the qgis ...
user avatar
0 votes
1 answer
86 views

QGIS: multiple mosaics bands to 1 Visual RGB

I have UAV raster converted with Pix4D mapper in transparents mosaics blue, green, red, nir, pir. Which tool can I use to translate into a visual RGB image?
user avatar
  • 1
1 vote
1 answer
177 views

Burning zeros instead of nodata in GDAL rasterize

When rasterizing a vector layer I would like to achieve an output that contains 1 for areas covered by the shape and 0 for areas not covered. So far GDAL always converts areas that are not covered to ...
user avatar
  • 841
3 votes
2 answers
72 views

Calculate focal statistics from a 10m raster to populate a 1km raster, using the 1km raster to define the window?

I have a binary raster (1-0), cell size = 10m. I would like to generate a 1km raster, where cell values equal the mean value of all cells within a 3 km radius. I know I can use focal statistics to ...
user avatar
2 votes
1 answer
460 views

Converting raster to integer values and exporting as 16 bit using QGIS

I am trying to export a DEM raster as a 16 bit image using the Raster>Conversion>Translate drop down menus in QGIS. I have seen somewhere I need to save it with a -ot tag to turn it into a 16 ...
user avatar
  • 207
0 votes
0 answers
25 views

Clipping vector polygonised from raster

I have vector created by conversion of a raster to vector operation. I want to clip this vector file. While I am trying to do that, I am getting the below mentioned error: Feature (355) has invalid ...
user avatar
0 votes
1 answer
72 views

VIIRS Snow Cover Data Product in GEE

I'd like to incorporate the VIIRS Snow Cover Data Product (global version VNP10C1) into my GEE code because of it's increased 375m-resolution compared to the MODIS Snow Cover Product (500-m resolution)...
user avatar

1
2 3 4 5 6