pyguymer3.geo.ll2merSrc.ll2mer_LineString

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

Transform a LineString from Longitudes/Latitudes to Mercator fractions

This function reads in a LineString whose coordinates are Longitudes/Latitudes and returns a LineString whose coordinates are fractions on the Mercator projection.

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