[Geoserver-users] Configuring GeoWebCache

Hi,

I have developed a web map application by using Geoserver 2.4.0 and tomcat 7 in Windows XP.

I have tried to configure the GeoWebCache for WMS layers to speed up the service but unfortunately it didn’t work for me. I have attached sample screenshot for GeoWebCache Demo.

My Caching Defaults Configuration:

Inline image 1

I have created New Gridset for EPSG:404000

Inline image 5

I have tested with XXX.XXX.X.XX:8080/geoserver/gwc/demo Link:

Inline image 8

I think I did something wrongly. Kindly suggest me to achieve this. Thanks in advance

Hi,

Some questions for more information:

Do you have a layer available in geoserver to display?

What projection is the source data in?

Can you view the layer through layer preview in the openlayers application?

What do the geoserver logs say?

Cheers

Ross

···

Hi,

I have developed a web map application by using Geoserver 2.4.0 and tomcat 7 in Windows XP.

I have tried to configure the GeoWebCache for WMS layers to speed up the service but unfortunately it didn’t work for me. I have attached sample screenshot for GeoWebCache Demo.

My Caching Defaults Configuration:

I have created New Gridset for EPSG:404000

I have tested with XXX.XXX.X.XX:8080/geoserver/gwc/demo Link:

I think I did something wrongly. Kindly suggest me to achieve this. Thanks in advance

Ciao Venky,
I would not expect the internal demo (which is really a simple preview) to work with custom gridset.

You should try to hit from a properly configured external client.

webcache2.png

webcache3.png

webcache1.png

···

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Thu, Jan 16, 2014 at 12:20 PM, venky <venky.src@anonymised.com> wrote:

Hi,

I have developed a web map application by using Geoserver 2.4.0 and tomcat 7 in Windows XP.

I have tried to configure the GeoWebCache for WMS layers to speed up the service but unfortunately it didn’t work for me. I have attached sample screenshot for GeoWebCache Demo.

My Caching Defaults Configuration:

Inline image 1

I have created New Gridset for EPSG:404000

Inline image 5

I have tested with XXX.XXX.X.XX:8080/geoserver/gwc/demo Link:

Inline image 8

I think I did something wrongly. Kindly suggest me to achieve this. Thanks in advance


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Simone,

Yes I checked with my website (Displaying WMS layer in client side with zoom in and zoom out). But I dont know that how to check whether its working from GeoWebCache or Geoserver.

My URL is:

tiled = new OpenLayers.Layer.WMS(
“HP”, “http://” + geoIpAddress + “:8080/geoserver/cite/gwc/service/wms”,
{
LAYERS: ‘HP’,
STYLES: ‘’,
format: ‘image/png’,
tiled: true,
enableLocalCache:true,
tilesOrigin: osMap.maxExtent.left + ‘,’ + osMap.maxExtent.bottom
},
{
buffer: 0,
displayOutsideMaxExtent: true,
isBaseLayer: true,
transitionEffect: ‘resize’,
yx: { ‘EPSG:404000’: false }
}
);

untiled = new OpenLayers.Layer.WMS(
“HP”, “http://” + geoIpAddress + “:8080/geoserver/cite/gwc/service/wms”,
{
LAYERS: ‘HP’,
STYLES: ‘’,
format: ‘image/png’,
enableLocalCache: true
},
{
singleTile: true,
ratio: 1,
isBaseLayer: true,
transitionEffect: ‘resize’,
yx: { ‘EPSG:404000’: false }
}
);

osMap.addLayers([untiled, tiled]);

webcache3.png

webcache2.png

webcache1.png

···

On Thu, Jan 16, 2014 at 7:21 PM, Simone Giannecchini <simone.giannecchini@anonymised.com> wrote:

Ciao Venky,
I would not expect the internal demo (which is really a simple preview) to work with custom gridset.

You should try to hit from a properly configured external client.

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Thu, Jan 16, 2014 at 12:20 PM, venky <venky.src@anonymised.com> wrote:

Hi,

I have developed a web map application by using Geoserver 2.4.0 and tomcat 7 in Windows XP.

I have tried to configure the GeoWebCache for WMS layers to speed up the service but unfortunately it didn’t work for me. I have attached sample screenshot for GeoWebCache Demo.

My Caching Defaults Configuration:

Inline image 1

I have created New Gridset for EPSG:404000

Inline image 5

I have tested with XXX.XXX.X.XX:8080/geoserver/gwc/demo Link:

Inline image 8

I think I did something wrongly. Kindly suggest me to achieve this. Thanks in advance


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I have attached my layer settings screenshot for refefence. Is there anything I need to configure or anything I did wrongly?

Inline image 1

webcache3.png

webcache1.png

webcache2.png

···

On Fri, Jan 17, 2014 at 10:48 AM, venky <venky.src@anonymised.com> wrote:

Hi Simone,

Yes I checked with my website (Displaying WMS layer in client side with zoom in and zoom out). But I dont know that how to check whether its working from GeoWebCache or Geoserver.

My URL is:

tiled = new OpenLayers.Layer.WMS(
“HP”, “http://” + geoIpAddress + “:8080/geoserver/cite/gwc/service/wms”,
{
LAYERS: ‘HP’,
STYLES: ‘’,
format: ‘image/png’,
tiled: true,
enableLocalCache:true,
tilesOrigin: osMap.maxExtent.left + ‘,’ + osMap.maxExtent.bottom
},
{
buffer: 0,
displayOutsideMaxExtent: true,
isBaseLayer: true,
transitionEffect: ‘resize’,
yx: { ‘EPSG:404000’: false }
}
);

untiled = new OpenLayers.Layer.WMS(
“HP”, “http://” + geoIpAddress + “:8080/geoserver/cite/gwc/service/wms”,
{
LAYERS: ‘HP’,
STYLES: ‘’,
format: ‘image/png’,
enableLocalCache: true
},
{
singleTile: true,
ratio: 1,
isBaseLayer: true,
transitionEffect: ‘resize’,
yx: { ‘EPSG:404000’: false }
}
);

osMap.addLayers([untiled, tiled]);

On Thu, Jan 16, 2014 at 7:21 PM, Simone Giannecchini <simone.giannecchini@anonymised.com> wrote:

Ciao Venky,
I would not expect the internal demo (which is really a simple preview) to work with custom gridset.

You should try to hit from a properly configured external client.

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Thu, Jan 16, 2014 at 12:20 PM, venky <venky.src@anonymised.com> wrote:

Hi,

I have developed a web map application by using Geoserver 2.4.0 and tomcat 7 in Windows XP.

I have tried to configure the GeoWebCache for WMS layers to speed up the service but unfortunately it didn’t work for me. I have attached sample screenshot for GeoWebCache Demo.

My Caching Defaults Configuration:

Inline image 1

I have created New Gridset for EPSG:404000

Inline image 5

I have tested with XXX.XXX.X.XX:8080/geoserver/gwc/demo Link:

Inline image 8

I think I did something wrongly. Kindly suggest me to achieve this. Thanks in advance


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users