Questions tagged [raster]

Raster is a data format consisting of regular grids of values, usually stored in an image-like format.

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

Adding datetime to each band's metadata in a multiband raster using Python

I've created a multiband raster of individual rasters of temperature at different times over a period of two days using rasterio in the following way: with rasterio.open('test.tif', 'w', **meta) as ...
3
votes
1answer
51 views

Changing pixel's dimension (raster) on QGIS

I would like to change the size of the pixels from 2.5 to 10. How can I achieve this?
0
votes
0answers
15 views

Exporting Raster to SQL Blob via QGIS

Is there a QGIS plugin/inbuilt tool that allows the user to export a georeferenced image into a SQL blob field?
1
vote
1answer
26 views

Accuracy of raster cell size area to real world area [closed]

I read from somewhere here that a UTM raster's pixel count ratio is 1 pixel = 1 meter. I am working on a raster that says the island is 4.03 km^2 in area but a quick google search says the island is 4....
0
votes
0answers
17 views

I can't open Oracle raster layer in QGIS

I can't open Oracle's raster layer in QGIS. When I load the layer it looks like this: This layer works perfectly in Geomedia (Sisgraph), which is the software we used but we are migrating to QGIS. ...
0
votes
0answers
15 views

Increase elevation for a portion of the raster covered by a shapefile

I have a raster of California. I have the shapefile over CA. I would like to keep the bits hanging off into OR, NV, and AZ. What I'd like to do is to raise CA up about 200 feet from where it is, ...
-1
votes
0answers
14 views

How to use ArcPy to specify layer property symbology for GeoTIFF

I am using ArcMap 10.7 and ArcPy to add several GeoTIFFs to an MXD, and I am trying to specify the layer property symbology. Specifically, I want to set "classified" with 8 classes and a ...
0
votes
1answer
27 views

Issue with delineation using dem because of a DAM

I have a high-resolution DEM which I use it delineate watershed. I am getting the delineation like this The main branch is not getting delineating till the source. So I used a hillshade to check the ...
0
votes
1answer
19 views

Converting units of m day-1 (ERA5) to mm (CRU)

I have downloaded 2 datasets, one from CRU (https://data.ceda.ac.uk/badc/cru/data/cru_ts/cru_ts_3.00/data) of cru_ts_3_00.1901.2006.pre.nc.gz and other is ERA5 data (https://cds.climate.copernicus.eu/...
1
vote
1answer
25 views

What is the appropriate input scale factor for EVI?

I am trying to calculate the Enhanced Vegetation Index using Landsat surface reflectance data. The formula for EVI using standard constants is: EVI = 2.5 * ((NIR – Red) / (NIR + 6 * Red – 7.5 * Blue + ...
0
votes
0answers
15 views

Color map from random raster in QGIS

I am trying to create a color map overlay of sound levels from a known source using QGIS (3.8). The results of the noise calculations come out as a raster in polar coordinates (NOT rectangular), ...
1
vote
0answers
18 views

Zone statistics with PostGIS Raster

I have a vector layer of polygons (40K) and an elevation raster that I imported into PostGIS. I would like to get the average elevation value for each polygon. First, I imported my raster with my ...
1
vote
1answer
37 views

Extracting certain attributes from raster layer in QGIS

I have a raster layer which illustrates land use in Rwanda. I would like to be able to extract the cropland and make it a raster by itself. I have tried to extract it using the raster calculator, ...
0
votes
1answer
21 views

Reading a raster with window with overlap

I have a raster 50000x50000 pixels. I want to iterate a window of 1000x1000 pixel on it with some overlap and apply bilateral filtering. I want to save the resulting filtered patches into a mosaic ...
0
votes
0answers
18 views

Clipping: Image Offset when clipping raster in both Python and QGIS

I am trying to clip two raster with the same co-ordinates using Python. But even though they are from the same co-ordinates they are properly not align with each other. Its the same problem with QGIS ...
0
votes
1answer
33 views

How to save a NetCDF file with proper timestamp in R?

I have simply made everything ready for saving my NetCDF but during saving the file I cannot save the timestamp as before. Previously, the timestamp was 1970-01-01 00:00:00.0 and the unit hours since ...
5
votes
1answer
41 views

How to set saturation of raster layer using PyQGIS

I can set brightness of a raster layer with layer = iface.activeLayer() contrastFilter.setBrightness(16) layer.pipe().set(contrastFilter) layer.triggerRepaint() To set saturation I try: ef = ...
0
votes
0answers
35 views

Merging thousands of rasters without downloading images

My AOI has about 8262 1m DEM files (7 GB size). I want to merge these files without downloading these images from https://elevation.fsdf.org.au/ using gdal. Is there a way to merge thousands of ...
3
votes
2answers
48 views

Visually differentiating raster pixels in area of same value QGIS

Given a discrete band, and say an area that for example all has the value 5, is there a way in which I can highlight or differentiate where pixels start and stop? This doesn't have to be some ...
0
votes
0answers
13 views

How can I load a very large raster (or portion of it) into R from an ArcGIS file geodatabase using R-Bridge (arcgisbinding)?

I have a large raster stored in an ArcGIS geodatabase (dimensions: 105,000x260,000) that I am trying to load in R. I have tried the following: library(arcgisbinding) arc.check_product() gdb <- &...
2
votes
1answer
27 views

Grab/Index the raster bands before and after a unique band for each pixel (depth-wise) in a raster stack

I'm working with a time series stack of 28 raster bands. Each band is an image for a specific date, spanning all of the year 2020, and they are stacked in order. The stack (change_point_raster) is in ...
0
votes
0answers
12 views

How to read multiple GRIB files in R and take mean of those rasters?

I have downloaded multiple monthly mean GRIB files from https://cds.climate.copernicus.eu/cdsapp#!/dataset/ecv-for-climate-change?tab=form for Surface Air temperature , from 1979 to 1990. 144 GRIB ...
0
votes
1answer
28 views

Analysing Raster, Shapefile and DBF together using ArcGIS Pro

Note at the bottom for a possible solution, though it's not very elegant! I’m at a bit of a brick wall – I think this probably has a really simple solution, but I’m not quite sure where to start. ...
0
votes
2answers
21 views

How do I perform mathematic operations on raster data in R?

I downloaded a lot of WorldClim data, but there are some things that I wish to calculate that aren't given by WorldClim, like biotemperature and the aridity index. Biotemperature is definied by adding ...
3
votes
1answer
24 views

R: Shift in raster reprojection

I have a raster in UTM projection. The proj4 string is: +init=epsg:25833 +proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs I need to reproject the raster to DHDN / 3-degree ...
1
vote
1answer
36 views

Spectral signature and its standard deviation using R

I am trying to plot a spectral signature using R similar to the one shown in the image. This plot was obtained using Semiautomatic Classification Plugin-QGIS. Half-transparent regions show the range ...
0
votes
0answers
19 views

Is there a way to batch resample and mosaic/merge many large raster files at once?

I have over 400 large raster DEM files at 1 m resolution that I need to resample to 10 m resolution and merge/mosaic them all into one file. I am wondering if there is a way to do this all in one step ...
1
vote
2answers
22 views

How to subset temporal range of CRU TS 3.0 rasterstack in R?

I have downloaded open data of CRU TS 3.0 from the website https://data.ceda.ac.uk/badc/cru/data/cru_ts/cru_ts_3.00/data in which cru_ts_3_00.1901.2006.tmp.nc.gz was downloaded. I open this data in R ...
0
votes
0answers
21 views

Getting raster value area per polygon with many values in QGIS

I was trying to get the area of each pixel values over each polygon in a shapefile. My raster file has so many values (more than 1 thousand pixel values). I usually do this by executing 'Zonal ...
2
votes
1answer
32 views

Writing categorial rasters with color and attribute symbology info in R

I am generating landscape classification output rasters and adapted the code from WAF’s stackoverflow answer to the this question to generate GeoTIFFs with embedded standardized color and attribute ...
0
votes
1answer
18 views

Manually adjusting statistics for raster symbology using ArcGIS Pro

In ArcMap I can adjust Mean and Std Dev of a raster to get the stretched symbology I want, left side of screenshot. In ArcGIS Pro Mean and Std Dev are locked. How can I change them manually?
0
votes
0answers
29 views

Merge raster in QGIS

I have a huge problem that I can't solve even after trying everything I can think of. I want to merge 4 rasters as you can see in this image I have Landsat 8 images, to not have a problem with bands, ...
0
votes
1answer
34 views

Failing to open a raster (TIFF) in QGIS

I have a raster that I can't open in QGIS. When I load the raster, I get the following message: CRITICAL Capa no válida: GDAL provider cannot open GDAL dataset C:\Users\Name lastname\Destktop... ...
0
votes
1answer
25 views

GDAL Calc using different raster grid sizes

I have several GeoTIFFs (.tif) that I am conducting raster calculations on using gdal_calc.py, all three are of different sizes. These rasters can be best illustrated with the following image: All ...
-1
votes
1answer
22 views

Mean of raster sample values [closed]

Calculate mean of raster sample at different point location over a period of 10 days in a dataframe and create a new column every 10 days with mean of those values. Below is my dataframe(with 10000+ ...
1
vote
1answer
31 views

How to assign CRS to Raster layer obtained from .HDF in R

I obtained monthly TRMM data (TMPA/3B43) from here. It is in .HDF format for each month. I need it for other algorithm in R that uses netCDF file on yearly basis, so I wrote a code that reads .HDF ...
1
vote
0answers
11 views

R tmap zoom misaligned grid

I'm trying to work with 20m x 20m resolution Corine landcover data for Finland (CORINE maanpeite 2018, 20 m), which is in EPSG:3067 map projection. I also have the official Statistics Finland grid ...
1
vote
0answers
19 views

Combining 2 raster data sets with different extent, resolution and point regularity

I'm having trouble merging two raster datasets that have different resolution and extent, and have irregular point data. Below is info on each raster. I need these datasets to merge according to the ...
0
votes
1answer
31 views

Merging raster layers in QGIS [closed]

How can I combine multiple raster layers into one layer? The raster images are of the same area. I have download them from EarthExplorer and I want to merge them to have one layer of the area so one ...
0
votes
1answer
57 views

Create a binary raster

I am working with ecological niche models, I have a raster which represents the current scenario (img). I have a raster which represents the future scenario. To work on R, analyzing the lost areas ...
1
vote
1answer
27 views

Extracting and summarize raster for a large polygon set

I have a large multipolygon (5x5km grids) file (1.23 million polygons) that I would like to exact raster data to each polygon. Specifically I want to calculate the fractal dimensions (a user defined ...
1
vote
1answer
23 views

Splitting Vectors with Raster Layer

Does anyone know of a method to split vector data based on a corresponding raster layer. For example, I have a classification with two classes and have an overlaid vector layer as seen in the image ...
0
votes
2answers
55 views

R Set Spatial Points in a Matrix around given Spatial Points

I am struggling with the task to set one point in each pixel (of a given raster) in a distance of 3km of my points. I tried buffering in QGIS and R but cannot find a way to set exactly one point in ...
1
vote
1answer
20 views

Orfeo Toolbox output rasters are 300x larger than inputs of the same size

I am trying to use Orfeo Toolbox CLI to do some processing, e.g. Smoothing: otbcli_Smoothing -in path/to/mosaic.tif -out output/smoothing.tif uint8 -type mean For now, the input, mosaic.tif, is just ...
0
votes
1answer
25 views

r.reclass for NDVI in QGIS gives no output

I have a raster layer with NDVI values. I want to reclassify the raster to five classes. The project and the layer are in EPSG 32633. When I use r.reclass in QGIS, there is no output. What is the ...
1
vote
0answers
14 views

Edit single pixel in ASCII grid

I converted DTM Data from LAZ to ASCII. Now I got some artifacts with an obviously wrong cell values. Is there a simple way to edit just a single cell? I tried looking for the cell value in Notepad++, ...
2
votes
0answers
27 views

Calculating the area of oyster drone imagery

I'm working on analyzing the area of an oyster reef and its development over the past years. The shown ortophoto is already loaded in QGIS. The unit of this file is degrees. That's where my main ...
0
votes
2answers
25 views

Using R to sum raster pixels of specific values

I have a land use raster (lu_raster) and several thousand shapefiles (counties). Within each county, I'd like to calculate the proportion of agricultural land use. So, I think I need to find a way to ...
1
vote
1answer
30 views

Categorising raster data based on shapefile boundaries

I've tried searching for an answer but honestly I'm not even sure how to word my search. I'm using Arc GIS Pro. I have two layers that I want to analyse. The first layer is a shapefile and it covers ...
0
votes
0answers
14 views

Turning NDWI values into percentage from -1 to 1

The usual values of NDWI, NDVI e.t.c come as -1 to 1. I want to show these values as 0-100%. How shall I do that with the raster calculator?

1
2 3 4 5
163