[mapguide-users] Raster (SID / TIF ) Images not working !

Mark Hedges hedgesm at cityofnorthlasvegas.com
Fri Aug 14 11:16:54 EDT 2009


It sounds like I am having the same exact problem.  I am using Open Source
2.0.2 along with 2009 Studio.  I cannot get mrsid or tif files to load.  I
have copied the dll's and still no luck.  Did you ever get yours working?

BillMasters wrote:
> 
> Hello, I am fairly new to MGOS, and I am having problems getting raster
> images to work.  I am using version 1.1. I installed all the dlls from
> http://trac.osgeo.org/fdo/wiki/FdoGdalNotes
> 
> Note that in my development environment we have MG Enterprise setup and
> the rasters worked fine. 
> 
> I have both sid and tif versions of the raster images I want to use, I
> have tried both with the same result. They just do not display. Everything
> else works. I have 2 raster layers setup, with differing quality images, I
> have set them up so one uses SID,and one references the actual tif files.
> Below is a excerpt of the debugging. A few errors in there. I know there
> was a previous post referencing the Can't find RasterDMS field /
> IReadBlock failed error, but the solution in this previous post was to
> change the GDAL13.DLL. This should be changed in my setup (version is
> dated Jan 28, 2007). 
> 
> Any Ideas ?? 
> 
> EDIT: Does it matter that the SID/TIF files are on a network share on not
> on the actual server ? I should be able to move them if need be.
> 
> In the setup for the data connection, I have the path to the files at the
> top, but should the actual files (SID/TIF) files be added as data files
> for the connection? They are currently not, but looking at the debug stuff
> below, it is definitely finding the files.
> 
> ---Excerpt from DEBUG----------------------------------------
> 
> GDAL: GDALClose(Y:\10KOrthos_2003\Mosaic\/bermuda2003.sid)
> 
> GDAL: GDALClose(Y:\10KOrthos_2003\Mosaic\/bermuda2003.aux)
> 
> 
> ---BUNCH OF THESE TYPE CALLS---------------------------------------------
> GDAL: GDALOpen(Y:\10KOrthos_2003\10KOrthos_2003b/10k3929_2003.tfw) called.
> GDAL: Now trying ECW driver.
> ECW: OpenECW(Y:\10KOrthos_2003\10KOrthos_2003b/10k3929_2003.tfw)
> GDAL: GDALOpen(Y:\10KOrthos_2003\10KOrthos_2003b/10k3929_2003.tif) called.
> GDAL: Now trying ECW driver.
> ECW: OpenECW(Y:\10KOrthos_2003\10KOrthos_2003b/10k3929_2003.tif)
> GDAL: GDALOpen(Y:\10KOrthos_2003\10KOrthos_2003b/10k3929_2003.tif)
> succeeds as G
> Tiff.
> --------------------------------------------------------------------------
> 
> (832|2152) Cannot establish connection.
> Exception occurred in method MgFdoConnectionManager.Open at line 820 in
> file c:\
> build_bond_area\mapguide_open_source\build_3.1\mgdev\server\src\common\manager\F
> doConnectionManager.cpp
> 
> ---Bunch of these----------------------------
> MrSID: Opened zoom level 8 with size 489x333.
> 
> MrSID: Opened zoom level 9 with size 245x167.
> 
> MrSID: Opened zoom level 0 with size 125000x85000.
> 
> ---------------------------------------------
> 
> MrSID: Opened image: width 125000, height 85000, bands 3
> GDAL: GDALOpen(Y:\10KOrthos_2003\Mosaic\/bermuda2003.sid) succeeds as
> MrSID.
> 
> ERROR 1: Can't find RasterDMS field in Eimg_Layer with block list.
> 
> ERROR 1: IReadBlock failed at X offset 193, Y offset 204
> 
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Raster-%28SID---TIF-%29-Images-not-working-%21-tp1812168p3445650.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list