“Layer filters allow users to display only a subset of the original layer data based on the defined criteria”
Creating maps with layer filters enables the utilization of only a subset of features from a GeoNode layer. Maps are the primary form of sharing and publication within GeoNode, and they allow users to incorporate multiple layers into a single composition for data visualization purposes.
Layer filters limit the displayed features from a layer to only the subset defined by the filter query. Additionally, GeoNode maps enable layers to utilise multiple styles and can be added to a map multiple times, which allows users to have multiple representations of a single data source by using a combination of filtering and layer styles for advanced interactive compositions which can be shared directly with the target audience.
This module outlines the process of creating maps using a subset of the data for a single layer or a group of layers. This module assumes you have OpenStreetMap (OSM) data, such as roads and administrative boundaries, already uploaded to the relevant GeoNode instance and configured for cartographic representation.
Goal: To learn how to create maps using a subset of data (filtered) from GeoNode layer(s)
After creating a filter and saving it the filter should be visible in the layer list. Layer filters can additionally be toggled between active and inactive states from the layer list. Filtering layers is very useful for defining a subset of the original data to create a detailed map of a specified area at lower scales. GeoNode supports various types of spatial and non-spatial data filters, including:
=
, >
, or <=
, as well as text based operators such as like
or isNull
. GeoNode supports multiple attribute filters on a single layer and can be combined with spatial filters (geometric operations)Why is it important to filter your data when creating a map:
When creating maps can I also filter a raster layer using the attributes: