Questions tagged [cql]
In this context CQL implies OGC Common Query Language, a query language for catalog interfaces. It should not be used for questions related to the Cassandra Query Language
43 questions
0
votes
0
answers
29
views
GeoServer Cross-layer filtering - spatial filtering with whole layer
According to the geoserver reference: (https://docs.geoserver.org/main/en/user/extensions/querylayer/index.html) it should be possible to do a spatial filter towards a whole WMS-layer (not only when a ...
1
vote
1
answer
31
views
How to achieve statistical queries similar to ArcGIS map services based on CQL queries of GeoServer's WMS service?
In ArcGIS MapServer, through the layer's query interface, it is possible to achieve statistics such as the maximum, minimum, or average of a layer based on a specific category field and a statistic ...
0
votes
1
answer
63
views
How to set CQL_FILTER and recalculate layer boundary values through interface calls
Scenario description:
GIS data volume is tens of millions and requires the creation of multi-dimensional layers, using WTMS's tile cache for rendering
Using the CQL_FILTER condition to filter data ...
0
votes
0
answers
191
views
Adding marker at dynamic location on WMS map with GeoServer
I need to generate a static map image with a marker at coordinates specified in the WMS request URL.
I have a GeoServer instance which provides the WMS layer, and I am able to get static map images ...
1
vote
1
answer
510
views
POLYGON CQL Filter throws error - "NoSuchMethodError" on GeoServer
All spatial query requests perform well on GeoServer 2.19 using CQL filters. But for some reason, I'm getting an internal error with the following POLYGON CQL filter. Hence, the same CQL filter works ...
0
votes
0
answers
141
views
Label polygons with count of intersecting points in GeoServer
I have two spatial layers in a GeoServer instance - polygons (administrative boundaries) and points (resource locations) - and would like to define a layer style (ideally using the CSS format) which ...
0
votes
1
answer
495
views
How to properly craft a LineString CQL for WFS GET filter?
A helper class I'm working on has to make an occasional requests to a GeoServer. These can be GET calls and I'd prefer them to be.
These are filtered with CQL. Here is an example, which is returning ...
0
votes
1
answer
285
views
How to parameterize the PointSymbolizer in a SLD Style?
I am trying to clean my GeoServer deleting some redundant SLD Styles.
All this styles work in the same way, they assign some image (different for every style, which name is hardcoded in every style) ...
0
votes
1
answer
2k
views
How to add CQL_FILTER to WMTS layer on GeoServer?
I have a wmts layer on GeoServer and I tried to add some CQL_FILTER to my request but it's not working. Whatever I added to uri, geoserver always return result but in some cases it shouldn't.
Here's ...
-1
votes
1
answer
832
views
WFS with CQL_FILTER=BBOX return empty layer
This is the first time I using WFS. I'm trying to get features with this WFS request inside a BBOX:
uri=https://wxs.ign.fr/choisirgeoportail/geoportail/wfs?service=WFS&srsName=EPSG:4326&...
3
votes
1
answer
2k
views
Add a CQL Filter to a WMS Layer in QGIS
I have a WMS Layer published by a geoserver instance. It has the capability of being filtered by a CQL Filter via GetMap CQL_FILTER query parameter.
Adding it to QGIS works, but I can't find a place ...
1
vote
1
answer
788
views
GeoServer Raster WMS Layer update/filter like CQL, ECQL
I have added the raster layer from GeoServer as a WMS source.
There is an HTML filter to apply changes with GeoServer Raster WMS Layer, which is not working with RasterSymbolizer, and CQL filter.
Like ...
0
votes
1
answer
1k
views
Geoserver CQL filter with many “IN” conditions
I am using Geoserver to generate colored regions on a map a wms link, CQL condition can contain a long string of "IN". Max number of INs could be up to 1-2 thousands. I tried to divide it ...
4
votes
2
answers
923
views
How do I retrieve a single image from an ImageMosaic in GeoServer?
If I have an ImageMosaic in GeoServer containing several raster images that overlap, is there a way to retrieve/display one of the original images? Could I use CQL or WCS to get them by fileName or ...
0
votes
1
answer
133
views
Optional parameters in PointSymbolizer href
I am trying to build a dynamic url for a PointSymbolizer:
/api/icons?foo=${strUrlEncode("foo")}&bar=${strUrlEncode("bar")}
The problem I am running into is that the ...