Re: [Geoserver-users] filter

2024-03-20 Thread Ярослав Минин via Geoserver-users
Thanks for the tip, Ian!    In GS v.2.20.4 I see the following error: «Filter function problem for function int2ddouble argument #0 — expected type int»   Changed a bit to this:                                   propertyVa             20.0                     0                   And it

Re: [Geoserver-users] filter

2024-03-20 Thread Ian Turton
You'll want the `IEEERemainder` function documented on the Filter Function Reference page ( https://docs.geoserver.org/latest/en/user/filter/function_reference.html#math-functions) - propertyVa 20.0

[Geoserver-users] filter

2024-03-20 Thread Ярослав Минин via Geoserver-users
Hello community!   I’ve got troubles with filter expression. I have an integer column with values, like 2, 5, 30, 100… And I need to filter those divisible by 25, for instance.   Since I’m currently unable to manipulate the DB (to create the views for I need) the only option is sld-filtering.

Re: [Geoserver-users] Filter grouping in YSLD

2018-12-31 Thread Jody Garnett
YSLD directly mirrors the structure of the SLD standard (using yaml rather than xml). As such I do not feel comfortable adjusting the representation too far from the original. Can you experiment with YAML define to get the same affect? Rather than repeat "condition 1"? See

[Geoserver-users] Filter grouping in YSLD

2018-12-28 Thread Eugene Podshivalov
Hi all, It would be nice to have a possibility to group filters in YSLD styles. For example, if we have a repeating condition (condition1): - rules: - filter: condition1 and condition2 symbolizers: - polygon: - filter: condition1 and condition3 symbolizers: - polygon: then it

Re: [Geoserver-users] filter vs expression performance

2018-06-06 Thread Arnaud L.
Hi Jim Le 01-06-18 à 16:51, Jim Hughes a écrit : This is good question, and I'd be interested to know the answer.  As a gut reaction, I don't think it'll matter too much. That said, there are several variables about this which will be specific to your use case.  The best general advice is

Re: [Geoserver-users] filter vs expression performance

2018-06-01 Thread Jim Hughes
Hi Arnaud, This is good question, and I'd be interested to know the answer.  As a gut reaction, I don't think it'll matter too much. That said, there are several variables about this which will be specific to your use case.  The best general advice is probably to set up a way to measure

[Geoserver-users] filter vs expression performance

2018-06-01 Thread Arnaud L.
Hi list I'm wrinting a new style and I have to make choices between filters and expressions. I was wondering which one would be more efficient in terms of rendering performance : 2 rules with static style, or one rule with dynamic style ? One simple example would be (in ysld) : Filter

Re: [Geoserver-users] Filter out Layers from WMTS GetCapabilities Document based on Authorization in Data Security

2018-01-31 Thread Steve Omondi
On top of getCapabilities document size; In terms of Security, users are only supposed to see the Metadata for the Data (Layers) they are authorized to see, but even with the HIDE MODE on, still all users can access Metadata for all layers in our Catalog in the getCapabilites documents (both WMTS

[Geoserver-users] Filter out Layers from WMTS GetCapabilities Document based on Authorization in Data Security

2018-01-31 Thread Steve Omondi
Hi guys, I'd like to filter out layers from the WMTS GetCapabilities Documemnt based on the Rules in Data Security so that I can reduce the size of the GetCapabilites Document (currently we download 3.8 MB everytime the Client map application loads - not good). The options I have tried are; 1.

Re: [Geoserver-users] filter out points in a raster

2017-01-15 Thread Simone Giannecchini
Dear Dominique, please, find my response inline below Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via di Montramito 3/A 55054

[Geoserver-users] filter out points in a raster

2017-01-04 Thread Bessette-Halsema, Dominique E
Is it possible to apply the ogc:Filter function in an SLD for a Raster? I'm trying to apply a filter to the data in the second raster band. Can I apply a RasterSymbolizer rule and specify the band name? I can create a style that transforms the raster to a feature using the

Re: [Geoserver-users] filter field in cross-layer functions

2015-05-24 Thread emmexx
Il 05/18/2015 04:06 PM, emmexx scrisse: If I want to use WMS I don't even know how to use that filter inside DWITHIN. DWITHIN(the_geom, collectGeometries(queryCollection('sf:roads','the_geom','INCLUDE')), 200, meters). What should I write instead of include? Are CQL functions like

Re: [Geoserver-users] Filter Chain Problem

2014-11-10 Thread Moore, Frances (FCS - KAS)
: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Filter Chain Problem Hi Frances, after hitting Close on the filter page, have you also clicked Save on the main Authentication page? If you don't do both changes are not saved, usually. Mauro 2014-11-07 16:23 GMT+01:00 Moore

[Geoserver-users] Filter Chain Problem

2014-11-07 Thread Moore, Frances (FCS - KAS)
Hi all, I am currently running version 2.6 of Geoserver, and have been trying to follow the tutorial on configuring HTTP Header Proxy Authentication (http://www.docs.geoserver.org/stable/en/user/security/tutorials/httpheaderproxy/index.html) but when I try to save the information for the

Re: [Geoserver-users] Filter Chain Problem

2014-11-07 Thread Mauro Bartolomeoli
Hi Frances, after hitting Close on the filter page, have you also clicked Save on the main Authentication page? If you don't do both changes are not saved, usually. Mauro 2014-11-07 16:23 GMT+01:00 Moore, Frances (FCS - KAS) moo...@wales.gsi.gov.uk: Hi all, I am currently running version

Re: [Geoserver-users] Filter 2.0

2013-09-11 Thread Nhan Vo
Hi Ben, Thank you for clarification. Here is the query part of the GET request: The query that does not work: ?VERSION=2.0SERVICE=WFSREQUEST=GetFeatureTYPENAME=ns1:db_entriesFILTER=NotDisjointValueReferencens1:geometry/ValueReferencegml:Polygon

Re: [Geoserver-users] Filter 2.0

2013-09-11 Thread Ben Caradoc-Davies
Nhan, because WFS 2.0 no longer depends on any version of GML, when GeoServer is parsing your request it cannot deduce what version of GML or filter you are using. One solution that works is to specify the namespaces; I added an fes:Filter element as a place where I could put the xmlns

Re: [Geoserver-users] Filter 2.0

2013-09-11 Thread Nhan Vo
Hi Ben, After I wrap the filter in the Filter tags with namespaces everything works as expected. Thanks for the detailed explanation! Including your example together with some explanation in the documentation would be helpful for others. Cheers, Nhan On 9/11/2013 11:20 AM, Ben

[Geoserver-users] Filter 2.0

2013-09-10 Thread Nhan Vo
Hi list, I've tried the following filter in the Demo request page and it works (even though some elements do not have namespace prefix): ?xml version=1.0 encoding=UTF-8? wfs:GetFeature service=WFS version=2.0.0 xmlns:wfs=http://www.opengis.net/wfs/2.0;

Re: [Geoserver-users] Filter 2.0

2013-09-10 Thread Andrea Aime
On Tue, Sep 10, 2013 at 1:50 PM, Nhan Vo nha...@smileconsult.de wrote: I've done the same thing in URLs with other filter 2.0 elements like PropertyIsLike and PropertyIsEqualTo and they work for me. Could someone give me a hint? Thanks! Making a guess here, did you remember to add

Re: [Geoserver-users] Filter 2.0

2013-09-10 Thread Nhan Vo
Hi Andrea, Thanks for the reply! Yes I've added version=2.0.0, and as I said it works for other elements like PropertyIsLike and PropertyIsEqualTo, but for this spatial filter it does not work. Here's the stack trace from geoserver log:

Re: [Geoserver-users] Filter 2.0

2013-09-10 Thread Ben Caradoc-Davies
Nhan, GeoServer is by default permissive when it comes to namespaces. Please paste the entire request GET URL into an email so we can see it. Or the query part (after ?) at least if you do not want to disclose the host. Also, note that the schemaLocation in your request is wrong: the WFS 2

Re: [Geoserver-users] Filter by geometry

2013-04-02 Thread Andrea Aime
On Mon, Apr 1, 2013 at 11:34 AM, Сергей Колосов sergey.kolo...@gmail.comwrote: Hi all. I'm trying to apply filter WITHIN to WMS layer from OpenLayers: WITHIN(the_geom, POLYGON((35 49, 35 51, 39 51, 39 49, 35 49))) Everything works fine until i use PostGIS layer instead of Shapefile . Then

Re: [Geoserver-users] Filter by geometry

2013-04-02 Thread Сергей Колосов
Yeah, i expected so. Thanks! 2013/4/2 Andrea Aime andrea.a...@geo-solutions.it On Mon, Apr 1, 2013 at 11:34 AM, Сергей Колосов sergey.kolo...@gmail.comwrote: Hi all. I'm trying to apply filter WITHIN to WMS layer from OpenLayers: WITHIN(the_geom, POLYGON((35 49, 35 51, 39 51, 39 49, 35

[Geoserver-users] Filter by geometry

2013-04-01 Thread Сергей Колосов
Hi all. I'm trying to apply filter WITHIN to WMS layer from OpenLayers: WITHIN(the_geom, POLYGON((35 49, 35 51, 39 51, 39 49, 35 49))) Everything works fine until i use PostGIS layer instead of Shapefile . Then i need to use the geom field. So the question is how can i know what field to use if

[Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
Hi list, i read specification for WFS 1.1.0 on http://www.opengeospatial.org/standards/wfs. In this document is written , that we can set aliases for typenames. So i tried it, but with no success. My URL:

Re: [Geoserver-users] Filter aliases

2013-03-18 Thread Andrea Aime
On Mon, Mar 18, 2013 at 9:34 AM, gabriel gpetri...@gmail.com wrote: Hi list, i read specification for WFS 1.1.0 on http://www.opengeospatial.org/standards/wfs. In this document is written , that we can set aliases for typenames. So i tried it, but with no success. My URL:

Re: [Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
So it is not possible to make join of two typenames using geoserver 2.2.4 this time. Exist any other solution to achieve this ? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Filter-aliases-tp5041017p5041023.html Sent from the GeoServer - User mailing list archive at

Re: [Geoserver-users] Filter aliases

2013-03-18 Thread Andrea Aime
On Mon, Mar 18, 2013 at 10:01 AM, gabriel gpetri...@gmail.com wrote: So it is not possible to make join of two typenames using geoserver 2.2.4 this time. Exist any other solution to achieve this ? It is possible if you use WFS 2.0. WFS 1.1 joining was not well defined, I remember discussing

Re: [Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
Ok, so i tried wfs version 2.0.0. Im using Geoserver 2.2.4. On this request http://srvemis01:/geoserver/emis/wfs?service=WFSrequest=getfeatureversion=1.1.0typename=emis:T_GM_KRAJ_SPA i've got response, but when i tried with version 2.0.0 i've got 502 http error. -- View this message in

Re: [Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
Ok, so problem was in Geoserver version. Im using now 2.3.0 version of geoserver and all works fine. My url request looks like http://localhost:8080/geoserver/wfs?service=WFSrequest=getfeatureversion=2.0.0*typenames=(tp1)(tp2)**aliases=(A)(B)*filter=*(*FilterPropertyIsLike wildCard='*'

Re: [Geoserver-users] Filter getCapabilites according to KEYWORD Possible?

2011-11-01 Thread Andrea Aime
On Tue, Nov 1, 2011 at 10:15 AM, Robert Buckley robertdbuck...@yahoo.com wrote: Hi, Is it possible to filter the getCapabilities document in the URL according to the keyword attribute of the layer? e.g. http:MyHost:8080/geoserver/wms?request=getCapabilitiesKeyword=ENERGY The same question was

[Geoserver-users] filter a coverage

2011-06-14 Thread Amini, Manouchehr
Hi, I would like to know if geoserver supports filter/cql_filter functionalities for coverages. If yes, could you please provide an example. I would like to get only the pixels that fulfill a certain rule (e.g. =X). All of the examples given in the geoserver documents are for wfs layer

Re: [Geoserver-users] filter a coverage

2011-06-14 Thread Andrea Aime
On Tue, Jun 14, 2011 at 2:04 PM, Amini, Manouchehr manouchehr.am...@eawag.ch wrote: Hi, I would like to know if geoserver supports filter/cql_filter functionalities for coverages. If yes, could you please provide an example. I would like to get only the pixels that fulfill a certain rule

Re: [Geoserver-users] Filter Functions in GetFeature

2010-12-22 Thread Andrea Aime
On Tue, Dec 21, 2010 at 7:35 PM, Fernando Barbat fbar...@gmail.com wrote: Is it posible to use Filter Functions such as geometryType, numberFormat, or Area, to get derived information in GetFeature queries? For example, this query has no validation errors (at least, Eclipse says that):

[Geoserver-users] Filter Functions in GetFeature

2010-12-21 Thread Fernando Barbat
Is it posible to use Filter Functions such as geometryType, numberFormat, or Area, to get derived information in GetFeature queries? For example, this query has no validation errors (at least, Eclipse says that): ?xml version=1.0 encoding=UTF-8? wfs:GetFeature

Re: [Geoserver-users] Filter Functions: strMatches

2010-11-18 Thread Andrea Aime
On Wed, Nov 17, 2010 at 11:20 PM, Ricardo Bayley ricardo.bay...@gmail.com wrote: Hi everyone, I noticed strMatches function uses regular expression, supper cool ! I dont understand very well how I should write the filter. Got two concerns: How should I pass two arguments ? When function

[Geoserver-users] Filter Functions: strMatches

2010-11-17 Thread Ricardo Bayley
Hi everyone, I noticed strMatches function uses regular expression, supper cool ! I dont understand very well how I should write the filter. Got two concerns: 1. How should I pass two arguments ? 2. When function returns true/false, how is this return ? lower case, upper case, camel