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)

73 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
732 views

Error running r.thin in QGIS

I get the following error when running r.thin: Traceback (most recent call last): File "C:/PROGRA~4/QGIS3/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 395, in ...
3
votes
0answers
115 views

Converting Surface Model to Elevation Model?

Is there a way to convert a digital surface model (DSM) to a digital elevation model (DEM) in QGIS? Surface models contain lots of noise (e.g. trees, buildings) when I only want to show the ground. ...
3
votes
0answers
1k views

QGIS RGB image to HSL (Hue Saturation Luminance)

is it possible using QGIS (2.10) on windows to convert an RGB image file to HSL (Hue Saturation Luminance) format. I've seen various formulas for this written in Java however they only seem to be for ...
3
votes
1answer
537 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....
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 ...
2
votes
0answers
281 views

Creating polygons from binary image using QGIS

Here I got a binary image of buildings (black and white image) and I need to convert them to building polygons: The expected outcome will be a vector file with building polygons based on the image ...
2
votes
0answers
44 views

Converting raster to polygon: vertical lines

I'm converting a reclassified raster (with a resolution of 25.18m) into a polygon. The reclassified raster has values of only 0s and 1s. However, the conversion results in a polygon with vertical ...
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 ...
2
votes
0answers
445 views

Reducing filesize for TIFF rasters

I'm using TINinterpolation in QGIS/pyQGIS to interpolate rasters from point-based model results. Subsequent post-processing to produce a series of rasters containing index values at the same ...
2
votes
0answers
27 views

Extracting Sub-National admin boundaries or regions from GRUMPv1 or GPW v4

GRUMP and Gridded Population of the World (GPW), v4 provides population and demographic values for sub-national levels. However, I am unable to extract the polygons or boundaries from their datasets. ...
2
votes
0answers
159 views

QGIS 3.44 heatmap to contour file

I am trying to convert a point file, currently displayed into a contour file. The methods that I have tried, all expect a raster file as an input, but my source file is a vector file points, i.e. I ...
2
votes
0answers
23 views

Multi/hyper-spectral file format that stores band information and meta-data

I usually use ERDAS LAN file format drivers to create a multispectral file that contains multiple rasters of different spectral bands. However, I can't find a way to store the information regarding ...
2
votes
0answers
37 views

Using Copy Raster in ArcPy gives different result to tool dialog?

I am trying to convert 16 unsigned bit tifs to 8 unsigned bit BMPs. When I used the Export Raster in ArcGIS, it works well. But when I used arcpy arcpy.CopyRaster_management(each, ...
2
votes
0answers
71 views

Does raster snapping involve a transformation?

Arc Desktop 10.5.1 Background I am converting an Arc Grid raster to a tif using the Raster To Other Format (multiple) tool. In the tool's Environments... settings, I am snapping the output tif to ...
2
votes
0answers
1k views

Speeding up Raster to Polygon Conversion in ArcMap/arcpy

I am trying to convert a series of big binary rasters describing data in grey (value 0) and nodata in green (value 1) into polygons in order to derive the extent the data pixels are covering (see also ...
2
votes
0answers
887 views

Converting from SAFE (Sentinel-1) to BEAM-DIMAP?

I need to convert Sentinel-1 data from the SAFE format (used by the ESA's Sentinel project) to the BEAM-DIMAP format. I know that GDAL can convert GeoTIFF files (which are used by Sentinel-1) into ...
2
votes
0answers
541 views

Convert raster cells to vector (polygon) grid?

I would like to convert a raster (representing a study area) to a polygon layer with features representing individual raster cells. The raster layer contains roughly 30 million cells @150x150m. I ...
2
votes
0answers
177 views

Choosing the map scale (1:nnn) for the given raster dimension

Starting points: let define the raster image size, say: 1800x900 pixels I want draw my own raster image map - by drawing polygons e.g. like "draw line from pixel with coordinates x100y100 to pixel ...
2
votes
0answers
164 views

How do I present labels in raster format in ArcMap 9.3?

I'm creating a raster map of a large city in ArcMap 9.3 which will be used in a third party software. My problem is that I need to find a way to include labels of street names in my output. I have a ...
2
votes
1answer
72 views

converting dt0 file to tiff in QGIS

I have too many dt0 files containing shear wave velocity at 30 (vs30). I have added the files as raster at QGIS. but I need to convert it to tiff in order to work easier. how can I do so?
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 ...
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
0answers
183 views

How to covert a GeoTIFF DEM to a standard raster format without losing quality or resolution

I'm working on a project, a spin-off of my graduate dissertation, to digitize LiDAR data of a portion of Tampa Bay (20x20 km^2 at 1:1 scale) into a Minecraft map. Ideally I want not just accurate ...
1
vote
0answers
117 views

QGIS: Saving TIF as Geopackage raster loses NoData cells

Background: At 3.8.3, I right-click a TIF DEM (single-band, 32-bit floating point) and Export > Save As to a Geopackage raster. If I use all default settings in the Export > Save As window, the ...
1
vote
0answers
37 views

Creating local copy of an online Potential Flood Inundation Map

I am completely stuck, usually I can figure out how to create a local copy of hosted services, but this one I can't seem to get anything to work and any suggestions would be great. Currently I can ...
1
vote
0answers
493 views

How to convert 32-bit raster to double precision?

I have a raster that is currently 32-bit float, but need to convert it to a data type of Double Precision in order for it hold larger values within each cell (I'm doing some calculations). How can ...
1
vote
0answers
419 views

Converting Land Cover Vector to Raster?

I have a question regarding converting a vector forest cover layer to a raster layer. The basis of what I am trying to do is determine what percent of forest cover is within a set of 1x1 km grid ...
1
vote
0answers
88 views

Rasterize causes black background, need white to match BioClim data

I am using the rasterize tool to convert a polygon layer into a .asc or .bil raster layer. As it is a UK study, there is a lot of sea that when rasterized, turns black. I need it to be white to match ...
1
vote
0answers
227 views

QGIS .adf file saved as GTiff changes elevations

I have got two .adf DEMs which I need in GTiff format so they can be merged. When I 'Save As' the layer as a GTiff, the resulting output has elevations which are inconsistent with the original .adf ...
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 ...
1
vote
0answers
126 views

Setting cell size when converting from GeoTIFF to ASCII

I would like to convert a GeoTIFF file to a .asc file using the translate option. When I use the translate tool in QGIS it converts it, but my cell size is something like 0.0002 (the pixel size of the ...
1
vote
0answers
73 views

Raster to Polygon tool results in reduced area

I have a large raster dataset within a file geodatabase (FGDBR format raster) which I have converted to polygon using the 'Raster to Polygon' tool. Cell size of original raster = 25m. Cell size of ...
1
vote
0answers
935 views

Dividing the values of one rasters on a cell-by-cell basis

I have been trying to divide an ArcGIS (ver 10.5) generated raster layer by a constant and continue to receive errors (Error - 000539). My first attempt was to simply divide the raster by my ...
1
vote
0answers
41 views

Can't access extracted by mask raster from ArcMap 9.3 in ArcMap 10!

Previously using ArcMap 9.3 I have used the tool extract by mask for cropping some of my rasters and I created a mxd project adding all the rasters together. The output for every raster is in this way:...
1
vote
0answers
115 views

GRASS-GIS i.pansharpen error code -11

I have been searching for similar problems however i did not find any that could fix my error. i have GRASSGIS 7.0 running on MACOSX El Capitan. No problems at all until i tried to run i.pansharpen ...
1
vote
0answers
222 views

Sieve in QGIS returns unexpected results

I have a rasterimage with values between 1 and 5. I want to sieve it, using QGIS - Raster - Analysis - Sieve. But then I get this: The values changed. Even worse, when I color it, the whole raster ...
1
vote
0answers
271 views

Converting raster to TIN in ArcMap 10.1 is causing crashes?

I have several tiles (~200) of Lidar 1m resolution data from Geomatics group and need to convert it to TIN format (currently in .asc) to develop a flood model. Is there a quicker way of doing this ...
1
vote
0answers
622 views

Converting *.adf files to *.xyz for XPSWMM?

i am trying to convert adf files to xyz files in order to import them to XPSWMM. i also need the elevation values. however, when i use QGIS to translate the raster files (adf files) to xyz these ...
1
vote
0answers
912 views

Batch Convert GRID to TIFF with colormap and RGB

There are lots of questions on here regarding raster conversion, but I can't find anything specific to my needs (involving output as RGB and using a Colormap). I have a folder full of ESRI GRID ...
1
vote
0answers
21 views

Can I create rasters from points with values based on a related table?

I have weed mapping (points) and weed monitoring (tabular related table) data in a file geodatabase. I would like to convert the points to raster based on the weed cover values in the weed monitoring ...
1
vote
0answers
556 views

Making grayscale map from multiple band satellite image in ArcGIS for Desktop?

I have satellite multiple band map, I needs to make grayscale map,what should i do? what is the steps? which band and format of input are to be used in this? How to make attribute table of this? In ...
1
vote
0answers
319 views

Big data rastering using ArcGIS Platform?

I have the daunting task doing raster analysis on a record set that runs into quite a few millions, and worse still is that the data is in Hive. So far I have managed to use record set of 2 million ...
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
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
22 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 ...
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
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
0answers
33 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 ...