diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-03-06 14:11:31 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-03-06 14:11:31 +0100 |
| commit | 6512ef2427ed6b303ae1c03b91907020cb5366d8 (patch) | |
| tree | 2d6f318b8f1700ebcb35dbfd7791c038d7b2a212 /src/wkt1_grammar.y | |
| parent | 2dbca196a0c73972a0cc70856a42f01765868145 (diff) | |
| download | PROJ-6512ef2427ed6b303ae1c03b91907020cb5366d8.tar.gz PROJ-6512ef2427ed6b303ae1c03b91907020cb5366d8.zip | |
WKT import/export: add support for WKT1_ESRI VERTCS syntax
Diffstat (limited to 'src/wkt1_grammar.y')
| -rw-r--r-- | src/wkt1_grammar.y | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wkt1_grammar.y b/src/wkt1_grammar.y index 28ff7a6e..e17135c6 100644 --- a/src/wkt1_grammar.y +++ b/src/wkt1_grammar.y @@ -53,7 +53,11 @@ %token T_GEOCCS "GEOCCS" %token T_AUTHORITY "AUTHORITY" %token T_VERT_CS "VERT_CS" +// ESRI variation +%token T_VERTCS "VERTCS" %token T_VERT_DATUM "VERT_DATUM" +// ESRI variation +%token T_VDATUM "VDATUM" %token T_COMPD_CS "COMPD_CS" %token T_AXIS "AXIS" %token T_TOWGS84 "TOWGS84" @@ -213,6 +217,7 @@ authority: vert_cs: T_VERT_CS begin_node_name ',' vert_datum ',' linear_unit opt_axis_authority end_node + | T_VERTCS begin_node_name ',' vdatum ',' opt_parameter_list_linear_unit end_node opt_axis_authority: | ',' axis opt_authority @@ -221,6 +226,9 @@ opt_axis_authority: vert_datum: T_VERT_DATUM begin_node_name ',' datum_type opt_extension_authority end_node +vdatum: + T_VDATUM begin_node_name end_node + opt_extension_authority: | ',' extension opt_authority | ',' authority |
