[mapguide-users] WMS - coordinate system overriding in MGOS 2.0.1 fails

Rahul unicorn_admirer at yahoo.com
Thu Jun 5 06:41:41 EDT 2008


Hi 
I am using SQL Server 2005 and used the bulk copy tool to load theLL84 *.sdf and *.shp files into the database and depending on those layers the automatic projection of the map is EPSG:4019 while my raster files are in EPSG:4326 .
Anyway this works inMGE2008 due to coordinate transformation and can view raster layers with overlaid vector layers but once i tried this on the MGOS 2.0.1 ,it use to give the error about different coordinate system hence i changed the coordinate system of the map into EPSG:4326 by using the setting Resource from Map Agent.
Now the question is what about  MgCoordinateSystem.dll file and does MGOS2.1.0 not support on the fly Coordinate Transformation.
Thks
Max


----- Original Message ----
From: Zac Spitzer <zac.spitzer at gmail.com>
To: MapGuide Users Mail List <mapguide-users at lists.osgeo.org>
Sent: Thursday, June 5, 2008 5:23:25 PM
Subject: Re: [mapguide-users] WMS - coordinate system overriding in MGOS 2.0.1 fails

EPSG:4019 is like a catch all default EPSG code,

http://spatialreference.org/ref/epsg/4019/

what is your data base in, i have seen this from oracle before when i
was using a
projection which didn't translate directly to an epsg code

On Thu, Jun 5, 2008 at 7:56 PM, Rahul <unicorn_admirer at yahoo.com> wrote:
> 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
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
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/954001c5/attachment.html


More information about the mapguide-users mailing list