Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Problem rendering a GeoTiff

How large is the GeoTiff. uDig 1.1.x loads all rasters into memory and a while this is very fast larger images cause out of memory exceptions. You can try out our developer preview of trunk to see if that can render it. If it can then image size is the problem. If not then it is a bug with the Geotools image plugin.

Here's a link to the Developer preview:
http://udig.refractions.net/downloads/ECWDemo.win32.win32.x86.zip

Jesse

On 23-Nov-07, at 5:04 AM, Craig Leat wrote:
Hi

I am running uDig 1.1-RC12 on WinXP SP2. I have a GeoTiff using Lat/ Lon coordinates and the WGS 84 datum. This raster loads fine in QGIS and OpenEV, but I cannot render the raster in uDig. uDig attempts to render the raster, but after a while a little red box appears alongside the layer name. Any ideas on what I am doing wrong? I searched the uDig installation directory for a *.log file thinking I might find an error log, but didn't find anything.

Another question: Is there a way to search the list archive without having to download the archives and perform the search on the local machine?

Thanks for any help.

Craig Leat.

The command gdalinfo wgs2930bc.tif yields the following:

Driver: GTiff/GeoTIFF
Size is 6914, 6913
Coordinate System is:
GEOGCS["WGS 84",
  DATUM["WGS_1984",
      SPHEROID["WGS 84",6378137,298.2572235630016,
          AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
  PRIMEM["Greenwich",0],
  UNIT["degree",0.0174532925199433],
  AUTHORITY["EPSG","4326"]]
Origin = (30.499756,-29.250391)
Pixel Size = (0.00003617,-0.00003617)
Metadata:
AREA_OR_POINT=Area
IMAGE__COMPRESSION_BLOCK_SIZE=512
IMAGE__COMPRESSION_GAMMA=2.000000
IMAGE__COMPRESSION_NLEV=7
IMAGE__COMPRESSION_VERSION=2,0,0
IMAGE__COMPRESSION_WEIGHT=2.000000
IMAGE__CREATION_DATE=Thu Dec 01 18:56:29 2005

IMAGE__DYNAMIC_RANGE_LEVEL=127.500000
IMAGE__DYNAMIC_RANGE_WINDOW=256.000000
IMAGE__INPUT_COMPRESSION_FORMAT=Pack-bits encoding
IMAGE__INPUT_FILE_SIZE=21222831.000000
IMAGE__INPUT_FORMAT=TIFF w/ World File
IMAGE__INPUT_NAME=E:\1_50 raster dataset\WGS2930BC.TIF
IMAGE__TARGET_COMPRESSION_RATIO=20.000000
IMAGE__WIDTH=6914
IMAGE__HEIGHT=6913
IMAGE__INPUT_LUT =171,113,80,113,237,113,121,204,171,113,179,171,245,212,171,47 , 253,39,113,64,64,146,146,88,97,64,171,121,113,47,171,204,237,245,229,204,237,20
4,204,245,146,146,113,171,171,171,146,237,47,212,245,253,204,212,121,171,113,121
, 179,179,237,204,245,113,64,55,237,146,88,39,146,64,146,88,146,39,39,204,204,55 ,
55,171,113,121,113,113,121,88,64,121,97,204,171,121,171,179,55,47,171,121,220,11
3,237,146,146,88,88,113,64,47,146,138,146,146,88,97,146,146,229,204,121,146,39,8
8,146,88,80,80,179,245,245,245,245,204,212,204,204,113,121,121,121,245,245,212,2
37,171,179,171,171,121,105,179,179,179,179,245,237,204,204,237,237,212,204,212,2
04,237,245,204,204,55,55,121,105,72,47,204,204,212,245,245,204,212,113,171,113,1
21,179,179,245,204,245,179,179,113,212,146,171,64,113,121,80,121,113,80,80,121,9
7,72,64,64,47,146,88,146,146,39,72,39,88,229,113,88,97,146,146,245,204,146,88,11
3,88,88,146,88,146,72,80,88,146,204,97,146,97,80,146,88,39,204,179,253,47,196,23
7,88,179,253,113,80,113
IMAGE__COLOR_SCHEME=0
IMAGE__DATA_TYPE=0
IMAGE__BITS_PER_SAMPLE=8
IMAGE__XY_ORIGIN=30.499774,-29.250409
IMAGE__X_RESOLUTION=0.000036
IMAGE__Y_RESOLUTION=0.000036
Corner Coordinates:
Upper Left  (  30.4997559, -29.2503910) ( 30d29'59.12"E, 29d15'1.41"S)
Lower Left  (  30.4997559, -29.5004223) ( 30d29'59.12"E, 29d30'1.52"S)
Upper Right (  30.7498233, -29.2503910) ( 30d44'59.36"E, 29d15'1.41"S)
Lower Right (  30.7498233, -29.5004223) ( 30d44'59.36"E, 29d30'1.52"S)
Center ( 30.6247896, -29.3754067) ( 30d37'29.24"E, 29d22'31.46"S)
Band 1 Block=6914x1 Type=Byte, ColorInterp=Red
Overviews: 3457x3457, 1729x1729, 865x865, 433x433
Band 2 Block=6914x1 Type=Byte, ColorInterp=Green
Overviews: 3457x3457, 1729x1729, 865x865, 433x433
Band 3 Block=6914x1 Type=Byte, ColorInterp=Blue
Overviews: 3457x3457, 1729x1729, 865x865, 433x433

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



Back to the top