Questions tagged [filter]
To show, hide, extract, or remove particular data from a larger set, narrowing it down, or the specific criteria used to do so.
644
questions
0
votes
1
answer
28
views
How to getValue (string) from an ui.Checkbox in GEE
I am developing an GEE-app where I initially want to concatenate a birdSelector string for user-defined filtering of an image collection containing monthly bird distribution maps from different ...
3
votes
1
answer
70
views
Filtering maximum and minimum length in QGIS Attribute table
My Dataset contains the field "length" with numbers from 1 to 100. I just want to filter data which are greater than 50 or which are less than 50.
I just use the formula:
"Length" &...
2
votes
1
answer
47
views
selecting features having area in a specific range
I have converted the image to vector, now I need to select area features which are less than 5sqkm and greater than 0.5sqkm. following is the code but I'm getting an error, please help me with the ...
0
votes
1
answer
21
views
Filter points from a feature collection that do NOT overlap with polygon in Google Earth Engine
I have a feature collection of points, some of which overlap with a polygon. I want to filter out the points that do not overlap with the polygon, and create a new feature collection. I am able to ...
0
votes
1
answer
22
views
Exclude a date for Albedo calculation
I work on a university project and I use Google engines.
I want to get albedo above a city environment, one value is weird according to other data and I wish to exclude one date corresponding to this ...
0
votes
1
answer
42
views
Filter FeatureCollection by multiple properties
I have a FeatureCollection ('results'), with several cloud probability values as properties (from different dates).
These properties are called "CLD01", "CLD02",...
I want to ...
0
votes
2
answers
81
views
Filtering lines with some conditions in QGIS [closed]
I have two shape layers: a Polygon layer and a Line layer in QGIS.
I want to filter/highlight lines based on the following conditions:
Case 1: Filter/highlight lines which cross all the polygons (...
2
votes
2
answers
187
views
Replace single and double quotes with QGIS expressions
I have a dataset containing special characters ' and ". I want to replace them with nothing. I tried to replace them with the replace function but it shows some error. Is there any other ...
0
votes
2
answers
64
views
Using filter on WFS
We used to use this WFS-URL in a Python script with a filter on (see below) to filter out features in a certain geographical area, more specifically our town-borders.
https://geoservices....
3
votes
1
answer
175
views
Filtering data containing numeric values in QGIS
My dataset contains numeric values, alphanumeric values, and non-numeric values. How can I filter data which contains numeric values? Below is an example showing a list of data and filtered data which ...
4
votes
1
answer
78
views
Filtering contents of attribute table in report using QGIS
I am running a report in QGIS 3.28.3 to map features within square-mile sections. The report is running off the sectcode field of that layer. There are attribute tables in the report layout that ...
1
vote
0
answers
60
views
Error when filtering an ImageCollection by a new property in GEE
I've written a function to compute the percentage of clouds+shadows+snow for a particular region and add this percentage as a new image property called CLOUD_COVER_R. The main objective is to filter ...
5
votes
1
answer
67
views
Creating vector layer as subset of another vector layer using PyQGIS
With PyQGIS.I am trying to create a new vector layer by filtering another vector layer based on its attributes. Here is the code that I am using:
fn = r"C:/path/file.shp"
layer = ...
5
votes
3
answers
230
views
Filtering which points to display using expressions in QGIS
I have a load of points loaded in as a CSV file. I want to show only certain points based on their name, e.g. only value1, value4 and value8, the field name is "Drilled ID".
I have gone to ...
0
votes
0
answers
84
views
ArcGIS Experience Builder Filter Date Selector Label not correct
The date/time selector within the Filter widget of ArcGIS Experience Builder in ArcGIS Online displays a label of month/year which doesn't seem to be configurable.
Is there a way to change the format ...
3
votes
1
answer
26
views
rule based labeling of point layer using intersections method on another polygon layer
I try to make a rule based labeling for my locations point layer which should be displayed, if a point intersects with the value residential in a (osm) layer called landuse. So I tried to do:
...
0
votes
1
answer
159
views
Filtering a specific range of NDVI values in GEE
I have this script that creates a composite image From Sentinel-2 in GEE and filters it for date and ROI:
/* Import Sentinel-2 imagery and mask clouds using the Sentinel-2 QA band */
function ...
0
votes
1
answer
29
views
Filter FeatureCollection by list of dates to new several FeatureCollections for each date
I have a FeatureCollection of Features (zonstats_reduced) that I obtained after Reduce Regions based on Sentinel mosaics. I have created daily Sentinel mosaics for the years 2017-2019. Each feature ...
0
votes
1
answer
84
views
Select features covering an image (Google Earth Engine)
I have a feature collection (grids) and an image. Any ideas on how to filter only features that cover the image (only the unmasked part of the image which appears in the map layer)?
Here's the code: ...
0
votes
0
answers
202
views
Selecting unique values in attribute table in ArcGIS Pro
I'm moving my data from Python to ArcGIS Pro because they have spatial features. The data is a table, in excel, with X, Y coordinates and several attributes, but no geometry (no shapes). I have ...
2
votes
2
answers
126
views
Identify and move data containing special characters to a separate column
My dataset contains special characters. I want to identify the data which contains special characters and separate it into a new column.
List of special characters :
`~!@#$%^&*_{}[]<>?/
...
5
votes
1
answer
173
views
Filtering list of data mixed with both full capital letter words and small letter words in QGIS
My dataset contains mixed values of both capital and small letter wordings, e.g.
Hello world (contains fully small letter wording 'world')
HELLO World (contains fully capital letter wording 'HELLO')
...
3
votes
1
answer
192
views
Filter Upper Case Letters and Lower Case Letters
In a list of data i have uppercase letters and lowercase letters. I want to filter the data which contains only uppercase letters, lowercase later and mixed both upper and lower
MM Metro shoes are ...
2
votes
1
answer
215
views
Filter pixel values from a list in every Image in an ImageCollection in Google Earth Engine
The context
I am using the MODIS Land Cover image collection ("MODIS/061/MCD12Q1") to calculate land use change area over 20 years. I am using the "LC_Type1" classification and I ...
5
votes
2
answers
119
views
QGIS aggregate - filter by newest date
i have two one-to-may related layers (relation name: tree_observation) parent: trees and child: obeservations. The trees should be revisited on a regular base and for each observation a new child ...
5
votes
3
answers
190
views
Negation with "Not" and except NULL values in QGIS
Is this intentional or an error?
In QGIS I am trying to filter a layer by the attribute "Foot".
I can easily filter by writing "Foot"='no' and it behaves like expected.
But when I ...
4
votes
3
answers
475
views
Showing data only within certain area in QGIS
I've downloaded some data-files online and loaded these into QGIS. This is data from the whole country, so in the map the country is fully covered with the data visually. However, I only want to see ...
1
vote
2
answers
129
views
Extract features based on spatial and attribute from another shapefile QGIS
I have two line-type shapfiles A and B that have different sizes, but some of them go through the same alignment as the other. These two shapefiles have an attribute table with a column called ident.
...
3
votes
1
answer
121
views
QGIS expression - overlay function, using overlay function as filter
I have a point layer with one field, id ranging from 0 to 9. I have a polygon that intersects some of the points, like so:
My aim is to use an expression to get the intersecting point with the ...
1
vote
0
answers
60
views
Filter extreme values from surface raster in QGIS
I am using a Digital Surface Model with 1m-resolution to perform a visibility analysis.
The laser obviously also hit the power cables which cross the area, so these elevated points now act as a "...
1
vote
1
answer
80
views
Google Earth Engine Filter Out Incomplete Sentinel images by Geometry
I need to filter out all images of a ee.imageCollection that is not complete (does not cover the entire geometry).
I tried using .filterMetadata('MGRS_TILE') and I didn't make it. Any idea?
Here is ...
6
votes
2
answers
253
views
Filtering QgsCheckableComboBox items in PyQGIS
I have a very long list of values and I would like to make things easier for the user by allowing to filter the items of the QgsCheckableCombobox with a lineEdit for instance.
With this code I have ...
1
vote
1
answer
80
views
QGIS Rule Based Labeling filter string from a value
I'm relatively new to QGIS. Recently I started mapping the hiking trails of Nepal. I used a GPX recorder application from Android Play Store. While entering the waypoint, I entered the name. The ...
0
votes
0
answers
38
views
Filter specific value specifications to just have a raster with those values showing on ArcGIS Pro
I have a .crf multidimensional raster and want to specify the p-value to just be showing the values over 0.05. How would I do this on ArcGIS Pro?
0
votes
0
answers
55
views
Changing the layer when the filter request value gets changed in OpenLayers
I am currently stuck with the example of OpenLayers Vector WFS get Feature.
The layer of the map doesn't get updated when I try to set the filter to a dynamic variable.
I shortened some of the example ...
1
vote
1
answer
38
views
Is it possible to use two filters on one layer in maputnik
I'm using Maputnik and thunderforest to create a map layout and I want to show the English labels of a city only if they do not match with the original name of the city AND if there is an original ...
0
votes
1
answer
108
views
SLD - ElseFilter and TextSymbolizer
The idea is to create a style that will define different styles for certain groups of polygons using the element, and for all other polygons for which no style has been defined, generate a special ...
0
votes
1
answer
113
views
How to show layers with multiple filters on OpenLayers 6
UPDATE 17 NOV 22 + FURTHER CLARIFICATIONS
I add some more info to my question below.
The vector layers are coming from geojson files that appears like the following
{
"type": "...
1
vote
0
answers
49
views
Removing automatic filter using QGIS [closed]
I opened a layer on QGIS 3.10.3 and got an automatic filter. I checked the Query builder, and nothing appears in the Query window. My colleague checked the attribute table on ArcMap. There is no ...
0
votes
0
answers
232
views
Automatic zoom on Filter Widget in ArcGIS Experience Builder?
I've implemented a Filter Widget in ArcGIS Experience Builder where I allow users to filter items by name. I would like the map to automatically zoom in on the filtered object. Theoretically there ...
0
votes
2
answers
43
views
SLD filter for GetMap, which ignores records in a layer of GeoServer 2.20.4
This below section in SLD worked ok in 2.10 Geoserver, where it did not include any records from that layer.
<Filter>
<Or />
</Filter>
However, This does not work in GetMap of ...
0
votes
0
answers
14
views
Counting the number of points from one layer within a fixed distance from particular points of another layer with QGIS 3.22.7
In the following question I was taught how to count the number of points in layer B that are within a certain distance from layer A. If I want to count the number of only certain points in layer B, ...
1
vote
1
answer
119
views
Filter small raster areas computationally efficient (with R/gdal)
I have a large geotiff with NDVI differences (values -10'000 to +10'000), that I use to create polygons. My workflow currently is to polygonize a binary mask of it and then filter areas that are too ...
1
vote
0
answers
40
views
Smoothing a DEM with visible grid
I have a DEM (1x1m) whose hillshade shows like this:
As you can see, a grid shows up and that could be a problem for hydrological modeling.
Do you know why this happens?
How can I remove this grid ...
0
votes
1
answer
78
views
Calculate mean in Qgis filter
Is there a way to calculate mean in qgis filter expression?
I tried:
"SHAPE_AREA" > mean("SHAPE_AREA")
I get:
An error occurred when executing the query, please check the ...
0
votes
0
answers
177
views
How to scrape only tweets with lat_lon (geocode) information in R
I'm scraping tweets by using the rtweet package in R. As I'm interested in getting only tweets who bring with them the information about lat and long (geocode) about a specific location, I use the ...
1
vote
2
answers
38
views
Filter attributes from a data layer into a point layer
So, I have two layers:
-A point layer with a number of venues (around 2000 venues). The attribute table has 7 columns:
Venue ID (Foursquare)
Latitude
Longitude
Venue category name (Foursquare)
...
1
vote
1
answer
284
views
QGIS: intersect and filter in expression based filter
I am trying to filter as part of an intersection but can't work out where to add the filter.
The intersection works fine
intersects($geometry,aggregate('DSC_Roads','collect',$geometry))
But where can ...
3
votes
3
answers
542
views
QGIS: Resample (upscale) raster using a Gaussian filter
I want to resample a raster from 15m to 460m using a Gaussian filter.
The goal
I am having a coarse image which I want to downscale. I also have a fine resolution band to assist the downscaling. The ...
0
votes
0
answers
12
views
Is it possible to applyg a filter in ArcGIS Online that contains an ampersand (&)?
I have a dataset the I am trying to filter, but am struggling due to the inclusion of a special character (&). Specifically I am trying to filter all instances of the following: 'Transportation &...