[mapguide-users] Preliminary MrSID and ECW Support

Frank Warmerdam warmerdam at pobox.com
Sun Jan 28 01:41:47 EST 2007


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:

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

More information about the mapguide-users mailing list