novice questions

152 views
Skip to first unread message

ariel perez mercado

unread,
Jun 11, 2012, 7:23:17 PM6/11/12
to georche...@googlegroups.com
hello friends, i'm ariel from bolivia, i'll be a loyal follower of the group :)   ...here at GeoBolivia (the SDI project for bolivia) we are using georchestra, and i'm having a bit of a headache while fighting with the map cache ...i want to enable our GWC app as a layer on the mapfishapp viewer, by now i wanna know what is the equivalence between the MAP_SCALES param (GEOR_custom.js), the RESOLUTIONS concept, and the cartographic scale ...which one should i put in GEOR_custom.js?

...merci, hasta pronto

ariel

Fabrice Phung

unread,
Jun 12, 2012, 3:08:57 PM6/12/12
to georche...@googlegroups.com
Le 12/06/2012 01:23, ariel perez mercado a écrit :
> hello friends, i'm ariel from bolivia, i'll be a loyal follower of the
> group :) ...here at GeoBolivia (the SDI project for bolivia) we are

Hi Ariel

> using georchestra, and i'm having a bit of a headache while fighting
> with the map cache ...i want to enable our GWC app as a layer on the
> mapfishapp viewer, by now i wanna know what is the equivalence between
> the MAP_SCALES param (GEOR_custom.js), the RESOLUTIONS concept, and the
> cartographic scale ...which one should i put in GEOR_custom.js?

Do you have a standalone gwc ?

I can give you our sample config (suitable for our metric projection)

http://geobretagne.fr/mapfishapp/app/js/GEOR_custom.js see MAP_SCALES

geowebcache.xml :

<scaleDenominators>
<double>559082263.928571464</double>
<double>279541131.964285732</double>
<double>139770565.982142864</double>
<double>69885282.991071432</double>
[...]
<double>1066.364791734</double>
<double>533.182395867</double>
<double>266.591197933</double>
</scaleDenominators>
<metersPerUnit>1</metersPerUnit>

See, same denominators.

ariel perez mercado

unread,
Jun 13, 2012, 7:37:09 PM6/13/12
to georche...@googlegroups.com
salut et merci ...i will study carefully your values, fabrice, and for sure i'll be writing again

i'm using a standalone GWC, we are planning to make this the caching app for both geoserver and mapserver rendered maps

...a secondary issue (as i assume that it will go better once we are stronger GWCers by making a good mapfishapp-GWC integration) comes now to my mind and is that first with Tilecache, next with GWC, the cached layer is flawlessly viewed in both OpenLayers and QGis, but nothing at all (not even complains) with udig or gvsig ...also the GetCapabilities request looks good on the browser

...are cached layers well supported only by few clients? should we recommend to our users certain specific tools? should we resign the posibility of serve maps to most clients, and focus on the mapfishapp viewer and some openlayers apps? what are your experiences about this?

as always ...merci, hasta pronto



On Tue, Jun 12, 2012 at 3:08 PM, Fabrice Phung <fab...@phung.fr> wrote:
Do you have a standalone gwc ?

I can give you our sample config (suitable for our metric projection)

http://geobretagne.fr/mapfishapp/app/js/GEOR_custom.js see MAP_SCALES

geowebcache.xml :

<scaleDenominators>
       <double>559082263.928571464</double>
       <double>279541131.964285732</double>
       <double>139770565.982142864</double>
       <double>69885282.991071432</double>
[...]
       <double>1066.364791734</double>
       <double>533.182395867</double>
       <double>266.591197933</double>
     </scaleDenominators>
     <metersPerUnit>1</metersPerUnit>

See, same denominators.

François Van Der Biest

unread,
Jun 14, 2012, 5:13:12 AM6/14/12
to georche...@googlegroups.com
Hi Ariel,

On Thu, Jun 14, 2012 at 1:37 AM, ariel perez mercado <caipora.o....@gmail.com> wrote:

...are cached layers well supported only by few clients? should we recommend to our users certain specific tools? should we resign the posibility of serve maps to most clients, and focus on the mapfishapp viewer and some openlayers apps? what are your experiences about this?

I don't really know about tiled layers support in different clients, but what I can say from my experience is that WMS will allow for universal compatibility (though you can still have surprises with clients such as ArcGIS).

Good to know: QGis now has a good support of WMTS (thanks to the French national mapping agency financial support).

F.

Yves Jacolin

unread,
Jun 14, 2012, 5:39:53 AM6/14/12
to georche...@googlegroups.com, François Van Der Biest
Hello,

Le jeudi 14 juin 2012 11:13:12 François Van Der Biest a écrit :
> Good to know: QGis now has a good support of WMTS (thanks to the French
> national mapping agency financial support).
In the next stable release (aka 1.9 or 2.0), not in the 1.8 which will be
released soon.

Y.
--
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel (France) : +33 4 79 26 57 98
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.j...@camptocamp.com
http://www.camptocamp.com

Fabrice Phung

unread,
Jun 14, 2012, 6:40:42 PM6/14/12
to georche...@googlegroups.com
Le 14/06/2012 01:37, ariel perez mercado a écrit :

> ...are cached layers well supported only by few clients? should we
> recommend to our users certain specific tools? should we resign the
> posibility of serve maps to most clients, and focus on the mapfishapp
> viewer and some openlayers apps? what are your experiences about this?

You may find some clues here :
http://geowebcache.org/docs/current/services/wms.html

As partners said, tile support is still sparse among clients, yet it is
growing with more and more tiled services online.

You may activate the support for regular wms clients in your gwc
instance (see link above). We are using a GeoServer cascaded wms
datastore connected to the fullwms enabled gwc. gwc builds the wms
response using existing tiles, GeoServer advertises the layer with
title, abstract, metadata links, logo... (gwc has less metadatas
options). Sadly, you'll get resampling artifacts if the viewer
scaledenominators list does match the gwc one.

ariel_at_geobolivia

unread,
Aug 2, 2012, 8:23:46 PM8/2/12
to georche...@googlegroups.com
bonjour list:

while trying to deploy a standalone geowebcache on top of geoserver, we've founded that GWC only sees group layers, and by no mean we can cache single layers ...we are using the GWC conf method via the GetCapabilities request, and an eye on both the GS GetCap response and the GWC catalina logs seems to tell us that for single layers the response conforms the 1.1.1 specs, while for group layers it doesn't ...so, the SAME geoserver response would conform different specs for single layers and for group layers, and geowebcache seems to be able of consume -and cache- only one of those specs???

the same GWC is also caching a couple of mapserver WMS without too many trouble

googling does not give us too many clear references

are we missing something? ...does anyone here at the list faced such problems? ...thank you all in advance!!


ariel

Sylvain Lesage

unread,
Aug 3, 2012, 9:36:33 AM8/3/12
to georche...@googlegroups.com
Hi,

I think we can precise a bit what we are facing. We decided to deploy
GeoWebCache independently from GeoServer, for many reasons (various
GeoServer, more control, etc.) What we want in a first step is to cache
all the layers of GeoServer, and serve it as a WMS, exactly as it works
with the embedded GeoWebCache.

In order to do that, we used the geowebcache-core-context.xml file
(http://geowebcache.org/docs/current/quickstart/index.html#view-layers-from-a-wms),
but something is failing. Looking at the network traffic, we can see
that the version number isn't respected.
If the configuration in geowebcache-core-context.xml is:
http://demo.opengeo.org/geoserver/ows?service=WMS&amp;request=GetCapabilities&amp;version=1.1.0
the URL actually called by GeoWebCache when creating the tiles is:
http://demo.opengeo.org/geoserver/ows?service=WMS&amp;request=GetCapabilities&amp;version=1.3.0
The GetCapabilities document received by GeoWebCache obviously follows
the 1.3.0 standard, and GeoWebCache can't manage it, particularly for
EPSG:4326 projections (WGS84). I think the problem would be solved if we
could pass correctly the WMS version number.

Maybe we are making some error in our configuration, or maybe we should
use a former version of GeoWebCache.

Did some of you face that type of error ? Could someone help use with
tips on a working configuration (number of version of GeoWebCache,
configuration files, etc.) ?

Thanks a lot!

Sylvain

Le 02/08/12 20:23, ariel_at_geobolivia a �crit :
> bonjour list:
>
> while trying to deploy a standalone geowebcache on top of geoserver,
> we've founded that GWC only sees group layers, and by no mean we can
> cache single layers...we are using the GWC conf method via the
> GetCapabilities request, and an eye on both the GS GetCap response and
> the GWC catalina logs seems to tell us that for single layers the
> response conforms the 1.1.1 specs, while for group layers it doesn't
> ...so, the SAME geoserver response would conform different specs for
> single layers and for group layers, and geowebcache seems to be able
> of consume -and cache- only one of those specs???
>
> the same GWC is also caching a couple of mapserver WMS without too
> many trouble
>
> googling does not give us too many clear references
>
> are we missing something? ...does anyone here at the list faced such
> problems? ...thank you all in advance!!
>
>
> ariel
> --
> --
> projet: http://www.georchestra.org/
>
>
>

Fabrice Phung

unread,
Aug 3, 2012, 11:11:33 AM8/3/12
to georche...@googlegroups.com
Le 2012-08-03 15:36, Sylvain Lesage a écrit :
> Hi,

> Did some of you face that type of error ? Could someone help use with
> tips on a working configuration (number of version of GeoWebCache,
> configuration files, etc.) ?

I'm not using the getCapabilities autoconf. You are clearly facing a
bug. I'll have a look at the sources.
Currently using 1.2.6.

Sylvain Lesage

unread,
Aug 3, 2012, 11:13:24 AM8/3/12
to georche...@googlegroups.com
Le 03/08/12 11:11, Fabrice Phung a �crit :
> Le 2012-08-03 15:36, Sylvain Lesage a �crit :
>> Hi,
>
>> Did some of you face that type of error ? Could someone help use with
>> tips on a working configuration (number of version of GeoWebCache,
>> configuration files, etc.) ?
>
> I'm not using the getCapabilities autoconf. You are clearly facing a
> bug. I'll have a look at the sources.
> Currently using 1.2.6.
>
You are then configuring each layer explicitly in the geowebcache.xml file ?

Sylvain Lesage

unread,
Aug 3, 2012, 4:47:25 PM8/3/12
to georche...@googlegroups.com
OK thanks.

FYI, we are commenting about that bug(?) on the GWC list:
https://lists.sourceforge.net/lists/listinfo/geowebcache-users/ because
it seems this is not a geOrchestra bug.

The thread is named "Problem in passing the WMS version number in
geowebcache-core-context configuration", in
http://sourceforge.net/mailarchive/forum.php?forum_name=geowebcache-users


Le 03/08/12 11:11, Fabrice Phung a �crit :
> Le 2012-08-03 15:36, Sylvain Lesage a �crit :
Reply all
Reply to author
Forward
0 new messages