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
votes
0answers
29 views

Filtering geojson and giving custom marker for same data using Leaflet? [closed]

My script returns a value of a geojson dataset to a popup, from which the markers I filtered using an attribute in my dataset. For some reason I can not get the markers custom (and when it works all ...
0
votes
1answer
24 views

How to filter a feature collection to only features ENTIRELY inside another feature

I have 2 feature collections. One of the "departamentos" of Argentina, and another of the "provincias". These are internal political boundaries. The "departamentos" each belong to only one "...
1
vote
1answer
33 views

How to filter through geometry of feature collection instead of properties?

I have a FeatureCollection I made from a Polygon shapefile. I have fixed the geometries in qgis and should only be made out of many single polygons. But for some reasons some of my features are ...
1
vote
1answer
33 views

How to filter style to display only where data in one column in the attribute table is not the same as the data in another column

I have a .shp with attribute data containing current zone, current code, proposed zone, proposed code, final zone, final code etc. I want to duplicate this layer and style it to display a black ...
1
vote
1answer
35 views

Create new vector of polygons that are within 500m of a point in vector of points P

If I have a vector of polygons A (say 200) and want to create a new vector (say 120) of the original 200 polygons that are with 500m of a vector of points P (say 50), this is the method I do. I want ...
2
votes
0answers
29 views

AGOL Web AppBuilder - Group Filter Widget with multiple layers

I am creating a Dashboard web application for displaying utility projects using the AGOL Web AppBuilder interface. I would like to set up a Group Filter widget to filter based on a common attribute ...
0
votes
1answer
24 views

Shapefiles - ability to toggle editing and filtering

I have a shapefile from a county HER which I have successfully loaded. I have catagorised the point so depending on type they show a different symbol. I can filter those points in order to show ...
0
votes
0answers
30 views

Filtering the atlas coverage layer by a different layer in QGIS

I need to create one map atlas for each municipal administration filtering the coverage layer (red rectangles = map sheets) by municipal administrations boundaries layer (green polygons). How is it ...
-1
votes
1answer
27 views

Exclude specific GeoJSON data by polygon [closed]

Given geospatial data as GeoJSON, how can I filter this data to exclude geometries within a specified polygon? I need this to work in JavaScript. Example: function filter(featureCollection, ...
0
votes
1answer
78 views

Clustering point data in QGIS?

Working in QGIS 3.4.1 Madeira I have a layer with many data points, for visual purposes I wish to remove some of the overlaying points. Is there a simple way to perform some sort of clustering/...
1
vote
1answer
48 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
36 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
59 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
20 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
82 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
3answers
50 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
73 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
31 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
38 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
188 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
131 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
32 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
40 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
104 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
64 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
70 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
185 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
41 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
22 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
48 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
52 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
357 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
40 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
56 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
36 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
43 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
170 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
65 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
361 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
241 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
88 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
46 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
18 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
162 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
51 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
163 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
78 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
88 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
2k 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, ...