[Mapproxy-java] SF.net SVN: mapproxy:[19]
Brought to you by:
pborissow
From: <pbo...@us...> - 2011-03-28 11:17:08
|
Revision: 19 http://mapproxy.svn.sourceforge.net/mapproxy/?rev=19&view=rev Author: pborissow Date: 2011-03-28 11:17:02 +0000 (Mon, 28 Mar 2011) Log Message: ----------- Fixed bug in the _get_meta_tile method. Request srs was not being set to the grid srs. Modified Paths: -------------- core/Point.java wms/cache/WMSTileSource.java Modified: core/Point.java =================================================================== --- core/Point.java 2011-03-28 10:51:48 UTC (rev 18) +++ core/Point.java 2011-03-28 11:17:02 UTC (rev 19) @@ -26,7 +26,7 @@ @Override public String toString(){ - return x + "," + y; + return x + ", " + y; } @Override Modified: wms/cache/WMSTileSource.java =================================================================== --- wms/cache/WMSTileSource.java 2011-03-28 10:51:48 UTC (rev 18) +++ wms/cache/WMSTileSource.java 2011-03-28 11:17:02 UTC (rev 19) @@ -150,6 +150,7 @@ WMSMapRequest request = new WMSMapRequest(); request.params.bbox(bbox); request.params.size(size); + request.params.set("srs", grid.srs.toString()); //<-- Had to add this. Not sure if this was in the original python code... javaxt.io.Image img = client.get_map(request); responses.add(img); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |