There's no easy way to tell, it's probably caused by some sort of contradiction in the OL configuration, e.g. minResolution defined on both the base layer and the map object, but with different values.

If you upload the entire client (the javascript section that configures OL) to pastebin.org someone may be able to spot it, but you may just have to break out Firebug and see what is going on.

-Arne


On 11/25/10 7:08 AM, Sasikumar Kanniyappan wrote:
Hello Arne,

As per your previous reply i set WMS request as in http://localhost:8080/geoserver/gwc/demo this page. But still am getting 400: Requested horizontal resolution: 9783.939618749999 , best match: 7223.289886718749 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 ?

But am set all parameter as in OL request in GWC demo page. When I sent normal WMS request geoserver/wms instead of geoserver/gwc/service/wms
the layers appearing. Help me to solve this issue?

Thanks
Sasikumar


On Wed, Nov 24, 2010 at 1:58 PM, Arne Kepp <[email protected] <mailto:[email protected]>> wrote:

    Please keep all responses on the list.

    I don't know what you need the reproject for (and I'm not an OL
    expert), but if you use EPSG:900913 throughout the code you
    shouldn't need it. If you actually do need to reproject, there are
    separate Projection elements [1].

    -Arne

    1:
    
http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Projection-js.html



    On 11/24/10 8:23 AM, Sasikumar Kanniyappan wrote:
    Hello Arne,
         Thanks for you reply. I got an issue with overlaying wms
    layers with google layer and i used {'reproject': true} to solve
    this issue. But in Openlayers documentation it is said
     "reproject" is depricated. So what could be best option to
    replace "reproject".
    Thanks
    Sasikumar
    On Tue, Nov 23, 2010 at 4:23 PM, Arne Kepp <[email protected]
    <mailto:[email protected]>> wrote:

        Assuming you want to use spherical mercator (EPSG:900913),
        the native projection of the Google tiles, I recommend that
        you look at

        http://localhost:8080/geoserver/gwc/demo

        and start by copying that client and adding the google layer
        to it.

        -Arne



        On 11/23/10 10:38 AM, Sasikumar Kanniyappan wrote:

            Hello List,

                      I have a WMS layer which is from GeoServer, I
            can overlay this WMS layer with Google layer and no issues.

            My Code for this:
            var sampleLayer = new OpenLayers.Layer.WMS(
                   "Sample",
                   "geoserver/wms",
                   { layers: 'LayerName', format: "image/png",
            transparent: "true" },
                   {'reproject': true}
               );

               var googlePhysicalMap = new
            OpenLayers.Layer.Google("Google
            Physical",{type:G_PHYSICAL_MAP});

                    Due to performance issues I tried GWC, by
            changing my WMS request to "geoserver/gwc/service/wms", i
            get GWC error 400: X,Y values for the tile index were
            calculated to be {11.0, 4.1600507697848315} which had to
            be rounded to {11, 4} and exceeds the threshold of 10%.
            Perhaps the client is using the wrong origin ?

                    If I remove {'reproject': true} in WMS request
            the WMS is coming, but it is not properly overlay with
            Google Maps.

                    I want to GWC with Google maps, I can't find how
            to use GWC due to lack of knowledge. Can anyone help me
            out to solve this issue?

            Thanks in Advance,
            Sasikumar







------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
Tap into the largest installed PC base&  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev


_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to