[Xastir] Ordnance Survey (OSGB) "OS OpenMap Local"

Paul Kent paul.g0wxt at gmail.com
Tue May 1 13:19:58 PDT 2018


Hello, probably my first post here (have used Xastir for years so may not be).

in the UK, the national mapping authority (OSGB) has a new open-source
map, called OS OpenMap Local, which I am attempting to use within
Xastir 2.0.4  on Raspberry Pi.

I was using online maps which were free but now have been pulled.
I downloaded and compiled from source, with all options included, but
I couldn't get git version to start compiling (that's not what I'm
posting about here).

the specific message from debug is below:
------
Load maps start
load_maps: Calling draw_map
draw_map: Searching for map driver
draw_map: Found map driver: tif: 3
map_visible, rejecting: map_min_y:61199181 > SE_corner_latitude:21669765
	map or object is below viewport
Load maps stop
------
I can read the GDAL data from the tif file:


=====
 gdalinfo SO83SE.tif
Driver: GTiff/GeoTIFF
Files: SO83SE.tif
Size is 5000, 5000
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
    GEOGCS["OSGB 1936",
        DATUM["OSGB_1936",
            SPHEROID["Airy 1830",6377563.396,299.3249646000044,
                AUTHORITY["EPSG","7001"]],
            TOWGS84[446.448,-125.157,542.06,0.15,0.247,0.842,-20.489],
            AUTHORITY["EPSG","6277"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4277"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",49],
    PARAMETER["central_meridian",-2],
    PARAMETER["scale_factor",0.9996012717],
    PARAMETER["false_easting",400000],
    PARAMETER["false_northing",-100000],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","27700"]]
Origin = (385000.000000000000000,235000.000000000000000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_COPYRIGHT=� Crown copyright and/or database right 2018 OS
  TIFFTAG_IMAGEDESCRIPTION=OS Open Map - Local - Full colour raster -
TILE SO83SE
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  TIFFTAG_XRESOLUTION=254
  TIFFTAG_YRESOLUTION=254
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  385000.000,  235000.000) (  2d13' 6.89"W, 52d 0'46.09"N)
Lower Left  (  385000.000,  230000.000) (  2d13' 6.11"W, 51d58' 4.24"N)
Upper Right (  390000.000,  235000.000) (  2d 8'44.60"W, 52d 0'46.49"N)
Lower Right (  390000.000,  230000.000) (  2d 8'44.07"W, 51d58' 4.64"N)
Center      (  387500.000,  232500.000) (  2d10'55.42"W, 51d59'25.38"N)
Band 1 Block=5000x32 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)
    0: 0,0,0,255
    1: 8,7,7,255
    2: 24,24,24,255
    3: 40,40,40,255
    4: 52,52,52,255
    5: 85,15,45,255
    6: 49,83,63,255
...
...
...
255: 255,255,255,255

=====
Any Idea why I'm getting  this error?
I'd rather not have to run a script to mangle each and every tile in
the set, as there will be hundreds

73 de Paul G0WXT


More information about the Xastir mailing list