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

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:19:06 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:19:06 -0700 (Fri, 26 Aug 2011)
New Revision: 12353

Modified:
   trunk/mapserver/mapcache/src/service_tms.c
Log:
fix bug with wms dimensions on pure getmap tiles (dimensions were not taken into account)
thomas.bonfort | 2011-04-22 15:23:02 +0200 (Fri, 22 Apr 2011)

Modified: trunk/mapserver/mapcache/src/service_tms.c
===================================================================
--- trunk/mapserver/mapcache/src/service_tms.c	2011-08-26 11:19:01 UTC (rev 12352)
+++ trunk/mapserver/mapcache/src/service_tms.c	2011-08-26 11:19:06 UTC (rev 12353)
@@ -66,7 +66,7 @@
                ezxml_set_attr(tilemap,"srs",grid->srs);
                if(profile)
                   ezxml_set_attr(tilemap,"profile",profile);
-               char *href = apr_pstrcat(ctx->pool,onlineresource,"/tms/1.0.0/",tileset->name,"@",grid->srs,NULL);
+               char *href = apr_pstrcat(ctx->pool,onlineresource,"/tms/1.0.0/",tileset->name,"@",grid->name,NULL);
                ezxml_set_attr(tilemap,"href",href);
             }
             tileindex_index = apr_hash_next(tileindex_index);



More information about the mapserver-commits mailing list