openbsd-ports/devel/proj/pkg
2022-03-11 18:49:30 +00:00
..
DESCR
PLIST
README drop RCS Ids 2022-03-11 18:49:30 +00:00

+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------

Since proj 7, datum grids are available from a CDN at https://cdn.proj.org and
should either be fetched dynamically at runtime (disabled by default, cf
https://proj.org/usage/network.html) or be fetched locally depending on your
work area needs, using the projsync command.

Use projsync --list-files to list the CDN content.

They can either by installed in the user homedir (under ~/.local/share/proj)

$ projsync --file fr_ign_ntf_r93.tif
Downloading from https://cdn.proj.org into /home/user/.local/share/proj
Total to download: 93581 bytes
Downloading https://cdn.proj.org/fr_ign_ntf_r93.tif... (1 / 1)

or systemwide in the default PROJ_LIB dir (under ${TRUEPREFIX}/share/proj, cf
https://proj.org/resource_files.html)

# projsync --system-directory --file fr_ign_ntf_r93.tif
Downloading from https://cdn.proj.org into ${TRUEPREFIX}/share/proj
Total to download: 93581 bytes
Downloading https://cdn.proj.org/fr_ign_ntf_r93.tif... (1 / 1)

If not using the default, make sure to set PROJ_LIB environment variable
accordingly.