pyguymer3.geo.fillinSrc.fillin_CoordinateSequence¶
- pyguymer3.geo.fillinSrc.fillin_CoordinateSequence(coords, fill, /, *, debug=True, eps=1e-12, fillSpace='EuclideanSpace', nIter=100, prefix='.', ramLimit=1073741824)[source]¶
Fill in a CoordinateSequence
This function reads in a CoordinateSequence that exists on the surface of the Earth and returns a LineString of the same CoordinateSequence filled in by a constant distance: either in degrees in Euclidean space; or in metres in Geodesic space.
- Parameters:
coords (shapely.coords.CoordinateSequence) – the CoordinateSequence
fill (float) – the Euclidean or Geodesic distance to fill in between each point within the shape by (in degrees or metres)
debug (bool, optional) – print debug messages
eps (float, optional) – the tolerance of the Vincenty formula iterations
fillSpace (str, optional) – the geometric space to perform the filling in (either “EuclideanSpace” or “GeodesicSpace”)
nIter (int, optional) – the maximum number of iterations (particularly the Vincenty formula)
prefix (str, optional) – change the name of the output debugging CSVs
ramLimit (int, optional) – the maximum RAM usage of each “large” array (in bytes)
- Returns:
fills – the filled in CoordinateSequence
- Return type:
shapely.geometry.linestring.LineString
Notes
Copyright 2017 Thomas Guymer [1]
References