(CCed wrong list at first)
On 11/24/10 9:28 AM, Arne Kepp 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
_______________________________________________
Geowebcache-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geowebcache-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