JuliaGeo / Proj.jl

Julia wrapper for the PROJ cartographic projections library
MIT License
48 stars 9 forks source link

Proj_jll grid files #78

Open evetion opened 1 year ago

evetion commented 1 year ago

Based on the discussion in https://github.com/JuliaGeo/Proj.jl/issues/75 and my troubles to get the CI working for PROJ_NETWORK in https://github.com/evetion/GeoArrays.jl/pull/126, we should try to document how downstream packages can make sure the PROJ grid files are available (remotely).

For example, GeoArrays does not depend on Proj or Proj_jll directly, only indirectly on the jll based on GDAL (via ArchGDAL). Currently I try to just PROJ_NETWORK=ON and hope for the best. Ideally, this works out of the box, like Proj_jll running projsync on init or automatically execute things like proj_context_set_search_paths into the package.

evetion commented 1 year ago

One of the reasons that this should work out of the box is that warping without Proj datagrids will just silently be wrong, as we have seen in other issues (#71).

visr commented 1 year ago

The only_best option from #87 should help with avoiding silently wrong issues. There was some talk about perhaps making that the default in a breaking PROJ release.