Changes between Initial Version and Version 1 of MGOS21GdalProvider


Ignore:
Timestamp:
Dec 18, 2009, 9:29:46 AM (14 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MGOS21GdalProvider

    v1 v1  
     1This page provides installation and configuration tips for the MapGuide 2.1 GDAL Raster Provider.  Most of the information has been compiled from individuals in the user community.  This document is a work in progress and incomplete.
     2
     3== Installation ==
     4
     5Jason Birch posted an [http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg10886.html excellent article]
     6to the news group on where to find the vendor libraries for ECW and SID.
     7
     8The location of the installation files is not obvious.  Jonathan !McIntyre has provided the following directory layout for the various libraries:
     9{{{
     10C:\Program Files\OSGeo\MapGuide\Server\Fdo
     11   Gdal16.dll - Version 1.6.0.4
     12
     13C:\Program Files\OSGeo\MapGuide\Server\bin
     14   Lti_dsdk_cdll.dll - Version 6.0.7.1407
     15   Lti_dsdk_dll.dll - Version 6.0.7.1407
     16   NCScnet.dll
     17   NCSEcw.dll
     18   NCSEcwC.dll
     19   NCSUtil.dll
     20
     21C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins
     22   Gdal_ecw_jp2ecw.dll (01/12/2009)
     23   Gdal_MrSID.dll (11/28/2008)
     24
     25}}}
     26In addition, please ensure that the GDAL Provider is listed in provider.xml
     27
     28== Debugging ==
     29Jonathan has also supplied some debugging steps for the GDAL Provider:
     30
     31 1. Starting MG in debug mode
     32   a. Open cmd window
     33   a. Cd to C:\Program Files\OSGeo\!MapGuide\Server\bin
     34   a. Type ‘set cpl_debug=on’ (no quotes needed)
     35   a. Type ‘mgserver run’ (no quotes needed)
     36   a. You should see:
     37{{{
     38(1392) Server starting...
     39(1392) Mentor Coordinate System Library
     40(1392) Server started.
     41}}}
     42 1. Setting up image in MG site
     43   a. Use Maestro to create Feature Source for image
     44     i. Create New GDAL Feature Source
     45     i. Add file(s) to list-you should see something like the following show up in the console:
     46{{{
     47GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW.dll using GDALRegister_ECW.
     48GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll using GDALRegister_ECW_JP2ECW.
     49GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using GDALRegister_MrSID.
     50GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW.dll using GDALRegister_ECW.
     51GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll using GDALRegister_ECW_JP2ECW.
     52GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using GDALRegister_MrSID.
     53MrSID: Opened zoom level 1 with size 2500x2500.
     54MrSID: Opened zoom level 2 with size 1250x1250.
     55MrSID: Opened zoom level 3 with size 625x625.
     56MrSID: Opened zoom level 4 with size 313x313.
     57MrSID: Opened zoom level 5 with size 157x157.
     58MrSID: Opened zoom level 6 with size 79x79.
     59MrSID: Opened zoom level 7 with size 40x40.
     60MrSID: Opened zoom level 0 with size 5000x5000.
     61MrSID: Opened image: width 5000, height 5000, bands 3
     62GDAL: GDALOpen(D:\projects\Client\Data\SDF/DO_S03_9608_40.sid, this=0FB15438)  succeeds as MrSID.
     63GDAL: GDALClose(, this=0FB15D18)
     64GDAL: GDALClose(, this=0FB16088)
     65GDAL: GDALClose(, this=0FB16410)
     66GDAL: GDALClose(, this=0FB16798)
     67GDAL: GDALClose(, this=0FB16B20)
     68GDAL: GDALClose(, this=0FB16EA8)
     69GDAL: GDALClose(, this=0FB17230)
     70GDAL: GDALClose(D:\projects\Client\Data\SDF/DO_S03_9608_40.sid, this=0FB15438
     71}}}
     72
     73
     74== Configuration Parameters ==