I have developed a web map application by using Geoserver 2.4.0 with Tomcat 7 on Windows 2008 32bit OS.
I am using Openlayers Overview control in my application. It was working fine. I have enabled and configured embedded GeoWebCache to speedup the image rendering from GeoServer. Afterthat map loading speed is increased but overview control is not working. It shows the below error message while loading the map.
Sample Error message:
ERROR 1:
400: Requested horizontal resolution: 110535.04955984892 , best match:
427.5561445882886 exceeds 10% threshold. Perhaps the client is
configured with an incorrect set of scales (resolutions), or the DPI
setting is off compared to the one in GWC ?
ERROR 2:
400: X,Y values for the tile index were calculated to be
{16.96256381107079, 8.20173301267921} which had to be rounded to {17,
8} and exceeds the threshold of 10%. Perhaps the client is using the
wrong origin ?
What could be the problem…? Could anyone please help me to resolve this issue? Thanks in Advance.
The overview control requests map images for the whole size of the overview and it doesn’t know about tiling.
You should configure overview map to use a different layer. It can be the uncached version or a suitable, low-resolution replacement.
I have developed a web map application by using Geoserver 2.4.0 with Tomcat 7 on Windows 2008 32bit OS.
I am using Openlayers Overview control in my application. It was working fine. I have enabled and configured embedded GeoWebCache to speedup the image rendering from GeoServer. Afterthat map loading speed is increased but overview control is not working. It shows the below error message while loading the map.
Sample Error message:
ERROR 1:
400: Requested horizontal resolution: 110535.04955984892 , best match:
427.5561445882886 exceeds 10% threshold. Perhaps the client is
configured with an incorrect set of scales (resolutions), or the DPI
setting is off compared to the one in GWC ?
ERROR 2:
400: X,Y values for the tile index were calculated to be
{16.96256381107079, 8.20173301267921} which had to be rounded to {17,
8} and exceeds the threshold of 10%. Perhaps the client is using the
wrong origin ?
What could be the problem…? Could anyone please help me to resolve this issue? Thanks in Advance.
Thanks & Regards,
Venkat E.
GIS Developer.
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
Thanks Lorenzo Natali. But If I use a different uncached version layer for Overview map control, It will hit the Geoserver directly for every zoom in, zoom out and panning operations.Due to that I am unable to get the better performance from Geoserver. Previously I have used uncached layers in my web map application. Due to the performance issue only, I have configured GeoWebCache. Again should I go back? Is there any alternative solution? please suggest me If any. I am a newbie for Geoserver and Openlayers. Thanks in Advance
The overview control requests map images for the whole size of the overview and it doesn’t know about tiling.
You should configure overview map to use a different layer. It can be the uncached version or a suitable, low-resolution replacement.
I have developed a web map application by using Geoserver 2.4.0 with Tomcat 7 on Windows 2008 32bit OS.
I am using Openlayers Overview control in my application. It was working fine. I have enabled and configured embedded GeoWebCache to speedup the image rendering from GeoServer. Afterthat map loading speed is increased but overview control is not working. It shows the below error message while loading the map.
Sample Error message:
ERROR 1:
400: Requested horizontal resolution: 110535.04955984892 , best match:
427.5561445882886 exceeds 10% threshold. Perhaps the client is
configured with an incorrect set of scales (resolutions), or the DPI
setting is off compared to the one in GWC ?
ERROR 2:
400: X,Y values for the tile index were calculated to be
{16.96256381107079, 8.20173301267921} which had to be rounded to {17,
8} and exceeds the threshold of 10%. Perhaps the client is using the
wrong origin ?
What could be the problem…? Could anyone please help me to resolve this issue? Thanks in Advance.
Thanks & Regards,
Venkat E.
GIS Developer.
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
You can select different layers for the overview map, instead of using the same layers of the map (the default behiviour) in the overview control. In this way you can optimize the map and the overview (showing simplified layers in the overview).
If you send pure WMS request directly from GWC, you will have that error.
If you use the direct integration of GeoServer and configure it properly, it automatically catch and forward the tile requests to GWC when needed, and when the request doesn’t match to a tile the normal WMS service is used.
Thanks Lorenzo Natali. But If I use a different uncached version layer for Overview map control, It will hit the Geoserver directly for every zoom in, zoom out and panning operations.Due to that I am unable to get the better performance from Geoserver. Previously I have used uncached layers in my web map application. Due to the performance issue only, I have configured GeoWebCache. Again should I go back? Is there any alternative solution? please suggest me If any. I am a newbie for Geoserver and Openlayers. Thanks in Advance
Thanks,
Venkat E
GIS Developer
–
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Regards,
Lorenzo Natali
==
Dott. Ing. Lorenzo Natali @lorenzonatali
Software Engineer
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
The overview control requests map images for the whole size of the overview and it doesn’t know about tiling.
You should configure overview map to use a different layer. It can be the uncached version or a suitable, low-resolution replacement.
I have developed a web map application by using Geoserver 2.4.0 with Tomcat 7 on Windows 2008 32bit OS.
I am using Openlayers Overview control in my application. It was working fine. I have enabled and configured embedded GeoWebCache to speedup the image rendering from GeoServer. Afterthat map loading speed is increased but overview control is not working. It shows the below error message while loading the map.
Sample Error message:
ERROR 1:
400: Requested horizontal resolution: 110535.04955984892 , best match:
427.5561445882886 exceeds 10% threshold. Perhaps the client is
configured with an incorrect set of scales (resolutions), or the DPI
setting is off compared to the one in GWC ?
ERROR 2:
400: X,Y values for the tile index were calculated to be
{16.96256381107079, 8.20173301267921} which had to be rounded to {17,
8} and exceeds the threshold of 10%. Perhaps the client is using the
wrong origin ?
What could be the problem…? Could anyone please help me to resolve this issue? Thanks in Advance.
Thanks & Regards,
Venkat E.
GIS Developer.
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech