[Mapbender-commits] r9808 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Oct 25 07:20:37 PDT 2017


Author: armin11
Date: 2017-10-25 07:20:37 -0700 (Wed, 25 Oct 2017)
New Revision: 9808

Modified:
   trunk/mapbender/http/php/mod_inspireDownloadFeed.php
Log:
Fix for geographic crs

Modified: trunk/mapbender/http/php/mod_inspireDownloadFeed.php
===================================================================
--- trunk/mapbender/http/php/mod_inspireDownloadFeed.php	2017-10-25 14:03:50 UTC (rev 9807)
+++ trunk/mapbender/http/php/mod_inspireDownloadFeed.php	2017-10-25 14:20:37 UTC (rev 9808)
@@ -1282,7 +1282,7 @@
 				if ($countTiles > 1) {
 					$diffX = $maxx - $minx; //in m - depends on given epsg code
 					$diffY = $maxy - $miny;	//in m
-					$width = ceil(sqrt(($diffX * $diffY) / $countTiles));
+					$width = sqrt(($diffX * $diffY) / $countTiles);
 					$nRows = ceil($diffY / $width);
 					$nCols = ceil($diffX / $width);
 					$bboxWfs = array();



More information about the Mapbender_commits mailing list