[mapguide-users] How do i load raster in MGOS 2?

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Fri Jul 25 09:41:49 EDT 2008


You need to either change the coordinate system of the map to be XY-M 
(easy, but not may not be desireable for other data).
Or add a coordinate system override to the raster featuresource, mapping 
XY-M to EPSG:4019.
The last option requires that your raster data is coordinate value 
compatible with EPSG:4019.

Regards, Kenneth Skovhede, GEOGRAF A/S



jamesdudden skrev:
> I checked the log file before trying your suggestion and it looks like
> there's something wrong with the coordinates - i am using the sample data
> that came with studio9 and the coordinates that it gave me so i am not sure
> what to do here??
>
> Error.log:
>
> <2008-07-25T13:41:58> 			Administrator
>  Error: Failed to stylize layer: Raster
>         Raster transformation is not supported.
>         The coordinate system (XY-M) of layer Raster 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: Raster
> Raster transformation is not supported.
> The coordinate system (XY-M) of layer Raster cannot be different than the
> coordinate system (EPSG:4019) of the map.
>
> Thanks for all your help
>
> James Dudden
>   


More information about the mapguide-users mailing list