-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Instead of hard-wiring EPSG:4326, perhaps it can still be the default, but allow for other off-Earth bodies (e.g. "IAU" codes).
Recommendations:
src.crs,
to
def densify_reproject_simplify(
polygon: Polygon,
crs: CRS,
crs_deg: str = "EPSG:4326",
densification_factor: Optional[int] = None,
precision: int = DEFAULT_PRECISION,
simplify_tolerance: Optional[float] = None,
) -> Polygon:
polygon = shape(transform_geom(crs, "EPSG:4326", polygon, precision=precision))
to
polygon = shape(transform_geom(crs, crs_deg, polygon, precision=precision))
Metadata
Metadata
Assignees
Labels
No labels