[mapguide-users] ecw on mgos-2.0.1

ary sucaya ary.sucaya at yahoo.com
Wed Jun 11 14:28:49 EDT 2008


In my experience, if the path is incorrect, mapguide studio didn't show anything but 'data resourced used in this layer' textbox. Feature Data Setup, Scale Range and Bitonal Image Setting disappear from layer editor. In this case, mgserver will report stylization error in the error.log.
Different story if i create a new map from the stratch and add ecw layer first and other layers subsequently. MapGuide studio will automatically recognize the coordinate system from ecw file, in my case EPSG:4326 (WGS 84), eventhough this coordinate system do not supported by mapguide studio (perhaps mgos 2.0.1 too?). This is new experience for me, because i didn't see this problem in MGOS 1.2. With the same file, I can use LL84 in MGOS 1.2 which is supported by MapGuide Studio. Using EPSG:4326 (WGS 84), there is no error message in the log file


----- Original Message ----
From: nclayton <nclayton at gmail.com>
To: mapguide-users at lists.osgeo.org
Sent: Wednesday, June 11, 2008 7:34:52 PM
Subject: Re: [mapguide-users] ecw on mgos-2.0.1


One of the things that I learned about ecw files (at least for my situation)
the coordinate system should show 'Local' instead of 'Default'. 'Default'
usually shows up if the path is not correct.

Are you getting any error messages? on screen or in logs?



ary sucaya wrote:
> 
> 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 <ary.sucaya at yahoo.com>
> To: MapGuide Users Mail List <mapguide-users at 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 <nclayton at gmail.com>
> To: mapguide-users at 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 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 at 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.
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/ecw-on-mgos-2.0.1-tp17778662p17783141.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/20080611/caa81619/attachment.html


More information about the mapguide-users mailing list