[mapguide-users] GDAL provider for raster...again problem whit load data...

Maciej Skorczewski maciej.skorczewski at procad.pl
Thu Mar 1 08:07:23 EST 2007


hello!

i fight (do the end:) whit raster and GDAL provider...what may problem is.


I download and install MGOS 1.1.0
http://mapguide.osgeo.org/downloads.html

after that i add
MapGuide1.1.0_GDAL_Patch.zip
-----
To verify whether the patch is installed: check the properties of the 
three DLLs (GRFPProvider.dll, GRFPOverrides.dll and GRFPMessage.dll), 
they will have a Comment property that ends with the string "(3.2.0.26 
Patch)".
-----

yes i have it!


provider.xml file have correctry code:

   <FeatureProvider>
     <Name>OSGeo.Gdal.3.2</Name>
     <DisplayName>OSGeo FDO Provider for Raster</DisplayName>
     <Description>Read access to various raster-based file formats. 
Supports georeferenced file-based raster images.</Description>
     <IsManaged>False</IsManaged>
     <Version>3.2.0.0</Version>
     <FeatureDataObjectsVersion>3.2.0.0</FeatureDataObjectsVersion>
     <LibraryPath>GRFPProvider.dll</LibraryPath>
   </FeatureProvider>


i use following steps to add new raster files.


    1.  Start Studio and connect to your MapGuide Open Source 1.1.0 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.


then create layer, add to map and use preview in studio...

NOW:

I observe that whit some tif and jpg it does't work ...raster are loaded 
but i can't see it.

look on screen
http://img214.imageshack.us/img214/3269/81495036jp2.jpg

i have this truble whit 7 raster files (3 are displayed correcty :/

for example try load this raster (i can't see it in MGOS)
http://easy3249.easyisp.pl/mapa2.tif
or this
http://easy3249.easyisp.pl/pistas-ortofoto.jpg

Somebody on group said that it can be raster error....so what sould have 
raster file that i can show it in MGOS? any header for example?

I think that many off people have this same problem...it looks like GDAL 
provider work but whit raster files who have something...so what it is. 
Do you have this same truble whit that?

In another machine i use MGOS 1.0.2 whit Autodesk.raster.provider....it 
works great!  I try add this provider do 1.1.0 but whitout any results...

maciek


More information about the mapguide-users mailing list