Standalone APIs
Projection API
Get suggested projections from geometries.
Projection API
Selection Algorithm
We use the EPSG Geodetic Parameter Dataset for selecting a PCS.
Choosing a relevant PCS for a given operation must take into consideration the needs of the application.
The selection algorithm prioritizes the following:
- The units along both axes must match the given units (either feet or meters)
- The area of the PCS must wholly contain the shape
- Given the above, the PCS with the smallest area is chosen
PCS with smaller areas likely have lower distortion.
Choosing a PCS
Using the mundipy.pcs
library, we can choose a reasonable PCS, given any shapely
geometry with WGS84 coordinates (ordered: longitude, latitude).
choose_pcs.py
Suggest multiple PCS’s
We can also suggest multiple projections with suggest_pcs
:
suggest_pcs.py
Creating a pyproj.CRS
To manage your coordinate reference system manually, we recommend using pyproj
.