[mapguide-users] Coordinate system definition from spatialreference.org
Benjamin Zaugg
b.zaugg at rudaz.ch
Thu Apr 3 12:45:48 PDT 2014
Hi lists
We are working with AIMS 2013 on Windows 2008 R2 IIS7 with fusion layout
slate.
At the moment http://spatialreference.org/ is down. This means that our
coordinate system definiton epsg 2056 is not working and the results of the
measure widget are not correct.
I try to add our coordinate system directly into the code to get
independent from spatialreference.org.
Index.html file in fusion layout is reffering to /lib/fusionSF.js.
To compile I changed code in fusionSF around line 1441 to:
'lib/Proj4js/proj4js-combined.js'
In proj4js-combined.js around line 1053 I added:
'EPSG:2056': "+title=CH1903LV95 +proj=somerc +lat_0=46.95240555555556
+lon_0=7.439583333333333 +k_0=1 +x_0=2600000 +y_0=1200000 +ellps=bessel
+towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs"
In proj4js-combined.js around line 1059 I added:
Proj4js.defs['EPSG:2056'] = Proj4js.defs['EPSG:2056'];
It still does not work properly. Do I have to change anything else or do I
miss something other?
Best and thx, Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140403/f3b64905/attachment.html>
More information about the mapguide-users
mailing list