Hi list, I am trying to access an ArcSDE raster through GDAL, and gdalinfo gives me the following info:
gdalinfo SDE:geodatabase.ad.rws.nl,port:5151,5151,RWS_LEZEN,XXXX,HOOGTE.AHN2_5 Driver: SDE/ESRI ArcSDE Files: none associated Size is 41151, 48412 Coordinate System is: PROJCS["RD_New", GEOGCS["GCS_Amersfoort", DATUM["Amersfoort", SPHEROID["Bessel_1841",6377397.155,299.1528128]], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]], PROJECTION["Double_Stereographic"], PARAMETER["False_Easting",155000.0], PARAMETER["False_Northing",463000.0], PARAMETER["Central_Meridian",5.38763888888889], PARAMETER["Scale_Factor",0.9999079], PARAMETER["Latitude_Of_Origin",52.15616055555555], UNIT["Meter",1.0]] Origin = (18759.994106925882079,618770.000206564669497) Pixel Size = (5.011786148238153,-5.000413129247485) Corner Coordinates: Upper Left ( 18759.994, 618770.000) Lower Left ( 18759.994, 376690.000) Upper Right ( 225000.006, 618770.000) Lower Right ( 225000.006, 376690.000) Center ( 121880.000, 497730.000) Band 1 Block=128x128 Type=Float32, ColorInterp=Gray Killed Whereas ArcCatalog says the grid is 5 by 5 meters, which is the expected cell size. Does anybody have an idea why GDAL is reporting a different cell size? <TreeList><Data_Source><Raster>HOOGTE.ahn2_5</Raster><Data_Type>SDE Raster</Data_Type><Server>geodatabase.ad.rws.nl<User>RWS_LEZEN</User><Instance>5151\tcp</Instance><Database></Database><Version>SDE.DEFAULT</Version></Server></Data_Source><Raster_Information><Columns_and_Rows>41151, 48412</Columns_and_Rows><Number_of_Bands>1</Number_of_Bands><Cellsize__X._Y_>5, 5</Cellsize__X._Y_><Uncompressed_Size>7.42 GB</Uncompressed_Size><Format>SDR</Format><Source_Type>continuous</Source_Type><Pixel_Type>floating point</Pixel_Type><Pixel_Depth>32 Bit</Pixel_Depth><NoData_Value>-3.402823E+38</NoData_Value><Colormap>absent</Colormap><Pyramids>level: 8, resampling: Nearest Neighbor</Pyramids><Compression>LZ77</Compression></Raster_Information><Extent><Top>618750</Top><Left>19245</Left><Right>225000</Right><Bottom>376690</Bottom></Extent><Spatial_Reference>RD_New<Linear_Unit>Meter (1.000000)</Linear_Unit><Angular_Unit>Degree (0.017453292519943299)</Angular_Unit><False_Easting>155000</False_Easting><False_Northing>463000</False_Northing><Central_Meridian>5.38763888888889</Central_Meridian><Scale_Factor>0.9999079</Scale_Factor><Latitude_Of_Origin>52.15616055555555</Latitude_Of_Origin><Datum>D_Amersfoort</Datum></Spatial_Reference><Statistics><Band_1>Statistics have not been calculated.<Build_Parameters></Build_Parameters><Min></Min><Max></Max><Mean></Mean><Std_dev.></Std_dev.><Classes></Classes></Band_1></Statistics></TreeList> Best regards, Bart _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev