From: Grant Slater Date: Mon, 31 Oct 2022 19:35:49 +0000 (+0000) Subject: dev: Add proj-bin and sync uk_os_OSTN15_NTv2_OSGBtoETRS.tif X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/9ae7cc736015c398ec6e3dc396d8ff0202524126 dev: Add proj-bin and sync uk_os_OSTN15_NTv2_OSGBtoETRS.tif --- diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index e48ffd3e0..7ab10d8f4 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -72,6 +72,7 @@ package %w[ python3-pyproj python3-gdal gdal-bin + proj-bin g++ gcc make @@ -128,6 +129,12 @@ package %w[ pandoc ] +# Add uk_os_OSTN15_NTv2_OSGBtoETRS.tif used for reprojecting OS data +execute "uk_os_OSTN15_NTv2_OSGBtoETRS.tif" do + command "projsync --file uk_os_OSTN15_NTv2_OSGBtoETRS.tif --system-directory" + not_if { ::File.exist?("/usr/share/proj/uk_os_OSTN15_NTv2_OSGBtoETRS.tif") } +end + nodejs_package "svgo" python_package "geojson" do