[mapguide-users] MGOS 2.1 - ECW

Martin Morrison martin.morrison at edsi.com
Sun Dec 13 19:22:55 EST 2009


Either in the system path or the bin directory will work for the dll's.

The data you posted shows a "local" projection being used.  What projection is your map and what are the images in?

Martin
________________________________________
From: mapguide-users-bounces at lists.osgeo.org [mapguide-users-bounces at lists.osgeo.org] On Behalf Of Denis Lalonde [denlalonde at gmail.com]
Sent: Sunday, December 13, 2009 3:53 PM
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] MGOS 2.1 - ECW

Hi Jason;

I've followed the instructions listed under ticket 1121
(http://trac.osgeo.org/mapguide/ticket/1121),  including the bin vs fdo
folder revisions. The only thing I wasn't sure of was where to put the
"msvcp71.dll and msvcr71.dll"s...I tried first in the bin then fdo
(starting/stopping service everytime) with the same sad result.

So, still no ECW, no errors in log. The only change is in the bebug screen,
I now see this new info:

ECW: NCScbmOpenFileView(C:\DATA\ECW_2007/Cornwall_10cm_20-1.ecw): eErr = 0
ECW: FileInfo: SizeXY=153640,95020 Bands=3
       OriginXY=511637,4.993e+006  CellIncrementXY=0.1,-0.1

ECW: projection=LOCAL, datum=WGS84
GDAL: GDALOpen(C:\DATA\ECW_2007/Cornwall_10cm_20-1.aux, this=10663008)
succeeds
as HFA.
GDAL: GDALClose(C:\DATA\ECW_2007/Cornwall_10cm_20-1.aux, this=10663008)
GDAL: GDALOpen(C:\DATA\ECW_2007/Cornwall_10cm_20-1.ecw, this=0FD77008)
succeeds
as ECW.
ECWDataset: RasterIO(0,0,153640,95020 -> 282x282) - doing interleaved read.

I'm encouraged to see the OriginXY showing up, but discouraged by the lack
of actual map.
I'll try playing a bit more, but if I can't get this to work, I'll have to
downgrade to v2.02.



Jason Birch wrote:
>
> In Maestro, you have to generate a composite datasource to have a config
> file, one isn't created when just pointing to a directory for image file
> source.  After you create the composite datasource, you can go the the
> generic editor and click on "show all" to see the config file.  Use the
> most
> recent version of Maestro and you can edit the config file directly once
> it's generated.
>
> In my experience, it's rare that the GDAL provider returns a valid
> bounding
> box; I believe that mapguide switched to an alternate method of obtaining
> the bounding box between 1.2 and 2.x, causing this defect to be revealed.
>
> In the case of Dennis' MrSID data, I performed the CS override and the
> manual specification of the bounding box, but that did not help.  In fact,
> after attempting to access the raster without success, MapGuide would not
> properly shut down, indicating a stuck FDO connection.  If you are going
> to
> have a look at this, it would be useful to obtain his ortho.
>
> In the case of Denis' ECW data, my guess is that the proper GDAL plugins
> have not been installed if it's detecting as HFA instead of ECW. I believe
> that GDAL tests the formats one at a time until it finds a suitable one;
> if
> ECW was installed it would be preferred to HFA.
>
> Jason
>
>

--
View this message in context: http://n2.nabble.com/MGOS-2-1-ECW-tp4142293p4161020.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



More information about the mapguide-users mailing list