methods

geodetic_engine.catalog.methods(*, authority=None, name=None, code=None, kind=None, parameter=None, used=None, limit=None, offset=0)[source]

List the coordinate operation methods the active database holds.

pyproj has no listing of methods, so they are read from proj.db: those it lists, and those its operations apply. Each method’s parameters are read through PROJ, from an operation that applies it. Every filter given must hold.

Parameters:
  • authority (str | Iterable[str] | None, default: None) – Only these authorities, for example "EPSG".

  • name (TextFilter | None, default: None) – Text the name contains, without case, or a pattern.

  • code (ReferenceFilter | None, default: None) – Only these codes, as for crs().

  • kind (str | MethodKind | Iterable[str | MethodKind] | None, default: None) – Only "conversion" or "transformation" methods.

  • parameter (ReferenceFilter | None, default: None) – Only methods with one of these parameters, by code or name, for example "EPSG:8801" or "Latitude of natural origin".

  • used (bool | None, default: None) – True for only methods some operation applies, False for none.

  • limit (int | None, default: None) – At most this many entries.

  • offset (int, default: 0) – Skip this many entries first.

Return type:

Listing[MethodEntry]

Returns:

The methods, ordered by authority and code.

Raises:

Example

>>> from geodetic_engine import catalog
>>> helmerts = catalog.methods(name="Position Vector")
>>> "EPSG:9606" in [method.authority_code for method in helmerts]
True