Sync Transformation Grids

pyproj.sync.get_transform_grid_list

pyproj.sync.get_transform_grid_list(source_id: str | None = None, area_of_use: str | None = None, filename: str | None = None, bbox: BBox | None = None, spatial_test: str = 'intersects', include_world_coverage: bool = True, include_already_downloaded: bool = False, target_directory: str | Path | None = None) tuple[source]

Get a list of transform grids that can be downloaded.

Parameters:
  • source_id (str, optional)

  • area_of_use (str, optional)

  • filename (str, optional)

  • bbox (BBox, optional)

  • spatial_test (str, default="intersects") – Can be “contains” or “intersects”.

  • include_world_coverage (bool, default=True) – If True, it will include grids with a global extent.

  • include_already_downloaded (bool, default=False) – If True, it will list grids regardless of if they are downloaded.

  • target_directory (str | Path, optional) – The directory to download the geojson file to. Default is the user writable directory.

Returns:

A list of geojson data of containing information about features that can be downloaded.

Return type:

list[dict[str, Any]]

pyproj.sync.get_proj_endpoint

pyproj.sync.get_proj_endpoint() str
Returns:

URL of the endpoint where PROJ grids are stored.

Return type:

str