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

QGIS: Python script with operations on multiple set of rasters

I would like to perform a loop that takes from a given folder a set of rasters and for every raster makes the following operation, that in the specific case is the calculation of the monthly ...
0
votes
0answers
14 views

How do you reproject a raster file or any file in QGIS to fit the original project projection?

How do you reproject a raster file or any file in QGIS to fit the original project projection?
0
votes
0answers
14 views

Simultaneously habitat fragmentation metrics calculation within more buffers

Within several raster buffers I need to calculate habitat fragmentation metrics (i.e., number of patches, mean patch area, Euclidean distance among patches, landscape proportion) using the landscape ...
1
vote
0answers
21 views

QGIS 3.16.3 uses Python 3.7.7 while I want it to use Python 3.9.1 already on my MacOS Big Sur

MacOS: Big Sur 11.1 QGIS: 3.16.3 KyngChaos said that QGIS 3.16 is using Python 3.9.X (strictly) and I installed this in my system, however the Python bundled with QGIS is 3.7.7. It is strange that ...
0
votes
0answers
10 views

Populate Elevation Data in GPX using FME

New to FME, and I have now spent more time than I would like to admit on this and need some pointers. I have a GPX file that was made from a Shapefile. It has no elevation data. I have the Terrain50 ...
5
votes
1answer
50 views

Cannot select input layers for the “Polygonize” tool in QGIS

I am trying to convert a raster layer to a polygon layer using QGIS 3.16. 2. When I open the polygonize tool, the program does not allow me to select any existing raster layers from the 'Input layer' ...
2
votes
1answer
35 views

Iterating over shapefile to mask and extract raster data in Python

I have a shapefile that is a grid with multiple polygons that have a specific id in them ranging from 1 to 50. Each polygon overlays an agriculture research plot that I would like to calculate ...
2
votes
1answer
25 views

Conditional statement in R based on multiple rasters

I have: raster_1: an integer raster with non-sequential values i (101, 130, 240, 323) i: a watershed discharging X of sediment in the environment raster_2: represents the water quality for each ...
0
votes
0answers
27 views

How can I solve the problem with the processing component? [duplicate]

How can I fix "The processing component is broken" problem?
-1
votes
0answers
28 views

How do I solve the problem of the processing plugin, because it marks it as broken? [duplicate]

I am new to using the QGIS program. I have a problem that I hope you can help me. The processing component tells me that it is broken and therefore does not let me activate a different options that ...
0
votes
0answers
31 views

Fixing problem with processing component

How can I fix the problem with the processing component? Since it appears to me that it is broken and I need to activate some functions of the Raster option. When I want to activate the processing ...
0
votes
0answers
28 views

Raster to GeoTIFF file conversion problem

An extension to this question, so when I export the raster as a .tif file, the resultant GeoTIFF file is not similar to the plot in R below. Am I missing a step in the following code? See the images ...
1
vote
0answers
14 views

Service areas based on time to travel raster layer in ArcGIS

I have a series of raster layers which contain values for the time to travel (in minutes by motor) to a series of health facilities. I also have the GPS coordinates of each of the healthcare ...
3
votes
1answer
26 views

Save Spatial Pixel Data Frame

I have met a small yet puzzling problem about saving and reading Spatial Pixel Data Frame. I created a raster with over 10 million grids (resolution = 25000). adm0 <- readOGR(dsn = path.expand(&...
0
votes
0answers
19 views

Raster formats that support colormaps for floating-point data in GDAL?

I am writing a program to overlay a raster image over a map in a KDE Marble project. I am using a combination of QGIS and GDAL to convert non-standard NetCDF data to a raster file. I began using ...
0
votes
0answers
27 views

How to mosaic two satellite images from two diffrent orbits?

I have to satellite images on two diffrent orbits. My research area lies between these images. I would like to perform classification as well as an analysis of the condition of vegetation.I would ...
1
vote
1answer
23 views

Using R, how do I rotate a GeoTiff file with multiple bands and save it?

My existing code (see below) only reads and rotates one band but I want all 360 of my bands to rotate. library(raster) your_raster <- raster("path/to/raster.tif") rotated_raster <- ...
2
votes
1answer
47 views

Reproject file to line up with geographic features on a map

I have been trying to reproject data to match the "geographic features" on a map (and also shapefiles) in QGIS or on the web. I'm ingesting raw GRIB data (available here). I'm using python ...
2
votes
2answers
49 views

CSV to raster grid conversion problem

I have a sample .csv file (sample download) that I am trying to convert to a gridded raster. So far, I have used two methods, one of the methods is explained in the answer here. But, I am running into ...
1
vote
1answer
40 views

Calculating the percent of binary values in grid of 1 km by 1 km across the entire raster

I have a raster of the entire united states with 30 meter by 30 meter pixel size. Each pixel has a value of either 0 or 1, with 1 defining a certain type of landcover. I need to find the percent of 1'...
-2
votes
0answers
18 views

Convert CSV to multiband (daily) gridded raster [closed]

I have a .csv file (sample download) that contains daily values for each x-y coordinate, and I would like it convert to a multiband/stacked (daily) gridded raster. How can I do this in R?
0
votes
0answers
10 views

Open Data Cube: Aggregation of pixels' value based on shapefile and mask raster

I have several Sentinel-2 products connected to ODC. My purpose is to use a shapefile with parcels in order to extract the average value of each parcel (creation of object based dataset). In addition, ...
0
votes
0answers
8 views

Using the Raster package to implement the Rileys Ruggedness Index from a xyz file [closed]

I first tried to convert the xyz file to a shp file, but the online converters are not really working for that. I cannot further figure out how to input the x,y,z values in R and then further work ...
1
vote
0answers
38 views

QGIS does not polygonize [closed]

I have a .tif which I want to have polygonized. I take the Raster/Conversion/Raster to Polygon. QGIS 3.12 starts the process but never ends (once I waited half an hour). I maybe don't see a mistake. ...
0
votes
0answers
22 views

Eccodes grib_copy - How to identify the levels and parameters?

I would like to generate a grib from a full GFS grib2 having, for example, only the U and V component for 850 hPa. To do so, I've seen I could use the eccodes library or the command line grib_copy but ...
1
vote
0answers
56 views

Generating Hough transform (Hough line transformation) of binary image using QGIS

How do I generate a Hough transform (Hough line transformation) of a binary image in QGIS? I tried in GRASS and I got Error: unable to fetch interface description for command I found from the link: ...
2
votes
1answer
153 views

Slow retrieve PostGIS raster value through ST_Value

I have a PostGIS DB containing a set of daily raster data from 1981 up to 2021. The inserted raster tile size is 83x90. Problem: I wanna query the data through ST_Value for a specified Lat Lon, ...
2
votes
0answers
30 views

Rendering raster with fine structure at low resolution in QGIS

I have a raster showing a map with a lot of fine-scale structure (water depths and rivers) in QGIS, and I'd like to make the structure visible when the plot is low resolution. Up close, I have ...
1
vote
0answers
34 views

ERROR 010555: Internal error in Sample: %s. Failed to execute (ExtractMultiValuesToPoints)

I'm trying to run the following code to extract different types of climate data for various points: # Climate variables inRasterList2 = [["AET.tif", "AET"], ["...
1
vote
0answers
23 views

GDAL's ReadAsArray() incredibly slow when reading an in-memory raster?

So I have a script set up in a conda environment on macOS Catalina running python 3.7, I'll post a paraphrased version of it: from osgeo import gdal import numpy as np grib_url = '/vsicurl/...
-2
votes
1answer
45 views

Extracting the pixels value inside the circle drawn over the raster file using Python [closed]

I have a GeoTIFF file and a series of the center point. I want to create/draw the circle over the GeoTIFF using these center points and extract the pixels value inside those circles. I want to do it ...
0
votes
0answers
45 views

Sugarcane crop rows detection [closed]

I am trying to find the manual workflow to process Satellite/Drone captured orthomosaics to generate Sugarcane crop rows similar to the automated plugin: https://github.com/AndresHerrera/...
0
votes
0answers
15 views

Using reclassified raster to make contours, contours contain the class value instead of height value

I reclassified my raster to 12 classes and used the contour tool to make contours from there (they are much smoother). The issue is, the contour lines no longer contain the raster height, they ...
0
votes
0answers
13 views

QGIS crashes loading raster layer (.tif) through GDAL provider

I am working on a project that uses QGIS within another application using QT Creator. When I try loading my raster data (using C++ API), I get a SIGSEGV error that traces back to my GDAL provider ...
0
votes
1answer
32 views

How to increase the number of the adjacent cells of a focal cell?

I want to recover the adjacent cells around a focal cell, I could do it by using the function adjacent form the package « raster », cells_adj <- adjacent(Habitat[[1]], cells=cells_xy, directions=...
0
votes
0answers
35 views

Using R NetCDF raster stack is missing its CRS, how can I assign one?

The data I am using was not generated by me, however, I am stuck with using it anyways. My issue is, that in R, the CRS of the raster stack is missing or NA. If I open it with ArcGIS or Unidata (!the ...
0
votes
1answer
13 views

Mapbox GL JS add raster without tiling

With leaflet with reference to this sample: https://github.com/stuartmatthews/leaflet-geotiff I was able to host a GeoTIFF file on the server and access it without tiling. Can the same be achieved ...
2
votes
1answer
30 views

Memory issues projecting a large raster mosaic of USGS DEMs in R

I am trying to project a large raster to UTM (meters), but I keep crashing my laptop (16GB) due to a memory shortage. It seems like using projectRaster tends to deplete the machine's memory, and some ...
2
votes
3answers
82 views

Decreasing resolution of binary raster layer, but retain specific data using QGIS

In QGIS 3.16.2, I have a binary raster layer in which I would like to decrease map resolution without losing any value = 1 pixels (white in the example). I have tried exporting and changing the pixel ...
0
votes
0answers
22 views

KML raster not showing images when using another users machine

I have converted some geotiff's into raster KML file packages, (which consist of a KML file and two folders - images and files). I have created these KML's as superoverlay KML files. I am able to ...
0
votes
0answers
16 views

Can I access Worldclim 2.1 CMIP6 data in 30-second resolution?

I am trying to access the Worldclim 2.1 CMIP6 future climate data at 30-second resolution. The Worldclim website says 30-second data will be available by then end of March 2020. This is long overdue ...
1
vote
0answers
18 views

Can't upload raster file on PostGIS

I've been trying to upload my satellite imagery which is 1.5 GB to my PostgreSQL database, using the code below, the error for each command is stated below; raster2pgsql -s 4326 -t auto -F -I -C -Y '....
0
votes
0answers
19 views

Opening .gbdtable (.gbdtablx, .atx) files in QGIS

I was given is folder of .gbdtable files that I cannot seem to add to QGIS. Eventually I need these files in .asc or .bmp format, and am using QGIS to accomplish that. I've seen info on the web about ....
0
votes
0answers
18 views

GEE, How to Remove Vertex Pixels

I made a classification mask of the layer and get the following figure: I got several vertex pixels. A vertex pixel is a pixel that attaches to a bigger group by just one vertex (shown in red circles)...
0
votes
0answers
55 views

Calculating the area of each county that has a specific land cover value (R or QGIS)

I need to calculate the area of each U.S. county that is covered by a specific type of land cover. I am using a county shapefile (polygons) and the land cover data is a raster that comes from the NLCD ...
1
vote
1answer
58 views

R Error in sp::CRS(SRS_string = from$wkt): unused argument (SRS_string = from$wkt)

A previous script that I had is no longer working after the sf package major change. I am using sf 0.9.6 and raster 3.0.2. I have tried to modify my code but cannot run raster::extract(). My previous ...
1
vote
0answers
19 views

Using a shapefile as mask with rasterio mask gives different affine transforms with rasters of the same projection and resolution

I have a list of n file paths to geotiffs of the same resolution and projection but with varying extents. In brief the goal is to use Rasterio's mask module to use a shapefile containing a single ...
0
votes
1answer
28 views

GeoServer raster isoline style

I have GeoServer with raster (GeoTIFF) of the temperature parameter. Using SLD styles and bicubic interpolation I get nice map and now I'm trying to create a style that show the isolines. The isoline ...
0
votes
0answers
27 views

Measuring the intensity of raster pixels within buffers

I need to create a variable ranging between 0 and 1 to compute the intensity of a flood. I have the raster file for the flood and the layer with the coordinates of the households that have been ...
1
vote
1answer
36 views

Scaling georeferenced image to half of its size using QGIS

I want to rescale a georeferenced image half of its size using QGIS. I tried the Freehand georeferencing Plugin. It is not working properly i.e no option to enter scale factor(0.5). I want to do it as ...

1
2 3 4 5
157