Questions tagged [extract]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
59 views
+50

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
11 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
62 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
19 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
17 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
38 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
16 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
0answers
24 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
37 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
45 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
29 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
96 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
46 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
20 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
62 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
44 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
62 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
58 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
30 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
20 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 ...
5
votes
1answer
2k 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
30 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
145 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
73 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
46 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
47 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
62 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 ...
0
votes
1answer
194 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
34 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
68 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
74 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
49 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
59 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
47 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
30 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 ...
1
vote
1answer
71 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: ...
0
votes
0answers
34 views

Extract the last vertex of a road network using QGIS 3.10 [duplicate]

I have a multilinestring layer representing a 10 km service area from a school. I would like to extract the vertices located at the ends of this network. How can I do?
1
vote
1answer
311 views

Creating Latitude & Longitude from polygon shapefile using QGIS

Could you help me to create long & lat (x and y coordinates in degrees) for polygon shapefile? When I used directly QGIS export vectors to csv file, it didn't work. Here is the example file: ...
1
vote
1answer
31 views

Extract latitudes and longitudes from a government database

I'm trying to get the latitudes and longitudes of various data points on the Alberta Water License viewer. The mapping tool has the points displayed on it, and I'm able to click on them and get more ...
2
votes
2answers
872 views

Extract cell values and coordinates from raster using a polygon in R

I'm trying to extract cell values and coordinates from raster using a polygon in R. I have multiple raster layers with different types of values, all within the same extent. I have multiple polygons ...
0
votes
1answer
36 views

ArcPy extract and split FC name to create table [closed]

I have geodatabase with many feature classes. Filenames of these fc have all info I need. My goal is to have a CSV or Excel table, that I can work with. So all filenames match schema ...
1
vote
2answers
255 views

extract() while keeping polygon ID in output

im trying to extract the mean from a satellite imagery. The point is, that when Im using this code (simplified for this example): > semana21 <- raster("Semana21.tif") > poly <- ...
2
votes
1answer
47 views

Extracting some bands of multiband satellite image as layers using QGIS 3

I have a multiband(8 bands) satellite image. Now what I want, is to extract 5 bands from that image. By extraction I mean saving those 5 bands into a different layer or Geotiff. I am using QGIS 3 (...
0
votes
0answers
29 views

Extracting OSM file from overpass turbo query

I'm working on SUMO project and I am trying to use only motorways. So I used http://overpass-turbo.eu/ to select it. I need to export an OSM file from the overpass query contaning just the motorways. ...
0
votes
1answer
120 views

R - How to get raster values across a latitude band

Let's say I have a raster like this: library(raster) r <- raster(ncols=15, nrows=15) values(r) <- runif(ncell(r)) * 1:ncell(r) plot(r) I need to: find the latitude point closest to a given ...
2
votes
1answer
126 views

QGIS Processing Modeller - Select date by expression

I have a data file that contains current meter data for multiple days. I am trying to use the Processing Modeller to extract a single days worth of data for further manipulation, using the extract ...
1
vote
0answers
141 views

Why extract returns NAs on the boundary when polygons exactly overlap with the rasters in R?

I'm new to GIS and English is not my first language, so apologies for anything inappropriate. I'm trying to use extract() to get mean values of rasters inside polygons. One of the R codes I used are ...
1
vote
1answer
303 views

Using spatial points to extract values from large raster in R

I am working with location data for 22 different individuals (id). The data contains an id column, and coordinates (UTM_x and UTM_y). For all individuals combined, there is a total of 991,099 ...
1
vote
2answers
234 views

Reading raster values in points gives back a generator object instead of actual value

Given a raster TIF file and a point feature class in a geodatabase, I am trying to extract the values of the raster on the points and add them as a new column on the point feature class. I am using ...

1
2 3 4 5