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
3 views

Hydro1k Slope Raster Projection/CRS Missing

I want to overlay administrative data over the Hydro1k slope raster (Asia) to calculate the average slope. However, I imported the raster and realized that the crs is missing, which should be Lambert ...
0
votes
0answers
8 views

Resampling for cellsize when Exporting Raster to Geotiff - GM

I used Global Mapper v20.0 for exporting the raster image Geotiff (32bit, from cellsize x= 0.008333333333000000898 arcdegree, y= 0.008333333332999999163 arcdegree) to cellsize x= 0....
0
votes
0answers
16 views

Find out whether a tiff has cell with NODATA using python or qgis [closed]

I have got about 7000 tifs in a directory. They all have the same defined NODATA value but not all of them contain cells with NODATA. How to tell which ones have NODATA cells programmatically? Python ...
-1
votes
0answers
14 views

Clipping raster question

I have a problem regarding clipping raster of a DEM. Both shapefile and DEM are in the same CRS, but the raster does not match with a polygon while clipping. Here is a print screen of the result: How ...
0
votes
0answers
7 views

raster2pgsql - invalid pointer

I get the following error each time I run the raster2pgsql: [postgres@li1959-236 ~]$ raster2pgsql -I -C -s 4326 -M -F /home/temp/wrf_d02_202005010000.tif grib_test | psql -d cep Processing 1/1: /home/...
0
votes
0answers
11 views

Adjusting same CRS to overlay raster satellite image with vector data

I need to overlay my raster image of chollian satellite with shape file of South Korea. It worked in MODIS images but it does not work in chollian satellite images. Could you let me know how to solve ...
0
votes
0answers
23 views

Splitting Raster Image in R

I am very beginner to R. I want to divide my raster image into 4 equal parts by using R. I am using splitRaster function. Well, it works but the saved files are in .grd format but I want it to GTiff ...
1
vote
0answers
19 views

Sample all existing points of a polygon in Python

I'm trying to sample raster values to points based on the geometries of a shapefile using the below code but the raster values are only sampled at the coordinates of the polygon geometry. Is there a ...
0
votes
1answer
26 views

Remove unwanted lines between raster layers

I'm experiencing some unwanted lines in between raster layers. I downloaded DEM tiles from Japan's geospatial information authority, then reprojected them using GDAL and Python. Next, I duplicated the ...
0
votes
0answers
16 views

How to determine temporal land cover change using two rasters? (From-to)

ArcMap. I am having trouble finding the correct method. I want to end up with what is essentially a confusion matrix showing what each class from the before image converted to in the after image. I am ...
1
vote
0answers
29 views

Python gdal.translate doesn't write the output file

I am very new with gdal and python in general, therefore pardon my simple question. I have a geotiff (single band, black and white) that I want to change from grayscale to RGBA (becasue I want to use ...
0
votes
0answers
21 views

Merging multiple singleband rasters into a multiband raster layer [closed]

I am using QGIS with Python. Is it possible to create a multiband raster layer from multiple single band raster layers? How can I do this? Any examples?
0
votes
0answers
15 views

Extract pixel values along with lat/lon bounds [closed]

I have a TIFF file with spatial resolution of 10km which means each pixel on the raster corresponds to a square of side 10 km on Earth. Is there a way to get the Lat Lon bounds ( upper left , upper ...
0
votes
1answer
32 views

How to perform point to raster operation and plot it with raster of different spatial resolution in R?

I posted a question (please find the link below) regarding raster plots at stackoverflow but could not get the solution. Does anyone here has the solution? https://stackoverflow.com/questions/63209707/...
0
votes
0answers
9 views

Rededge Dual extreme pixel values from Agisoft Metashape orthomosaic

I have produced an orthomosaic in Agisoft Metashape from 2010 images using the RedEdge Dual MX 10-band multispectral sensor. The ortho was exported as a geotiff and opened in QGIS (ver 3.6.3). All 10 ...
1
vote
2answers
30 views

Cut a multispectral TIFF into smaller parts

I have a multispectral image with 6 bands that I want to cut into smaller parts. It seems like a trivial task but I can't make it work. Approach 1: using rasterio.windows. I choose how many tiles I ...
4
votes
1answer
36 views

Creating raster object in R (raster package) by browsing directory

I am working with raster data (.tif) in R using the Raster Package, and I know how to create a raster object through r <- raster(filename) I am working with models with some long filenames, and so ...
0
votes
0answers
31 views

How to convert rainfall time series to raster? [closed]

I have a rainfall time series for 10 hours in increments of 0.250s, I need to convert it from a .txt-file to a raster. I've tried using r.mapcalc in GRASS, however, have not been successful. I've also ...
1
vote
0answers
23 views

Is there a way to project LiDAR data from a GCS to a state plane coordinate system?

I have LiDAR data that is in GCS NAD83. I have converted that LiDAR data into an LAS Dataset for use in ArcPro. I'm now trying to convert that LAS dataset into a raster and the tool keeps failing with ...
0
votes
0answers
33 views

raster.kendall function in R messes output of very high resolution raster stack

I use R in order to calculate the Sen Slope trend for a raster stack (netcdf file) for each pixel, using the following code, from the SpatialEco library: # raster.kendall <- function(x, intercept =...
0
votes
0answers
13 views

How to use ArcGIS Pro Spline tool to create raster with cell values that match input data?

A brief summary: Raster cell values not matching datapoint values when using Spline tool in ArcGIS Pro I have a point dataset with 27 points (rain_pts): The datapoints have an attribute column ...
0
votes
0answers
21 views

Equalize number of columns and rows number with different raster data which was taken from different sources

I am interested in creating a flood map using machine learning methods. I need the same number of columns and rows for each raster data or layer. However, although I used the same boundaries for ...
2
votes
1answer
50 views

Managing large numbers of raster DEMs for QGIS

I have a large number of (say 9000) 2km x 2km raster DEMs in ASC file format that I am trying to manage, in order to use in QGIS. I've been looking for way of storing them, ideally on the filesystem, ...
0
votes
0answers
19 views

'Error: table was not found' when running Locate Regions tool using modified raster

Using ArcGIS 10.7 desktop I want to run the Locate Regions tool on a land use raster (32 bit signed, with values 0 - 95) in order to identify cell groupings representing a certain land area size. When ...
1
vote
1answer
33 views

Unpack error occuring when sampling raster values to points with rasterio

I'm new to Python. I'm trying to sample raster values to points based on the geometries of a shapefile using the below code but I'm receiving the below error . import fiona import rasterio as rio ...
0
votes
0answers
17 views

How to “merge” multiple raster ASTER L1T bands?

I want to generate a Land Surface Temperature map using ASTER products. I used the Semi-Automatic Classification plugin and followed this tutorial. However my study area is too large and required at ...
1
vote
0answers
24 views

Focal regression 3x3 group of cells

I have two raster with same resolution and dimension: water-occurrence index and rainfall (mm). I want to create a new raster of SLOPE (a) and INTERCEPT (b) by performing linear regression between ...
0
votes
1answer
27 views

Why do the results of the diverse test for normal distribution of different temperature raster stacks have the same values (2.2e-16?)

I want to test my dataset for normal distribution. I get the same results with every dataset. What is wrong? why do the results of the diverse test for normal distribution of different temperature ...
-2
votes
0answers
17 views

Extract Multi Values to Points Error [closed]

I am trying to run the Extract Multi Values to Points tool to attach elevation values from a raster layer to points. When I run the tool it gives me Error code 010560 cannot create table or feature ...
0
votes
0answers
22 views

Raster Resampling / Clipping? QGIS

When I am trying to resample a raster layer or to clip it by mask layer the pixel value get automatically changed in the output file irrespective of every setting. Why it is happening and how can i ...
1
vote
1answer
30 views

Converting GRIB2 to GeoTIFF

I am trying to convert a GRIB2 file to a GeoTIFF file using gdal. My Commands: gdal_translate -b 1 -a_srs EPSG:3857 some.grib2 some.grib2.tif gdalwarp -t_srs '+proj=longlat +datum=WGS84 +ellps=WGS84 +...
0
votes
0answers
23 views

temporal rolling mean in stars

I need to find temporal rolling means (or other stats - max, min, etc) in stars spatial obects. For stars raster cubes, this would be directly analogous to the calc(rasterBrick, function(x) movingFun(...
1
vote
1answer
40 views

Zonal statistics using two raster, one with zones and the other with data using Python

I am trying to calculate the mean of a raster using zone data from another raster. The zone data was created using the Whitebox clump tool where each group of pixels have a unique ID number. There are ...
0
votes
1answer
36 views

Sampling raster data and classifying the pixels

I'm completely new to python usage in GIS. I'm working with Sentinel images and want to sample the pixels of raster file only in the places which are represented by the geometry of the truth data ...
2
votes
0answers
46 views

Converting tile image into raster using rasterio

I want to convert a tile image (.tif) into a raster data (.tif) and assign lon/lat to the data. (I know how to get the lon/lat of a tile.) The problem is I don't know how to assign lon/lat to a raster ...
1
vote
0answers
22 views

How to calculate Default Raster cell size in ArcGIS?

From this topic i want to know why we have to divide by 250? what is 250 means? where is form? https://desktop.arcgis.com/en/arcmap/latest/tools/environments/cell-size.htm The default cell size when ...
0
votes
1answer
14 views

Create single-band thematic raster in Google Earth Engine from multi-band image

I am working on translating some models a colleague created in ERDAS Imagine into Google Earth Engine. The model specifics in Imagine are largely irrelevant but the general steps are: Perform a ...
0
votes
1answer
25 views

Raster extraction doesn't show up under QGIS?

I need to apply the raster extraction tool in QGIS. But the Raster extraction option does not show up under the RASTER tab. I believe this is part of the rgdalTools plugin but I can't find this in the ...
1
vote
0answers
13 views

Clipping a raster with a buffer of road network in QGIS

I use QGIS 3.12 and trying to clip a raster by the buffer of a road network. Both the raster and the road network dataset are in the same reference system. When I run the "Clip raster by mask ...
0
votes
0answers
6 views

PyQGIS cannot set binCount in provider.initHistogram

I'm using initHistogram in QgsRasterDataProvider, however I have not been able to set binCount. I am using the following commands: provider = rlayer.dataProvider() # Where rlayer is a raster layer ...
2
votes
0answers
28 views

Is my raster too large to realistically vectorize in ArcGIS Pro?

I'm new to ArcGIS Pro so go easy on me. I have a raster file(.img) of the continental US broken up into 30x30m grid resulting in about 10 billion individual pixels. I need to index each of these ...
0
votes
0answers
18 views

Clipping a vector polygonised from a 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
0answers
34 views

Using a DXF file to make a 3D map in QGIS

This might be a long shot but I'm trying to make 3D map to render from a DXF file in QGIS (3.14). The options I get when I press (View>New 3D map view>configure>terrain) is following: Flat ...
0
votes
0answers
10 views

Average area calculation differences between raster stack and single Maxent models

I ran 100 bootstrap replicated models, for which I want to calculate the area of suitable habitat based on three different threshold rules (MTP, ESS and MaXSS). The issue I'm having is that for the ...
0
votes
0answers
25 views

Is there a way to converting a .tif (GeoTIFF) file to a vector while preserving band value?

I am very new to QGIS so I'm unsure how to accomplish this so any help would be appreciated. I'm doing some research on species loss and agriculture and would like to determine the ecoregions that ...
0
votes
1answer
55 views

Can I store raster data in a spatialite database (in QGIS)?

This might be a super simple question, but I'm a little confused. I don't know what the best way is to share qgis-projects that have raster-data, vector-data and some applied styling. I figured a ...
0
votes
0answers
24 views

QGIS Slope Analysis produces strange values [duplicate]

I am performing a slope analysis (Raster>Analysis>Slope) of a US Geological Survey DEM. I am calculating the slope of a raster DEM saved as a TIF. I set up the slope analysis as per the picture ...
2
votes
1answer
40 views

QGIS: Extracting Raster LAYER Property Information (Source, name, etc.) and property name into a seperate table

Currently we are trying to extract the layer property information from our vector layers and raster layers (inside some geopackages). More specifically the property information. However though it is ...
1
vote
0answers
21 views

ST_AsPNG query has wrong position on Mapbox

I am trying to import GeoTIFF files into a PostgreSQL database using raster2pgsql. I use the following query to import the data into my database: raster2pgsql -s 4326 -c -P -I -C -t 256x256 *.tif ...
1
vote
0answers
12 views

Exporting satellite image raster causes change in pixels using ArcGIS Pro

I have a WorldView-2 satellite raster which I re-project from WGS84 to WGS84/UTM using Raster Project. I wish to export this from outside the geodatabase so I can share it with colleagues. However, ...

1
2 3 4 5
150