pyguymer3.geo.ll2enSrc.ll2en_LinearRing

pyguymer3.geo.ll2enSrc.ll2en_LinearRing(ring1, /, *, debug=True, prefix='.')[source]

Transform a LinearRing from Longitudes/Latitudes to Eastings/Northings

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

Parameters:
  • ring1 (shapely.geometry.polygon.LinearRing) – the LinearRing

  • debug (bool, optional) – print debug messages

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

Returns:

ring2 – the transformed LinearRing

Return type:

shapely.geometry.polygon.LinearRing

Notes

Copyright 2017 Thomas Guymer [1]

References