[mapguide-users] Preliminary MrSID and ECW Support

Nichols, Mark A. markn at spicergroup.com
Sun Jan 28 11:22:45 EST 2007


Frank, I've tested a ECW and it now displays.  I'm viewing it within Studio and the preview on the map is correct and accurate.  Monday I'll test some other ecw's that are rather large, 500-600 MB and color instead of black/white.
 
I've tried to load up a sid but haven't been able to get it to work yet.  I'll re-visit your zip files and directions and make sure I put everything in the right place.  It's a 7 MB sid file, color instead of black/white.  Does color make a difference for both the sid's and/or ecw's?
 
Thanks again for you help with this.  This is a huge improvement as our recent project deals largely with ECW imagery.  
 
Mark Nichols
markn at spicergroup.com

 
________________________________

From: mapguide-users-bounces at lists.osgeo.org on behalf of Frank Warmerdam
Sent: Sun 1/28/2007 1:41 AM
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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6703 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070128/b7392727/attachment.bin


More information about the mapguide-users mailing list