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
1answer
17 views

Filter by day and reducing region by polygon using image collection in GEE

My overall program is here. I have an aerosol index that I already reduced for daily means: var countries = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017"); var Iraq = countries.filter(ee.Filter.eq('...
0
votes
1answer
11 views

Filter Landsat 7 surface reflectance image collection base on cloud cover and tide level over a region of interest

I have a similar question with Filter Landsat images base on cloud cover over a region of interest. I'm trying to filter the Landsat 7 Surface Reflectance image collection over a tiny region of ...
0
votes
1answer
32 views

Filtering layers in QGIS atlas while displaying them in the canvas

I would like to create and atlas that instead of displaying all the features within a layer, it only displayed those related to the atlas. Certainly, I could do as this excellent answer suggests, ...
1
vote
0answers
25 views

GeoServer shows 404 error when CORS filter is added

I am trying to enable the CORS for GeoServer. I am using GeoServer 2.16 and the Tomcat version of 9.0.8. I already tried to add following code in geoserver/WEB-INF/web.xml file, <filter> &...
2
votes
0answers
25 views

Create a report with filter from different layer using Atlas

I have the following scenario: Layer ‘grid’, with a field called ‘number’ Layer ‘log’ with field called ‘number’ in common with ‘grid’ layer and another field called ‘date’ Layer ‘problem’ with field ...
1
vote
1answer
27 views

No output is being generated by ArcPy's MakeFeatureLayer method

I have a feature class that I would like to filter by an attribute and write the result to a new feature layer. I can achieve this with a simple one-liner in the R programming language, but I need to ...
2
votes
1answer
29 views

Shortcut to activate and deactivate a layer filter

I'm looking for the fastest way to filter and unfilter a layer in qgis 3. My current workflow is too tedious: right click on layer / filter / write filter or delete filter My final goal is to see ...
1
vote
1answer
29 views

When working with MOD09GA product, is supposed QC bitmask for high aerosol quantity to return 4 values?

it's the first time I'm working with MODIS data and I am a bit confused about how bits work and how masks are created. After a bit of research I've been able to understand, more or less, how bit ...
1
vote
0answers
25 views

Howto write QGIS server WMS GetPrint with 'OR' in filter

According to the QGIS manual I can include 'OR' in a WMS GetPrint request (https://docs.qgis.org/3.4/en/docs/user_manual/working_with_ogc/server/services.html#filter) But I cannot get it to work and ...
1
vote
1answer
47 views

Subset a lascatalog point cloud within a function while calculating grid_metrics

I am trying to create subsets of a point cloud based on the ScanAngleRank and compute some metrics for each subset. Then return a stack of values(rasters) for the metric. I modified the rumple index ...
0
votes
0answers
25 views

How to register own CQL filter in GeoServer?

I have created new FilterFactory implementation, added it to META-INF/services in file org.opengis.filter.FilterFactory. Added Interface extending Filter. Added implementation of this Interface. ...
0
votes
0answers
18 views

Relationship between fields, using domains and subtypes [duplicate]

I am looking for a way to make some kind of filter within a attribute table for added data. There reason for this is so that any user of the database can fill in information, but is "guided" for ...
2
votes
0answers
46 views

LIKE operator is not case-sensitive in Filter query for shapefiles (QGIS 3.4) [closed]

When I try to filter local shapefile with Query Builder (right-click on layer > Filter) using LIKE operator (which should be case-sensitive) it does not work properly. For example query "place_name" ...
0
votes
0answers
32 views

Low-pass filtering raster with a mask - matrix

I have to do low-pass filtering with a mask - matrix: 1 2 1 2 4 2 1 2 1 This is my code import arcpy import numpy as np arcpy.env.workspace = r"C:\Users\ASUS\Documents\ArcGIS\Default.gdb" raster = ...
1
vote
1answer
26 views

Problem with SLD Style definition - Filters in Rules

I created a style in QGIS, exported in SLD and imported in geoserver. However validating throws me errors. I tried a lot of variants according to geoserver documentation and stackexchange solutions ...
1
vote
1answer
39 views

Datefilter in leaflet.js

How do I filter data by date. If I want to filter, I can see the old filtering too. The layers are stacked on top of each other. How do I get the current date range. <div id="time-ranges" class="...
1
vote
1answer
28 views

Cannot get number of max pixels in Google Earth Engine

I have a code that calculates the max number of pixels among all the rasters it retrieves and then creates new imagecollection with only rasters that contains rasters in the size I want. For some ...
4
votes
1answer
49 views

Getting 2 point features with max/min ID from each group with same value in two fields

I'm working in QGIS for a Digital Terrain Model. I've got a table with point features, arguably vertices extracted from multipart iso-curves because the features are provided with a "vertex_par" ...
1
vote
1answer
30 views

Count max number of pixels for image in GEE and then calculte numbers from this number

I have a code that creates image collection and then calculate what is the biggest number of pixels in image (e.g the image with maximum spatial data). I managed to calculte this number and to use it ...
0
votes
0answers
29 views

Selection of multiple features from feature collection in GEE

I want to select multiple feature from a feature collection. In this case I want to select two taluka from a state map. Is it possible using and or or? var table = ee.FeatureCollection("users/...
1
vote
1answer
31 views

Filter ImageCollection by year and create one mean Image for each year

I'm trying to calculate the mean NDVI for a polygon in an urban area. I have a code that takes Landsat7 images, clip them according to the geometry and knows to select only images with certain number ...
1
vote
2answers
49 views

Edit and/or filter CSV files [closed]

I'm pretty new to QGIS I have a couple of questions regarding .CSV files. 1) Whenever I download and import .CSV data into QGIS, it works perfectly. I get the points and everything is peachy, but, ...
3
votes
1answer
50 views

Google Earth Engine - Filter for FeatureCollection WCMC/WDPA

I am working with FeatureCollection('WCMC/WDPA/current/polygons') and ImageCollection('LANDSAT/LC08/C01/T1_ANNUAL_EVI'). I would like to add a filter to the WCMC/WDPA data to display only Parks ...
1
vote
0answers
22 views

Filtering data with NULL in QGIS [duplicate]

Working with QGIS Zanzibar. I have a data set where many values are NULL (or blank), I wish to filter the data to show only those with NULL. In the query builder I use "FieldName" = NULL, but this ...
2
votes
2answers
45 views

QGIS 3.4 feature filter MAX(), GROUP BY does not work

I thought my problem was solved with the question I asked bevor (QGIS 3.4 feature filter maximum() does not work). But there is still a problem. I still want to filter a layer with the maximum value ...
1
vote
1answer
43 views

GetFeature EqualTo filter incluiding substring function?

I have the following table as a layer in geoserver: I'm trying to get the features with the first 3 characters of the codigo field matching the Literal. When doing a GetFeature request with EqualTo ...
2
votes
1answer
36 views

Determining types of geometry in a single table?

I need to determine whether any tables within my database have more than one geometry type. For example, I want to know if there are Points AND multipoints within the same table. Currently, I have ...
3
votes
1answer
62 views

PDAL crashes when trying to filter noise points from outliers filter

I have a relatively simple PDAL pipeline being used to process a bunch of .laz files. { "type": "readers.las", "filename": "c:\\stuff\\10781001.laz" }, ...
1
vote
1answer
33 views

GEE Select images that have certain number of pixels

I have code that calculate NDVI for Landsat 5,7 and 8. I would like to know how can I "filter" my image collection so I have only images that have a certain number of pixels. For that I thought maybe ...
1
vote
0answers
17 views

filter by last digit works in points but not in lines

I have three-point layers T, A1 and A2. T is original points and A1 and A2 are generated by some algorithms. I am trying to compare the result of A1 and A2 with T. On T, A1 and A2 I can apply a ...
1
vote
2answers
95 views

Adding band value as a property in Google Earth Engine

I have an image collection of different anomaly values for a specific time period. I'm simply looking to count how many of these values are over 1 in my time period. This is my code // create ...
7
votes
1answer
268 views

Filtering layers in QGIS atlas

In processing several spatial data sets (tbl_data_01, tbl_data_02, tbl_data_03, etc) using FME I establish a spatial table called "tbl_metadata" with information about each of the data set. This table ...
1
vote
2answers
78 views

QGIS 3.4 feature filter maximum() does not work

I would like to filter a layer with the maximum value of field_a, grouped by field_b. I tried this expression: "field_a"= maximum ( "field_a","field_b") But it doesn't work (there are no more features ...
0
votes
0answers
43 views

WHERE clause that's stored in a table: Use it to filter a layer?

I have a workorder management system (WMS). The WMS has functionality that allows users to save queries. The queries are saved in a Oracle database table called QUERY (in a CLAUSE column). An ...
1
vote
0answers
33 views

Extracting city information only from OpenStreetMap

I need to extract City as well as hierarchy of admin entities for selected countries. My understanding for now is that I'll have to get node primarily and find a clever filtering based on tags. And ...
0
votes
1answer
37 views

Filter layer in web map via a URL

I have a browser-based work order management system (Maximo 7.6.1.1). I want a user to be able to execute a URL in Maximo that would open a web map and filter a layer. For example, tell the web map ...
1
vote
1answer
45 views

Separating LAS Dataset (.lasd) into point files of each class?

I am want to examine my DEM, DSM, and other models I'm generating from LiDAR data in the model wizard to find the method with the least amount of error. I want to separate the ground, and non-ground ...
0
votes
1answer
51 views

Filter layer by pasting in WHERE clause?

I have a web map in Portal that has the Web AppBuilder Filter widget. The map has a point layer in it called Work Orders. I would like to filter the work orders by pasting in a WHERE clause. The ...
2
votes
0answers
60 views

How to create a filter expression from selection QGIS 3.6.3

I need to create a filter expression to filter only the selected polygons in a layer. Yes I know I can save the selected elements to a new layer but this solution is not suitable for me. I managed to ...
0
votes
2answers
493 views

Add more than one layer of GeoJSON data to Leaflet?

This is my code for loading one layer of .geojson data to Leaflet. The data is basically in the form of markers and it's demonstrating different location in Saudi Arabia. It's saved as "saudi_location....
2
votes
2answers
288 views

Loading .json files into Leaflet and filtering them [closed]

I am new to web development and Leaflet/GIS in general. I have a couple of shapefles, let's say they are roads.shp and utilities.shp. And let's say I have the means to convert these shape files into ....
2
votes
0answers
43 views

Filtering value layer according to condition of other layer using QGIS?

I have 2 point layer: layer A have 500 point; layer B have 50 point and these point have coordinate duplicate with some point in layer A. I want to find these 50 point out of the 500 points in layer ...
1
vote
1answer
52 views

GeoServer different styles for one layer?

In GeoServer I have a layer created from a database table with the following structure: tableX ( id,name,typeid,description,geom ) The geom field is always a polygon. I also have created 3 ...
1
vote
0answers
33 views

Can QGIS load filtered layers on open from geopackage file?

I have some external processing (FME from SAFE software) which generates a geopackage file with a set of tables. Is it possible to load a set of filtered tables from a geopackage file when opening ...
1
vote
0answers
19 views

Accessing subattributes in WFS with FE?

I have a WFS server that I need to filter information out of with filter encoding. If the attributes are on the surface, I don't have any problems getting their information. But I don't know how to ...
2
votes
1answer
30 views

How to keep the image of a collection that are integrally contained in a geometry boundary in Google Earth Engine?

I have an image collection and a geometry ROI var ROI = ee.Geometry.Rectangle(-78.20688664502586, 34.67650023609108, -77.65207707471336, 35.216816430066366); var l5 = ee.ImageCollection("LANDSAT/...
1
vote
2answers
177 views

Filtering out data points on water or outside specified polygons using QGIS?

How do I filter out points that lie in the water or outside specified polygons? For example I want to filter out the erroneous points in the oceans in one project, and filter out all points not in ...
2
votes
0answers
72 views

Applying filter on the geometry for a given feature?

I have multiple layers, with multiple features, where I am interested in extracting information from a given feature within a rectangle. I am able to achieve this using the following filter, ...
0
votes
1answer
84 views

Specifying join on multiple datasets in a WFS URL request (CQL/Filter)?

I’m using a WFS and trying to join two/three datasets together in a URL query. Two of the datasets are linked via an aspatial table in the middle like so: | Table 1 | | Table 2 | ...
0
votes
0answers
35 views

Use custom SQL-functions within a WFS stored query (filter)

I want to set up a WFS (GeoServer) returning features which are matching a (given) term / name in a phonetic way by using a stored Query. I've got a SQL function which can be used as an operator for ...

1 2 3 4 5 9