Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: [udig-devel] Problems with tif

Thanks a lot.  I'll try and play with this.

Jesse
Le 8-Feb-08 à 4:09 AM, Balmer, Matthias a écrit :

I've sample data from the QGIS website. The TIFF there isn't loadable in uDig too:

http://qgis.org/uploadfiles/qgis_sample_data.tar.gz

Hope that helps.

Matthias

-----Ursprüngliche Nachricht-----
Von: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx ] Im Auftrag von Jody Garnett
Gesendet: Freitag, 8. Februar 2008 02:19
An: User-friendly Desktop Internet GIS
Betreff: Re: [udig-devel] Problems with tif

I just ran into a similar problem for a geoserver user. Turns out
GeoTIFF support is still a bit lacking :-)

The user ended up making a tfl file (making this a world + image file).
Perhaps since you are handy with gdal you can make a shell script to
generate world files for your images?
Jody
Hi all

I've problems opening various tif files in uDig.
Everytime I try to load one of them, the import wizard gives the message
"Service not found. Please choose another one."

I've no problems to open the files in other applications like Tatuk GIS.

I analized one of the files using gdal:

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

My World file looks like this:

10
0
0
-10
-21495
2640295

Any ideas what could be wrong?

Thanks in advance for your help.

Regards

Matthias Balmer

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top