we are using GeoServer 1.7.1 with the integrated plugin GeoWebCache in
combination with terraCatalog, a commercial application.
When accessing the GeoWebCache demo pages images are created in the cache
directory. However, when using it with terraCatalog and setting the URL to
http://<tomcat-server>/geoserver/gwc/service/wms, no images are created in
the cache directories. The map is shown but apparently the WMS is accessed
at /geoserver/wms:
When I try to modify the URL to /geoserver/gwc/service/wms=SERVICE=WMS... I
am getting error messages about the resolution.
What am I doing wrong?
Why is geoserver accessing the data at geoserver/wms and not at
/geoserver/gwc/service/wms?
Can GeoWebCache be expected to return a valid image for a request as
/geoserver/gwc/service/wms?SERVICE=WMS&REQUEST=GetMap...BGCOLOR=0xFFFFFF?
If you get an error about the resolution it means that terraCatalog is not requesting proper tiles, at least not bounding boxes that match geowebcache's representation of the grid.
1) Make sure terracatalog can act as a tiling client (WMS-C)
2) Does terracatalog enable you to specify a bounding box for the data? If so, try -180.0,-90.0,180.0,90.0
If 2) works, and you would like to narrow it down to the actual extent of your data, take a look at the source code of the demo page and use those bounds.
-Arne
olfie wrote:
Hi,
we are using GeoServer 1.7.1 with the integrated plugin GeoWebCache in
combination with terraCatalog, a commercial application.
When accessing the GeoWebCache demo pages images are created in the cache
directory. However, when using it with terraCatalog and setting the URL to
http://<tomcat-server>/geoserver/gwc/service/wms, no images are created in
the cache directories. The map is shown but apparently the WMS is accessed
at /geoserver/wms:
When I try to modify the URL to /geoserver/gwc/service/wms=SERVICE=WMS... I
am getting error messages about the resolution.
What am I doing wrong? Why is geoserver accessing the data at geoserver/wms and not at
/geoserver/gwc/service/wms?
Can GeoWebCache be expected to return a valid image for a request as
/geoserver/gwc/service/wms?SERVICE=WMS&REQUEST=GetMap...BGCOLOR=0xFFFFFF?
I would be grateful for any help in this matter.
Best regards,
Olfie
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers
1) Make sure terracatalog can act as a tiling client (WMS-C)
Unfortunately, terraCatalog has a WMS but it doesn't support WMS-C.
Would it be possible to configure GeoWebCache as to return only one image
(no tiles)? The image width is less than 450 pixels. Caching the image would
already help a lot with the performance.
1) Make sure terracatalog can act as a tiling client (WMS-C)
Unfortunately, terraCatalog has a WMS but it doesn't support WMS-C.
Would it be possible to configure GeoWebCache as to return only one image
(no tiles)? The image width is less than 450 pixels. Caching the image would
already help a lot with the performance.
Regards,
Olfie
Not sure I understand you correctly, do you just need to cache a single image ? You could stick Apache in front of GeoServer and cache, or redirect to a static image, for that particular URL. May even be able to do it in Tomcat, not sure.
For the more general case, not currently. There was some talk of resources / funding for the ability to patch tiles back together to answer arbitrary WMS requests, but it hasn't come together yet.
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers