[mapguide-users] Preliminary MrSID and ECW Support

Jason Birch Jason.Birch at nanaimo.ca
Mon Jan 29 17:47:45 EST 2007


Awesome job Frank, thanks!

I was able to load some pretty large resources on a slowish VMWare
machine.

MrSID:

- 5 images in a single directory
- two at 1.1GB, one at 1GB, one at 490MB, and one at 330MB.

ECW:

- 94 images in a single directory
- 15 at ~50MB, rest at ~10MB

Issues:
 - Was unable to rename the Data Connection.  Kept getting a "resource
busy" error.  Delete/recreate worked.
 - Speed is OK, but not great (4-8 seconds depending on screen size and
zoom level).  

Speed is probably a factor hardware and the image sizes; I'll have to
look at pulling out a couple resolution levels into different image
sets.  

Jason 

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Frank
Warmerdam
Sent: Saturday, January 27, 2007 22:42
To: MapGuide Users Mail List
Subject: [mapguide-users] Preliminary MrSID and ECW Support

Folks,

I have spent some time in "windows land" and I seem to have support for
ECW and MrSID working in MapGuide.  But I'd appreciate it if someone
could try these out and verify.

The updates are at:
   http://www.gdal.org/dl/mapguide/mg_ecw_110.zip
   http://www.gdal.org/dl/mapguide/mg_mrsid_110.zip

Either zip file (or both) can be downloaded, and unzipped into your
C:\Program Files\MapGuideOpenSource\Server\Bin directory.
They should create a gdalplugins subdirectory to bin with a plugin.
They will also replace the FDO\GRFPProvider.dll with a new version that
uses the FDO\gdal13.dll instead of statically linking an extra copy of
GDAL into the GRFPProvider.dll.  The MrSID verison also includes an
updated gdal13.dll because the stock one does not export certain geotiff
related interfaces used by the mrsid driver.

There should be no need to set any extra environment variables or
anything like that.  The plugins should be found magically because they
are in the gdalplugins subdirectory under the executable (MgServer.exe).

There are licensing terms associated with the ecw and mrsid sdks which I
have not taken the time yet to summarize inside the downloads.  If we
prove this works from a technology point of view we can see how we want
to address the licensing.

BTW, the brief version of the procedure to add a mrsid or ecw to your
map is:

  o Create a new "data connection" using the OSGeo data provider.
  o Set the DefaultRasterLocation property to the directory containing
    the desired raster files (or perhaps directly to a single file if
    that is all you want).
  o Save the Data connection object.
  o Create a layer, and connect.
  o Create a map and connect.  You will have to set the map bounds
    manually as the bounds aren't currently read from the datasource.

Best regards,
-- 
---------------------------------------+--------------------------------
---------------------------------------+------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo,
http://osgeo.org

_______________________________________________
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