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
1
vote
1answer
28 views

Leaflet WFST - filter layers on the fly

I use L.WFST plugin to get PostGIS data to my Leaflet app via Geoserver. The dataset is quite large, so I set a BBOX filter on it to show only features within current extent. It works good. However, I ...
1
vote
1answer
34 views

How to filter WFS on basis of values in a (csv) list in QGIS?

I have made a map in Qgis (3.20) and added a layer of OGC WFS polygon from an online service. This layer displays coloured surfaces where buildings are, for the whole country. I also have a list of ...
0
votes
0answers
22 views

Entity filter in a modeler

I use modelers and would like it to filter my output result for me. Therefore, I am using the "Feature Filter" algorithm in the modeler. However, I don't know how to use the 'Filter ...
2
votes
1answer
56 views

Efficient filtering of many options in QGIS Plugin

Using PyQGIS, I am developing a QGIS plugin that includes a filter function. It should make handling easier for users (internal) who rarely use QGIS. Now I have created a interface with the QT ...
2
votes
0answers
27 views

OGC CSW Filter Capabilities Comparison Operators

I'm a bit confused with OGC standards related to CSW GetCapabilities for Filter Encoding. A typical CSW GetCapabilities Request http://www.geocatalogue.fr/api-public/servicesRest?service=CSW&...
1
vote
1answer
36 views

Iterate through ee.List of strings containing dates to subset to new ImageCollection

I've got a Sentinel-2 ImageCollection that I want to subset by date. The example below contains images from two dates (2019-02-17 & 2019-02-20), and I want to separate them. The i_date and f_date ...
3
votes
1answer
42 views

Filtering NULL values in date field in QGIS [duplicate]

In QGIS 3.16.9 I would like to find all the locations that have a NULL value. It is for a date field in the field services Drains dataset. I have been searching the use of NULL around various forums. ...
0
votes
1answer
28 views

Filter Landsat 5 Surface Reflectance Images by Cloud Cover with a Region of Interest in GEE

I'd like to filter a large collection of Landsat 5 Surface Reflectance images by cloud cover within a small region of interest (not the entire image scene) in Google Earth Engine. I know there are ...
3
votes
1answer
65 views

Building query to filter for date using QGIS

I am using QGIS. I want to filter for all datapoints that were taken over a specific period: 01/01/2015 to 31/12/2015. If I use the 'filter features using form' I can manage this, however I wanted to ...
1
vote
1answer
47 views

"AttributeError: 'QgsZonalStatistics' object has no attribute 'getFeatures'" when filtering ZonalStatistics result in PyQGIS

I want to calculate zonal stats of a raster using a polygon layer and the filter the ouput as another layer. This is the code I tried: zoneStat = QgsZonalStatistics (tempVectorLyr, rasterLyr, '-', 1) ...
1
vote
0answers
41 views

I have a filter applied on map, but when I open print layout, the filter isn't applied [closed]

I have created a print layout, added my legend etc and noticed that the filter I created in the map has not applied to the map in print layout. I can still see points I shouldn't be able to see. I ...
0
votes
0answers
41 views

How to efficiently filter and select attributes based on conditional formatting?

I am wishing to filter my attribute table to display only certain values that meet certain criteria based on multiple column values. For example, I want to show all locations on my map that are Lost ...
4
votes
1answer
40 views

Reference relation filter expression (using geometry)

I've been trying to use the reference relation widget win QGIS 3.20 with a filter expression and running into quite a bit of issues. If the expression filter is "self contained" (meaning, it ...
2
votes
1answer
45 views

Filter objects in attribute table by minimum value

I have a line layer which contains the attributes "id" and "network_cost". There are lots of objects with the same id. For example, there are 500 objects with the id "ABC"...
4
votes
1answer
53 views

Is it possible to filter the attribute table in several years at the same time?

I have a very extensive attribute table (see screenshot) and would now like to filter the objects according to certain years (1997, 2002, 2009, 2014 and 2018) and, after that, biotope types. I think ...
0
votes
0answers
24 views

WFS filter without specifying exact geometry structure

I'm trying to query a WFS-server for polygons with an Intersects-filter. The problem is that the server does not recognize "MultiSurface" or "surfaceMember" objects in a query, ...
0
votes
0answers
26 views

Apply a filter to average NDVI for a year with only 8 minus inside an image collection

I'm calculating the NDVI annual values for a Landsat 8 collection, one more year is not complete, it has only 8 months (from April to December). I would like to know how I apply some kind of filter to ...
3
votes
1answer
71 views

Filtering OSM natural peaks in QGIS

The primary source of data for a map that I'm making in QGIS 3.14 QGIS 3.20 is OSM. There is a layer which contains natural peaks, obtained with a natural=peak query. In order to reduce clutter, I'd ...
2
votes
0answers
56 views

Filtering records in GeoPackage file by numeric/text fields using GeoPandas/Fiona

I have a GPKG file of 46M records and 6.5GB filesize, and need to open about 300 records, where fieldX = Y (Y may change). Opening the entire file would cause memory overflow, while processing the ...
2
votes
1answer
44 views

Ground extraction from laz

I have got laz file without classification However everything what I can extract with pdal is this: Seems like the algorithm detects everything as ground. The code is following: pipeline = [ "/...
1
vote
1answer
67 views

How to CQL filter in WFS request

I am trying to request an WFS url within the circle. With the following url: https://localhost:81?request=GetFeature&version=1.0.0&service=WFS&typename=ferrets:ab&outputformat=json&...
0
votes
0answers
51 views

Qgis2web filtering clusters with Leaflet output

I'm using the Leaflet output option on qgis2web. However, when I select the 'Cluster' option for my exported layers, the 'Attribute filters' that are created don't appear to update the displayed data /...
1
vote
1answer
30 views

Limit what is shown in the layer panel window under a categorized layer to that which is showing in the canvas extents in QGIS

I have imported a csv file via 'Open data source manager' > 'Delimited text' which has multiple locations all specified with Eastings and Northings, these are plotted fine and in the layer styling ...
-1
votes
1answer
49 views

WFS with CQL_FILTER=BBOX return empty layer

This is the first time I using WFS. I'm trying to get features with this WFS request inside a BBOX: uri=https://wxs.ign.fr/choisirgeoportail/geoportail/wfs?service=WFS&srsName=EPSG:4326&...
1
vote
2answers
26 views

Can I filter a subset of the polygons without affecting the rest of the polygons in QGIS?

When using QGIS 3.10, I often filter out unneeded features to create my maps. Is there a way for me to filter a subset of the polygons without affecting the rest? For example: The shapefile I have ...
2
votes
1answer
46 views

Filtering dates by validity in QGIS 3.14

I have a WFS data, which I'm trying to filter by DATE. I'm using query builder. I need to filter valid dates which are max three years older than current date. I can do it if I calculate three years ...
0
votes
0answers
21 views

OpenLayers Mapbox style filter by id

I am trying to filter my vector layer to only show certain style layers. This is how the first lines of my style look like: { "version": 8, "sprite": "../sprites/...
1
vote
1answer
51 views

Use attribute of all filtered features of one layer as label in the Print composer

Is it possible to filter some features in one layer and use those filtered features as labels in the Print composer of another layer? I am trying to make an atlas. I have two layers, one which has the ...
1
vote
1answer
49 views

Filter QGIS layout legend item style by expression for min, max, median values

Summary: In the [print] Layout Composer in QGIS 3.18.1 I am trying to filter the legend styles displayed for an item that is a polygon layer styled by the "categorised renderer" by the min, ...
3
votes
1answer
102 views

Filter nearby points leaving only one in QGIS

I have a shapefile with points, however the algorithm gave not one point per location, but several. I would need to filter these points, so that there is only one point, does not matter which one, ...
2
votes
1answer
80 views

Filter features within bounding box on provider side

I have a large polygon layer and want to filter only the features within a given bounding box (a other layer), BOFORE loading it into QGIS (on provider side). I tryed it with a SQL virtual layer but ...
2
votes
2answers
124 views

Hiding invisible map layer in legend using QGIS

I am working with QGIS 3.14 and 3.16 on Mac and Windows and I am really struggling in finding a way to remove disabled map layers in the legend view of the Layout Composer. In prior versions there was ...
0
votes
0answers
10 views

How to map band data from spatial/temporal filtered Landsat image pixels with individual geographic points?

I am trying to use Google Earth Engine to analyse Landsat 5 reflectance data at selected geographic points. The goal is to filter images spatially (those that intersect the points) and temporally (...
3
votes
0answers
196 views

QGIS: Using Filter expression for Drive Down Lists in Value Relation Widget

I have a vector layer and want to enable the user to pick values from drop-down lists. The values of the drop-down list change depending on the chosen value of the previous field(s). It works ...
2
votes
1answer
58 views

Query not working on Virtual Layer but working on the real layer

I'm using QGIS 3.10.10 because of project compatibility. I have the following issue with a query used to filter a virtual layer: If I try to apply a filter to the layer INFRASTRUTTURE as follows: ...
0
votes
1answer
42 views

Filter a collection using nightime in Google Earth Engine

I'm working with GOES-16 full disk data, trying to calculate the frequency of low clouds in northern Chile. I need to filter the collection so it contains only images from September 2017 at night. ...
0
votes
0answers
43 views

Performing spatio-temporal join/filter between two polygon layers using QGIS

I have been looking for a long time for a good explanation of a spatio-temporal filter or join in QGIS. In my specific case I have two shapefiles (polygons) - one describes the ignitions and the other ...
0
votes
1answer
51 views

How do I filter an image collection from properties of one feature collection and metadata of another image collection?

I have a feature collection (fc) with 29 features. Each feature has a "date" property, in the format "YYYY-MM-DD", the same format used to filter images by the filterDate() ...
0
votes
0answers
14 views

Filtering on point geometry not working on feature collection of Google Earth Engine

I have a feature collection with point geometries and a few properties, which I have displayed on the map. On clicking at a point on the map, I try to obtain the corresponding feature by a filter: fc....
0
votes
1answer
60 views

Problems with "Filter" and "Select with Expression" statements in QGIS

I am using QGIS 3.10 to make simple queries using the "Filter" and "Select by Expression" tools. I have a layer with cities/towns in New York State with population attributes, e.g. ...
1
vote
1answer
195 views

Filter null bands from Image Collection in GEE [closed]

I have created an Image collection (say Var MIC) of monthly mean data from a larger image collection (say Var LIC). The created image collection MIC have some images with no bands due to no scene ...
1
vote
0answers
38 views

How to colour vector tiles based on filter in QGIS 3.16

I have a vector tiles layer that displays fine in QGIS 3.16: A fill without a filter works as well: However, the fill based on a filter on the feature properties does not work (result can be seen in ...
1
vote
1answer
58 views

Filtering image collection - only one image from a certain date

My code generates an image collection. In the collection, there are multiple images from the same date (probably from different tiles). Is there a way to filter it and get only one image from a ...
2
votes
1answer
59 views

Features filter based on geographical conditions in QGIS

I use QGIS 3.10 on a MacOS 10.13 environment. I've got a point shapefile layer and a polygon shapefile layer. I want to set a filter to show (and work with) only those points that are within a certain ...
0
votes
1answer
28 views

One-liner to print first feature from GPKG

To make the findings from this GDAL issue more discoverable, I'm posting here as well. ogr2ogr has a -limit option. I couldn't find this option for ogrinfo, while ogrinfo has e.g. -where. I would ...
0
votes
1answer
20 views

One-liner to print first feature from GeoJSON

To make the findings from this GDAL issue more discoverable, I'm posting here as well. ogr2ogr has a -limit option. I couldn't find this option for ogrinfo, while ogrinfo has e.g. -where. I would ...
4
votes
1answer
128 views

How was this map made by qgis2web

I have a layer with some points and I want to publish it using qgis2web. I have seen some exampes where the legend can be filtered such as in this webmap: https://ukerc.rl.ac.uk/TOOLS/...
6
votes
4answers
428 views

Taking only the largest polygon from multi-polygon layer in QGIS

I have multi-polygon geometries in my file, and I want to take only the largest polygon within the multi-polygon geometry to further work with it. I tried using Geometry Tool Multipart to Single part, ...
1
vote
0answers
45 views

Populating all city names from WFS file of a state in a drop down using OpenLayers 6 [closed]

How can I populate all cities' names from a WFS file of a state in a drop down? I am using OpenLayers 6 as mapping Libraries. Here is my code to add a GeoJSON WFS layer. //Adding vector source layers ...
2
votes
0answers
232 views

Google Earth Engine (GEE): Using closing filter (Focal_max) on masked image

I am working on a script for flood mapping. I have created a watermask and now need to use two morphological filters with a window of 3x3 pixels, first a dilation filter that enlarges the water mask ...

1
2 3 4 5
11