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
2answers
14 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
29 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
16 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
35 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
41 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
69 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
59 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
1answer
54 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
8 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
149 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 ...
1
vote
0answers
24 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
28 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
37 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
34 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
13 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
48 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. ...
0
votes
1answer
53 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
37 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
45 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
49 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
26 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
17 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
108 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
307 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
37 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
110 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 ...
0
votes
0answers
21 views

Mapbox - filters override each other

I'm creating a map based on this example: https://labs.mapbox.com/education/impact-tools/finder-with-filters/ In their example, they have two dropdown filters and one checkbox filter. I would like to ...
2
votes
1answer
49 views

Designing a Low Pass Filter

How can I design a similar Low Pass Filter as given below which takes into account only 4-connectivity and ignores the pixels that complete 8-connectivity?
0
votes
0answers
20 views

LPF and HPF filters in ENVI

Since we know about convolution filter in image processing, it is basically a matrix applied to an image and a mathematical operation comprised of integers and it works by determining the value of a ...
0
votes
0answers
28 views

Have a common filter via GET variable for multiple GeoJSON layers in QGIS

I have a Leaflet page, that fetches various GPS tracks and data from a website and filters the resulting GeoJSON files via HTTP GET variables. If you want to get the data just for one day, I can use ...
1
vote
0answers
23 views

Filtering duplicate features on mapbox vector tile source

I am using mapbox and have a vector tiles source. How can i filter out duplicate features in order to display only unique feature? I checked the expressions in the filter and i cannot see how can ...
1
vote
1answer
34 views

QGIS ODBC connection to mssqlserver returns only filtered data

I am connecting to an MSSQL database table which does not have a geometry type field, but has coordinates in separate columns. The ODBC connection works, but when I bring the table in to QGIS, it is ...
1
vote
1answer
105 views

Filter (query) OSM .pbf file in QGIS graphical modeler or Python (QuickOSM or related tools)

I would like to automate a simple operation in the QGIS graphical modeler or a simple Python script. add all line features from a .pbf file filter all features with certain values within a certain ...
0
votes
0answers
34 views

QGIS: Filtering aggregate returns different results with same value

I have a joined layer that was created from a one-to-many join between a vector layer with three attributes (lat, long, siteid) and a data layer that contains many columns with many entries possessing ...
0
votes
1answer
24 views

Query Items by Type

I'm having trouble with queries in my app. If you look at this page you'll notice the 'Search by Item' drop-down is blank and the 'Search by Category' displays 'Select one' by default. And when you ...
1
vote
1answer
76 views

Filtering Sentinel-5P from metadata on Google Earth Engine

I need a S5P image from a spesific date. Is there any way to filter image collection based on the metadata on GEE so the result is only from an image. I've tried something like: var collection = ee....
0
votes
0answers
42 views

Does QGIS support geographical filter in WMS GetMap request?

I have a layer in QGIS SERVER which I need to filter by adding a BBOX geographical filter. I know that QGIS Server supports a kind of CQL filter, as GEOServer does, as explained here: https://docs....
0
votes
0answers
27 views

Sentinel-2 remove images from image set with B10 above a value (remove cirrus)?

I've noted in Sentinel-2, some of my images in a collection appear hazy (and have B10 values > 50) yet the cloud coverage assessment shows no cloud/cirrus. I understand I can see the ...
0
votes
0answers
22 views

How to filter out/in from GroupLayer (hide/show)

Assuming I have the following groupLayer: var myGroupLayer = new L.layerGroup(); and I add it to my map: myGroupLayer.addTo(map); somewhere in my app I add some layer to myGroupLayer like: myOptions=...
1
vote
1answer
24 views

Filtering across image collections based on a minimum pixel value

I am using the MODIS Terra Continuous Vegetation Fields Global Yearly 250m dataset to derive PTC values for forests. For this, I need to filter pixels that have PTC values that are at least 10%. While ...
0
votes
1answer
89 views

Removing outliers from LiDAR point cloud using ArcMap

I have a city-wide LiDAR (LAS format) dataset that I'd like to clear of outlier points to process in ArcMap 10.7. I've identified the points using the Locate Outliers tool. How do I use the resulting ...
1
vote
1answer
38 views

Query Result message returns 0 rows but browser shows results

I am using the Layer filter tools in QGIS version 3.14.1 Pi. (Right Click on layer > Filter) The source data is a Mapinfo .tab-file on a Server. When I put in my filter query, "Field_name"...
0
votes
1answer
85 views

GEE filter image to month before specified date

I am using a for loop in GEE to loop over several years of data adding bands to an image (MODIS fire data). I am currently adding a band for the mean NDVI in the month the fire occurred and the ...
0
votes
0answers
83 views

Filtering layer in Query Builder with array from other layer using QGIS

I have the following situation using QGIS 3.4: 'Layer 1' with lines and a field ('Field X') and 'Layer 2' with points where values in a 'Field X' are available. Now I would like to filter all points ...
1
vote
0answers
32 views

Using various script forms in Linux QGIS 3.12

In the last few weeks, I have noticed that various script forms in QGIS (3.12, Linux Mint 19.3) have strange cursor behaviour. Spaces in scripts are unevenly represented on the screen. This is hard to ...
1
vote
0answers
23 views

How can I omit points when filtering OSM data with Osmosis

I am trying to get data for rivers/waterways around the world. I have downloaded the planet file from OSM (as well as a North America file from Geofabrik), and am trying to use Osmosis to filter out ...
0
votes
2answers
27 views

Atlas - Adding point coordinate icon

I have created an atlas for all countries in the world, and I would like to drop a pin to show the centre of the country (as attached). Is there a way to add these coordinates automatically such as in ...
0
votes
0answers
18 views

Google Earth Engine map of GHSL filter year

I would like to know how could be possible to filer only one year of the dataset of GHSL? var dataset = ee.Image('JRC/GHSL/P2016/BUILT_LDSMT_GLOBE_V1'); var builtUpMultitemporal = dataset.select('...
0
votes
0answers
66 views

Data Driven map - Atlas, How to automate the filter feature?

I have a Postgres data source that needs to be filtered from hundreds of records to a few records, each time a make a map. Is there a way to automate that, so that the atlas makes map pages for each '...
1
vote
1answer
193 views

Google Earth Engine: set band as property without reducing

I have a function that takes an ImageCollection and sets a mean value as a property for another ImageCollection. var DHW = HS_SSTA_7d.map(function(im) { var res = im.reduceRegion(...

1
2 3 4 5
11