pyguymer3.geo.en2llSrc.en2ll_LineString

pyguymer3.geo.en2llSrc.en2ll_LineString(line1, /, *, debug=True, prefix='.')[source]

Transform a LineString from Eastings/Northings to Longitudes/Latitudes

This function reads in a LineString whose coordinates are Eastings/Northings on the Ordnance Survey National Grid and returns a LineString whose coordinates are Longitudes/Latitudes.

Parameters:
  • line1 (shapely.geometry.linestring.LineString) – the LineString

  • debug (bool, optional) – print debug messages

  • prefix (str, optional) – change the name of the output debugging CSVs

Returns:

line2 – the transformed LineString

Return type:

shapely.geometry.linestring.LineString

Notes

Copyright 2017 Thomas Guymer [1]

References