[gdal-dev] gdla wms tilecache

Wolfgang Lahr bgiv at gmx.de
Fri Feb 20 12:18:08 EST 2009


Hello list,

I am having a hard time accessing a TileCache (v2.10) layer with the GDAL
(1.6) WMS driver. The cache was built from an UMN MapServer WMS. I can
access the tiled layer without any problem using OpenLayers. But when
I try to access the data via gdal (MapServer or gdal_translate), I can
see an image - however, the north-south alignment of the tiles seems
messed up, though the east-west direction aligns fine.

Thanks for any hints

Wolfgang

This is what gdal_info says:

Driver: WMS/OGC Web Map Service
Files: osm_cache.xml
Size is 65536, 54528
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.01745329251994328,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]
Origin = (7.500000000000000,51.750000000000000)
Pixel Size = (0.000045776367188,-0.000045848004695)
Corner Coordinates:
Upper Left  (   7.5000000,  51.7500000) (  7d30'0.00"E, 51d45'0.00"N)
Lower Left  (   7.5000000,  49.2500000) (  7d30'0.00"E, 49d15'0.00"N)
Upper Right (  10.5000000,  51.7500000) ( 10d30'0.00"E, 51d45'0.00"N)
Lower Right (  10.5000000,  49.2500000) ( 10d30'0.00"E, 49d15'0.00"N)
Center      (   9.0000000,  50.5000000) (  9d 0'0.00"E, 50d30'0.00"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Undefined
  Overviews: 32768x27264, 16384x13632, 8192x6816, 4096x3408, 2048x1704, 1024x852, 512x426
Band 2 Block=256x256 Type=Byte, ColorInterp=Undefined
  Overviews: 32768x27264, 16384x13632, 8192x6816, 4096x3408, 2048x1704, 1024x852, 512x426
Band 3 Block=256x256 Type=Byte, ColorInterp=Undefined
  Overviews: 32768x27264, 16384x13632, 8192x6816, 4096x3408, 2048x1704, 1024x852, 512x426



More information about the gdal-dev mailing list