Skip to content

Instantly share code, notes, and snippets.

@Guymer

Guymer/raster.json

Created May 22, 2020
Embed
What would you like to do?
JSON output from script to process the Raster dataset from the Ordnance Survey
{
"HP": {
"colour": "raster/colour/HP.png",
"extent": [
400000.0,
500000.0,
1200000.0,
1300000.0
],
"greyscale": "raster/greyscale/HP.png"
},
"HT": {
"colour": "raster/colour/HT.png",
"extent": [
300000.0,
400000.0,
1100000.0,
1200000.0
],
"greyscale": "raster/greyscale/HT.png"
},
"HU": {
"colour": "raster/colour/HU.png",
"extent": [
400000.0,
500000.0,
1100000.0,
1200000.0
],
"greyscale": "raster/greyscale/HU.png"
},
"HW": {
"colour": "raster/colour/HW.png",
"extent": [
100000.0,
200000.0,
1000000.0,
1100000.0
],
"greyscale": "raster/greyscale/HW.png"
},
"HX": {
"colour": "raster/colour/HX.png",
"extent": [
200000.0,
300000.0,
1000000.0,
1100000.0
],
"greyscale": "raster/greyscale/HX.png"
},
"HY": {
"colour": "raster/colour/HY.png",
"extent": [
300000.0,
400000.0,
1000000.0,
1100000.0
],
"greyscale": "raster/greyscale/HY.png"
},
"HZ": {
"colour": "raster/colour/HZ.png",
"extent": [
400000.0,
500000.0,
1000000.0,
1100000.0
],
"greyscale": "raster/greyscale/HZ.png"
},
"NA": {
"colour": "raster/colour/NA.png",
"extent": [
0.0,
100000.0,
900000.0,
1000000.0
],
"greyscale": "raster/greyscale/NA.png"
},
"NB": {
"colour": "raster/colour/NB.png",
"extent": [
100000.0,
200000.0,
900000.0,
1000000.0
],
"greyscale": "raster/greyscale/NB.png"
},
"NC": {
"colour": "raster/colour/NC.png",
"extent": [
200000.0,
300000.0,
900000.0,
1000000.0
],
"greyscale": "raster/greyscale/NC.png"
},
"ND": {
"colour": "raster/colour/ND.png",
"extent": [
300000.0,
400000.0,
900000.0,
1000000.0
],
"greyscale": "raster/greyscale/ND.png"
},
"NF": {
"colour": "raster/colour/NF.png",
"extent": [
0.0,
100000.0,
800000.0,
900000.0
],
"greyscale": "raster/greyscale/NF.png"
},
"NG": {
"colour": "raster/colour/NG.png",
"extent": [
100000.0,
200000.0,
800000.0,
900000.0
],
"greyscale": "raster/greyscale/NG.png"
},
"NH": {
"colour": "raster/colour/NH.png",
"extent": [
200000.0,
300000.0,
800000.0,
900000.0
],
"greyscale": "raster/greyscale/NH.png"
},
"NJ": {
"colour": "raster/colour/NJ.png",
"extent": [
300000.0,
400000.0,
800000.0,
900000.0
],
"greyscale": "raster/greyscale/NJ.png"
},
"NK": {
"colour": "raster/colour/NK.png",
"extent": [
400000.0,
500000.0,
800000.0,
900000.0
],
"greyscale": "raster/greyscale/NK.png"
},
"NL": {
"colour": "raster/colour/NL.png",
"extent": [
0.0,
100000.0,
700000.0,
800000.0
],
"greyscale": "raster/greyscale/NL.png"
},
"NM": {
"colour": "raster/colour/NM.png",
"extent": [
100000.0,
200000.0,
700000.0,
800000.0
],
"greyscale": "raster/greyscale/NM.png"
},
"NN": {
"colour": "raster/colour/NN.png",
"extent": [
200000.0,
300000.0,
700000.0,
800000.0
],
"greyscale": "raster/greyscale/NN.png"
},
"NO": {
"colour": "raster/colour/NO.png",
"extent": [
300000.0,
400000.0,
700000.0,
800000.0
],
"greyscale": "raster/greyscale/NO.png"
},
"NR": {
"colour": "raster/colour/NR.png",
"extent": [
100000.0,
200000.0,
600000.0,
700000.0
],
"greyscale": "raster/greyscale/NR.png"
},
"NS": {
"colour": "raster/colour/NS.png",
"extent": [
200000.0,
300000.0,
600000.0,
700000.0
],
"greyscale": "raster/greyscale/NS.png"
},
"NT": {
"colour": "raster/colour/NT.png",
"extent": [
300000.0,
400000.0,
600000.0,
700000.0
],
"greyscale": "raster/greyscale/NT.png"
},
"NU": {
"colour": "raster/colour/NU.png",
"extent": [
400000.0,
500000.0,
600000.0,
700000.0
],
"greyscale": "raster/greyscale/NU.png"
},
"NW": {
"colour": "raster/colour/NW.png",
"extent": [
100000.0,
200000.0,
500000.0,
600000.0
],
"greyscale": "raster/greyscale/NW.png"
},
"NX": {
"colour": "raster/colour/NX.png",
"extent": [
200000.0,
300000.0,
500000.0,
600000.0
],
"greyscale": "raster/greyscale/NX.png"
},
"NY": {
"colour": "raster/colour/NY.png",
"extent": [
300000.0,
400000.0,
500000.0,
600000.0
],
"greyscale": "raster/greyscale/NY.png"
},
"NZ": {
"colour": "raster/colour/NZ.png",
"extent": [
400000.0,
500000.0,
500000.0,
600000.0
],
"greyscale": "raster/greyscale/NZ.png"
},
"OV": {
"colour": "raster/colour/OV.png",
"extent": [
500000.0,
600000.0,
500000.0,
600000.0
],
"greyscale": "raster/greyscale/OV.png"
},
"SC": {
"colour": "raster/colour/SC.png",
"extent": [
200000.0,
300000.0,
400000.0,
500000.0
],
"greyscale": "raster/greyscale/SC.png"
},
"SD": {
"colour": "raster/colour/SD.png",
"extent": [
300000.0,
400000.0,
400000.0,
500000.0
],
"greyscale": "raster/greyscale/SD.png"
},
"SE": {
"colour": "raster/colour/SE.png",
"extent": [
400000.0,
500000.0,
400000.0,
500000.0
],
"greyscale": "raster/greyscale/SE.png"
},
"SH": {
"colour": "raster/colour/SH.png",
"extent": [
200000.0,
300000.0,
300000.0,
400000.0
],
"greyscale": "raster/greyscale/SH.png"
},
"SJ": {
"colour": "raster/colour/SJ.png",
"extent": [
300000.0,
400000.0,
300000.0,
400000.0
],
"greyscale": "raster/greyscale/SJ.png"
},
"SK": {
"colour": "raster/colour/SK.png",
"extent": [
400000.0,
500000.0,
300000.0,
400000.0
],
"greyscale": "raster/greyscale/SK.png"
},
"SM": {
"colour": "raster/colour/SM.png",
"extent": [
100000.0,
200000.0,
200000.0,
300000.0
],
"greyscale": "raster/greyscale/SM.png"
},
"SN": {
"colour": "raster/colour/SN.png",
"extent": [
200000.0,
300000.0,
200000.0,
300000.0
],
"greyscale": "raster/greyscale/SN.png"
},
"SO": {
"colour": "raster/colour/SO.png",
"extent": [
300000.0,
400000.0,
200000.0,
300000.0
],
"greyscale": "raster/greyscale/SO.png"
},
"SP": {
"colour": "raster/colour/SP.png",
"extent": [
400000.0,
500000.0,
200000.0,
300000.0
],
"greyscale": "raster/greyscale/SP.png"
},
"SR": {
"colour": "raster/colour/SR.png",
"extent": [
100000.0,
200000.0,
100000.0,
200000.0
],
"greyscale": "raster/greyscale/SR.png"
},
"SS": {
"colour": "raster/colour/SS.png",
"extent": [
200000.0,
300000.0,
100000.0,
200000.0
],
"greyscale": "raster/greyscale/SS.png"
},
"ST": {
"colour": "raster/colour/ST.png",
"extent": [
300000.0,
400000.0,
100000.0,
200000.0
],
"greyscale": "raster/greyscale/ST.png"
},
"SU": {
"colour": "raster/colour/SU.png",
"extent": [
400000.0,
500000.0,
100000.0,
200000.0
],
"greyscale": "raster/greyscale/SU.png"
},
"SV": {
"colour": "raster/colour/SV.png",
"extent": [
0.0,
100000.0,
0.0,
100000.0
],
"greyscale": "raster/greyscale/SV.png"
},
"SW": {
"colour": "raster/colour/SW.png",
"extent": [
100000.0,
200000.0,
0.0,
100000.0
],
"greyscale": "raster/greyscale/SW.png"
},
"SX": {
"colour": "raster/colour/SX.png",
"extent": [
200000.0,
300000.0,
0.0,
100000.0
],
"greyscale": "raster/greyscale/SX.png"
},
"SY": {
"colour": "raster/colour/SY.png",
"extent": [
300000.0,
400000.0,
0.0,
100000.0
],
"greyscale": "raster/greyscale/SY.png"
},
"SZ": {
"colour": "raster/colour/SZ.png",
"extent": [
400000.0,
500000.0,
0.0,
100000.0
],
"greyscale": "raster/greyscale/SZ.png"
},
"TA": {
"colour": "raster/colour/TA.png",
"extent": [
500000.0,
600000.0,
400000.0,
500000.0
],
"greyscale": "raster/greyscale/TA.png"
},
"TF": {
"colour": "raster/colour/TF.png",
"extent": [
500000.0,
600000.0,
300000.0,
400000.0
],
"greyscale": "raster/greyscale/TF.png"
},
"TG": {
"colour": "raster/colour/TG.png",
"extent": [
600000.0,
700000.0,
300000.0,
400000.0
],
"greyscale": "raster/greyscale/TG.png"
},
"TL": {
"colour": "raster/colour/TL.png",
"extent": [
500000.0,
600000.0,
200000.0,
300000.0
],
"greyscale": "raster/greyscale/TL.png"
},
"TM": {
"colour": "raster/colour/TM.png",
"extent": [
600000.0,
700000.0,
200000.0,
300000.0
],
"greyscale": "raster/greyscale/TM.png"
},
"TQ": {
"colour": "raster/colour/TQ.png",
"extent": [
500000.0,
600000.0,
100000.0,
200000.0
],
"greyscale": "raster/greyscale/TQ.png"
},
"TR": {
"colour": "raster/colour/TR.png",
"extent": [
600000.0,
700000.0,
100000.0,
200000.0
],
"greyscale": "raster/greyscale/TR.png"
},
"TV": {
"colour": "raster/colour/TV.png",
"extent": [
500000.0,
600000.0,
0.0,
100000.0
],
"greyscale": "raster/greyscale/TV.png"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.