its been quite a while since I started this thread, but other things had
to be done...
I kept my working installs of Mapnik/OGCServer, but moved from the
Geoserver / Geowebcache standalone versions to Geoserver tomcat webapp
with integrated Geowebcache, then included the xml configuration as
Jukka described and it works smoothly.
Just needs some adjustments (BG Colour) and then I am ready to seed
Mapnik OSM tiles with GWC.
I will compare Tilecache and GWC regarding their options to re-seed
outdated tiles. I have to get deeper into this, but I hope that it will
not be necessary to re-seed a whole layer with GWC, as it is with
Tilecache. Anyway, its only a sparetime task, as long as my Map is up
and running... :)
Many thanks for your help !
Daniel
Am 10.06.2011 13:03, schrieb Rahkonen Jukka:
Hi,
I am running GeoWebCache which comes with GeoServer and the config file
"geowebcache.xml" has this kind of entry
<wmsLayer>
<name>GWC_service</name> <!-- this is what is published to the outside world
-->
<wmsUrl><string>http://server.fi/cgi-bin/mapserv.exe</string></wmsUrl> <!--
the url of your wms map -->
<wmsLayers>WMS_layer1</wmsLayers> <!-- layer names as known by your wms
-->
I am not sure if GWC is reading the GetCapabilities ever, it just starts to
send GetMaps when seeding the cache. However, the standalone service may behave
differently.
-Jukka Rahkonen-
manel.clos wrote:
Hi Daniel,
You may try a newer OGCServer version[1]. Perhaps GWC doesn't
like the GetCapabilities OGCServer is sending, and the newer
version has a lot of improvements in this area.
Also, if it does not work with the new version, please open a
bug on github and post any debug info from GWC.
Manel.
[1] https://github.com/mapnik/OGCServer/
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de
Daniel Behr
Enviado el: miércoles, 08 de junio de 2011 15:24
Para: [email protected]
Asunto: [Mapnik-users] howto config GeoWebCache in front of
mapnik/ogcserver?
Hi!
is there someone out there using GWC with Mapnik?
I saw some older posts, but none including details on GWC
configuration.
My question is:
whats the trick when adding the GetCapabilities to the
'gwcWMSConfig'-bean in GWCs geowebcache-core-context.xml?
I supposed this would work, but it didnt:
<constructor-arg
value="http://localhost/osm?service=WMS&version=1.1.1&
request=GetCapabilities"/>
(without the line break of course)
I have mapnik 0.7.1, GWC 1.2.6 standalone (not the GS plugin) and a
valid GetCap from OGCServer, but none of the settings I tried
gave me a
demo-layer after reloading the tomcat app.
I also tried setting the empty arg to
<constructor-arg value="module=map_factory"/>
and the likes, but nothing.
I keep on digging, but maybe someone just knows whats missing.
thanks in advance...
--
Daniel Behr
-------------------------------------------
Institut für Küstenforschung
Helmholtz-Zentrum Geesthacht GmbH
D-21502 Geesthacht
+49 (0)4152 87 1589 (fax -1596)
[email protected]
-------------------------------------------
Helmholtz-Zentrum Geesthacht
Zentrum für Material- und Küstenforschung GmbH
Max-Planck-Straße 1
21502 Geesthacht
Deutschland/Germany
Geschäftsführer/Board of Management:
Prof. Dr. Wolfgang A. Kaysser, Dipl.-Ing. Michael Ganß
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board:
Ministerialrat Wilfried Kraus
Amtsgericht Lübeck- HRB 285 GE (Register Court)
Internet: http://hzg.de
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
--
Daniel Behr
-------------------------------------------
Institut für Küstenforschung
Helmholtz-Zentrum Geesthacht GmbH
D-21502 Geesthacht
+49 (0)4152 87 1589 (fax -1596)
[email protected]
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users