From 79720c1da9c840c5349ffd9be51d935bbc3c6ce8 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 1 Feb 2021 12:32:40 +0100 Subject: [PATCH] capability to store point as boundingpolygon --- .../layout/layout-custom-fields.xsl | 2 +- .../plugin/iso19115-3.2018/loc/eng/labels.xml | 2 +- .../iso19115-3.2018/update-fixed-info.xsl | 1 + .../src/main/plugin/iso19139/extract-gml.xsl | 4 +- .../iso19139/layout/layout-custom-fields.xsl | 4 +- .../main/plugin/iso19139/loc/eng/labels.xml | 2 +- .../main/plugin/iso19139/loc/nor/labels.xml | 2 +- .../main/plugin/iso19139/loc/tur/labels.xml | 2 +- .../plugin/iso19139/update-fixed-info.xsl | 4 +- .../edit/bounding/BoundingDirective.js | 122 +++++++++++------- .../bounding/partials/boundingpolygon.html | 69 +++++----- .../viewer/geometry/GeometryService.js | 28 ++-- 12 files changed, 140 insertions(+), 102 deletions(-) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/layout/layout-custom-fields.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/layout/layout-custom-fields.xsl index 72e1c5d69a1..f4aaeb38eb4 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/layout/layout-custom-fields.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/layout/layout-custom-fields.xsl @@ -276,7 +276,7 @@ - diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/loc/eng/labels.xml b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/loc/eng/labels.xml index e2f2c32871c..409136478a8 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/loc/eng/labels.xml +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/loc/eng/labels.xml @@ -1614,7 +1614,7 @@ - + Boundary enclosing the dataset, expressed as the closed set of (x,y) coordinates of the polygon (last point replicates first point) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/update-fixed-info.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/update-fixed-info.xsl index c5987937493..6db5cb3d8df 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/update-fixed-info.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/update-fixed-info.xsl @@ -285,6 +285,7 @@ diff --git a/schemas/iso19139/src/main/plugin/iso19139/extract-gml.xsl b/schemas/iso19139/src/main/plugin/iso19139/extract-gml.xsl index d6333ae782b..228e384315a 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/extract-gml.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/extract-gml.xsl @@ -52,8 +52,8 @@ --> + count(*) > 0 and ( + .//(gml:posList|gml320:posList) != '' or .//(gml:pos|gml320:pos) != '')]"> diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/layout-custom-fields.xsl b/schemas/iso19139/src/main/plugin/iso19139/layout/layout-custom-fields.xsl index 02d78c944bd..1c7e0230aa2 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/layout-custom-fields.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/layout-custom-fields.xsl @@ -285,8 +285,8 @@ - diff --git a/schemas/iso19139/src/main/plugin/iso19139/loc/eng/labels.xml b/schemas/iso19139/src/main/plugin/iso19139/loc/eng/labels.xml index 76ad1a63e89..e3105725df7 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/loc/eng/labels.xml +++ b/schemas/iso19139/src/main/plugin/iso19139/loc/eng/labels.xml @@ -258,7 +258,7 @@ - + Boundary enclosing the dataset, expressed as the closed set of (x,y) coordinates of the polygon (last point replicates first point) diff --git a/schemas/iso19139/src/main/plugin/iso19139/loc/nor/labels.xml b/schemas/iso19139/src/main/plugin/iso19139/loc/nor/labels.xml index 738f1e97248..4cf852ba87b 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/loc/nor/labels.xml +++ b/schemas/iso19139/src/main/plugin/iso19139/loc/nor/labels.xml @@ -263,7 +263,7 @@ - + Boundary enclosing the dataset, expressed as the closed set of (x,y) coordinates of the polygon (last point replicates first point) diff --git a/schemas/iso19139/src/main/plugin/iso19139/loc/tur/labels.xml b/schemas/iso19139/src/main/plugin/iso19139/loc/tur/labels.xml index fa5944a9cf0..a1d7ca8356e 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/loc/tur/labels.xml +++ b/schemas/iso19139/src/main/plugin/iso19139/loc/tur/labels.xml @@ -237,7 +237,7 @@ - + Boundary enclosing the dataset, expressed as the closed set of (x,y) coordinates of the polygon (last point replicates first point) diff --git a/schemas/iso19139/src/main/plugin/iso19139/update-fixed-info.xsl b/schemas/iso19139/src/main/plugin/iso19139/update-fixed-info.xsl index 81bc921c521..b58dc03dde6 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/update-fixed-info.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/update-fixed-info.xsl @@ -296,9 +296,11 @@ + gml320:LineString[not(@gml:id) or not(@srsName)]| + gml320:Point[not(@gml320:id) or not(@srsName)]">
- -
-
-
-
- - -
-
- + +
@@ -39,15 +38,15 @@
@@ -56,7 +55,7 @@
-
badGmlProjectionCode @@ -66,24 +65,24 @@
+ ng-class="{ 'has-success': ctrl.fromTextInput && !ctrl.parseError, 'has-error': ctrl.parseError }">