Hi

Jody Garnett skrev:
> We could also fix the GeoTools parsing; if you have a specific 
> capabilities document we could use to write a test case it would be good.
>
> Jody
>
> On Wed, Mar 11, 2009 at 2:50 AM, Per Engström <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hello list.
>
>     I've been working on GeoWebCache (GWC) for some time now and I've
>     just come across a bit of a problem when caching layers with
>     multiple projections (SRS:s). The problem occurs when the
>     Capabillities document only specifies a BoundingBox for one SRS
>     and not one BoundingBox for each SRS. This is ok according to
>     OGC:s WMS spec 1.1.1:
>     "A server which has the ability to transform data to different
>     SRSes *may* choose not to 
>     provide an explicit BoundingBox for every possible SRS available
>     for each Layer.  The 
>     server *should* provide BoundingBox information for at least the
>     native SRS of the Layer."
>
>     As I understand this is the default behaviour of GeoServer.
>
>     However, GeoTools (GWC utilizes GeoTools for parsing the
>     Capabilities document) is not able to recognize SRS:s that does
>     not have a specified BoundingBox, thus GWC is unable to recognize
>     and cache the layer in those projections.
>
>     My question is:
>     Is there a way to force GeoServer to provide a BoundingBox for all
>     SRS:s provided?
>
>     Regards,
>     Per Engström
>

Since Per and I have been working on dimensions support for geowebcache 
and actually already done changes to the geotools parser I think a 
parser change wont  get us all the way.

To clarify the setup a bit
* geoserver (1.7.2) on one machine.
* geowebcache (ndims branch) on another machine.
* geowebcache is configured using GetCapabilitiesConfiguration against 
geoserver on the other machine.
* Geoserver is configured to supply data in WGS84, google and rt90 and 
sweref99tm (swedish grids).

In geowebcache
For all "world grid", wgs84 and google,  the grid bounds used to create 
cache key is "known".
For all other layers we use boundingboxes as both grid and data bounds. 
In the future one would want to implement a way to configure grid bounds 
for arbitrary SRS:es in GWC.

When using this aproach against a WMS that actually do calculate and 
report bounding boxes for all delcared SRS:es, this aproach works fine.

So if it is possible to make geoserver calculate bounds for all the 
declared SRS:es when producing getCapabilities response it would be 
great.  Just thought we'd ask if this feature is already in the works 
somewhere before taking a plunge into geoserver code base :-)

Thanks in advance,
Per-Olof Norén



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to