I am using GeoServer 2.8.3 (and the built in GWC 1.8.2)

I have a layers in GeoServer which I want to present via tiled WMS.

The layer has the following properties:

   - Raster layer from a GeoTiff
   - native SRS of EPSG:3111
   - declared SRS of EPSG:4326.

I can request the layer as a (non-tiled) WMS request from OL as follows:

var url = "http://192.168.2.154:8088/geoserver/wms?";;
                                url += "&service=WMS";
                                url += "&version=1.1.1";
                                url += "&request=GetMap";
                                url += "&layers=Melway:60k2";                   
                                url += "&styles=";
                                url += "&format=image/png";
                                url += "&TRANSPARENT=TRUE";
                                url += "&srs=EPSG:4326";
                                url += "&bbox=" +bbox;
                                url += "&width=256";
                                url += "&height=256";

And I get a response that draws nicely over Google Maps.

However if I either add tiled=true or access via /gwc/service/wms then
I see tiles created, but when they are rendered they are not aligned
perfectly with the direct WMS or Google layers.

GWC is configured to cache 4326 only, in PNG format and I can see the
tiles being created from the GS web gui.

Any ideas?


Cheers

-- 


------------------------------
The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this 
email is free of viruses or other defects. If you have received this 
communication in error, you may not copy or distribute any part of it or 
otherwise disclose its contents to anyone. Please advise the sender of your 
incorrect receipt of this correspondence.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to