Skip to main content

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
33 views

Displaying specific field values of attribute table in QGIS Print Layout

I am building a layout where I want to add the attribute table of the map and only display the maximum and minimum values of a field. I think there is the option to filter by expression but I am not ...
DobleG_95's user avatar
1 vote
1 answer
25 views

QGIS - Filter value relation by crossing 2 arrays

I'm working on a value-relation to filter a list based on the content of 2 fields. The value relation is based on the field "IDC". I want to compare the content of the field "IDC" ...
Giene's user avatar
  • 753
0 votes
0 answers
28 views

Water Depth, Velocity, Depth*Velocity Filtering using QGIS

I need to filter some hydraulic modelling results in QGIS as per the following specification: Exclude areas with a depth less than 10 mm AND depth x velocity (dV) below 0.125 m2/s; Exclude areas ...
Guest's user avatar
  • 1
1 vote
2 answers
50 views

QGIS - Extract with expression - one occurrence each - if ID IS NULL

I'm currently configuring the 'Extract by expression' algorithm to achieve the following: Keep all values where 'ID_IMPCT' IS NOT NULL. Keep only one occurrence of each unique feature in 'LIB_PHYSIO' ...
Giene's user avatar
  • 753
0 votes
0 answers
5 views

How to filter out single properties from an Image on GEE?

I'm trying to filter out a single property from this Image on GEE but cannot figure out how to do so. I'm trying to extract "5: Coral/Algae" from "benthic_class_names" to create a ...
Nick Carrick's user avatar
0 votes
2 answers
65 views

Ogr2ogr: How do I filter a .SHP based on multiple attribute values

I'm attempting to convert (to GeoJSON) & filter a .shp file by the value of multiple attributes. This example, using a single attribute (ID) value, works as expected but I'm confused by the syntax ...
DaveF's user avatar
  • 13
3 votes
1 answer
131 views

Filtering subset of records to be used in subsequent SQL statements

I recently posted this question, where the answer involved SQL and a Virtual Layer. In that situation, the SQL acted on the entire input layer, with the output exactly as desired. Now I would filter ...
Stu Smith's user avatar
  • 8,160
1 vote
1 answer
25 views

Filter/selecting features in layer in qgis by grouping after one column and only taking the max value of each group

Lets say there is a layer like this in qgis which can be copy pasted from this geojson: { "type": "FeatureCollection", "name": "test", "crs": { "...
Lenn's user avatar
  • 1,297
1 vote
0 answers
44 views

Defining filter of QgsMapLayerComboBox as layer without geometry with PyQGIS

How to define the filter of a QgsMapLayerComboBox as a layer without geometry with PyQGIS? Below I share examples of how to filter points, lines, polygons and raster layers. But layers without ...
Aloísio Ângelo's user avatar
0 votes
1 answer
18 views

GEE - Filter by list of partial PRODUCT_ID properties

I got a list of partial PRODUCT_IDS, like: var partials = ['S2B_MSIL2A_20210807T075609', 'S2B_MSIL2A_20210827T075609'] How do I filter a collection with that list? There are 2 functions: var ...
Flash Thunder's user avatar
0 votes
1 answer
84 views

Filter GeoJSON layer dynamically in Leaflet?

I try filter layer on my Leaflet jsonp from input text html to my JS code but is not working. On my code I tried to make filter is working only when I insert number 4 directly: let pontoFiltrado = ...
Quetions's user avatar
0 votes
1 answer
40 views

Google Earth Engine - Filter Sentinel 1 by time not date

So I'm trying to filter sentinel-1 data in Google Earth Engine by time specifically rather than date. I'm trying to avoid morning acquisitions. So I know that the acquisition start time is contained ...
Mícheál's user avatar
  • 147
0 votes
0 answers
34 views

QGIS wrong filter result when using "." instead of ","

I am using the graphical modeler in QGIS. I need to extract all water objects within a county which are bigger than 5,133 ha. After clipping the nationwide OSM water objects to the county. I let the ...
BAE_23's user avatar
  • 677
2 votes
1 answer
143 views

QGIS: Count points directly left/right of line using geometry generator

I have a line layer and a points layer. I am trying to count the points that are within 500 meters directly to one side of my lines. I have entered the following code into Value As far as my ...
Gregory C's user avatar
  • 413
0 votes
1 answer
29 views

QGIS - filter (exclude) Atlaspages with empty legend

Is there a way to filter/exclude all pages of a Atlas-setting that have no selected legend information?
Marek's user avatar
  • 537
0 votes
0 answers
20 views

Is it possible to select multiple selections from different categories in a value relation drive down list?

I have used the following instructions to create a drive down list in the 'value relation' widget to allow a category to be selected in one attribute which filters the options in another. This has ...
Laura Bennett's user avatar
1 vote
0 answers
27 views

QGIS layer filter doesn't work if there is an other condition next to a regexp one

I have layer in qgis. It has an attribute data_count (Integer) and a value (String). When I filer for "value" ~ 'maximum-speed-limit' it works. When I filter for "data_count" > ...
588chm's user avatar
  • 625
0 votes
1 answer
36 views

QGIS - Avoid duplicates on Value-Relation widget

In QGIS, I'm working with two layers that are related to each other through the value-relation widget. Layer 1: TEST fields: "id"; "LIB"; "odc_ID"; "Code" ...
Giene's user avatar
  • 753
1 vote
1 answer
77 views

How to filter by a list of values in a WFS request?

I'm using the following GetFeature POST request (to http://localhost:8080/geoserver/wfs) trying to query the sample "bugsites" layer that ships with GeoServer. The request is supposed to ...
goofy4224's user avatar
1 vote
1 answer
76 views

How to filter by date in a WFS request?

I'm using the following GetFeature request to filter features by a date field. (The layer is, for testing purposes, hosted by a local GeoServer instance and its data is stored in a GeoPackage file on ...
goofy4224's user avatar
0 votes
0 answers
45 views

Editing attribute data in QGIS

I have a large address file with the address (as an example) Adilsvej 16,4 tv ,DK-2000,Frederiksberg I need to remove the DK- from the 6000 plus rows. Can someone advice?
Tessa Bell's user avatar
0 votes
0 answers
56 views

Removing isolated point "hotspots" from big point sample

I have about 60000 points (lat, lng) that I want to layer on a world map as a heat map. The problem is that there are some isolated point hotspots. Isolated here meaning they have only a few points ...
jonasmylesx's user avatar
1 vote
1 answer
96 views

Showing there are multiple features with the same point location using Leaflet while maintaining ability to filter data

I have a dataset of training sessions provided at various sites in Greater Manchester. The training sessions have different names, but in many cases, the sites may be the same. Here is a short example ...
Chris Pope's user avatar
0 votes
1 answer
66 views

Eliminating missing pixels in NDVI time series analysis by temporal gap filling with linear interpolation to get a smooth result

The code is running correctly but it doesn't give me a smoothened result. Anyone who can help me out? var startDate = '2015-01-01'; var endDate = '2023-12-31'; var images = sentinel.filter(ee.Filter....
Eppez's user avatar
  • 1
-2 votes
1 answer
111 views

How to use AJAX request to filter WFS data?

I want to create a mash-up that shows sites in Italy on a basemap. With the AJAX call I want to include the number of earthquakes within a certain distance to each site. I want to use the AJAX call ...
Alm's user avatar
  • 83
0 votes
0 answers
44 views

Filtering Features Graphically on QGIS

I currently filter QGIS features using expressions. However, as I need to handle a large number of variables this can be tedious. Is there a plugin or any other method to filter features of a given ...
Nandula's user avatar
  • 783
3 votes
1 answer
414 views

QGIS Attribute Form -> Value Relation -> Filter expression: expressions or functions to get the names of current layer and current field

Shortcut to the core question: How to write a custom function to get the name of a field in an Attribute Form? I would like to use it as a variable in a Filter expression of a field with a Value ...
Bernd V.'s user avatar
  • 3,199
0 votes
1 answer
61 views

Dynamic Filtering based on unique values of ArcGIS vector layer field

I'm trying to achieve in ArcGIS some sort of dynamic filter where the software would propose filtering options based on unique values in a vector layer field. This is similar to how PowerBI or Tableau ...
Frank's user avatar
  • 1
0 votes
0 answers
32 views

GEE filtering featureCollection with a condition

I have a dictionary in the form : f_dict = {'A':2, 'B':10, 'C':3, 'X':112, ...} dict.keys() correspond to a GEE featureCollection property. Lets call it 'f_prop'. dict.values() correspond to the &...
Sinooshka's user avatar
  • 391
3 votes
1 answer
71 views

QGIS - Atlas : how to filter the pages of the Atlas?

I generated an atlas with plots in it and I wonder if I can choose what pages I want to keep in my atlas, using the page's number. I have this list for my page. For example, for the abreviation "...
Sarah BOUTARD's user avatar
1 vote
1 answer
95 views

How to remove small polygons using Python

I would like to perform in Python, the action done by the following QGIS command: Processing Toolbox > Vector Geometry > Keep N Biggest Parts It removes the smallest polygons from a ...
Oalvinegro's user avatar
1 vote
0 answers
59 views

Displaying only features filtered in attribute table on map in QGIS

Having filtered features using the Attribute Table filter feature how do I display only those features and hide the rest on the Map screen? I can 'select' them so they are highlighted but I want to ...
Edward's user avatar
  • 199
0 votes
0 answers
37 views

Filtering data on QGIS

I have a raster displaying anchoring intensity in the Mediterranean Sea. As you can see in the first screenshot, there are two different classes (pink and dark pink). I would like to get rid of the ...
Arnaud Boulenger's user avatar
0 votes
1 answer
80 views

Filtering with a WFS GetFeature request

At the moment I am working on a school project and I want to customize a WFS-url. The WFS-url (https://service.pdok.nl/lv/bag/wfs/v2_0?request=GetCapabilities&service=WFS) shows five featureTypes ...
DaanV's user avatar
  • 1
-1 votes
1 answer
125 views

Filtering image collection based on a custom function Google Earth Engine Python API

I want to filter image collection based on a custom function Google Earth Engine (GEE) Python API. For example, and this is just an example to make this question tangible. I want to filter the ...
user88484's user avatar
  • 1,829
0 votes
0 answers
27 views

Collection of images for specific points without exceeding memory in GEE

I've been using your help for months now but today it's my time to ask my first question. I have been working with a collection of images for 4 years for small areas and developed a script that ...
Giannis Gallios's user avatar
1 vote
1 answer
148 views

Changing layer filter according to Map Theme in QGIS

I have a project in QGIS with configured map themes. Some layers need only certain features to be shown for each theme. The layer filter is not a part of a style, so the theme can't change the filter. ...
BlackTesta's user avatar
0 votes
1 answer
53 views

Filtering WFS request by bbox, typeName and typeID

I never worked with WFS before but am forced to get a few responses from a public WFS server for a prototype research project. I have skimmed many resources and tried out lots of combinations but I ...
baddiz's user avatar
  • 3
0 votes
1 answer
58 views

Exporting atlas using "filter by" fields

The "filter by" option in the Atlas dialogue doesn't seem to work for me. When I create a filter using an expression consisting of several fields, the atlas export includes pages which ...
RedCitrus's user avatar
0 votes
0 answers
129 views

Geoserver SLD styling with multiple filters & Denominator

I have a WFS Store - I add a new layer from there and style it. Style is generating too long URL (Depending on a features requested). Often geoserver log is filled with. java.lang.RuntimeException: ...
Tomppeli's user avatar
4 votes
1 answer
168 views

Updating filter expression or filter value from one layer to another layer in QGIS

From a layer1 to which I apply a filter ("field1"='value') in the provider feature filter dialog window, I would like to reuse this Expression, or just the attribute 'value' in another ...
Acperience's user avatar
  • 1,142
0 votes
0 answers
64 views

QGIS Server | WMS | Filter with LIKE operator and % wildcard

QGIS Server is accepting with WMS serving the filter operator LIKE (and also ILIKE in non geopackage bases). In order to use LIKE reasonably also the wildcard "%" should be usable: ...&...
relume's user avatar
  • 71
1 vote
0 answers
55 views

Match ids in different layers by PyQGIS

I have a CSV with a column of filtered ids, and because of the filter, the ids are out of order (they start at 23 and not 1) and from it I create another layer with the same number of features, but at ...
Mestrexama's user avatar
1 vote
1 answer
111 views

Remove previous features from GeoJSON layer on filtering data in Leaflet

The following block corresponds to a temporal slider that should update (add and remove) a set of points in a leaflet map. The code below is currently working as I want, it can add the points when the ...
PedroMTG's user avatar
0 votes
0 answers
73 views

Attribute table can't be "unfiltered"

We got a shapefile from someone who is working with ArcMap. For them, the file contains 363 features - for us, when opened in QGIS 3.28.7, the file only contains 321 features. The attribute table ...
Erik's user avatar
  • 16.5k
-1 votes
1 answer
74 views

.filterDate is not function

I'm having an error while trying to filter a dataset by date with the function .filterDate(). My dataset is as follow : I'm using this function in the code below : var zonalStatsL = intervals.map(...
Aurélien Lengrand's user avatar
1 vote
1 answer
56 views

Filter for next value

I'm working with QGIS 3.28.5. I'm working on breeding bird data. I have a set of points where I heard a bird on a specific date. Now I want to separate the territories. My problem is, that I have to ...
golo peters's user avatar
0 votes
0 answers
21 views

r.mfilter not applying to raster map

I tried applying r.mfilter to my raster map and it is saying error and not creating any filtered layer. I have tried closing the app and redid project again and upgraded grass as well but still the ...
sathisha's user avatar
0 votes
1 answer
27 views

Filter out blue patches in greenest pixel composite - GEE Quality Mosaic NDVI change image Sentinel-2

I am making greenest pixel composites from Sentinel-2 SR (using the quality mosaic tool in GEE based on NDVI). I then subtract two greenest pixel composites to get a change in NDVI image. These blue ...
Erin's user avatar
  • 157
1 vote
0 answers
142 views

Export layers in QGIS back to OSM format

I downloaded a Delaware OSM file from the Geofabrik website. I want to simplify and reduce the size of the graph to speed up queries (eventually I'll run it on whole US). I'm only concerned about the ...
Vivek Reddy's user avatar

1
2 3 4 5
15