[GeoNetwork-users] Accessing a geowebcache

Hi all,
is it possible to access a geowebcache ( the last release) ?
How can we send to the map Object the hash table resolutions for
alignement with the grid cache .
Is there any parameters in config-gui that implements this function ?

When i add a layer by the overlays tree when searching a server, how can
i give to this layer the hash table resolutions ?

we are using in test geonetwork 2.6.0

Thank you

Hi,

(I think you will get better response to your questions when you give some context to your use of GN and send/sign your emails with your real name.)

I am working on the same topics: having installed GN 2.6.0 and trying to configure the map/extent viewers. Out of the box a lot of stuff already works, but if you need a more specific configuration you need to (currently) modify XML and XSLT files. See below.

On 06-10-10 20:11, silst wrote:

Hi all,
is it possible to access a geowebcache ( the last release) ?

Yes ! In config-gui.xml you can add <layer>s and thus GWC layers.
(The built-in GeoServer is handy but not neccessarily the only map source)

How can we send to the map Object the hash table resolutions for
alignement with the grid cache .

Currently IMO not through standard configuration parameters in config-gui.xml. I have modified xsl/main-page.xsl to configure resolutions within the generated Javascript. Look for "var mapOptions" (3x) in that file and modify these. Maybe you can add layer options in config-gui.xml (see below).

Is there any parameters in config-gui that implements this function ?

See above. I would say: not yet.

When i add a layer by the overlays tree when searching a server, how can
i give to this layer the hash table resolutions ?

I.s.o. modifying main-page.xsl you may try to set resolutions in <layer> elements within "options" in config-gui.xml.

As said I am in the middle of trying to have alternative projections/resolutions/extents, so any suggestions from others welcomed.

best,

--Just

Just van den Broecke
The Netherlands
http://www.justobjects.nl

we are using in test geonetwork 2.6.0

Thank you

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--

Hi,
i have also modified the config-gui.xml et the main-page.xml for the
default baseLayer of mapviewer and mapsearch viewers.

Just the last point when i say :
"When i add a layer by the overlays tree when searching a server, how
can i give to this layer the hash table resolutions ? "

I.s.o. modifying main-page.xsl you may try to set resolutions in <layer>
elements within "options" in config-gui.xml.

I'm not sure if you understood what we want.
This is done dynamically by the hand user when he asks for a WMS request
getcapabilities on a geoserver (like).
How "Adding a layer dynamically with an hash table resolutions when the
user click on the "Add Layer" button.

Forgive me, but my english is bad. If i hurt someone, it isn't what i
expected.

A+.

On mar., 2010-10-12 at 12:40 +0200, Just van den Broecke wrote:

Hi,

(I think you will get better response to your questions when you give
some context to your use of GN and send/sign your emails with your real
name.)

I am working on the same topics: having installed GN 2.6.0 and trying to
configure the map/extent viewers. Out of the box a lot of stuff already
works, but if you need a more specific configuration you need to
(currently) modify XML and XSLT files. See below.

On 06-10-10 20:11, silst wrote:
> Hi all,
> is it possible to access a geowebcache ( the last release) ?
Yes ! In config-gui.xml you can add <layer>s and thus GWC layers.
(The built-in GeoServer is handy but not neccessarily the only map source)
> How can we send to the map Object the hash table resolutions for
> alignement with the grid cache .
Currently IMO not through standard configuration parameters in
config-gui.xml. I have modified xsl/main-page.xsl to configure
resolutions within the generated Javascript. Look for "var mapOptions"
(3x) in that file and modify these. Maybe you can add layer options in
config-gui.xml (see below).

> Is there any parameters in config-gui that implements this function ?
See above. I would say: not yet.
>
>
> When i add a layer by the overlays tree when searching a server, how can
> i give to this layer the hash table resolutions ?
I.s.o. modifying main-page.xsl you may try to set resolutions in <layer>
elements within "options" in config-gui.xml.

As said I am in the middle of trying to have alternative
projections/resolutions/extents, so any suggestions from others welcomed.

best,

--Just

Just van den Broecke
The Netherlands
http://www.justobjects.nl

>
> we are using in test geonetwork 2.6.0
>
> Thank you
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>

Hi,

On 12-10-10 21:57, silst wrote:

Hi,
i have also modified the config-gui.xml et the main-page.xml for the
default baseLayer of mapviewer and mapsearch viewers.

Just the last point when i say :
"When i add a layer by the overlays tree when searching a server, how
can i give to this layer the hash table resolutions ? "

I.s.o. modifying main-page.xsl you may try to set resolutions in<layer>
elements within "options" in config-gui.xml.

I'm not sure if you understood what we want.
This is done dynamically by the hand user when he asks for a WMS request
getcapabilities on a geoserver (like).
How "Adding a layer dynamically with an hash table resolutions when the
user click on the "Add Layer" button.

Aha, this is even more complex. From my understanding an OpenLayers Map always has a fixed set of resolutions, either set through Map options or through the first Layer added with resolutions. Otherwise defaults apply. Anyways, if you still want to try to add per-layer resolutions you may have to modify a next level (besides WEB-INF/config and XSL) in GN: that is JavaScript. btw I also think that a WMS GetCapabilities response (at least 1.1.1) does not supply resolutions. Later versions or TMSs may.

Forgive me, but my english is bad. If i hurt someone, it isn't what i
expected.

That's ok. Most of us here aren't native English speakers. We're all here to help each other. Giving one's name and some background on the issues just make these conversations more "human".

A+.

Your most recent grade in college I guess :slight_smile:

best,

--Just

Just van den Broecke
The Netherlands
http://www.justobjects.nl

On mar., 2010-10-12 at 12:40 +0200, Just van den Broecke wrote:

Hi,

(I think you will get better response to your questions when you give
some context to your use of GN and send/sign your emails with your real
name.)

I am working on the same topics: having installed GN 2.6.0 and trying to
configure the map/extent viewers. Out of the box a lot of stuff already
works, but if you need a more specific configuration you need to
(currently) modify XML and XSLT files. See below.

On 06-10-10 20:11, silst wrote:

Hi all,
is it possible to access a geowebcache ( the last release) ?

Yes ! In config-gui.xml you can add<layer>s and thus GWC layers.
(The built-in GeoServer is handy but not neccessarily the only map source)

How can we send to the map Object the hash table resolutions for
alignement with the grid cache .

Currently IMO not through standard configuration parameters in
config-gui.xml. I have modified xsl/main-page.xsl to configure
resolutions within the generated Javascript. Look for "var mapOptions"
(3x) in that file and modify these. Maybe you can add layer options in
config-gui.xml (see below).

Is there any parameters in config-gui that implements this function ?

See above. I would say: not yet.

When i add a layer by the overlays tree when searching a server, how can
i give to this layer the hash table resolutions ?

I.s.o. modifying main-page.xsl you may try to set resolutions in<layer>
elements within "options" in config-gui.xml.

As said I am in the middle of trying to have alternative
projections/resolutions/extents, so any suggestions from others welcomed.

best,

--Just

Just van den Broecke
The Netherlands
http://www.justobjects.nl

we are using in test geonetwork 2.6.0

Thank you

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork