Skip to main content

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
0 answers
10 views

Splitting and calculating across a large RasterStack using Terra in R

I have a rasterstack, created from an .nc file, named 'dat.stack' > dat.stack class : SpatRaster dimensions : 180, 360, 28896 (nrow, ncol, nlyr) resolution : 1, 1 (x, y) extent : -...
Beardedant's user avatar
0 votes
0 answers
14 views

Output Path/Name Parameter Won't Appear, ModelBuilder

As you can see in the attached image, I'm making a model to composite some Raster bands, and want the input rasters to be deleted afterward. However, despite setting Output Raster as a parameter, it's ...
Carl Parkin's user avatar
2 votes
2 answers
96 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
0 votes
0 answers
35 views

"Latitude Grid Not Spaced Evenly" warning from NCEP-NCAR reanalysis 2m Air Temp raster

I am using air temperature data from the NCEP-NCAR reanalysis along with a country shape file to calculate mean air temperature by country. The NCEP-NCAR project has various air temperature rasters ...
hayfreed's user avatar
  • 111
0 votes
0 answers
26 views

Water Depth, Velocity, Depth*Velocity Filtering using QGIS

I need to filter some hydraulic modelling results in QGIS as per the following specification: Exclude areas with a depth less than 10 mm AND depth x velocity (dV) below 0.125 m2/s; Exclude areas ...
Guest's user avatar
  • 1
0 votes
0 answers
24 views

Landsat 7 NDVI errors?

I calculated NDVI using a method from a previous question I asked. I forgot that Landsat 7 has errors following 2003. I don't mind running it again but is there ways to correct for this error? # Start ...
Daniel Scharton's user avatar
5 votes
1 answer
161 views

QGIS Batch Process to save bands of a raster layer as separate raster files

I have a .tif file with 61 bands. Normally, to save a band, I use the rastar calculator expression filename@1. But since there are 61 bands, with each band corresponding to a date, from April 1 to May ...
proy's user avatar
  • 61
0 votes
1 answer
23 views

How can I stop writeRaster from changing the extent of processed raster data?

I need to align raster data from several files. To do this I am using a for loop as shown below. As a check I print the extent of each of the rasters before calling writeRaster() to write the aligned ...
Schalk Malan's user avatar
0 votes
0 answers
24 views

Getting the right surface area raster layer

I am calculating the surface area of a raster file and even though I have tried to put it in all sorts of projections it still shows dg2. I have now used the projection equal earth greenwhich which ...
Isa Damen's user avatar
0 votes
0 answers
22 views

Only show legend items inside linked maps for layers

My QGIS project is linked to a WMS geological map service. My legend looks like this: As you can see, all the lithologies are listed under the "Detailed Surface Geology" layer. The problem ...
user240982's user avatar
0 votes
0 answers
22 views

min and max values are changed after a DEM raster imported into geopackage

I imported a DEM raster into an existing geopackage file via save as and I found that the min and max values of the DEM raster are different after importing and the changes are quite a lot (min used ...
JJ Han's user avatar
  • 55
0 votes
0 answers
11 views

Clipping MODIS HDF file in Python

I am trying to clip MODIS Land Surface Temperature in Python for a defined extent. Even though the files have been clipped, the size (X x Y) of the new file is changed. So when I plot the new data, ...
Ashish Ganesh's user avatar
1 vote
1 answer
28 views

Create / adjust plot to raster extent - R Studio

This probably a fairly simple fix but have not managed to find a solution, being really new to R. I have imported a canopy height model raster into R and done basic plotting of the raster chm <- ...
HSF's user avatar
  • 23
1 vote
1 answer
23 views

Calculate asymmetric raster-cell neighborhood statistic in R

Statistics for an asymmetric raster-cell neighborhood are required. The application is modelling direct solar insolation over year-long time steps while accounting for local shading effects of ...
Eron Raines's user avatar
0 votes
1 answer
26 views

Why does GeoServer convert negative values in an "8-bit signed" type raster to positive numbers?

I have a single-band 8-bit signed dataset created in ArcGIS Pro, and the raster information is as follows: When I load the data into QGIS, issues arise with the negative value areas at small scales, ...
苏云明's user avatar
0 votes
0 answers
35 views

Raster (L2 Aster) geolocation problem

I am working with L2 Aster data that I downloaded from EarthData https://cmr.earthdata.nasa.gov/search/concepts/C1299783608-LPDAAC_ECS.html I downloaded them as .tiff files. When I try to open them, I ...
ie-con's user avatar
  • 23
-1 votes
0 answers
25 views

Raster calculation not showing entire raster as end calculation [closed]

I am trying to calculate the NDVI for the Netherlands using Landsat 8 bands 4 and 5 via the raster calculator. (I can only find Landsat data for the northern & southern part of the Netherlands so ...
Sem20112001's user avatar
0 votes
1 answer
14 views

Importing raster with full information from ArcGis REST Service (QGIS 3.36.3)

I have asked this question about this issue, but another problem came up. I imported this layer from ArcGis REST services, but it's rendered as Singleband color data. This means that when I export it ...
Ana Clara's user avatar
0 votes
1 answer
25 views

Unable to ‘writeRaster’ for signature ‘"SpatRaster", "missing"’

I'm trying to modify a CHELSA raster (download here [205MB download]) to fill the NA values in it, such as require(terra) require(raster) file = "~/Downloads/CHELSA_bio14_2041-2070_gfdl-...
Tristan's user avatar
  • 113
1 vote
1 answer
67 views

TypeError when using QgsRasterFileWriter.writeRaster in PyQGIS

In the QGIS 3.36.1 Python Console, I'm trying to create an output raster so I can write pixel values sampled from another raster. output_raster_path = r'D:\Output Raster.tif' output_raster = ...
GlenS's user avatar
  • 556
0 votes
1 answer
33 views

Bathymetry rasters

I have 2 bathymetry rasters of same shape but different min/max values.I need to create a new ratser of same shape that show depth difference between these 2.
Irfan's user avatar
  • 1
0 votes
0 answers
20 views

How to join tables and open the gridded SSURGO data [closed]

I am having a big dilemma. I am fairly inexperienced and new at QGIS and I can't find any resources to help me with the basics in accessing and using the SSURGO gridded soil data. My ultimate goal is ...
Han's user avatar
  • 13
1 vote
0 answers
23 views

Problem with merging rasters in QGIS

I merged rasters in QGIS, and the resulting image appears like this. The minimum value is -3.40282e+38, which seems incorrect. How can I solve this issue?
Awk G's user avatar
  • 11
0 votes
0 answers
46 views

Visualize raster data on GIS server with standard deviation method

I would like to serve some raster files (false colored infrared orthophotos) through a map server to our client. Both Mapserver and Geoserver is used in our GIS projects, the frontend is based on ...
Sz.Gergely's user avatar
0 votes
0 answers
14 views

r.in.xyz (GRASS GIS) not outputting a raster

I have a xyz file points from a lidar dataset and I want to create a raster from it. I'm trying to use r.in.xyz to import it and it seems to be working and it founds 1641751 points, no errors or ...
bona_rivers's user avatar
0 votes
0 answers
34 views

Creating a single, large mosaic file in S3 from tiles that cannot fit into memory?

I'm trying to form a (very) large mosaic raster from constituent files in S3, and the amount of data is extremely large; I'm not sure on the actual size, but let's say it's really huge, say over a TB. ...
Doug MacArthur's user avatar
0 votes
0 answers
20 views

Erasing raster cell using another raster that overlaps in ArcMap

I have 2 raster datasets one is methane data and the other is cloud cover data. What im trying to do is to remove methane data that overlaps with cloud cover data. I've tried the SetNull tool (Value ...
Garishsm's user avatar
2 votes
1 answer
56 views

"Buffering" raster category of raster layer in QGIS

In this raster with 300m resolution, I would like to increase the size of one category (1), creating an (approximately) 1km buffer increase. In other words: I would like to expand the borders of ...
Ana Clara's user avatar
0 votes
0 answers
18 views

Raster Alignment producing invalid layers (QGIS 2.18.28)

I am trying to align raster layers (reference layer is "modelo") because I need matching geometries in order to use them as input on a plugin (MOLUSCE), which only exists in QGIS 2. I tried ...
Ana Clara's user avatar
-1 votes
1 answer
52 views

MULTI RING BUFFER VECTOR LAYER TO RASTER [closed]

I have a line vector file in qgis in which I run the multi-ring buffer command to divide the area into 200m zones from the river because I want to make a flood hazard map. So I have a multi ring ...
Rafaela Zylali's user avatar
0 votes
1 answer
20 views

What does the "-1" in GeoServer "Maximum number of granules to load" / "MaxAllowedTiles" mean?

I'm trying to set an ImageMosaic layer in GeoServer. The default value of the field Maximum number of granules to load is -1. Is it the same with the MaxAllowedTiles found in some examples in the net? ...
GregStef's user avatar
  • 214
0 votes
0 answers
28 views

QGIS Processing Tools - IDW Grid not recognising point file

I'm trying to convert my point (PointZ) layer into a grid using the Processing algorithm, Grid (IDW with Nearest Neighbor Searching, but whenever I run the algorithm, I get the error: ERROR 4: `file://...
oliver's user avatar
  • 85
1 vote
1 answer
49 views

Merge two rasters with the rastercalculator

I like to merge two rasterlayers with the rastercalculator. The Layer_1 rasterlayer have a rectangularshape with a NoData Area in the center (white area). The uniform value is 10 (green area) and the ...
Kai's user avatar
  • 33
1 vote
1 answer
50 views

QGIS DEM to elevation Points, pixels not centred

I have a DEM which I'm trying to convert into a point layer in QGIS. I used the raster pixels to points tool, which seemed to work, except that the points are not in the centre of the DEM pixels. They ...
user240982's user avatar
0 votes
0 answers
36 views

Clip raster to specified extent

I want a clip a raster to a specified extent of a shapefile (polygon), I usually use clip raster tool in ArcGIS Pro, my raster cell size is 10 m and when I clip it using the tool the generated raster ...
Omab's user avatar
  • 1
3 votes
3 answers
74 views

Snapping line on grid / cell edges

What I want to do : This question is about finding an equivalent path on a grid to a given line. The following image shows what I am trying to achieve : Starting from a generic line (in red), I want ...
TC_Blue's user avatar
  • 39
0 votes
0 answers
26 views

How to make PyQGIS to return 4 raster subdivisions calculated by inequations

I've been making in Raster Calculator, one by one, for every Return Period (2, 5, 10, 50, etc.) different sub-rasters of 4 sections of water depth, it's very tedious and I know there is a faster way ...
Alex C's user avatar
  • 1
0 votes
1 answer
26 views

How to export multiband GeoTIFF data to CSV?

I have a GeoTIFF with daily average discharge data over 10 years (3652 bands per grid cell, each band representing one day). I would like to export this discharge data to a CSV file to work with it in ...
timmer's user avatar
  • 11
2 votes
1 answer
95 views

How do you load a .1x1 (bathymetry) file in QGIS?

I have received bathymetry data in a .1x1 format, which appears to be a challenge to load directly into QGIS. The raw file is structured as a CSV with four columns, containing coordinates, depth, and ...
Sytze's user avatar
  • 771
0 votes
1 answer
30 views

Make a grayscale tif into a 4-band RGBA tif using gdal

I have a grayscale raster which returns the following information when I run gdalinfo on it Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( ...
guest_231213's user avatar
0 votes
0 answers
28 views

How can I add an empty Attribute column to an existing (ESRI) shapefile (.shp) [ or a Table] and populate it with values from a Raster (Image) layer?

I have a GIS layer of Agricultural Field Boundaries (cadastral boundaries) with dozen attributes including Owner's Name, Seasonwise Crop list, etc. I want to add and store a new attribute called ...
Dr. Manab Chakraborty's user avatar
2 votes
1 answer
69 views

"Could not load source layer for INPUT: memory: not found" error in Processing Script using PyQGIS

I have a workflow where a raster should be polygonized and afterwards simplified. The simplified vector should be saved as a shapefile. I am using the template script from QGIS to create a processing ...
Freddy94's user avatar
0 votes
1 answer
37 views

GRASS r.viewshed not working with elevation? - PyQGIS

I'm making a QGIS plugin that uses grass:r.viewshed to analyze the area of terrain visible from different points. However, I've noticed, that when using a viewpoint where the elevation between the ...
oliver's user avatar
  • 85
0 votes
0 answers
73 views

Remove the zero values from a raster using Python

I am trying to remove all the 0 value pixel from the raster, but whenever I am trying to do, 0 values still exist. I am mainly trying to do is, I have 4 raster in a folder. I have to pick all the no ...
Koushik Ghosh's user avatar
0 votes
1 answer
36 views

QGIS: Set two raster to the same height

I have 2 DEM raster in QGIS. I want to merge them, but they have a difference in height of approx. 9m. This means that when I merge them, there is a kind of break-off edge at the transition. Can I ...
Fabi's user avatar
  • 75
3 votes
1 answer
99 views

GDAL nearblack command missing certain areas

I have the following GeoTIFF which contains white around the sides. The raster band info is as follows for the white area Band 1 254 Band 2 254 Band 3 254 Band 4 255 To try and correct ...
user832190's user avatar
0 votes
1 answer
37 views

How does Float32 in GeoPackage raster work

The more general question I'm asking myself is: What (raster) datatype should I use for a GIS-based game I am making in non-gis software: GeoTiff+GeoParquet or GeoPackage? The software (Godot) has ...
Fee's user avatar
  • 1,210
0 votes
1 answer
57 views

QGIS : Open raster .gdb Esri format

I try to open an Esri raster.gdb in QGIS (Open 25m Raster DEM, Altalis, Calgary, canada). I use 3.36.1-Maidenhead QGIS (Version de GDAL/OGR 3.8.4) Some "layers" are created but I can't do ...
francis's user avatar
2 votes
1 answer
49 views

Mapping spatial corrdinates (X,Y) back to pixel space using Rasterio

For the problem I am solving I have lat/lon values in DataFrame and need to check if these values coincide with some of the satellite images I have. This part I managed to solve following this post (...
user144483's user avatar
0 votes
0 answers
35 views

Different size between raster and shape

I have a problem trying to manage spatial data. I download the Birds of the World distribution shapefiles provided by BirdLife International and I have the cropland dominance from NASA data (available ...
Ricardo Soto's user avatar

1
2 3 4 5
201