Hi Tim, I've been trying the GoogleMercator.js and it works great displaying my shape file through the WMS layer. I then thought I would try it displaying under TileCache, however I dont seem to get anything to display when the cache overlay is enabled.
I'm using GeoServer 1.5.1, the last line of the log file for the WMS calls looks like the following :- 192.168.0.10 - - [06/06/2007:18:48:38 +0000] "GET /geoserver/wms?service=wms&LAYERS=bimaris%3Anzcoast_Reprojected&FORMAT=image%2Fpng&TRANSPARENT=true&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A54004&BBOX=15028131.257092%2C-1321834.329933%2C16280475.528516%2C-77747.563813&WIDTH=256&HEIGHT=256 HTTP/1.1" 200 334 The last line of the TileCache 1.8.1 output looks like :- 192.168.0.10 - - [07/Jun/2007 06:48:06] "GET /?LAYERS=nzmap&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A54004&BBOX=15028131.257092%2C-1321834.329933%2C16280475.528516%2C-77747.563813&WIDTH=256&HEIGHT=256 HTTP/1.1" 200 498 The coordinates look the same, I had to change reprojected=true in-order to get the same coordiantes, if set to false its a completely different coordinate (not sure why its JPG either, my settings in the cache are for PNG). If I change back to Google.js both the cache and WMS work fine (apart from the cache being way off). Shape file is in 54004 and I use the same initialization options you have on your demo page. I may have missed something obvious, any ideas or help appreciated ? Brett. -- View this message in context: http://www.nabble.com/Unable-to-use-both-OpenLayers.Layer.Google-and-OpenLayers.Layer.TMS-tf3865655.html#a10983446 Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
