Develop a utility in C# to convert KML file into JSON

Closed - This job posting has been filled and work has been completed.
Hourly Job
As Needed
Less than 1 week
Intermediate Level
I am looking for a mix of experience and value

Details

Produce a utility to convert data for the OS Landranger series of maps from attached OS_Series_by_CCS.kml file into a format that matches the example data.js JSON file.

The JSON file is a reduced version of this format:

[
  {
    "label" : "Landranger 186",
    "rectangles" : [
      {
        "nw" : [ 22, 1 ],
        "se" : [ 34, 43 ]
      }
    ],
    "polygons" : [
      [
        [ 22, 1 ],
        [ 34, 1 ],
        [ 28, 43 ]
      ]
    ]
  }
]

Both reference files are included in the attached reference.zip file.

Each map should have the polygon coordinates and bounding box coordinates derived from the source KML file.

The Landranger series only should be extracted and converted.