On Fri, Jul 29, 2011 at 10:21 AM, Rahkonen Jukka <[email protected]> wrote: > > Andrea Aime wrote: >> >> On Fri, Jul 29, 2011 at 8:17 AM, Rahkonen Jukka >> <[email protected]> wrote: >> > Hi, >> > >> > Thanks. So I'll pretend I've never read the 1.1.0 standard >> and, bona fide, continue to suppose that BBOX behaves like it >> does with version 1.0.0. >> >> As usual I have strong opinions ;-) >> However, if someone really wants that flag and has tight control over >> the clients accessing the WFS, and those work the >> way the standard was written... well, why not? >> It just seems a rather narrow use case > > I can see from our server logs that there are some real world clients sending > WFS 1.0.0 requests with GET and BBOX as KVP but nobody has been hitting our > server by using the combination of WFS 1.1.0 + http GET + BBOX. I believe it > would be a really bad idea to make such a client because obviously the BBOX > coordinates should still be reversed with some srsNames when using WFS 1.1.0 > and nobody could ever make that work with all the projections and against all > the different WFS server marks. Thus this is more a theoretical issue and > mainly makes mad people like me who are making some hand written requests to > be sent through a browser. The http requests with KVP are rather a lot easier > to read in tutorials than those with url-encoded filters. At least for me, > just compare > &BBOX=3307900,6909392,3541041,7085366 > with something like > FILTER=%3Cogc%3AFilter+xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22+xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22%3E%3Cogc%3ABBOX%3E%3Cogc%3APropertyName%3Eway%3C%2Fogc%3APropertyName%3E%3Cgml%3AEnvelope%3E%3Cgml%3AlowerCorner%3E232956.28352295642+6611434.046334767%3C%2Fgml%3AlowerCorner%3E%3Cgml%3AupperCorner%3E358186.6317651436+6766767.843673633%3C%2Fgml%3AupperCorner%3E%3C%2Fgml%3AEnvelope%3E%3C%2Fogc%3ABBOX%3E%3C%2Fogc%3AFilter%3E
He he, yep, OGC xml filters are painful. The easy way out is, I guess, to add the fifth parameter, the crs, to your requests, and forget the 4 values version ever existed. And yeah, I agree that making a protocol were the clients needs a full fledged EPSG database to determine the proper axis order has been a mistake on OGC part, it basically killed away fully atomated light clients, requiring to hand configure each instance of them for the limited set of EPSG codes that one needs (and which has to be foreseen in advance). Or they could resurrect the coordinate transformation service, but with an extra showing all available codes and details of them such as the axis order, projection and the like: a light client could then consult it to get the required information. 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 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 ------------------------------------------------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
