|
From: Jody G. <jod...@gm...> - 2010-04-29 22:08:15
|
Guys the units are not respected in the underlining library; I usually have to convert to the data units (sometimes that is degree for example). Try converting and let me know if it works out for you.
Jody
On 29/04/2010, at 11:13 PM, Rahkonen Jukka wrote:
> Hi,
>
> There may be some real problem, but DWITHIN 50000 kilometres is not a very reasonable query and it can have some effect.
>
> -Jukka Rahkonen-
>
> Lähettäjä: Dan MacLeod wrote:
>
>
>> Thanks for the reply, but the &CQL_FILTER=SEVERITY=3 or
>> SEVERITY=1 filter
>> works fine, the problem is when I try to do something like:
>> &CQL_FILTER=DWITHIN(GEOM, POINT(-83.25 42.67), 50000, kilometers).
>>
>> Would I have to do something like: escape("DWITHIN(GEOM, POINT(-83.25
>> 42.67), 50000, kilometers)");
>>
>> UWJoe wrote:
>>>
>>> Dan,
>>>
>>> I had a similar question a few days ago "[Geoserver-users]
>> CQL Filter
>>> question".
>>>
>>> Gabriel pointed out that I should escape the parameter
>> value string for my
>>> filter and that seemed to work for me.
>>>
>>> So in your case:
>>> var myFilter = escape("SEVERITY=3 or SEVERITY=1");
>>> myRequest = "...&clq_filter="+ myFilter;
>>>
>>>
>>> As to the second part of your question I don't know - I'm
>> also a new user.
>>>
>>> Joe
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/CQL-Filter-question-tp28391495p28399817.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>> --------------------------------------------------------------
>> ----------------
>> _______________________________________________
>> Geoserver-users mailing list
>> Geo...@li...
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geoserver-users mailing list
> Geo...@li...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
|