Hi,

I have a DEM which I exported as geotiff and uploaded to geoserver and am 
currently serving as wms. The gdalinfo output is as follows...

Although the image is coloured, the colorInterp=Gray?.....When I do a 
getFeature query, the only field that appers is called "grey_index"...I assume 
this is related!

The height is however correct when I do the query...so I am a bit confused as 
to why the z value gets put into the grey_index field...

I would ideally like the field to be called "elevation"...is there anyway I can 
change the name of the field from "grey_index" to "elevation" and if not, how 
can I influence the field names in a geotiff?

thanks for any replies,

Rob


//Gdalinfo 

Driver: GTiff/GeoTIFF
Files: DGM_ZGB.tif
Size is 6227, 11088
Coordinate System is:
PROJCS[" Projection Name = Transverse Mercator Units = meters GeoTIFF Units = 
meters",
    GEOGCS[" Unable to match Ellipsoid (Datum) to a GeographicTypeGeoKey value 
Ellipsoid = Bessel Datum = DE_DHDN (",
        DATUM["unknown",
            SPHEROID["unnamed",6377397.155,299.1528131060796]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",9.000000000000002],
    PARAMETER["scale_factor",1],
    PARAMETER["false_easting",3500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]]]
Origin = (3567985.489999993704259,5856934.919999464415014)
Pixel Size = (12.000000000000000,-12.000000000000000)
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_SOFTWARE=IMAGINE TIFF Support
Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: etif.c $ $Revision: 1.10.1.9.1.9.2.11 $ $Date: 2004/09/15 
18:42:01EDT $
  TIFFTAG_XRESOLUTION=1
  TIFFTAG_YRESOLUTION=1
  TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  ( 3567985.490, 5856934.920) ( 10d 0'32.75"E, 52d50'31.98"N)
Lower Left  ( 3567985.490, 5723878.920) (  9d58'56.39"E, 51d38'47.35"N)
Upper Right ( 3642709.490, 5856934.920) ( 11d 7'3.38"E, 52d49'39.41"N)
Lower Right ( 3642709.490, 5723878.920) ( 11d 3'41.29"E, 51d37'56.99"N)
Center      ( 3605347.490, 5790406.920) ( 10d32'32.56"E, 52d14'18.61"N)
Band 1 Block=64x64 Type=Float32, ColorInterp=Gray
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to