Hakim A ha scritto:
> Hello,
> 
> I encoutered some problems when trying to get the bounds of a FeatureSource
> bound to a WFS Server (GeoServer). It doesn't return the rights bounds.
> It works when I directly bind the FeatureSource to the underlying 
> PostGis table.
> Have someone any hint to help me?

I can't help with the WFS datastore, but have you checked the
GeoServer generated WFS capabilities document? Does it contain
the right bounds?

The bounds generated are the ones the GeoServer admin provided
when configuring the FeatureType, they are not computed on the fly
because on serious deploys they would be prohibitively expensive
to compute on the fly (e.g., to compute the bounds of a 20 million
features datasets postgis takes more than 2 minutes on a recent
PC)

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
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