Hi all,

I was testing now a couple of hours, but I can't find the problem. I simply
want to display a shading with a GeoTiff, but it doesn't work.

My XML-Style:
        <Style name="raster">
                <Rule>
                        <RasterSymbolizer>
                        </RasterSymbolizer>
                </Rule>
        </Style>

My Layer:
  <Layer name="shading" status="on" srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [EMAIL PROTECTED]
+no_defs +over">
        <StyleName>raster</StyleName>
        <Datasource>
                <Parameter name="type">gdal</Parameter>
                <Parameter
name="file">/mapnik/data/raster/39_03_900913_hillshade.tif</Parameter>
                <Parameter name="format">tiff</Parameter>
        </Datasource>
  </Layer>

My system:
Debian-linux 2.6.24-etchnhalf.1-686 

My map projection is in spherical mercator and so I warped my rasterfile
also to the same srs. With "tiffinfo" on my GeoTiff, I get this info:

TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e)
encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482)
encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af)
encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34736 (0x87b0)
encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34737 (0x87b1)
encountered.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481)
encountered.
TIFF Directory at offset 0x1e6a83b8 (510297016)
  Image Width: 18555 Image Length: 27490
  Bits/Sample: 8
  Sample Format: unsigned integer
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Samples/Pixel: 1
  Rows/Strip: 1
  Planar Configuration: single image plane
  Tag 33550: 30.000000,30.000000,0.000000
  Tag 33922:
0.000000,0.000000,0.000000,1113148.557155,6446203.744900,0.000000
  Tag 34735:
1,1,0,19,1024,0,1,1,1025,0,1,1,1026,34737,8,0,2048,0,1,32767,2049,3
4737,16,8,2050,0,1,32767,2054,0,1,9102,2056,0,1,32767,2057,34736,1,5,2058,34736,
1,6,3072,0,1,32767,3074,0,1,32767,3075,0,1,7,3076,0,1,9001,3080,34736,1,1,3081,3
4736,1,0,3082,34736,1,3,3083,34736,1,4,3092,34736,1,2
  Tag 34736:
0.000000,0.000000,1.000000,0.000000,0.000000,6378137.000000,6378137
.000000
  Tag 34737: unnamed|unnamed ellipse|
  Tag 42113: 32767

My map is still empty. What can I do?

Thanks in advance
Jürgen
-- 
View this message in context: 
http://www.nabble.com/Problems-with-raster-data-tp20774507p20774507.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to