Changes between Initial Version and Version 1 of FdoGdalNotes


Ignore:
Timestamp:
06/13/07 10:31:12 (17 years ago)
Author:
warmerdam
Comment:

new

Legend:

Unmodified
Added
Removed
Modified
  • FdoGdalNotes

    v1 v1  
     1The fdogdal provider is the open source raster provider for FDO (and hence !MapGuide).  It is implemented on top of the [http://www.gdal.org/ GDAL] raster library.  Frank Warmerdam (warmerdam at pobox.com) is the primary author of fdogdal.  Questions about the provider may asked on the fdo or mapguide users lists.
     2
     3= Documents =
     4
     5 * [http://fdo.osgeo.org/fdo/index.html User Documentation]
     6
     7= For !MapGuide Users =
     8
     9== Using fdogdal in Studio ==
     10
     11To publish rasters using the open source raster provider with [http://usa.autodesk.com/adsk/servlet/index?id=7176611&siteID=123112 Autodesk MapGuide Studio] use the following steps:
     12 1. Start Studio and connect to your MapGuide Open Source 1.1.0 server.
     13 2. Then do File > New > Data Connection...
     14 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.
     15 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.
     16 5. The configuration of the raster source is now complete, save the resource and start using it.
     17
     18Notes:
     19 * The layer definition preview will not show the raster.  In order to preview the data, create a map definition and set the extents of the map to contain the raster data.  If the extents are set correctly the raster data should show in the preview.
     20
     21== Frank's fdogdal Downloads ==
     22
     23Visit the Frank's '''fdogdal 3.2.0 updates for MapGuide 1.1.0''' download site for ecw, and mrsid support, as well as several bug fixes and features improvements:
     24
     25http://home.gdal.org/dl/mapguide/
     26
     27For MGOS 1.2.0, instead of using the mg_fdogdal_110.zip file found at the above location, unzip the contents of http://download.osgeo.org/mapguide/releases/1.2.0-rc1/MGOS1.2.0GDALPatch.zip to C:\Program Files\!MapGuideOpenSource\Server\Bin. If you have accidently unzipped mg_fdogdal_110.zip, using this zip file will undo your changes.
     28
     29== Debugging with Rasters ==
     30
     31It can be instructive to run !MgServer.exe at the command line in interactive mode, with the CPL_DEBUG environment variable set to ON.  This will report various GDAL level debugging output.  At the very least this should give an idea of the files that GDAL is trying to open.
     32
     33eg.
     34{{{
     35  cd \"Program Files"\MapGuideOpenSource\server\bin
     36  set CPL_DEBUG=ON
     37  mgserver stop
     38  mgserver run
     39}}}