From 0f7a93138f9652e920521d09e7c73790e0cae65f Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Sat, 14 Dec 2019 02:20:09 +0100
Subject: Database: add mappings to AUSGeoid98.gtx in grid_alternatives

---
 data/sql/grid_alternatives.sql | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

(limited to 'data/sql/grid_alternatives.sql')

diff --git a/data/sql/grid_alternatives.sql b/data/sql/grid_alternatives.sql
index 600446f5..b4effec1 100644
--- a/data/sql/grid_alternatives.sql
+++ b/data/sql/grid_alternatives.sql
@@ -1106,6 +1106,22 @@ INSERT INTO grid_alternatives(original_grid_name,
                               'proj-datumgrid-oceania',
                               NULL, NULL, NULL, NULL);
 
+INSERT INTO grid_alternatives(original_grid_name,
+                              proj_grid_name,
+                              proj_grid_format,
+                              proj_method,
+                              inverse_direction,
+                              package_name,
+                              url, direct_download, open_license, directory)
+    SELECT grid_name,
+           'AUSGeoid98.gtx',
+           'GTX',
+           'vgridshift',
+           1,
+           'proj-datumgrid-oceania',
+           NULL, NULL, NULL, NULL FROM grid_transformation WHERE
+                grid_name LIKE '%DAT.htm' AND name LIKE 'GDA94 to AHD height%';
+
 -- Netherlands / RDNAP (non-free grids)
 
 INSERT INTO grid_alternatives(original_grid_name,
-- 
cgit v1.2.3

