[mapserver-commits] r12377 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:20:46 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:20:46 -0700 (Fri, 26 Aug 2011)
New Revision: 12377

Modified:
   trunk/mapserver/mapcache/src/service_tms.c
Log:
dont request metatiles outside of the grid extent, to avoid image artifacts.
fix issue with metatiles when width != height

closes issue 82.
closes issue 83.
thomas.bonfort | 2011-05-28 14:50:50 +0200 (Sat, 28 May 2011)

Modified: trunk/mapserver/mapcache/src/service_tms.c
===================================================================
--- trunk/mapserver/mapcache/src/service_tms.c	2011-08-26 11:20:43 UTC (rev 12376)
+++ trunk/mapserver/mapcache/src/service_tms.c	2011-08-26 11:20:46 UTC (rev 12377)
@@ -119,7 +119,7 @@
             char *order = apr_psprintf(ctx->pool,"%d",i);
             ezxml_set_attr(xmltileset,"href",
                   apr_pstrcat(ctx->pool,onlineresource,"/tms/",request->version,"/",
-                     tileset->name,"@",grid->srs,
+                     tileset->name,"@",grid->name,
                      "/",order,NULL));
             ezxml_set_attr(xmltileset,"units-per-pixel",apr_psprintf(ctx->pool,"%f",grid->levels[i]->resolution));
             ezxml_set_attr(xmltileset,"order",order);



More information about the mapserver-commits mailing list