(no subject)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Olga Troškina
Hi,
I have some problems with Geoserver CQL filter that I can't solve now for a week of reading and trying everything out.
Geoserver is 2.5.2 and I am trying to use BBOX CQL filter, but get a strange result like this:
loadFeatures({"type":"FeatureCollection","totalFeatures":15640,"features":[]})

It showing a total 15640 features in that bbox, but why there are no list of them and "features" are just empty list?

This is my CQL filter:

http://loom-gis.geo.ut.ee:8080/geoserver/ermas/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=ermas:testdata_geopnt&outputFormat=text/javascript&format_options=callback:loadFeatures&maxFeatures=50&srsname=EPSG:3301&EPSG:3301&CQL_FILTER=%28BBOX%28geometry,494981.10875,%206437855.3625,%20684824.8587499999,%206569105.3625%29%29
Any suggestions?
Thanks in advance.




------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Stefano Iacovella
Hi Olga,

Did you already checked the log ?
Are you observing the same behaviour with different output formats?

Cheers,

Stefano

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

2014-11-05 15:44 GMT+01:00 Olga Troškina <[hidden email]>:
Hi,
I have some problems with Geoserver CQL filter that I can't solve now for a week of reading and trying everything out.
Geoserver is 2.5.2 and I am trying to use BBOX CQL filter, but get a strange result like this:
loadFeatures({"type":"FeatureCollection","totalFeatures":15640,"features":[]})

It showing a total 15640 features in that bbox, but why there are no list of them and "features" are just empty list?

This is my CQL filter:

http://loom-gis.geo.ut.ee:8080/geoserver/ermas/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=ermas:testdata_geopnt&outputFormat=text/javascript&format_options=callback:loadFeatures&maxFeatures=50&srsname=EPSG:3301&EPSG:3301&CQL_FILTER=%28BBOX%28geometry,494981.10875,%206437855.3625,%20684824.8587499999,%206569105.3625%29%29
Any suggestions?
Thanks in advance.




------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Olga Troškina
Hi!
Just now I tried with different formats and I am now so confused. Havent trried this before, but it works with  other formats and with GeoJSOn also, but my link does not.

http://loom-gis.geo.ut.ee:8080/geoserver/ermas/ows?service=WFS&version=1.0.0&request=GetFeature&format_options=callback:loadFeatures&srsname=EPSG:3301&EPSG:3301&typeName=ermas:testdata_geopnt&outputFormat=text/javascript&maxFeatures=50&CQL_FILTER=%28BBOX%28geometry,494981.10875,%206437855.3625,%20684824.8587499999,%206569105.3625%29%29

http://loom-gis.geo.ut.ee:8080/geoserver/ermas/ows?service=WFS&version=1.1.0&request=GetFeature&format_options=callback:loadFeatures&srsname=EPSG:3301&EPSG:3301&typeName=ermas:testdata_geopnt&outputFormat=text/javascript&maxFeatures=30&CQL_FILTER=%28BBOX%28geometry,494981.10875,%206437855.3625,%20684824.8587499999,%206569105.3625%29%29

And now I see that there are different WFS versions. So is this correct that with 1.1.0 it doesn't work?


2014-11-05 17:16 GMT+02:00 Stefano Iacovella <[hidden email]>:
Hi Olga,

Did you already checked the log ?
Are you observing the same behaviour with different output formats?

Cheers,

Stefano

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

2014-11-05 15:44 GMT+01:00 Olga Troškina <[hidden email]>:
Hi,
I have some problems with Geoserver CQL filter that I can't solve now for a week of reading and trying everything out.
Geoserver is 2.5.2 and I am trying to use BBOX CQL filter, but get a strange result like this:
loadFeatures({"type":"FeatureCollection","totalFeatures":15640,"features":[]})

It showing a total 15640 features in that bbox, but why there are no list of them and "features" are just empty list?

This is my CQL filter:

http://loom-gis.geo.ut.ee:8080/geoserver/ermas/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=ermas:testdata_geopnt&outputFormat=text/javascript&format_options=callback:loadFeatures&maxFeatures=50&srsname=EPSG:3301&EPSG:3301&CQL_FILTER=%28BBOX%28geometry,494981.10875,%206437855.3625,%20684824.8587499999,%206569105.3625%29%29
Any suggestions?
Thanks in advance.




------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users




------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Stefano Iacovella

2014-11-05 16:59 GMT+01:00 Olga Troškina <[hidden email]>:
And now I see that there are different WFS versions. So is this correct that with 1.1.0 it doesn't work?

Not sure about it, may be Andrea, or someone else form the developers team, can comment on this.
Can you go with version 1.0.0?

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Olga Troškina
Fortunately yes, I can work with 1.0.0 too. Thanks for suggesting to control different output formats.

2014-11-05 18:28 GMT+02:00 Stefano Iacovella <[hidden email]>:

2014-11-05 16:59 GMT+01:00 Olga Troškina <[hidden email]>:
And now I see that there are different WFS versions. So is this correct that with 1.1.0 it doesn't work?

Not sure about it, may be Andrea, or someone else form the developers team, can comment on this.
Can you go with version 1.0.0?

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas


------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users