list_authorityο
- Equi7Grid_projection.list_authority(auth_name: str | None = None, min_confidence: int = 70) → list[AuthorityMatchInfo]ο
New in version 3.2.0.
Return the authority names and codes best matching the CRS.
Example:
>>> from pyproj import CRS >>> ccs = CRS("EPSG:4328") >>> ccs.list_authority() [AuthorityMatchInfo(auth_name='EPSG', code='4326', confidence=100)]
If the CRS is bound, you can get an authority from the source CRS:
>>> from pyproj import CRS >>> ccs = CRS("+proj=geocent +datum=WGS84 +towgs84=0,0,0") >>> ccs.list_authority() [] >>> ccs.source_crs.list_authority() [AuthorityMatchInfo(auth_name='EPSG', code='4978', confidence=70)] >>> ccs == CRS.from_authorty('EPSG', '4978') False
- Parameters:
auth_name (str, optional) β The name of the authority to filter by.
min_confidence (int, default=70) β A value between 0-100 where 100 is the most confident. min_confidence
- Returns:
List of authority matches for the CRS.
- Return type:
list[AuthorityMatchInfo]