Thank you very much for your help Andrea!

> Date: Thu, 28 May 2009 12:34:05 +0200
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [Geotools-gt2-users] Getting the bounds of a WFS FeatureSource
> 
> Hakim A ha scritto:
> > By checking the WFS capabilities document, I saw that the bounds
> > computed by Geoserver from the data were wrong.
> > 
> > Should I understand that there is no way to get the real bounds of all 
> > the features
> > in a FeatureSource when using a WFS DataStore instead of those provided 
> > by the
> > admin?
> 
> The only way that comes to mind is to issue a full GetFeature request.
> If the server is generating the collection bounds (which are optional)
> one can get away with just reading those, otherwise the full
> response has to be scanned just to generate the bounds.
> Un-advisable thought, the response can be as small as a few kilobytes,
> or as big as many gigabytes (so the bounds computation using that
> approach cannot be expected to use a reasonable time).
> Moreover, the server can be configured to return a max amount of
> features, less than the total available, which would result in
> a faulty computation.
> 
> Cheers
> Andrea
> 
> -- 
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.

_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  
Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to