[mapguide-users] WMS - coordinate system overriding in MGOS 2.0.1
fails
Rahul
unicorn_admirer at yahoo.com
Thu Jun 5 05:56:35 EDT 2008
Hi,
I saw that there is no MgCoordinateSystem.dll file in the MGOS2.0.1 as compared to the previous version of MGOS1.2. in the following folder \www\mapagent\ .
Yeterday i was also getting the same error while i was trying to use the FDO GDAL provider for ecw files as my raster files are in EPSG:4326 (LL84) while my Map is in another (LL84 using MapGuide Studio but that shows the Map Coordinate system as EPSG:4019),I don't know why ? Anyway for my ecw raster files testing i converted the Map Coordinate system same as the Raster files and able to see the ratser layer in the map.
ERROR
-------------------------------------------------------------------------------------------------------
<2008-06-04T14:35:16> Administrator
Error: Failed to stylize layer: Image
Raster transformation is not supported.
The coordinate system (EPSG:4326) of layer Image cannot be different than the coordinate system (EPSG:4019) of the map.
StackTrace:
- MgMappingUtil.StylizeLayers line 775 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: Image
Raster transformation is not supported.
The coordinate system (EPSG:4326) of layer Image cannot be different than the coordinate system (EPSG:4019) of the map.
--------------------------------------------------------------------------------------------------------
Max !!
----- Original Message ----
From: Gunter Becker <gunter.becker at CSOGIS.DE>
To: mapguide-users at lists.osgeo.org
Sent: Thursday, June 5, 2008 4:05:05 PM
Subject: [mapguide-users] WMS - coordinate system overriding in MGOS 2.0.1 fails
Hi,
in MGOS 1.2 I used coordinate system overriding for WMS layers as described
in
http://trac.osgeo.org/fdo/wiki/FdoWmsNotes
http://trac.osgeo.org/fdo/wiki/FdoWmsNotes
This works fine for me since I've updated MGOS to version 2.0.1. No WMS
layers showing up anymore!
I recognized some logging entries in Error.log. The message is:
Raster transformation is not supported.
The coordinate system (EPSG:4326) of layer Naturschutzgebiet cannot be
different than the coordinate system () of the map.
In my Config.xml-file I've overridden the coordinate system with EPSG:31467
(it's definitely supported by the WMS-server). My map is also in EPSG:31467.
It seems to me that MGSO takes the first coordinate system entry (in my case
EPSG:4326) from the WMS source whether there is an cs-overriding defined in
the SpatialContext-Node of the config.xml.
So my question is if someone has realised the same problem and has a
solution. Maybe it is a bug with handling coordinate system overriding in
MGOS 1.0.2 or FDO 3.3?
Gunter
--
View this message in context: http://www.nabble.com/WMS---coordinate-system-overriding-in-MGOS-2.0.1-fails-tp17665380p17665380.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080605/2ee0fea0/attachment.html
More information about the mapguide-users
mailing list