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

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:18:22 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:18:21 -0700 (Fri, 26 Aug 2011)
New Revision: 12343

Modified:
   trunk/mapserver/mapcache/src/service_wms.c
Log:
Updated WGS84 grid to have 19 zoom level instead of 16.
imaptools at gmail.com | 2011-03-29 03:56:51 +0200 (Tue, 29 Mar 2011)

Modified: trunk/mapserver/mapcache/src/service_wms.c
===================================================================
--- trunk/mapserver/mapcache/src/service_wms.c	2011-08-26 11:18:18 UTC (rev 12342)
+++ trunk/mapserver/mapcache/src/service_wms.c	2011-08-26 11:18:21 UTC (rev 12343)
@@ -206,6 +206,10 @@
                   extent[2],
                   extent[3],
                   gridlink->grid->srs);
+            int j;
+            for(j=0;j<gridlink->grid->srs_aliases->nelts;j++) {
+               bbox = apr_pstrcat(ctx->pool, bbox, "<SRS>",APR_ARRAY_IDX(gridlink->grid->srs_aliases,j,char*),"</SRS>\n",NULL);
+            }
             srss = apr_pstrcat(ctx->pool,srss,bbox,NULL);
          }
          char *layercaps = apr_psprintf(ctx->pool,wms_layer,



More information about the mapserver-commits mailing list