Open clarisma opened 7 months ago
shape would allow user to specify a function that supplies the geometry for a given feature; this could be used to apply various transformations, e.g.:
shape
features.geojson(shape=lambda f: f.shape.simplify(100))
(See clarisma/gol-tool#80)
shape must be a function that takes a Feature and returns a Geometry
Feature
Geometry
If shape function is provided, mercator is ignored; coordinates are output as-is (only precision applies)
mercator
precision
shape
would allow user to specify a function that supplies the geometry for a given feature; this could be used to apply various transformations, e.g.:(See clarisma/gol-tool#80)
shape
must be a function that takes aFeature
and returns aGeometry
If
shape
function is provided,mercator
is ignored; coordinates are output as-is (onlyprecision
applies)