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.

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

QGIS - Is there a way to filter contents of attribute table in report to features that have a matching attribute field value with report feature?

I am running a report in QGIS 3.28.3 to map all of the features within square mile polygons. The report is running off a field group section with that PLSS section layer, based on the sectcode field. ...
  • 1
1 vote
0 answers
32 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 ...
4 votes
1 answer
62 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
217 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 ...
  • 193
0 votes
0 answers
9 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 ...
  • 2,930
3 votes
1 answer
20 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: ...
  • 33
0 votes
1 answer
51 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 ...
  • 495
0 votes
1 answer
25 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
48 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: ...
  • 11
0 votes
0 answers
89 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 ...
  • 139
2 votes
2 answers
78 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 : `~!@#$%^&*_{}[]<>?/ ...
  • 613
5 votes
1 answer
145 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') ...
  • 613
3 votes
1 answer
123 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 ...
  • 613
2 votes
1 answer
136 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 ...
  • 79
5 votes
2 answers
102 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 ...
  • 2,496
5 votes
3 answers
155 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 ...
  • 111
4 votes
3 answers
282 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 ...
  • 41
1 vote
2 answers
104 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
86 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 ...
  • 12k
1 vote
0 answers
46 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 "...
  • 3,167
1 vote
1 answer
50 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 ...
  • 11
6 votes
2 answers
192 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 ...
  • 347
1 vote
1 answer
62 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
32 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
50 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
29 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
73 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 ...
  • 892
0 votes
1 answer
106 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
39 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 ...
  • 161
0 votes
0 answers
166 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
37 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
90 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,632
1 vote
0 answers
33 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
65 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
165 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
37 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
183 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 ...
  • 7,904
3 votes
3 answers
392 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 ...
  • 705
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 &...
  • 11
2 votes
0 answers
64 views

QGIS 3.22.10: problems with cursor, while writing a filter

I just remarked a problem in QGIS 3.22, I never had before. When I write a filter for a layer, then the cursor is several millimeters right of the place where I write. This makes it difficult to write ...
  • 421
1 vote
1 answer
110 views

Problem with WFS Consuming by using CQL_FILTER

for the past couple of days I have been trying to consume a WFS through Python. I was using owslib but I noticed that the client only uses version 1.0.0 and i tried to apply cql_filters by doing like ...
0 votes
1 answer
75 views

Filter raster data by year

I need exclude a number of years from a deforestation raster layer. I have 2000-2019 deforestation data and I only require 2011-2015 data for my project. I have tried using raster calculator, but each ...
  • 1
1 vote
1 answer
87 views

Correct syntax for filtering of geopackages (SQL)

I already asked about this topic, but I am still struggling. I created a geopackage with railways of Germany. I need to filter some sections out. I understand that geopackages work with SQL syntax for ...
  • 529
1 vote
1 answer
609 views

Filtering imageCollection to get only images that fully cover a specified geometry

I would like to perform a supervised classification only on the images of the collection that cover the entire geometry Domain. I used ee.Filter.contains but I get an error message in the console: ...
4 votes
1 answer
142 views

Filter array with a field value

I need to filter filenames (like DJI_0147_3_5.jpg) in an array, and the code below works, but, where you see a 3 in regex, I need instead a field value. In the array output (sourcefile field) we have ...
2 votes
1 answer
126 views

QGIS Expression: count - how to apply filter

I have a table of parcels. Each parcel can have multiple land use types (not necesarily distinct). Those are stored in another table - so in the UseType table, a parcel can show up as wineyard, ...
  • 2,496
1 vote
0 answers
55 views

Using Filter-Argument in Sum-Expression

I am a QGIS-Newbie who is trying to get familiar with the Field-Calculator. I want to sum up the "Length" of all objects with "Calc-ID" of value 1. I know it is possible to select ...
2 votes
1 answer
51 views

QGIS 3.10.3 line out of the route

I am using QGIS 3.10.3. I try to symbolize routes in both direction (CL1 and CR1). Using the rule based symbology and created 4 sections according to the values. I filtered the data using <= and &...
  • 161
4 votes
1 answer
299 views

Spatial queries with QGIS provider feature filter (layer filter)

QGIS offers the option to use layer filters: Layer Properties > Source > Provider Feature Filter, see documentation: Query Builder. As far as I can see, this filter is only able to filter based ...
  • 55.2k

1
2 3 4 5
13