MGOS does not support re-projection of rasters.
Your rasters must be in the same projection as the map.
If they are not, but the coordinate systems are compatible, you can add a coordinate system override on the feature source.

Beware that MapGuide Studio uses the Mentor projection library and MGOS uses PROJ.4.

Regards, Kenneth Skovhede, GEOGRAF A/S



ary sucaya skrev:

I think it is a problem of coordinate system. I can preview my layer but i can't see it in map. I tried to create a new map and add the ecw layer, mapguide studio automatically add EPSG:4326 (WGS 84) for the coordinate system which is not in the list. In this case, i can add another layer and able to preview the map.



----- Original Message ----
From: ary sucaya <[EMAIL PROTECTED]>
To: MapGuide Users Mail List <mapguide-users@lists.osgeo.org>
Sent: Wednesday, June 11, 2008 6:45:44 PM
Subject: Re: [mapguide-users] ecw on mgos-2.0.1

Something peculiar happen here. Previously i can open my ecw file, but after a few minutes i revisited back my page, the raster has gone. Now, i can't even get a new connection work.


----- Original Message ----
From: ary sucaya <[EMAIL PROTECTED]>
To: MapGuide Users Mail List <mapguide-users@lists.osgeo.org>
Sent: Wednesday, June 11, 2008 6:23:30 PM
Subject: Re: [mapguide-users] ecw on mgos-2.0.1

Thanks for your reply. That's help me to solve my problem.
Regards, Ary Sucaya

----- Original Message ----
From: nclayton <[EMAIL PROTECTED]>
To: mapguide-users@lists.osgeo.org
Sent: Wednesday, June 11, 2008 5:56:30 PM
Subject: Re: [mapguide-users] ecw on mgos-2.0.1


When creating your raster data connections, use "/" instead of "\" in your
paths.

C:/Program
Files/MapGuideOpenSource2.0/WebServerExtensions/www/mapcatalogue/data/world.ecw

instead of

C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapcatalogue\data/world.ecw

it may also be a problem with the space in "Program Files". You may need to place your ecw files in a different location that does not have spaces i the
path.

hope ths helps


ary sucaya wrote:
>
> Hello group,
> Did someone succesfully open ecw file on mgos 2.0.1? I went through
> http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#Documentation but <http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#Documentation%A0but> i couldn't
> get it work. i turn on rasters debugging and here is the result:
> ECW: NCScbmOpenFileView(C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapcatalogue\data/world.ecw):
> eErr = 0
> ECW: FileInfo: SizeXY=4320,2160 Bands=3
>        OriginXY=-180,90  CellIncrementXY=0.0833333,-0.0833333
> ECW: projection=GEODETIC, datum=WGS84
> GDAL: GDALOpen(C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapcatalogue\data/world.ecw)
> succeeds as ECW.
> GDAL: GDALClose(C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapcatalogue\data/world.ecw)
> I tried to change the coordinate system into LL84 (LL84) or LL84-WP
> (LL84-WP) but still unlucky.. Someone know how to solve this?
> Regards,
> Ary Sucaya
>
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>

--
View this message in context: http://www.nabble.com/ecw-on-mgos-2.0.1-tp17778662p17781203.html Sent from the MapGuide Users mailing list archive at Nabble.com <http://nabble.com/>.

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapguide-users



------------------------------------------------------------------------

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to