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
2 votes
1 answer
43 views

Applying filter on local OSM PBF file

Because I sometimes need to work without an internet connection, I use OpenStreetMap data by downloading regional data from https://download.geofabrik.de/ as "Australia_latest.osm.pbf", then ...
user avatar
-2 votes
0 answers
23 views

error in using filter of vector layer in QGIS [closed]

When I want to do a filter in a vector layer I got this error message: how can I fix this problem?
user avatar
2 votes
2 answers
68 views

Apply the same filter expression at the provider level to several layers of the TOC in QGIS in one single operation

I have a QGIS project with plenty of geometric layers coming from a PostGIS database. Each and every layer has the same filter expression to limit the display to a same object: the filter simply being ...
user avatar
  • 6,698
1 vote
0 answers
22 views

Extracting/Filtering of string data based on z Coordinate

I have been supplied with a complex 3D file of a historic mine in .dxf format. The plan is made up of a series "slices", each slice captured at a specific elevation. I have successfully ...
user avatar
4 votes
3 answers
78 views

Hiding multiple horizontal rows in the attribute table in QGIS

I would like to see only the first 10 of my 150 attributes show up in the attribute table and have the rest 140 attributes "hidden". Is this possible? However, it would have to be possible ...
user avatar
1 vote
1 answer
39 views

Filter Sentinel-3 data based on cloud cover over a region of interest

I am using a modified code (see below) from here (Filter Sentinel-2 images base on cloud cover over a region of interest) to filter Sentinel-3 images based on their cloud cover over my region of ...
user avatar
  • 25
1 vote
1 answer
59 views

Error when filtering spatial points dataframe: unable to find an inherited method for function ‘over’ for signature ‘"SpatialPointsDataFrame", "crs"’

I generated two spatial datasets: a SpatialPointsDataFrame and a polygon. The polygon should filter the SpatialPointsDataFrame, based on whether the points are in the polygon or not. However when I ...
user avatar
0 votes
2 answers
44 views

Calculating number of days where a condition is met over multiple regions in Google Earth Engine

I have been trying to calculate the number of days where the wind speed average per day exceeded 25 m/s for all municipalities in Colombia during the year 2015. My goal is to know how many days ...
user avatar
5 votes
2 answers
171 views

Displaying only visible in canvas features in attribute table using PyQGIS

As explained by @xunilk in Getting attribute values from vector features visible in QGIS canvas using PyQGIS we can easily access to the attribute values of the features visible in the QGIS canvas (...
user avatar
  • 1,372
3 votes
1 answer
83 views

Adding spatial filter to WFS layer request not working

I'm trying to load big WFS layers to my project by mean of a Python script but since I only need to display features located in the south west of France I thought I could easily add a bbox filter in ...
user avatar
  • 1,372
3 votes
1 answer
58 views

Delete specific values for contour lines in an attribute table for deletion in line data with QGIS

Issue: I have an attribute table showing contour lines for both bathymetric and terrestrial data. As my study is entirely focused on the marine environment, I would only like my maps to show the ...
user avatar
1 vote
0 answers
13 views

ee.List map function, using value to filter ee.Featureset

I am converting the image into a vector, but because it might return more that 5000 features I want to union all the features that have the same elevation property. I run the following code, but the ...
user avatar
  • 11
1 vote
1 answer
35 views

filter.date not working GEE

I am trying to filter deforestation alerts (image collection) by date. However, it does not work, because my output is empty. My code is the following: var date1 = ee.Number(fecha1.getRelative('day','...
user avatar
  • 43
0 votes
0 answers
40 views

Function returns zero features GEE when filter image collection by date

I am trying to create a function that filters a collection by a date range. In my code, the user can select two dates in which they want to create an anlysis. The way the code is build, the users fill ...
user avatar
  • 43
0 votes
0 answers
40 views

QGIS 3.16 shapefile features not visible

A point shapefile with the project CRS has 66 digitized features (point count is 66). The attribute table header reflects the point number; and that there are 7 points filtered. (I have no idea how ...
user avatar
5 votes
3 answers
226 views

QGIS - Is it possible to filter records by the current date?

Is it possible to filter the records of a layer in QGIS with the current date? The field I want to filter is a date-column and the layer is stored in a GeoPackage. The problem I see is that I can't ...
user avatar
  • 152
0 votes
0 answers
35 views

Filtering data in QGIS

I'm working with a dataset of buildings and have catergorised them by their function (gebruikersfunctie). The list of diffetent functions is too big however, so I want to add certain values together ...
user avatar
0 votes
1 answer
45 views

Finding points from shapefile (residing in GeoServer) that are inside a provided polygon

I am new to GeoServer and spatial data. I have a shapefile "shape-file-2" in geo server which is a collection of Points. I am trying to fetch all the points which are inside a provided ...
user avatar
0 votes
1 answer
52 views

QGIS - filter in attribute table

I filtered my attribute table to get only some objects (here is my filter: "Code_12" BETWEEN '211' AND '243') but I see on my attribute table that I have selected only some objects on the ...
user avatar
  • 399
4 votes
1 answer
62 views

Filter attribute information based on three different parameters and return ids using PyQGIS

I am having an attribute table information for line features. Each Line feature has LINK ID's which are supposed to be unique but in some places are repeating. Also I have a field "NEW" ...
user avatar
2 votes
1 answer
105 views

Filtering images that completely overlap area of interest in Google Earth Engine

I have a Sentinel 1 image collection and I want to filter the images that completely overlap my region of interest. filterBounds() keeps the images that partially overlap my ROI. While browsing the ...
user avatar
6 votes
1 answer
102 views

Filtering rows by letter QGIS

I'm using QGIS and I want to create a rule to filter a dataset by size and by name (all areas over 80000 squarekilometers that begin with an A) This is the expression I built: "areakm2" > ...
user avatar
  • 105
0 votes
1 answer
148 views

Mapbox - combining multiple checkbox filters

I am creating a Mapbox map in which I want multiple checkboxes to create an 'and' filter on one layer. Here's the checkbox parts of my code so far: <input type="checkbox" id="srBox&...
user avatar
  • 145
0 votes
1 answer
38 views

QGIS - Why calculations in the attribute table are not adapting to filter?

I want to add columns in a shapefile to make calculations on it, those calculations are supposed to measure the size per land cover type and therefore I need that my calculation adapts to my filters. ...
user avatar
  • 399
3 votes
1 answer
176 views

Filter a QGIS attribute table using an attribute value from another layer

I am trying to filter an attribute table in QGIS 3.22 using 'Advanced Filter (Expression)' so that the filtered features shown are only those that intersect with a value of an attribute in another ...
user avatar
1 vote
2 answers
63 views

Filtering Google Earth Engine image collection by filename using wildcards

I am new to GEE and now I need to filter and sort a sentinel 2 data collection by cloud coverage. Basically, I need the Ecuador tile with "T17MNT" in its id in image properties. I figure out ...
user avatar
0 votes
0 answers
56 views

Filtering a WFS layer using a shapefile in QGIS

I want to perform a spatial filter on a WFS service (QGIS) so that I can only see the elements that correspond to my work area. The layer doesn't have any spatial IDs, which would make it much easier, ...
user avatar
0 votes
1 answer
69 views

Why spatial filter (DWITHIN) is not working in WFS

I am working using spatial filter Dwithin for WFS. I have worked using a simple filter using to show no of earthquake data for the year 2020 in GeoJSON format from the given WFS:- https://emidius.mi....
user avatar
  • 69
0 votes
1 answer
53 views

Filtering image by ID number in Google Earth Engine JavaScript API

I have a landsat image collection. I want to select third and fourth image using the features ID (index number) not using the image metadata. How it can be achieved? On console we see features as a ...
user avatar
1 vote
0 answers
63 views

SAGA Majority Filter - what is radius?

In QGIS, Saga's majority filter has only a few parameters: the raster, search cell type, and the radius. I thought it uses a kernel or moving window, so my question is what does the radius refer to? I ...
user avatar
  • 491
1 vote
1 answer
145 views

Search possibility to display filtered data with Leaflet.VectorGrid

I use Leaflet and Vectorgrid and I can display markers on the map. I have a geojson file of around 42 000 markers of places in Morocco and I would like to filter it to display only markers with a ...
user avatar
  • 135
1 vote
1 answer
52 views

QGIS query comparing the value of two fields doesn’t work

I try to filter my layer in QGIS comparing the value of two fields. Somehow, this code doesn’t work: ( "Field1_integer" <> to_int( "Field2_string")) If I use the same code ...
user avatar
  • 188
0 votes
1 answer
123 views

Filtering out null values from Feature collection

I'm having an issue with filtering out null values from a feature collection. I wrote a map function to get the land surface temperature value for every feature in the collection, which ran fine. Then ...
user avatar
0 votes
0 answers
35 views

Filter by field value in a child table

In QGIS, I would like to filter the display of a parent table in (a postgis point theme) by the values in a field from a child table (a postgresql table in the same db). The parent table and child ...
user avatar
5 votes
1 answer
142 views

Expression 'ILIKE' does not work in Filter

The expression ILIKE does not work, if I try to use it in a filter. Example: The Filter <"d_name" LIKE '%otter'> finds the object 'Fischotter' in the field "d_name", that is ...
user avatar
  • 309
1 vote
2 answers
165 views

Filter DEM image collection for elevation band value greater than 0, to show land only - Google Earth Engine

I'm trying to display only the land areas of a DEM image collection, by filtering the image collection for values greater than 0. I am not sure how to write the arguments properly. There is only 1 ...
user avatar
  • 43
0 votes
0 answers
52 views

OWSLib post request

I am trying to generate a post request with owslib python library. However, I am getting an error when trying to filter the result. from owslib.fes import * from owslib.wfs import WebFeatureService # ...
user avatar
3 votes
3 answers
156 views

Converting attribute table expression to filter expression using QGIS

BACKGROUND: In my recent SE GIS question about selecting the latest attribute table record, grouped by a field value, three different selection expressions were kindly offered as solutions. All three ...
user avatar
  • 6,973
0 votes
0 answers
26 views

Filtering Pixels with same classification in a image collection Google Earth Engine

I had classified with a random forest classifier using a specific training data set composed by random points per each image in a Sentinel-2 imagery. After displaying the results I saw many areas are ...
user avatar
1 vote
1 answer
65 views

What is the lidR filter_poi() equivalent to readLAS(..., "-keep_last")?

With the excellent lidR package we can filter at C++ level when using readLAS(), e.g. with the following syntax lidar = readLAS(LASfile, filter="-keep_first") or when the pointcloud is ...
user avatar
  • 1,219
0 votes
1 answer
112 views

Filtering attributes of selected features to new feature class using ArcPy with ArcGIS Pro

I have a gdb of point features. I want to iterate through the gdb, select the point features that are within a polygon shapefile, and export the selected feature results to a new gdb. However, I only ...
user avatar
  • 1,641
1 vote
0 answers
45 views

What are the values in the output raster when using SAGA majority/minority filter in QGIS returns

I am using the Majority/Minority SAGA tool in QGIS 3.16.10 on a binary 0,1 raster file to try and smooth the classification. When I run this tool it generates a raster with lots of values between 0 ...
user avatar
2 votes
2 answers
700 views

Filtering GeoDataFrame rows with list of strings in GeoPandas

I want to filter GeoPandas GeoDataFrame rows by a list containing 4 'matches'; list_of_names = ['BE36_1000_1349', 'BE36_1000_1350', 'BE36_1000_1449', 'BE36_1000_1450']. I want to return four complete ...
user avatar
  • 295
1 vote
1 answer
89 views

Filtering image collection based on footprint using Google Earth Engine

I'm trying to filter an image collection by checking whether the footprint of the contained features only consists of 5 vertices. The following code snipped gives me 14 elements, although there should ...
user avatar
  • 1,154
0 votes
2 answers
39 views

In QGIS how do I filter layer so just one of the features in that layer displays and all others are not displayed?

I have a simple shapefile polygon layer that I would like to just have it display only one of the polygons temporarily and have all other polygons not displayed. How can I do this applying some sort ...
user avatar
  • 51
3 votes
1 answer
85 views

QGIS: Filter by click?

I am editing a polygon layer in QGIS 3.20. During this task I need to filter the layer by a certain attribute. This needs to be done like a 100 times on a workday. The workflow is like: Visually ...
user avatar
  • 31
2 votes
0 answers
77 views

QGIS Gaussian Filter [closed]

I am optimistically hoping someone can shed some light on this. I am trying to apply a gaussian/low pass filter to a raster dataset. I naively applied the SAGA Gaussian Filter in QGIS to the below, ...
user avatar
1 vote
1 answer
167 views

Applying multiple filters using Geoserver SLD styling

I have vector point data being served via Geoserver, with layer styling being applied using an SLD stylesheet. I've created a number of styling rules to symbolise these points, and I'd like to ...
user avatar
1 vote
1 answer
36 views

How to filter all but last returns using lidR?

I am using the great lidR package and want to check all points classified as ground which are not the last returns. How would I do that? Something like this would this would be logic for me but its ...
user avatar
0 votes
1 answer
67 views

Filter an ImageCollection by difference of two date properties

I have an image collection with two date properties: start and end. I would like to select only those images that are 30 days or more apart between the start and end date. I tried the following but ...
user avatar
  • 41

1
2 3 4 5
12