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
0answers
24 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
43 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
20 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
31 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
25 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
46 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
27 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
22 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
30 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
46 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
41 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
21 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
44 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
32 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
57 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
28 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
60 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 ...
6
votes
1answer
236 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
76 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
42 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
35 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
39 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
49 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
58 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
364 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
223 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
42 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
47 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
28 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
138 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
69 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
65 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
29 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
vote
0answers
24 views

Filtering the number of pictures per month of a time series in Google Earth Engine

I'm calculating the NDVI of a time series (1 year) of Sentinel-2, but I only want two images per month to calculate that instead of the whole collection of images with less than 75% cloud. //NDVI ...
0
votes
0answers
31 views

Local minima filter does not extend to the edges

Trying to run a local minimum filter on a DEM using scipy.ndimage.minimum_filter. I can successfully create the minimum filter output, but it does not extend to the edges of the DEM (see image below). ...
2
votes
1answer
47 views

Combining two conditions in one filter expression

I have a Shapefile that shows local municipalities and ward boundaries for South Africa. I would like to filter this layer to only show the wards I am interested in. For example, my first query finds ...
0
votes
1answer
74 views

QGIS Does Not Contain Filter

In QGIS 3.4, how do you perform a does not contain filter? I know how to perform a contains filter, with the LIKE / ILIKE operators, but how do you perform a does not contain filter?
0
votes
1answer
71 views

XML Filter Expression for WFS download using Interoperability Connection Extension in ArcGIS Desktop

I need to download features from this WFS but there are too many features for the server to handle my request. So I thought I should filter my request using the XML Filter Expression Editor. However I ...
1
vote
0answers
53 views

Filter Features depending on User with GeoServer

I now use viewparams to filter the features by using sql views in GeoServer which is connected to our postgis-db. This means the parameter comes from the request url. I want to use keycloak for ...
0
votes
1answer
60 views

Update image geometry from another geometry (GEE)

I have a set of images I have processed. Unfortunately, the geometry of the image processed do not always fit the image data. Problem: Let's assume I have an imageCollection. Then, when I would like ...
0
votes
1answer
128 views

subset FeatureCollection by position - Google Earth Engine

I have a FeatureCollection such as: // Make a list of Features. var features = [ ee.Feature(ee.Geometry.Rectangle(30.01, 59.80, 30.59, 60.15), {name: 'Voronoi'}), ee.Feature(ee.Geometry.Point(-73....
0
votes
0answers
223 views

Mapbox GL filter features by ID? No unique Ids?

I am getting the the OSM Buildings (mapbox://mapbox.mapbox-streets-v8) via mapbox style. I want to hide some building within a BBox. Getting the corresponding features: var features = this.map....
1
vote
2answers
58 views

How to create a sub dataframe from a dataframe using specific columns

I have a dataframe that has more fields/columns than I want, so I am trying to create a sub dataframe that only has certain fields/columns. The following throws a TypeError: '(['uniqueid'], ['...