18th May 2017: we are undertaking planned maintenance to some of our online services [more]

Marsden Square translator method

msqinput

Input parameters

Output parameters

An array of strings separated by XML tags as follows

<Spatial_Coverage>

          <Southernmost_latitude>sdd.d</Southernmost_latitude>

          <Northernmost_latitude>sdd.d</Northernmost_latitude>

          <Westernmost_longitude>sddd.d</Westernmost_longitude>

          <Easternmost_longitude>sddd.d</Easternmost_longitude>

</Spatial_Coverage>

The format is represented as ‘sdd.dddd’. This represents an explicit sign, s (+ for North and East or - for South and West), followed without a space by the number of degrees as a decimal.

Example Java method call

String coverage = service.msqinput(msqList);

Notes

Ten degree Marsden Squares are numbered between 001 and 936. The input is a list of the numbers separated by spaces.

For example: 182 146 145

Five degree Marsden Squares are represented by a single digit between 1 and 4. These are used in conjunction with a ten degree square. The input is a list of numbers separated by spaces. The input format is the ten degree number, a semicolon and the five degree number.

For example: 182;1 146;3 145;4

One degree Marsden Squares are represented by a two digit number (00-99). These are used in conjunction with the ten degree square. The input is a list of numbers separated by spaces. The input format is the ten degree number, a semicolon, the five degree number and the one degree number.

For example: 182;122 146;364 145;489


 


Related BODC pages

BODC Web Services

       Marsden Square translator service