Questions tagged [subset]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

subset FeatureCollection by position - Google Earth Engine

I have a FeatureCollection such as: // Make a list of Features. var features = [ ee.Feature(ee.Geometry.Rectangle(30.01, 59.80, 30.59, 60.15), {name: 'Voronoi'}), ee.Feature(ee.Geometry.Point(-73....
0
votes
1answer
275 views

Subset raster stack with logical indeces R

Is it possible to subset a raster stack by indexing on a logical vector? r1 <- raster(nrow = 100, ncol = 100) r1[] <- round(runif(ncell(r1), 1, 4), 0) r2 <- raster(nrow = 100, ncol = 100) r2[...
0
votes
1answer
183 views

Making subset of Sentinel-2 with rasterio?

I am looking for a solution to my problem with rasterio. I want to download just a specific part of the image from AWS based on lat lon coordinates. Rasterio offers a great tool (window) although it ...
0
votes
0answers
29 views

Subsampling data to reduce autocorrelation/pseudo-replication

I am interested in the effect subsampling data has on reducing autocorrelation/pseudo-replication. My application is biologically-inspired: I am examining trends in genetic variation within species ...
1
vote
1answer
33 views

Add a scale or category to a rule which is only applied to points within original subset in QGIS

I have subset a shapefile of points to only include those having a value of (for example) 33 in the variable "Bout" using a rule based assignation: Now I would like to apply a sub-category to that ...
1
vote
1answer
107 views

Randomly selecting single point from within multiple fishnet grid-squares?

Using ArcGIS, I have a large data set of occurrence data many of which are in similar places. I have created a fishnet around the total area and want to select a single random point from within each ...
1
vote
0answers
304 views

more than one reactive events to subset markers in Leaflet in R

I am trying to create a shiny ap in R that displays markers on a map. I have a couple of categories that I would like to subset. Currently, I can subset but the map is only reactive on a single input (...
3
votes
1answer
222 views

Subset SpatialPolygon using Raster in R

I have a polygon and raster with the same extent: library(rgdal) library(raster) library(rgeos) library(sp) # make the polygons df <- structure(list(LAT = c(35.61226, 35.34986, 35.17794, 34....
0
votes
1answer
286 views

Spatial subset using a rectangular bounding box - geometry not in Mercator?

I want to restrict my feature collection (in red, below) to the conterminous U.S. I found this solution to create a bounding box: var continentalUS = ee.Geometry.Rectangle(-127.18, 19.39, -62.75, 45);...
2
votes
1answer
129 views

Cannot write a subset of features back to the source Geopackage or File Geodatabase

At QGIS 2.18.16, I have a Geopackage point layer with a selection subset. I need to write the selected records to the same Geopackage as a new layer, with a new name. When I attempt to Save As... ...
1
vote
2answers
307 views

Not giving output for gdal_translate

I am using following code to take subset of all files in a folder. The code is not giving any error but it is not creating output files. How to solve it? import numpy as np import re import gdal ...
3
votes
0answers
303 views

Subset polygon data of SpatialPolygonsDataFrame by Distance to a Set of Coordinates in R? [duplicate]

I am learning and I made a very similar question when I hadn't learnt what a Spatial Polygons Data Frame was about 10 days ago: https://stackoverflow.com/questions/49193867/select-raster-in-ggplot-...
2
votes
1answer
1k views

How to subset point data by outside of polygon data in R

How can I subset point data from outside of polygon data in R? Currently, I can subset point data inside polygon data, now I want to get point data outside polygon data. library(sf) nc <- st_read(...
1
vote
0answers
131 views

GeoServer WCS 2.0.1 subset request data with different file dimensions

I'm trying get two sets of data using WCS 2.0.1 request from my GeoServer and do raster calculation using GDAL's gdal_calc.py. Both datasets in GeoServer are converted to the same coordinates and same ...