To show, hide, extract, or remove particular data from a larger set, narrowing it down, or the specific criteria used to do so.

learn more… | top users | synonyms

11
votes
2answers
3k views

How to filter big datasets in Geoserver WMS?

Is there a good way to filter datasets with approx 50,000 features in Geoserver? I'd have to select between 100 and 200 features based on ids. These ids are different from the FeatureIds. Couldn't ...
10
votes
1answer
816 views

Create custom Authentication filter in GeoServer 2.3.0

Context In my current project, I've the requirement to validate that requests coming to GeoServer (2.3.0) are allowed. The project holds those facts: the GS client cannot provide the principal ...
8
votes
1answer
1k views

How to apply a Majority filter in GRASS GIS?

I was wondering if someone could help me write a majority filter for GRASS GIS. I have this map (see below) which I need to run a filter over to make the red areas a bit more dominant. I know I can ...
7
votes
3answers
780 views

Filtering out canopies and buildings from DSM to have a bare earth elevation

Can anyone suggest methods in filtering out trees and buildings from a DSM so as to come up with a reliable DEM? What I have is a grid from a LIDAR data (.tif file, with 1m resolution). I was going ...
7
votes
2answers
739 views

Using ArcGIS to filter cells where 7 or 8 of neighbors are different

I have land cover data that I would like to clean using some generalization tools. Majority filter does almost exactly what I want, but is missing one key option. Majority filter allows you to change ...
6
votes
2answers
834 views

How to de-noise a DSM

I have created a DEM, DSM, and nDSM from a LiDAR Point Cloud using SAGA-GIS. I extracted the appropriate returns from the point cloud, then converted to grid, and then closed gaps to fill in any ...
6
votes
1answer
916 views

PostGIS query vs QGIS filter

I have a PostGIS dataset with around 3 million shapes. I only need to view about 1,500 of these shapes at any given time, but the shapes I need to see depends on which feature is selected in a ...
6
votes
1answer
2k views

How to filter wrong GPS readings?

I have absolutely no experience with GIS, it just so happens that one of the hobby projects I am doing at the local hackerspace includes tracking a model boat with a GPS... I hope this is the right ...
6
votes
1answer
3k views

Problem with WFS filters (BBOX, INTERSECTS)

I'm trying to get a feature/features from a small area using the BBOX (or INTERSECTS) filter in my WFS query. I should be expecting only a small set of features or a single feature and yet the query ...
5
votes
2answers
243 views

WFS Intersect Filter using a Polygon returns all features in Layer

I am having trouble using 'Intersect' filter on a WFS GetFeature query. Every query I make seems to return all features available in the queried layer (and not just the features intersecting the ...
5
votes
2answers
845 views

Filtering Overpass-API by country

Does anyone know how to perform a overpass-api request like this? "Show me all banks in Germany"? I could just show all 'amenity = bank' in a specific bounding-box. But Germany (or most of all ...
5
votes
1answer
665 views

Getting feature at point in C#

I want to get the feature at where mouse was clicked in map. So I was wondering how to get features which intersects with that point. Plus I was wondering how can I check what type of object it is (...
5
votes
2answers
1k views

OpenLayers.Filter.Comparison.LIKE doesn't filter special characters!

it seems like OpenLayers.Filter.Comparison.LIKE doesn't filter special characters! for example, filter = new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.LIKE, ...
4
votes
2answers
1k views

What is the best approach to using IQueryFilter.WhereClause in ArcObjects?

What is your preferred / best approach to using IQueryFilter.WhereClause statements in ArcObjects (e.g. when selecting features by attributes)? You need to check the source type (shapefile / personal ...
4
votes
1answer
38 views

Filter a range number in Query Builder of QGIS 2.8.6

I need to filter features that have attributes that start within a relative number range. I am using brackets to filter the range of numbers, but it does not work me. This is my query: CASE WHEN "...
4
votes
2answers
379 views

Reconstructing MODIS time-series applying Savitzky-Golay Filter with Python/Numpy

I want to apply the 'Savitzky-Golay' (savgol) filter to my time series, MODIS dataset, to remove noise (i.e., cloud pixels, etc.) in my data. MODIS have quality flags that indicates the reliability of ...
4
votes
1answer
8k views

How to filter features in a layer?

I am trying to display certain features in a shapefile-based layer using QGIS. I have found the subset function in the properties panel, which does exactly what i want, but is too tedious given that I ...
4
votes
3answers
3k views

How to properly utilize DWITHIN Spatial Filter in OpenLayers

Given the following code: var points = []; points.push(new OpenLayers.Geometry.Point(-110, 38)); points.push(new OpenLayers.Geometry.Point(-108, 40)); var lineString = ...
4
votes
1answer
1k views

Openlayers: OGC Filter problem

I have a problem with OGC filter. My layer in OpenLayers has this filter: filter: new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.BETWEEN, property: ...
4
votes
1answer
281 views

Given a known batch of mobile-obtained gps data with timestamps, what algorithms can be used to clean it?

I'm working on the backend for an iOS/Android app that collects locations every hour and syncs with the server every three hours. The mobile apps themselves are not under my control and so I can't ...
4
votes
1answer
43 views

How can I optimize layer filtering using setSubsetString or QgsFeatureRequest().setFilterFids(my_indexes)

i'm developping a plugin (under QGis 2.8.1) for traffic assignment where I want to show the results of my simulation at each time step. Right now I'm using Time Manager plugin but it gets very slow ...
4
votes
0answers
60 views

QGIS Atlas: Filter maps based on attributes (more than one)?

I have a series of maps with the same geographic boundaries but with different set of points (from the same layer). I would like to create an Atlas where the change is based on the attributes. A ...
3
votes
2answers
5k views

OpenLayers: Combine multiple OGC filters

I have two OGC filters client side: <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:PropertyIsEqualTo matchCase="true"> <ogc:PropertyName>code</ogc:...
3
votes
2answers
82 views

Copy/convert selection into filter/query builder of QGIS?

Can anyone tell me if it is possible (and how) to convert or copy a selection on a layer (that has not been created through "select by expression", but instead by irregular selections from a canvas, ...
3
votes
2answers
231 views

Limiting list values based on previous field in QGIS Forms?

Looking for assistance to set up appropriate configuration to enable drop-down lists values to be filtered based on a previous value. Basically, I have a 3-tiered categorisation structure to one of ...
3
votes
1answer
193 views

How do you classify unclassified pixels in a land cover geotiff tile?

While printing out the raw pixel values of a GEOTIFF land cover tile I found 90 % of pixels have normal values i.e. those that the documentation describes (8 bit integers describing a land cover type)....
3
votes
2answers
52 views

Filtering information in two attribute tables using QGIS?

I'm an amateur in QGIS so please forgive me for not using the correct definitions. I have a polygon map (shape file) with the neighborhoods of my city. Each one of this neighborhoods has it's own ...
3
votes
1answer
260 views

Geoserver WMS Filtering: Clipping geometry against a polygon

My data set is a series of multilinestrings representing roads. During a WMS GetMap request, I want to specify a polygon and display only the portions of those roads that fall within the polygon. I am ...
3
votes
1answer
456 views

How to set a spatial filter with Python/GDAL?

Is there a way with GDAL (Python) to set a spatial filter (bounding-box) on a raster before I process it? I want to read it as an array. BandReadAsArray(band, xoff=0, yoff=0, win_xsize=None, ...
3
votes
1answer
43 views

Empty a layer for each QGIS project

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (...
3
votes
1answer
443 views

How to filter layer of osm data?

I have a table osm_roads that has a column named geometry geometry geometry(LineString,900913). If I want to filter a city to draw districts, I cannot do it by geographic coordinates? What if in ...
3
votes
2answers
1k views

OpenLayers spatial filter polygon problem

I've got a dataset of English Counties (currently cut down for testing) that I'm serving from SQL 2008 using MapServer and OpenLayers. The features in my dataset are appearing in the right location on ...
3
votes
1answer
1k views

Case Insensitive WFS Attribute Search with ArcGIS Server?

I'm using ArcGIS 9.3.1 to host WMS and WFS services. I have a map (.mxd file) with a layer whose attribute table includes fields with mixed-case string data. When I open this map in ArcMap and ...
3
votes
1answer
2k views

How to query some properties of a list of typenames in geoserver

I want to query selected propertynames from a list of Typenames in Geoserver. I could find an example from OGC WMS 1.1.0 Implementation Specification ( pdf document page 80 Example 10) which is not ...
3
votes
0answers
225 views

Queen vs Rook neighborhood

Queen and rook neighborhoods are two common ways to calculate statistics for a focal cell. They are also known an Moore and (von) Neumann neighborhoods. I think a "bishop version", i.e. from lower ...
3
votes
1answer
191 views

How to remove spikes from grid in SAGA GIS? [duplicate]

I tried to get a grid by interpolating LAS file using Ordinary Kriging. But the product grid has many pixels which values strongly stands out from average surface - I mean one pixel sinks nad spikes. ...
3
votes
0answers
147 views

Filtered SimpleFeatureCollection really slow on Map and other operations

I'm working with a shapefile having about 85.000 features. I need to select some of these using a filter and then showing these on a map. Now... If I draw the entire shapefile's features the creation ...
3
votes
0answers
535 views

SLD filter with embedded strTrim function in Geoserver

Using Geoserver 2.2.2 (GeoTools Version 8.4) on Windows 7, I'm trying to create a SLD that trims the leading and trailing spaces of a string property (using the strTrim function) and compares it to a ...
2
votes
1answer
2k views

WFS 2.0 with bbox filter and attribute filter

I am trying to get the following WFS GET request to work: wfs = "service=WFS&version=2.0.0&request=GetFeature", name = "&typeName=storeName:layerName", bboxFilter = '&bbox=' + bounds....
2
votes
2answers
670 views

How can I tell mapserver to ignore a filter that is set in a mapfile?

How can I tell mapserver to ignore a filter that is set in a mapfile? I am displaying a wms layer with point features using mapserver. In one of the layers in my mapfile I have defined a filter ...
2
votes
1answer
131 views

spatial data filtering without GIS?

I have access to a database here (description of the columns are also available) containing spatial data in text format and with WGS84-EPSG:4326 coordinates. I would like to only select data in my ...
2
votes
1answer
2k views

Filtering a raster by pixel value ? (Qgis)

I have downloaded Globcover data in GeoTIFF format. I want to create a new grid which only has values where the Globcover data (the only band in the TIF file) has one certain value (==190). Can I do ...
2
votes
2answers
5k views

OpenLayers WFS protocol: work with filters if the protocol is defined out of layer constructor

follow question:wfs-load-feature-check the scenario is: i am trying to load a WFS layer, since it takes a while to load all features, I want to give user a notice while waiting for response. the ...
2
votes
1answer
65 views

Filter spatialite layer with 'not equal' in QGIS

I tried to filter my spatialite layer with the "SPECIES" IS NOT NULL OR "SPECIES" != 'Corvus corax' expression, but the result contains the lines where "FAJ" field is 'Corvus corax' (the NULL value ...
2
votes
1answer
77 views

Filter the Feature Layer parameter in Python Script Tool

I have a Python script tool where I have a parameter of type Feature Layer because I want to have the already opened layers as a dropdown list. I was wondering if there is a way to filter this ...
2
votes
1answer
17 views

WFS Filter performed before or after reprojection?

I'm trying to perform a WFS filter with a polygon in EPSG:3031, (the native projection is EPSG:4326 I think). And I'm aware that WFS/GeoServer supports reprojection on the fly. But will the features ...
2
votes
1answer
192 views

ArcGIS Operations Dashboard: Is there a way to create a widget which counts the occurrence of a text attribute?

I am using Operations Dashboard of ArcGIS and I would like to add a widget which count the occurrence of a text value "DAMAGED" in a field ("STATE"). I only found the way to access numeric attributes, ...
2
votes
1answer
580 views

How to apply a filter to multiple vector layers in QGIS?

I am trying to apply an attribute filter to multiple layers in QGIS at once. The filter is to be applied to .osm data brought in through PostGIS to QGIS. I have tried selecting multiple layers -> ...
2
votes
2answers
2k views

Change marker color based on GeoJSON filter in Leaftlet

This is what I would like to do: Display all features of a GeoJSON file using Leaflet. Provide a text box where a property can be entered, if any of the GeoJSON properties match with what is entered ...
2
votes
1answer
198 views

QGIS Filters and Queries

In QGIS is there a way to filter a layer using the Query Builder to show all values which include a particular phrase. For example I have a list of organisations and I want to filter all those which ...