Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
30 views

Filter a date interval (month) shapefile

I'm trying to filter some data of a shapefile (with "Filter") for QGIS to show points in a date interval of a shapefile. I have a shapefile which has a table of attributes of sightings of animals with ...
1
vote
1answer
20 views

Filter Google Earth Engine image collection between today and 10 days ago

I wrote a small script that filters GEE image collection by date that I'm manually change: var start_date = '2018-11-02' var end_date = '2018-11-30' // choose image collection var ls8 = ee....
0
votes
2answers
36 views

GeoServer WFS viewParams for complex features

In GeoServer, I installed an app-schema linked to a PostGIS database. When I call the layer via the WFS GetFeature I have an INSPIRE compliant GML file that looks like (small portion of the GML): <...
1
vote
0answers
16 views

Filtering Polygon Data

Working with QGIs 3.4.1 - Madeira I am trying to perform a simple Filter, but when I include more than 31 values of a given field I get Zero returns. Is there a limit. I am using the following ...
1
vote
0answers
62 views

Filter on joined tables in QGIS

QGIS 3.2.3: I have a shapefile and an Excel table which is joined to the shapefile based on matching IDs. I would like to filter the shapefile while using a joined field from the Excel table. When I ...
0
votes
2answers
42 views

Filtering attributes in a shapefile using a common ID from an Excel file

I am using QGIS 2.18.11 and I have a shape layer with lines and polylines I need to review; but not all of them, only certain ones. The ones I need to review are marked in a specific field (rev = 0 or ...
1
vote
1answer
31 views

Filtering earth engine image collection by image ID

I'm trying to filter an image collection using not bands within each image of the collection, but by pattern matching in the image ID. Using: var dataset_2099 = ee.ImageCollection('NASA/NEX-DCP30') ...
0
votes
1answer
28 views

How can I turn editable a shapefile that has been previously saved filtered?

After describing this issue in Qgis: Shape layer turns non-editable if saved filtered (where the answer basically was "if you filter, don't edit"), it has happened again (filtering and editing ...
0
votes
1answer
24 views

Apply .median reducer to image collection over roi EXCLUDING images with high cloud cover. GEE

I'm trying to train an algorithm to detect mangrove forests in several regions around Asia for each year using Landsat 8. When I apply the .median reducer on some image collections over a 1-year ...
3
votes
1answer
86 views

How do I filter a layer based on property that's an array in with Mapbox GL JS?

I've got a relational dataset broken into two layers: members and organizations. They're GeoJSON, with features that look something like this: // Org Features { "type": "Feature", "geometry": { ...
2
votes
1answer
77 views

Importing LiDAR point cloud classes in Potree?

I can't find a way to import classes (roof, vegetation, ground, etc..) in Potree. I generated the web page, except I get the black point cloud. When I, for example, open .las file in ERDAS Imagine, I ...
0
votes
0answers
30 views

Data value range variance of FFT

I want to perform a FFT conversion for tiff images and following is my code. However, data range of FFT result is in range from 0 to 255, this is different from my original tif image(almost is ...
1
vote
0answers
25 views

How to filter legend by map content in composer with raster layers?

Does the "Filter Legend by Map Content" button in composer of QGIs 3.2 version work only for vector layers? It seems it's a bug reported in 2.18.x version and should be fixed for 3.x versions (https://...
0
votes
0answers
55 views

Leaflet.js - Add a filter on a specific Key with pre-existing markers

Going back to my previous question : https://stackoverflow.com/questions/51786003/leaflet-js-create-layers-and-add-markers-depending-on-geojson-category-data (I didn't have a clear answer to resolve ...
1
vote
0answers
46 views

ogr2ogr: filter on date-field

ogr2ogr -spat_srs EPSG:31370 -spat 179600 167350 179800 167500 -f "ESRI Shapefile" test.shp "WFS:http://ccff02.minfin.fgov.be/geoservices/arcgis/services/WMS/Cadastral_Layers/MapServer/WFSServer?" ...
0
votes
0answers
54 views

Problem with filter (elasticsearch) in Geonetwork

I have a problem when I try to use the data filter in geonetwork map. I have ElasticSearch installed correctly, since the administrator indexes the contents of the catalog, when I run the HealthCheck ...
1
vote
3answers
141 views

How to speed up query performance with PostGIS data served up in GeoServer and OpenLayers?

I have published a table with @ 6 million polygons to geoserver, and have built a tool using the OpenLayers filter class to query the data. The performance is abysmally slow, often times not ever ...
1
vote
2answers
37 views

QGIS: Is there any interactive tool to select previous or next points using fid/attribute table order?

I have a huge point file (4933873 points, currently in GeoPackage)) looking this way: imported from a CSV of following structure: Captured Time,Latitude,Longitude,Value,Unit,Location Name,Device ID,...
1
vote
1answer
27 views

Geoserver filter point

I'm trying to make a filter function that I add to an URL. I managed to make it work for polygon, but I'm struggling with filter function for point type. Currently I am trying to use something like ...
1
vote
1answer
14 views

How to select featureMember by gml:id in WFS 2.0

In WFS 1.1.0 I could filter like this: <ogc:Filter> <ogc:GmlObjectId gml:id="5"/> </ogc:Filter> Is there an equivalent in WFS 2.0? I've tried: <fes:Filter> <fes:...
0
votes
1answer
39 views

Carto Builder map not filtering dynamically

I have a Carto Builder map with several layers and widgets in it. I assumed that when filtering the widgets or the time series that the points on the map would also update to show only the filtered ...
0
votes
1answer
36 views

QGIS : how to get selected feature “state” to filter data in QGIS Composer

In a QGIS layer, I have selected some entities. Is it possible to show these in a particular way using style definition using a "state" like $currentfeature or @atlas_featureid ? The goal is to ...
2
votes
2answers
244 views

Filtering a layer with attribute value from another layer in Qgis 2.18

I am pretty new to Qgis and a real beginner when it comes to working with expressions in Qgis. Maybe someone can help me with following problem: I have several Layers (like Building + House) and ...
1
vote
1answer
38 views

Filtering attribut table QGIS

I try to filter for catchwords by using the attribute table. I need to filter all attributes which starts with "industrial". The problem ist that the attributes are sometimes named as "industrialpark" ...
1
vote
0answers
30 views

Make QgsVectorLayer().getFeatures() ignore an existing filter

When retrieving features from a layer with PyQGIS by sth. like feat = [f for f in my_lyr.getFeatures('"road_name" = \'myroad\'')] the resulting feat list is empty in cases where a filter is applied ...
2
votes
1answer
34 views

Problems filtering using multiple parenthetical expressions in QGIS 2.18 OSX Yosemite

I'm not a QGIS power user but I've been using it for simple things for quite a while. I just updated from QGIS 2.14 to 2.18 yesterday in order to be able to edit field names. I'm now having some ...
0
votes
0answers
39 views

Filtering points based on attributes in Leaflet?

I define the points as below and want to only see Group = 'Transportationhub'. i Have tried to add it different places, but it gives me errors every time. Where should a add it. Something like: &...
1
vote
0answers
142 views

Filter function based on attribute. Leaflet

Im trying to create a webmap based on Leaflet - google spreedsheets example I have a a "group" layer with three diferent group names. I have added some easy buttons to click the layers on and off, ...
0
votes
2answers
51 views

Post process OBIS for Canopy Dedection

I have high resolution UAV-Images (4x4cm) in RGB and would like to detect individual tree canopy's. I was using Object Based Image Segmentation (OBIS) from SAGA to classify the images by homogeneous ...
2
votes
1answer
198 views

Multiple date filter Google Earth Engine

I am trying to filter an ImageCollection by multiple time intervals (rain seasons) that change from year to year. Hence, I can't just use the ee.Filter.calendarRange. I tried to merge the dates ...
1
vote
1answer
194 views

Shapefile Layer display filtering in QGIS?

I use QGis 3.0, created several layers, each with multiple attributes. I want to display only objects which have f.e. "123456789" as value in a specific attribute to print it and repeat with the next ...
0
votes
0answers
59 views

Filtering a map in print composer

Is it possible to filter a map's layer inside Print Composer, like it is possible to filter a layer in Qgis main window? I have a layer with several points, and I'd like to create several layouts ...
1
vote
1answer
44 views

Using QGIS SQL?

Just started using QGIS and a bit stuck on SQL or filter if anyone can assist please. Table is labelled “SL” with multiple data columns. “ID” is the column of interest containing 10’s of thousands of ...
0
votes
0answers
14 views

How to check for “tag not present” in OsmConvert / OsmFilter?

One can create complex conditions in OsmFilter to check for tag existence using expressions like this: --keep="place=city or ( place=town and population>=10000 )" Now how would I check for a tag ...
4
votes
1answer
135 views

Selecting LiDAR return point type in LiDAR dataset with ArcPy?

I am trying to create a Digital Earth Model (DEM) using ArcPy under ArcGIS Pro 2, but I am running into some problems. I can generate a DEM within ArcGIS Pro by selecting only the ground points ...
-1
votes
2answers
43 views

Concise learning resourses for OGC Filters or Filter Encoding Standard (fes) [closed]

When I am doing HTTP GET requests to GeoServer it is fairly easy, but when I need to do http POST request I need to pass XML formatted parameters in the body and for filtering I need OGC filters and ...
1
vote
1answer
129 views

Create Filter Parameter in Python Script Tool from Unique Set of Values in Field

I currently have a python script tool that reads in a feature class and (among other processes) subsets the feature class based on a value in one field, 'REGION'. Instead of having all subsets created,...
1
vote
0answers
62 views

QGIS SAGA Gaussian Filter brings error when run

Every time I run the SAGA Gaussian Filter tool, I get an error. I am trying to filter a raster file indicating a risk index (GeoTIFF, 32-bit float) in order to smooth it. The log message I get is ...
1
vote
0answers
77 views

How can I fill NA values in my NDVI Data? [closed]

I have been trying for weeks now to clean my NDVI data. I know that I have to apply Savitzky-Golay filter to smoothen my data. But before that, I have to fill the missing values in my data. I am ...
1
vote
2answers
1k views

Filter GeoJSON by attribute in Leaflet using a button

I have a GeoJSON point layer group styled as a circle marker; it has a color attribute which can be one of many values: white, black, blue, red etc. I want to create a filter based on that attribute, ...
1
vote
2answers
1k views

Filter a GeoPandas dataframe for points within a specific country

I have a dataframe of health survey data which is geotagged, called momdata. I have converted the dataframe to a GeoPandas dataframe, and used the geotags as the geometry column within the dataframe, ...
1
vote
0answers
58 views

How to smooth a classified raster layer in QGIS?

In QGIS 3.0.2, I want to smooth a reclassified raster layer by r.neighbor tool. In this process I use average operation. The raster layer created from this tool is empty. I tested this process with ...
0
votes
0answers
272 views

Why am I getting an error when using multiple logical filters for WFS?

I am using openlayers to query a geoserver WFS and am trying to use ol.format.filter.and to include multiple logical filters: var featureRequest = new ol.format.WFS().writeGetFeature({ ...
2
votes
1answer
165 views

Filter features from a polygon shapefile in QGIS

I want to filter features from a polygon shapefile in QGIS using a list of numbers that occur only in one column of the attribute table. For example: My attribute table has 20 columns. One of them is ...
1
vote
1answer
78 views

How to refresh a layer after filter features in pyqgis

When I queried some features using QgsFeatureRequest().setFilterExpression() in pyqgis,I want to make the current layer just only show what I queried without creating a new memory layer. Just like you ...
3
votes
1answer
652 views

Filtering Image in Google Earth Engine based on metadata

I'm trying to create a raster layer of the USDA NASS Cropland dataset using only certain crop classes. Is ee.Filter.inList only used for ImageCollections and not Images? It seems more appropriate to ...
0
votes
1answer
307 views

Filter Clustering Mapbox GL JS

According to @Mourner in this gihub issue regarding filtering cluster in Mapbox here. "you'll have to filter manually and run setData to reset the whole dataset..." I have also found an example ...
3
votes
1answer
482 views

Combine multiple dynamic Leaflet filters

I'm very new to Leaflet and made a map using a GeoJSON Layer. I'd like to filter points from the GeoJSON Layer by a checkbox input. If I consider only one Parameter (Par1) with levels A, B and C I can ...
1
vote
0answers
55 views

Filtering elements of FeatureCollection using fusion table that contains list?

I'm new to Google Earth Engine. I am trying to filter all countries in the Americas from a Fusion Table that contains all countries in the World: // Load countries var countries = ee....
1
vote
1answer
125 views

Seeking Open Source implementation of Majority Filter?

I am performing postprocessing on Landsat GeoTIFF images and want to use the Majority Filter as mentioned in the book on Image Analysis, Classification and Change Detection in Remote Sensing and ...