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
3
votes
1answer
36 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?
0
votes
1answer
64 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 ...
0
votes
1answer
57 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 ...
1
vote
1answer
89 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 ...
0
votes
0answers
30 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 ...
0
votes
0answers
11 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 ...
0
votes
1answer
42 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 ...
2
votes
1answer
306 views

Error in batch process converting raster from .img to .tif in QGIS 3.4.8

I'm a long time GIS user but new to QGIS. I can convert single raster files in .img format to .tif files in QGIS 3.4.8 without any issues. However, I cannot batch process the same files. The Python ...
0
votes
1answer
209 views

Converting a Raster to Polygon and Dissolving Issues using ArcMap 10.5

I have a large forest habitat raster dataset (several watersheds in state of Oregon) that I need to convert into a shapefile. The raster has 70 different categories of habitat types. Steps: I've ...
1
vote
0answers
23 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 ...
4
votes
1answer
113 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 ...
3
votes
1answer
538 views

List of vector to one raster in PostGIS

I need to rasterize a part of OSM map by coordinates. I found rather good algorithm, but can’t finish it. I have problems in STEP 3. I described all algorithm here – may be someone have the same task....
5
votes
1answer
1k views

How to fix the reprojection from EASE-2 grid product SMAP to geographic coordinates?

I have been working with SMAP satellite data, especially for moisture and soil properties. I follow the idea of use GDAL solve everything, and make something similar to this published in Link to ...
0
votes
1answer
46 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 ...
0
votes
1answer
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?
3
votes
2answers
2k views

QGIS 3.4 - Rasterize creates layers with 1.79769e+ 308 min/max values

I have tried searching on here for my issues, read many threads, but to no avail. Essentially, I am trying to convert a line feature to a raster so that I can run proximity on it - because I want to ...
0
votes
1answer
23 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 ...
2
votes
1answer
238 views

(QGIS) Shapefile with attribute table: Convert it to raster burning values of each polygon to the raster. "Heatmap"

I am working on QGis with a shapefile with an attribute table, I have created this shapefile through "Vector->Analysis tools->Count Points in Polygon", so this new shapefile got the count in the ...
1
vote
0answers
13 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 ...
1
vote
1answer
48 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 ...
1
vote
1answer
143 views

Modify a Python script to one that uses RasterDomain_3d fuctionality - and writes resulting shapefiles it to one

As I am not very experienced with Python I need your help. I managed to modify a Script (that has been posted here Get boundary of raster image as polygon in ArcGIS Desktop? by https://gis....
0
votes
1answer
23 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 ...
2
votes
0answers
54 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 ...
2
votes
0answers
40 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 ...
0
votes
1answer
28 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 ...
0
votes
1answer
79 views

Converting raster to polygons in ModelBuilder using FOR iterator gives ERROR 000622

I am having trouble with a section of a larger ModelBuilder routine. I have extracted all but the offending tools to see if I could get those to work. Basically, it takes a raster DEM and converts it ...
0
votes
0answers
14 views

Creating new raster layer based on operations in another layer in ArcMap

I am using ArcMap 10.7. I am to do a multi criteria analysis on a tract of land to determine suitable areas for housing development. One of the criteria is "amount of hectare of green land within ...
0
votes
1answer
47 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)...
0
votes
1answer
489 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 ...
0
votes
0answers
34 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 ...
2
votes
1answer
1k views

Add layer to RasterBrick R

I have a RasterBrick and I am trying to add new layers to it, (with addLayer) but every time I try I receive the following message: Error in sapply(x, fromDisk) & sapply(x, inMemory) : ...
0
votes
1answer
178 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 ...
3
votes
0answers
2k views

Converting raster file to vector in QGIS takes long time [closed]

I am a new user of QGIS, and I am trying to convert a .tif file in a vector. To do that I have used the "Raster conversion" option, but it is taking a long time. I am waiting 20 minutes for ...
1
vote
0answers
2k views

Converting raster to line vector layer

I would like to convert all values having the value 1 in a binary raster to a line vector layer. The following image shows the binary raster (1=white and 0=black): The optimal output would look like ...
0
votes
0answers
34 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 ...
2
votes
1answer
156 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 ...
0
votes
1answer
48 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?
3
votes
1answer
45 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 ...
0
votes
0answers
24 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 ...
1
vote
1answer
307 views

How to export a single band raster to an ascii XYZ file in QGIS 3.14?

In QGIS 3.14 , how can I export a raster (GeoTIFF) file as a XYZ formatted textfile, like; Lon Lat z 123.456 34.567 23.45 123.447 34.588 20.22 ... ... ... Seems I have two ...
0
votes
0answers
60 views

Using aggregate function in r with function from package landscape metrics

I am trying to combine the information from two raster data sets: The first data set contains information on the numer of fotos uploaded on flickr in a given raster cell (ot_fl1k). The second dataset ...
0
votes
1answer
196 views

Google Earth Engine: Converting raster to vector in the same resolution as the original image

I am using Google Earth Engine to reduce a raster region to polygon vectors. What I want to achieve is: Obtain a set of polygons each of which matches the grid of measurement in the raster dataset. ...
3
votes
1answer
107 views

Identifying and quantifying gullies and hags from aerial imagery in QGIS

We are involved in an extensive peatland restoration project in the Shetland Islands. We provide high resolution and accurate digital surface models and orthomosaics for initial analysis and on-going ...
1
vote
1answer
406 views

How to reproject Raster/Vector in Global Mapper with custom geographic parameters?

I am using Global Mapper 21 and i want to reproject raster/vector data with custom geographic parameters. I can do it with ArcGIS (create custom geographic transformation). I have 7 parameters that ...
3
votes
1answer
889 views

Python: Convert DEM to 3D array organized as [lat, long, elevation]

I'm trying to convert a .tiff DEM to a numpy array using python. Ideally the array will store latitude, longitude (or some coordinate alternative), elevation). I'm using Gdal but currently it only ...
0
votes
0answers
47 views

How can I join values of Point features to raster dataset in ArcGIS?

I have to join point values to rasters. Every points are located at the geometrical centre of the raster cells. Every single cells have to include the point values that are in their centre. ...
0
votes
0answers
38 views

In ArcGIS, exporting a GRIB file to a different format changes the cell values of the original raster

I downloaded some climate variables from Copernicus as GRIB format. ArcGIS 10.7.1 allows me to directly add them to my table of contents and it shows me, as usual, some maximum and minimum values. The ...
5
votes
3answers
3k views

How to display Flow Direction arrows + Burn Stream Netwok in QGIS?

I have used the automated r.watershed tool in QGIS 2.18 (GRASS plugin) to conduct a watershed analysis (basin boundaries, flow direction, flow accumulation etc). I'm stuck on the following operations:...
4
votes
2answers
2k views

Converting raster pixels to polygons with GDAL python

I want to convert raster pixels to vector polygons as below image that is output of "Processing Toolbox--> Vector Creation--> Raster pixels to polygons" in QGIS 3.8: I tried to do this vectorize with ...
3
votes
2answers
528 views

GeoServer not rendering GeoTIFFs after JPEG compression [duplicate]

I previously asked about some problems I was having converting JP2/MrSid data to GeoTIFF for use in GeoServer. It was suggested that I needed to add overview data to the 4 GB-sized GeoTIFF -- and that ...

1
2 3 4 5 6