[GRASS-git] [OSGeo/grass] 33c8e0: r.pack: Store all CRS info in the file (#6408)

Vaclav Petras noreply at github.com
Fri Sep 26 08:03:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 33c8e01c933ab6915a70b00d65d23ed075b8f4db
      https://github.com/OSGeo/grass/commit/33c8e01c933ab6915a70b00d65d23ed075b8f4db
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    M scripts/r.pack/r.pack.py
    M scripts/r.pack/tests/r_pack_test.py

  Log Message:
  -----------
  r.pack: Store all CRS info in the file (#6408)

The r.pack missed couple of the new PROJ-underscore files which are describing or defining the CRS (aka projection) at the project level. Specifically, projects created with EPSG have PROJ_SRID file (not PROJ_EPSG) which was previously omitted, and thus missing in the exported raster pack file. Additionally, the implementation missed another project-level information which is stored in and retrieved from the default computational region, namely projection and zone keys. The new code reads them with g.region and stores them in a JSON file inside the pack file.

The new tests check for the expected files and check the format and content of the newly added JSON file.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list