[mapguide-users] Some tiffs work and others don't - does anybody know why?

Dave Wilson dave.wilson at autodesk.com
Mon Aug 24 12:42:08 EDT 2009


If you are going to place all your images in one folder you should try to ensure they are all the same format, it's not really a requirement, but in terms of reducing the chance of errors and increasing efficiency it is.

Are you using the GDAL provider?

Can someone speak to the ideal Tiff format supported by the GDAL provider? Is it Tiled Tiff like MGE and the Autodesk provider or does this not matter?

Dave

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of JamesDudden
Sent: Monday, August 24, 2009 2:52 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Some tiffs work and others don't - does anybody know why?


Hi,

I am using MG2 with MGStudio9 and have lots of tiffs but some load and some
don't. 

My process - I click New Data Connection then add the path to the tiffs and
when I go to view the data some tiffs are there but some give me this error:

An unclassified exception occurred.

I installed the FWTools and analysed the tiff that is not working and I have
posted  the output below but to be honest I don't know what I'm looking at.

Can anybody help me get these tiffs working?
Any help or advice is welcome.

Driver: GTiff/GeoTIFF
Files: C:\Tiffs\ST02.TIF
       C:\Tiffs\ST02.TFw
Size is 4000, 4000
Coordinate System is `'
Origin = (300000.000000000000000,140000.000000000000000)
Pixel Size = (5.000000000000000,-5.000000000000000)
Metadata:
  TIFFTAG_IMAGEDESCRIPTION=1:50000 TILE ST02
  TIFFTAG_DATETIME=2009:06:04 10:52:43
  TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2008
  TIFFTAG_XRESOLUTION=254
  TIFFTAG_YRESOLUTION=254
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  300000.000,  140000.000) 
Lower Left  (  300000.000,  120000.000) 
Upper Right (  320000.000,  140000.000) 
Lower Right (  320000.000,  120000.000) 
Center      (  310000.000,  130000.000) 
Band 1 Block=4000x2 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)
    0: 216,199,200,255
    1: 44,19,21,255
    2: 201,183,185,255
    3: 184,167,169,255
    4: 214,10,42,255
    5: 238,128,144,255
    6: 222,83,117,255
    7: 169,121,133,255
    8: 232,189,200,255
    9: 137,60,80,255
   10: 159,93,112,255
   11: 248,177,200,255
   12: 229,9,84,255
   13: 229,40,104,255
   14: 188,83,120,255
   15: 243,139,176,255
   16: 132,88,104,255
   17: 248,198,216,255
   18: 231,101,152,255
   19: 208,145,170,255
   20: 171,55,102,255
   21: 80,11,41,255
   22: 204,51,116,255
   23: 139,9,69,255
   24: 231,59,138,255
   25: 232,8,120,255
   26: 112,11,61,255
   27: 215,10,120,255
   28: 195,9,105,255
   29: 232,199,217,255
   30: 245,216,232,255
   31: 232,12,136,255
   32: 159,9,97,255
   33: 46,22,40,255
   34: 96,70,90,255
   35: 138,97,130,255
   36: 61,39,58,255
   37: 168,117,166,255
   38: 184,138,183,255
   39: 201,164,200,255
   40: 216,197,216,255
   41: 248,232,248,255
   42: 24,8,25,255
   43: 119,92,124,255
   44: 183,158,200,255
   45: 69,22,119,255
   46: 216,202,232,255
   47: 199,193,216,255
   48: 90,88,104,255
   49: 138,136,152,255
   50: 40,38,58,255
   51: 167,166,185,255
   52: 8,8,24,255
   53: 104,104,120,255
   54: 104,116,140,255
   55: 142,151,169,255
   56: 13,24,41,255
   57: 61,72,89,255
   58: 46,84,133,255
   59: 56,113,153,255
   60: 141,204,247,255
   61: 171,216,247,255
   62: 160,184,201,255
   63: 76,104,122,255
   64: 116,200,247,255
   65: 200,232,248,255
   66: 60,184,239,255
   67: 81,189,238,255
   68: 117,134,142,255
   69: 193,216,227,255
   70: 28,184,248,255
   71: 9,61,82,255
   72: 61,143,176,255
   73: 83,123,139,255
   74: 106,156,177,255
   75: 8,184,248,255
   76: 8,151,204,255
   77: 149,168,175,255
   78: 10,104,135,255
   79: 35,184,232,255
   80: 73,174,205,255
   81: 184,232,248,255
   82: 8,183,232,255
   83: 32,176,215,255
   84: 41,155,189,255
   85: 13,42,50,255
   86: 124,187,205,255
   87: 8,168,205,255
   88: 8,148,182,255
   89: 9,92,112,255
   90: 9,125,150,255
   91: 70,88,91,255
   92: 8,169,183,255
   93: 39,59,60,255
   94: 181,200,201,255
   95: 232,247,248,255
   96: 8,24,24,255
   97: 64,183,183,255
   98: 200,232,232,255
   99: 216,248,248,255
  100: 216,232,232,255
  101: 102,121,120,255
  102: 174,211,208,255
  103: 165,186,184,255
  104: 86,107,104,255
  105: 118,199,184,255
  106: 96,182,159,255
  107: 142,198,182,255
  108: 134,153,146,255
  109: 8,165,104,255
  110: 12,122,74,255
  111: 196,232,216,255
  112: 35,182,101,255
  113: 64,181,103,255
  114: 87,183,119,255
  115: 106,182,119,255
  116: 167,216,173,255
  117: 116,200,124,255
  118: 22,42,23,255
  119: 199,232,200,255
  120: 8,24,8,255
  121: 40,56,40,255
  122: 200,216,200,255
  123: 232,248,232,255
  124: 216,217,216,255
  125: 184,185,184,255
  126: 145,204,143,255
  127: 167,186,166,255
  128: 82,111,80,255
  129: 58,74,52,255
  130: 193,216,184,255
  131: 200,232,184,255
  132: 118,137,103,255
  133: 115,193,44,255
  134: 75,88,64,255
  135: 200,232,168,255
  136: 216,231,200,255
  137: 232,248,216,255
  138: 194,216,166,255
  139: 173,210,120,255
  140: 216,231,184,255
  141: 162,173,136,255
  142: 232,248,184,255
  143: 216,232,159,255
  144: 146,153,119,255
  145: 232,248,163,255
  146: 184,188,166,255
  147: 181,214,11,255
  148: 218,231,129,255
  149: 232,236,200,255
  150: 217,230,75,255
  151: 232,248,8,255
  152: 216,232,8,255
  153: 232,248,27,255
  154: 220,231,31,255
  155: 162,170,50,255
  156: 211,217,109,255
  157: 248,247,8,255
  158: 232,232,8,255
  159: 206,205,9,255
  160: 248,248,33,255
  161: 213,213,53,255
  162: 248,246,63,255
  163: 247,245,110,255
  164: 248,247,146,255
  165: 248,248,168,255
  166: 232,232,165,255
  167: 248,248,184,255
  168: 216,216,168,255
  169: 232,232,184,255
  170: 248,248,200,255
  171: 200,200,168,255
  172: 248,248,231,255
  173: 232,232,216,255
  174: 72,72,69,255
  175: 24,24,23,255
  176: 88,88,85,255
  177: 120,120,118,255
  178: 56,56,55,255
  179: 152,152,150,255
  180: 200,200,199,255
  181: 247,244,88,255
  182: 174,172,88,255
  183: 110,109,84,255
  184: 192,182,10,255
  185: 201,194,80,255
  186: 130,121,11,255
  187: 97,90,13,255
  188: 233,217,46,255
  189: 163,148,9,255
  190: 248,227,35,255
  191: 46,43,18,255
  192: 175,173,152,255
  193: 240,214,9,255
  194: 147,140,86,255
  195: 248,232,158,255
  196: 78,66,12,255
  197: 214,200,151,255
  198: 232,216,167,255
  199: 219,174,44,255
  200: 176,160,116,255
  201: 248,232,184,255
  202: 139,133,117,255
  203: 215,150,9,255
  204: 198,153,49,255
  205: 244,195,83,255
  206: 243,168,9,255
  207: 156,119,46,255
  208: 193,152,73,255
  209: 216,200,168,255
  210: 248,232,201,255
  211: 210,172,116,255
  212: 248,216,168,255
  213: 232,188,135,255
  214: 245,203,150,255
  215: 232,200,168,255
  216: 201,184,167,255
  217: 216,200,184,255
  218: 232,216,200,255
  219: 214,176,143,255
  220: 248,184,136,255
  221: 174,125,92,255
  222: 248,200,168,255
  223: 247,168,120,255
  224: 248,216,196,255
  225: 232,184,156,255
  226: 232,168,136,255
  227: 248,184,152,255
  228: 232,200,184,255
  229: 215,90,33,255
  230: 213,148,119,255
  231: 85,56,44,255
  232: 248,168,136,255
  233: 247,151,115,255
  234: 127,108,101,255
  235: 111,87,79,255
  236: 248,200,184,255
  237: 171,151,146,255
  238: 89,71,68,255
  239: 221,121,111,255
  240: 248,160,152,255
  241: 209,144,140,255
  242: 58,40,39,255
  243: 230,162,159,255
  244: 24,8,8,255
  245: 248,176,176,255
  246: 248,200,200,255
  247: 248,216,216,255
  248: 232,216,216,255
  249: 142,136,136,255
  250: 235,232,232,255
  251: 255,255,255,255
  252: 168,168,168,255
  253: 104,104,104,255
  254: 40,40,40,255
  255: 8,8,8,255


-----
http://www.software-matters.co.uk Software Matters  - 
http://www.software-matters.co.uk/bespoke-database-design.html Bespoke
Database  and Software Solutions
-- 
View this message in context: http://n2.nabble.com/Some-tiffs-work-and-others-don-t-does-anybody-know-why-tp3502155p3502155.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list