[Mapbender-commits] r8993 - trunk/mapbender/conf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 9 04:08:41 PDT 2014


Author: armin11
Date: 2014-07-09 04:08:40 -0700 (Wed, 09 Jul 2014)
New Revision: 8993

Modified:
   trunk/mapbender/conf/mapbender.conf-dist
Log:
Solve problem of transforming coordinates that cannot be transformed via postgis/proj, cause the points are not in the area of the projection that is demanded.

Modified: trunk/mapbender/conf/mapbender.conf-dist
===================================================================
--- trunk/mapbender/conf/mapbender.conf-dist	2014-07-07 11:34:03 UTC (rev 8992)
+++ trunk/mapbender/conf/mapbender.conf-dist	2014-07-09 11:08:40 UTC (rev 8993)
@@ -287,8 +287,13 @@
 # needfull to have more than one bbox given (e.g. metadata). The array is defined to supress the calculation of to many
 # srs like e.g. geoserver offers. The array should include all the srs which are used in the mapbender installation and
 # which are usefull for the special community for which the installation was done (local-sdi, INSPIRE, ...)
+# Since Postgis 1.5 it is needed to define max extents for the projected CRS, cause proj will throw an error. It will be first checked,
+# if the values are in the range of the max extent and the values will be reduced to this before they are transformed!
+# The boxes came from http://spatialreference.org/ WGS84 Bounds. Maybe they can be pulled directly from the epsg registry itself:
+# http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:area:EPSG::1624&resolvePolygon ...
 # --------------------------------------------
 #define("SRS_ARRAY", "4326,31466,31467,31468,25832");
+#define("SRS_ARRAY_MAX_EXTENTS", "-180,-90,180,90|5.8700,49.1000,7.5000,53.7500|7.5000,47.2700,10.5000,55.0600|10.5000,47.2700,13.5000,55.0600|5.0500,57.9000,12.0000,65.6700");
 
 # --------------------------------------------
 # define a wrapper for index.php/login.php to use e.g. the get api when integrated in external applications like cms



More information about the Mapbender_commits mailing list