Hi Mauro,

All is fine now. But below thing is not returning correct result. Is there
anything wrong in that?

Area
-------

41.9696
42.9826
43.0137
43.6441
46.8394
46.9315
47.2082
781.198

Area > ('41.9696' + '42.9826') / 2

Its filtered out only 1 feature,Its Area 781.198

But the actual result is

Step1: Area > ('84.9522')/2
Step2: Area > 42.4761

i.e.Result should be 7 features.But its returning only one. Request URL is:

http://192.168.0.86:8080/geoserver/wfs?service=wfs&version=1.1.0&request=GetFeature&typeName=Plymouth_Buildings&cql_filter=Area>
('41.9696' +%2B+'42.9826') / 2

Please suggest me to use this type of queries


On Mon, Dec 23, 2013 at 5:01 PM, venky <[email protected]> wrote:

> Yes. Its working now. Thanks for your help Mauro. Its really great. I will
> let u know if I met any further issue with this
>
>
>
>
>
>
> On Sat, Dec 21, 2013 at 12:34 PM, Mauro Bartolomeoli <
> [email protected]> wrote:
>
>> Hi Venky,
>> the problem seems to be that you need to url encode the '+' symbol (if
>> not it will be converted to a space). The url should probably be:
>>
>>
>> http://xxx.xxx.x.xx:8080/geoserver/wfs?service=wfs&version=1.1.0&request=GetFeature&typeName=cite:Plymouth_Buildings&cql_filter=Area='2.0224'%20%2B%20'2.0224<http://xxx.xxx.x.xx:8080/geoserver/wfs?service=wfs&version=1.1.0&request=GetFeature&typeName=cite:Plymouth_Buildings&cql_filter=Area='2.0224'%20+%20'2.0224>
>> '
>>
>>
>> Regards,
>> Mauro Bartolomeoli
>>
>> --
>> == *GeoSolutions will be closed for Christmas Holidays from 23/12/2013
>> to 06/01/2014 *==
>>
>> Dott. Mauro Bartolomeoli
>> @mauro_bart
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:     +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to