Questions tagged [extract]

To obtain a subset of a spatial object, by means of some logic or query

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

Merging XY coordinate table to shapefile data using ArcGIS Pro

I am new to ArcGIS Pro. My situation is as follows: I have a shapefile that contains some data for some variables for different block groups. What I require is the data for those variables for some ...
0
votes
0answers
10 views

Extracting data from a .mat file with numpy and a mask

I have the output of a xBeach model run in .mat format. There are several layers that represent the sea status for each time-step. In each layer there are the coordinates and the water level of the ...
0
votes
0answers
18 views

Extracting values from soilgrid layers for xy coordinates in QGIS

I want to extract soil values for a list of x and y coordinates from Soilgrids layers in QGIS. I loaded some layers through the browser (WMS) as a test, and then selected the specific layer (e.g. Soil ...
0
votes
1answer
60 views

How can I extract Moran's I from buffered pixels withins raster

I have a raster with NDVI and I have a dataframe with coordinates I want to extract stats from at a 125m radius. extract(NDVI,coordinates,method='simple',buffer=125,fun=mean) this works for most of ...
0
votes
2answers
72 views

Fastest way to perform focal operations using R

I know there are already some questions out there discussing this issue, for example: How parallelize the extract function for raster files in R? Increasing speed of crop, mask, & extract raster ...
0
votes
0answers
23 views

GEE Python API Resample Image Collection from 3 hr to 1 day temporal resolution

Is there a way to resample an image collection to a different temporal resolution in GEE? I am extracting points from several bands in the GLDAS asset, which has a 3hr temporal resolution. I have a ...
1
vote
0answers
15 views

Raster tool *Extract by Attributes* creates odd output

BACKGROUND: At 10.8.1, I have a raster tif that contains the following statistics. Please note the maximum value: I want to create an output raster containing those cells whose values are greater ...
0
votes
1answer
24 views

Extract data from one shapefile based on another [closed]

I am using QGIS 3.16.1. I'm trying to find a way to have it tell me what the most common soil type is in a field boundary. I have downloaded the soil information from NRCS's web soil survey site and ...
5
votes
2answers
69 views

Extraction of line segments in front of the street

I have a layer of lines that represents a layer of plots. I want to eliminate all the inner segments to have only the segments that go out into the street. Thus, I want to determine the sum of the ...
3
votes
0answers
31 views

Extract values from rasterstack TIFF for point data locations in Python

I am working on machine learning algorithms for predicting wildfire sites on state level. I have a CSV of wildfire instances, that has 37 columns including a geometry column, a lat column and a lon ...
1
vote
0answers
30 views

Generate node / vertex at starting point of line connections

I have line and point layer. I connected line layer with points using connect nodes to line in processing toolbox. After creating a connection line (green color), I used line intersection from ...
0
votes
0answers
17 views

Summing values of smaller polygons within larger ones using ArcMap

I am trying to find the population for Neighborhoods in Chicago. I have a shapefile of the Neighborhoods and a shapefile of census tracts with the population for each tract. The neighborhoods are ...
1
vote
0answers
38 views

Invalid variable for Set LAS Class Codes Using Features in ModelBuilder of ArcGIS Pro

I am attempting the following process in Model Builder in ArcGIS Pro 2.5. I have an original .las file as input into Extract LAS. What I failed to mention initially is this is NOT LIDAR, this is LAS ...
1
vote
1answer
68 views

Extracting only part of supervised output model in Raster format

I have a svm predicted model which when applied on raster images classifies the LULC of land and writes the output to raster file. I want to use only the Land used part out of the output raster image. ...
0
votes
0answers
19 views

Can I extract multiple bands/subdatasets from the HDF file into a TIFF file?

I have some HDF5 files with the following structure: (I've removed all the metadata output) > gdalinfo MOD09GA.A2020278.h29v05.006.2020280062342.hdf Driver: HDF4/Hierarchical Data Format Release 4 ...
0
votes
0answers
214 views

How to extract multiple values from specific coordinates and dates from a NetCDF time-series in R?

I need to extract information of a series of oceanographical variables in netCDF format for specific coordinates, each coordinate in a specific date as well. I'm using R and this is an example of my ...
0
votes
0answers
25 views

Setting LAS Class Codes in ArcGIS Pro too slow

I have seen similar questions, but they don't quite relate to my particular issue. I classified habitat in a high-resolution drone orthomosaic image of a 300-m long stretch of beach, then used Raster ...
1
vote
1answer
22 views

Changing number of points extracted on a linestring using `raster::extract` in R

I am trying to use a linestring to extract values from a raster using raster::extract. In the example below, I can only extract 123 points. Is there a way to extract more or less points without ...
0
votes
1answer
67 views

Derive the statistical values from the time series data

I am trying to derive 5 statistical values: 1) maximum; 2) minimum; 3) standard deviation; 4) medium; and 5) 1090 interval mean from the time series data. And I know there are existed functions in GEE ...
0
votes
0answers
40 views

Make Feature Layer / Select / Select Layer By Attribute “Get Unique Values” grayed out in ArcMap ModelBuilder [10.8.1]

I'm trying to extract road segments from a feature class through ModelBuilder in ArcMap 10.8.1 based on attribute queries, but the "Get Unique Values" button does not pull up a list of ...
0
votes
3answers
94 views

Extract by expression - N first

How can I "extract by expression" the N first (10 highest values of one column, for example) I need it for the graphical modeler.
1
vote
1answer
51 views

Extract multiple values from multiple points and export as a table

I am using Google Earth Engine to collect a training dateset for supervised classification, and the code is shown as follow: // 0. Global Variables var site = ee.Geometry.Polygon([[-80.79, 24.98], [-...
1
vote
0answers
92 views

Different results extracting data from the same point from MODIS HDF with R

I am trying to extract NDVI data from MODIS HDF files using R. I have several files downloaded from EarthData. The file I am using in this example is here to download. These MODIS HDF files have a ...
1
vote
0answers
36 views

Extract by expression in Modeler

I have tried several times to run “extract by expression” algorithm in Model Builder with the following expression, but system always crashes, maybe there is something wrong: CASE WHEN @...
6
votes
2answers
107 views

QGIS: extract point features not in polygons

I have a layer of approximately 2M point features from which I need to create a second layer, only including the points that are not within (or bordering on) a set of polygons that are saved in ...
0
votes
0answers
79 views

Extracting nightlight data using Google Earth Engine

I would like to extract Night-time light data (VIIRS) for a set of points in Australia (imported from csv file). The output, however, does not show the nightlight information. I am not sure if there ...
1
vote
0answers
21 views

Extract values to points works for only part of a raster

I am trying to extract values from multiple rasters using the "Extract Multi Values to Points" tool in ArcGIS 10.8. The tool works until it gets to a certain row and then returns no data ...
2
votes
1answer
156 views

Extracting outer boundary of polygon (current polygon merged to one row but layer has holes creating small polygon needing removal) using ArcGIS Pro

I had to create boundary of raster layer, so I used raster to polygon to get the boundary. But the boundary has many holes based on the original raster which I want to get rid of as I only need the ...
1
vote
1answer
71 views

Extract JPEG out of raster based on rectangle location in QGIS

I have 10 overlaying rasters (both one- and multi-band) - same area, different date. I also have shapefile layer with 12 rectangle polygons. What I want is to extract proportion of raster inside each ...
3
votes
2answers
72 views

Extracting catalog consisting of name of layerdata/table of different geopackages

Currently we have an organizing and tracking of files problem. Right now we have our geodata organized in different geopackages (.GPKG files) for specific areas. The problem is that the amount of ...
2
votes
1answer
64 views

Select by Expression and Extract by Expression generate different results

I have a polygon layer and want to extract all Polygons with the field "street" = 1. When I use "Select by Expression" I get the following correct result: However, when I use &...
0
votes
0answers
33 views

Loop to extract specific raster/spatial point pairs

I have many point shapefiles which are not overlapping, which I would like to attribute to analagous rasters, also not overlapping. I would like to attribute these points with the raster data. For ...
0
votes
0answers
27 views

Extract by Mask, Retain all bands (time) of a multidimensional raster dataset

I have a multidimensional crf dataset covering a grid of temperature data over time. My aim is to use extract by mask with a shapefile area that I'm interested in as a mask and retain the ...
6
votes
1answer
5k views

R-4.0.1 Not sure I understand this message: Warning message: In proj4string(x) : CRS object has comment, which is lost in output [closed]

Context: I want to store the TIFF data to use it for running a linear regression model later on. Ultimate goal: Create a carbon map using field data as a basis. Libraries: library(sp) library(raster) ...
0
votes
1answer
33 views

Extract a raster using shapefile to another raster

I have a raster (say r) and a polygon shapefile (say s, containing many polygons). I want to convert the pixelated r to mean of s boundaries. And I need these boundary means as another raster file. ...
1
vote
1answer
351 views

Getting table with coordinates and pixel value for polygon from Google Earth Engine

I would like to have a table or a matrix with the coordinates and value of each pixel on a given polygon. I am working with the Global Forest Change data specifically with the 'loss' layer. In this ...
0
votes
1answer
255 views

Extract values by matching points in ImageCollection

I am trying to extract pixel values by points and convert to a table in Google Earth Engine. I'd like to extract pixel values by lat,lon points I upload from a csv for each S2 image with a matching ...
0
votes
0answers
69 views

Stacking various rasters and extracting to multiple points in Google Earth Engine

I've used GEE but all plug and play so far, and am trying to get a bit further along. Despite all my stackexchange searching, I haven't found a way to make this work (lots of time series examples, but ...
0
votes
1answer
83 views

Looping through polygons overlapping large rasters to calculate mean values

I previously asked Combine several raster files with heterogeneous bands about an error I was getting trying to combine non-overlapping rasters, and that Q&A surfaced a better approach that ...
1
vote
0answers
76 views

r raster:: extract band (integer) values from raster buffer without taking the mean

I want to extract values from my RGB raster, which are in the buffer(zones) of my 14 station points data. So far the values are extracted with the raster::extract by taking the mean of some values ...
1
vote
1answer
592 views

R raster extract() and keep the original shapefile attributes

I use the R function extract() in order to extract the values from a raster dataset. The shapefile that I use with the extract() function has some columns/attributes -for example the unique ID and a ...
1
vote
1answer
35 views

How not to lose columns in a result of a pixel extraction, if some column is equal to zero?

I have reclassified some classes of a raster into two classes (natural and anthropic) and I have to extract the pixel proportion of each class for some study areas that I have. However, there is a ...
1
vote
1answer
98 views

How to extract slope value for a geometry point in GEE

I want to extract slope values for various points in a certain region. Below is my current code which visualizes my region of interest on the map viewer // dataset var srtm = ee.Image('USGS/...
0
votes
0answers
7 views

Why would the Extract Multi to Points not extract values to all points when the raster and the point clearly overlay?

I have four rasters and a point feature that all live in the same file geodatabase and have the same CRS. The point feature covers a large area. See image below: The rasters which values I wish to ...
2
votes
0answers
93 views

Extracting several string values by attribute in QGIS graphical model

I am trying to extract several features by attribute within QGIS 3.12 graphical modeler. The values to extract shall be given by an input and not beeing predefined. Currently I am using a string-...
1
vote
1answer
111 views

QGIS - extract xyz of max raster values in mask vector layer

I have a bathymetric raster from which I want to extract the max depth value within a mask (vector) layer. The vector layer has 252 circular polygons The end result must have x, y and depth attributes ...
0
votes
1answer
75 views

Saving 'OUTPUT': from processing toolbox to a file path with unique file name [closed]

I'm using the QGIS Toolbox and Python Console to write a script for parsing data. I want to do something like this: output_path = open('C:/Users/EH/Desktop/PYQGIS_Model_Output') # Set location to ...
2
votes
1answer
60 views

Difference between two Z-values extracted using “Extract -Z values” tool in QGIS 3

When I run Extract-Z tool (vector geometry) and select Q3, I get two values for each object: In many cases, the two values are almost identical, but in some, they differ quite a bit. There is no ...
1
vote
1answer
34 views

QGIS 3.4 - Extract Z - Vector Geometry

In QGIS Versions before 3.4 there was a tool called "Extract-Z" values (Not drape!) in the Vector Geometry Toolbox... Anybody know where it has gone? I have not found it, neither in the processing ...
3
votes
1answer
121 views

Select by raster colour in ArcMap

Is it possible to select every pixel with a certain RGB combination in ArcMap 10.5? For example, from a .tif image I want to select and extract all the red pixels. In this case the RGB codes would be: ...

1
2 3 4 5