2011/4/12 Joaquín Rodriguez-Guerra Urcelay <[email protected]>:
> Hello List,
>
> I wonder if there is any way to see what ogc requests (xml for the wfs 
> filters mostly) are being sent by geotools to the GIS server in order to 
> render maps. I am using uDig, and I think that geotools streaming renderer is 
> adding filters (bbox) to the initial filters I apply. Is there any way to see 
> the final requests as they are being sent to mapserver? maybe adding a 
> log4j.properties file to my project? It would help the debugging a lot :)

I don't know if there is a flag to log the requests, but I'm certain the
renderer adds a bbox filter, it would be criminal not to, since it's the
main filter one can add in a rendering request.

I followed up the thread in udig and yeah, the wfs request encoder
should be smart enough to see there are fid filters and imho should
try to just encode the fid filter alone in that case (since we cannot
encode both, and supposedly the fid filter is very selective).

To do that I would feed the fliter splitter with two different filter
capabilities in a row: first call with a filter caps saying the only
supported filter is the id filter, and see if the returned encodable part
contains any fid filter, if so, I'd use it for encoding and leave the
rest for in memory post processing, if not, I'd use a second caps
that contains all filters but the fid filter, split and use the result
for the processing.

Just an idea.

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

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

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to