[mapguide-users] Preliminary MrSID and ECW Support

Andy Morsell amorsell at spatialgis.com
Sun Jan 28 19:04:09 EST 2007


Hi Frank,
Well, so far so good for me.  I now have a map with both MrSID and ECW
images in it.  You can see it at
http://mapguide.spatialgis.com/mapguide/spokanemaps/.  The hillshade is an
11 MB ECW and the aerial photo mosaic (available when below 1:250,000 scale
and below) is a 226 MB MrSID.

Thanks again for adding this support to the GDAL provider.


Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

-----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 10:42 PM
To: MapGuide Users Mail List
Subject: SPAM-LOW: [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