[mapguide-users] using ecw with webstudio

DIBUSI Xavier xavier.dibusi at cg66.fr
Wed Mar 12 12:08:13 EDT 2008


Skipped content of type multipart/alternative-------------- next part --------------
FDO 3.3.0 / MapGuide 2.0.0 ¶

This version uses the standard Visual C 2005 GDAL plugins:

    http://home.gdal.org/dl/gdal14_vc8/

There are three files in this directory:

    * ecw_plugin_gdal14_vc8.zip : ECW GDAL Plugin
    * mrsid_plugin_gdal14_vc8.zip : MrSID GDAL Plugin
    * gdal144_vc8_sdk.zip : Do NOT download, not required for MapGuide or FDO. 

Each file contains a "gdalplugins" folder, as well as some dlls in the root of the zipfile. To install these plugins into MapGuide, you need to:

   1. Extract the zipfile to a temporary location
   2. Copy the "gdalplugins" folder to the MapGuide installation directory under Server/Bin/
   3. Copy the dll files that unzipped into the root of the temporary location to the MapGuide installation directory under Server/Bin/Fdo/ 

The final location for the ECW files should look something like this:

 Server/Bin/Fdo/libecwj2.dll
 Server/Bin/gdalplugins/gdal_ECW.dll


And for the MrSID files, like this:

 Server/Bin/Fdo/lti_dsdk_cdll.dll
 Server/Bin/Fdo/lti_dsdk_dll.dll
 Server/Bin/gdalplugins/gdal_MrSID.dll


Using with Autodesk MapGuide Studio ¶

To publish rasters using the open source raster provider with Autodesk MapGuide Studio use the following steps:

   1. Start Studio and connect to your MapGuide Open Source server.
   2. Then do File > New > Data Connection...
   3. In the Connect To Data dialog that comes up, select OSGeo FDO Provider for Raster, then press OK. An editor that says "Configure a Feature Resource using the Generic Editor" will display.
   4. In the Connection Properties grid, there is a DefaultRasterFileLocation property. Click in the value column and enter the directory where your image files are. On Linux it has the form /home/thf/myimages and on Windows it has the form C:\myimages.
   5. The configuration of the raster source is now complete, save the resource and start using it. 


More information about the mapguide-users mailing list