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
16 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 ...
0 votes
2 answers
31 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
23 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,766
2 votes
3 answers
76 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 ...
  • 367
0 votes
0 answers
8 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
1 vote
0 answers
38 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 ...
  • 319
1 vote
1 answer
37 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
32 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
32 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 ...
  • 389
1 vote
1 answer
75 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
56 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
64 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,291
1 vote
0 answers
25 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
42 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 &...
  • 61
4 votes
1 answer
137 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 ...
  • 44.9k
0 votes
1 answer
25 views

WMS filter/aggregator for GetCapabilities

I have a GUI that consumes WMS layers. We want to be able to connect to multiple WMS services, but we don't want the users seeing all the available layers, just the ones that are relevant for our use ...
1 vote
1 answer
71 views

Filter shapefiles - keeping inside parts only

I'm quite new to GIS so sorry if this is a daft question - is it possible to filter out non-overlapping parts of a shapefile? I have a boundary shapefile which I would like to cover with small areas ...
2 votes
2 answers
67 views

"overlay_*" functions not working in PyQGIS with getFeatures() expression

I am trying to use overlay_intersects() inside an expression in order to loop through the features from a target layer that intersect with a feature having a certain "id". request_string = &...
0 votes
1 answer
505 views

Python: how to filter a point cloud according to the color of the points

I have a point cloud with XYZRGB data which was derived from images. Is there any way I can filter the point cloud based on colour data? This is possible in images maybe using OpenCV or some other ...
  • 11
1 vote
1 answer
68 views

Filtering by Current date

I am trying to build a query on a layer that uses the current date with a data source of a file geodatabase. I had this query working in ArcGIS Pro, but would like to figure it out in QGIS. In Pro, ...
  • 11
0 votes
0 answers
15 views

Filtering nighttime lights pictures based on city

I am working in QGIS Desktop 3.24.1 Tisler. I just want to only consider nighttime lights data from images (from https://www.ngdc.noaa.gov/eog/dmsp/downloadV4composites.html) of certain cities. How ...
0 votes
1 answer
97 views

Using filter expression in QGIS Modeler

Is there a way to load a saved filter expression (.qqf or .json) in QGIS Modeler and use it in the Feature filter?
0 votes
1 answer
70 views

Cloud filtering Landsat collection 2 time series by region

I'm working on creating an NDVI time series and I'm trying to filter out clouds over a specific region so I wont get huge gaps in the time series. Is there a way to reduce the extent by cloud percent? ...
0 votes
0 answers
50 views

SQL Query to limit loaded feature from WFS Layer to the extent of a feature in another layer

I am trying to download all the features from a WFS layer (Land_Parcel_Layer) and save them locally. The layer contains the land parcels for the whole federal state in Germany. The service URL is: ...
  • 1
3 votes
1 answer
223 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 ...
2 votes
2 answers
129 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 ...
  • 6,993
1 vote
0 answers
26 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 ...
4 votes
3 answers
96 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 ...
1 vote
1 answer
127 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 ...
  • 37
2 votes
1 answer
310 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 ...
0 votes
2 answers
79 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 ...
5 votes
2 answers
272 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 (...
  • 1,607
3 votes
1 answer
201 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 ...
  • 1,607
3 votes
1 answer
118 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 ...
1 vote
0 answers
23 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 ...
  • 11
1 vote
1 answer
66 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','...
  • 43
0 votes
0 answers
54 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 ...
  • 43
0 votes
0 answers
99 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 ...
5 votes
3 answers
278 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 ...
  • 152
0 votes
0 answers
54 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 ...
0 votes
1 answer
99 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 ...
0 votes
1 answer
134 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 ...
  • 399
4 votes
1 answer
85 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" ...
2 votes
1 answer
369 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 ...
6 votes
1 answer
146 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" > ...
  • 145
0 votes
1 answer
453 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&...
  • 145
0 votes
1 answer
45 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. ...
  • 399
3 votes
1 answer
508 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 ...
1 vote
2 answers
158 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 ...
0 votes
0 answers
79 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, ...

1
2 3 4 5
12