From 490ccc3d7a1e16176a561483fcef010e2e918e15 Mon Sep 17 00:00:00 2001 From: heremaps-bot Date: Mon, 25 Jan 2021 10:56:33 +0000 Subject: [PATCH] HERE Data SDK for Java & Scala Release 2.23.0 --- README.md | 2 +- data-archive/java/avro-example/pom.xml | 14 +- .../data/archive/example/AvroHelper.java | 2 +- .../archive/example/AvroMultiKeysExample.java | 2 +- .../archive/example/AvroSimpleKeyExample.java | 2 +- .../archive/example/AvroExampleRunner.java | 2 +- .../example/AvroSimpleKeyExampleTest.java | 2 +- data-archive/java/parquet-example/pom.xml | 14 +- .../example/ParquetSimpleKeyExample.java | 2 +- .../SdiiMessageParquetWriterBuilder.java | 2 +- .../archive/example/ParquetExampleRunner.java | 2 +- .../example/ParquetSimpleKeyExampleTest.java | 2 +- data-archive/java/protobuf-example/pom.xml | 14 +- .../example/ProtobufSimpleKeyExample.java | 2 +- .../example/ProtobufExampleRunner.java | 2 +- .../example/ProtobufSimpleKeyExampleTest.java | 2 +- .../java/sensoris-parquet-example/pom.xml | 14 +- .../SensorisParquetSplittedUDFExample.java | 2 +- .../example/parquet/ParquetHelper.java | 2 +- .../SensorisMessageParquetWriterBuilder.java | 2 +- .../data/archive/example/ExampleReader.java | 2 +- ...SensorisParquetSplittedUDFExampleTest.java | 2 +- .../data/archive/example/TestFixtures.java | 2 +- .../archive/example/UDFExampleRunner.java | 2 +- .../java/sensoris-protobuf-example/pom.xml | 14 +- .../SensorisProtobufSplittedUDFExample.java | 2 +- .../data/archive/example/ExampleReader.java | 2 +- ...ensorisProtobufSplittedUDFExampleTest.java | 2 +- .../data/archive/example/TestFixtures.java | 2 +- .../archive/example/UDFExampleRunner.java | 2 +- data-processing/java/geometry-lifter/pom.xml | 14 +- .../java/geometry/lifter/Compiler.java | 2 +- .../java/geometry/lifter/CompilerConfig.java | 2 +- .../example/java/geometry/lifter/Defs.java | 2 +- .../geometry/lifter/IntermediateData.java | 2 +- .../example/java/geometry/lifter/Main.java | 2 +- .../java/heremapcontent-difftool/pom.xml | 14 +- .../java/difftool/processor/Compiler.java | 2 +- .../example/java/difftool/processor/Defs.java | 2 +- .../java/difftool/processor/GeometryDiff.java | 2 +- .../difftool/processor/IntermediateData.java | 2 +- .../example/java/difftool/processor/Main.java | 2 +- .../pom.xml | 14 +- .../java/pedestrian/geojson/Compiler.java | 2 +- .../pedestrian/geojson/CompilerConfig.java | 2 +- .../example/java/pedestrian/geojson/Defs.java | 2 +- .../example/java/pedestrian/geojson/Main.java | 2 +- .../compiler/pom.xml | 26 ++- .../java/pedestrian/protobuf/Compiler.java | 2 +- .../pedestrian/protobuf/CompilerConfig.java | 2 +- .../java/pedestrian/protobuf/Defs.java | 2 +- .../java/pedestrian/protobuf/Main.java | 2 +- .../model/ds/pom.xml | 22 ++- .../model/java/pom.xml | 22 ++- .../model/pom.xml | 25 ++- .../model/proto/pom.xml | 22 ++- .../pedestrian/protobuf/model/v2/model.proto | 2 +- .../model/scala/pom.xml | 24 ++- .../pom.xml | 14 +- .../pom.xml | 14 +- .../example/java/feedback/Compiler.java | 2 +- .../example/java/feedback/Defs.java | 2 +- .../java/feedback/IntermediateData.java | 2 +- .../example/java/feedback/Main.java | 2 +- .../feedback/NodeCardinalityRunCounter.java | 2 +- data-processing/scala/geometry-lifter/pom.xml | 14 +- .../scala/geometry/lifter/Compiler.scala | 2 +- .../geometry/lifter/CompilerConfig.scala | 2 +- .../example/scala/geometry/lifter/Defs.scala | 2 +- .../example/scala/geometry/lifter/Main.scala | 2 +- .../scala/heremapcontent-difftool/pom.xml | 14 +- .../scala/difftool/processor/Compiler.scala | 2 +- .../difftool/processor/IntermediateData.scala | 2 +- .../processor/LayersDefinitions.scala | 2 +- .../scala/difftool/processor/Main.scala | 2 +- .../scala/heremapcontent-validation/README.md | 63 +++---- .../scala/heremapcontent-validation/pom.xml | 20 ++- .../example/scala/validation/Main.scala | 2 +- .../validation/TopologyGeometrySuite.scala | 2 +- .../config/here-china/local-application.conf | 29 +-- .../config/here/local-application.conf | 31 ++-- .../pom.xml | 14 +- .../scala/pedestrian/deltasets/Compiler.scala | 31 +--- .../pedestrian/deltasets/CompilerConfig.scala | 7 +- .../scala/pedestrian/deltasets/Defs.scala | 2 +- .../scala/pedestrian/deltasets/Main.scala | 14 +- .../pom.xml | 14 +- .../scala/pedestrian/geojson/Compiler.scala | 2 +- .../pedestrian/geojson/CompilerConfig.scala | 2 +- .../scala/pedestrian/geojson/Defs.scala | 2 +- .../scala/pedestrian/geojson/Main.scala | 2 +- .../compiler/pom.xml | 26 ++- .../scala/pedestrian/protobuf/Compiler.scala | 2 +- .../pedestrian/protobuf/CompilerConfig.scala | 2 +- .../scala/pedestrian/protobuf/Defs.scala | 2 +- .../scala/pedestrian/protobuf/Main.scala | 2 +- .../model/ds/pom.xml | 22 ++- .../model/java/pom.xml | 22 ++- .../model/pom.xml | 27 ++- .../model/proto/pom.xml | 22 ++- .../pedestrian/protobuf/model/v2/model.proto | 2 +- .../model/scala/pom.xml | 24 ++- .../pom.xml | 14 +- .../pom.xml | 14 +- .../example/scala/feedback/Compiler.scala | 2 +- .../scala/feedback/LayerCatalogDefs.scala | 2 +- .../example/scala/feedback/Main.scala | 2 +- .../feedback/NodeCardinalityRunCounter.scala | 2 +- .../java/quick-start/assessment/pom.xml | 21 ++- .../assessment/java/AssessmentConfig.java | 2 +- .../quickstart/assessment/java/Assessor.java | 2 +- .../quickstart/assessment/java/Criteria.java | 2 +- .../assessment/java/CriteriaFamily.java | 2 +- .../quickstart/assessment/java/Data.java | 2 +- .../assessment/java/FeatureLoader.java | 2 +- .../quickstart/assessment/java/Main.java | 2 +- .../java/quick-start/comparison/pom.xml | 21 ++- .../quickstart/comparison/java/LayerDefs.java | 2 +- .../quickstart/comparison/java/Main.java | 2 +- .../java/QuickstartComparisonByLayers.java | 2 +- .../java/QuickstartComparisonByPartition.java | 2 +- .../java/quick-start/metrics/pom.xml | 21 ++- .../quickstart/metrics/java/Analyzer.java | 2 +- .../quickstart/metrics/java/Calculator.java | 2 +- .../example/quickstart/metrics/java/Data.java | 2 +- .../metrics/java/FeatureLoader.java | 2 +- .../example/quickstart/metrics/java/Main.java | 2 +- .../quickstart/metrics/java/MetricFamily.java | 2 +- .../metrics/java/MetricsConfig.java | 2 +- data-validation/java/quick-start/pom.xml | 11 +- .../java/quick-start/testing/pom.xml | 21 ++- .../testing/java/FeatureLoader.java | 2 +- .../example/quickstart/testing/java/Main.java | 2 +- .../quickstart/testing/java/TestCase.java | 2 +- .../quickstart/testing/java/TestFamily.java | 2 +- .../testing/java/TestingConfig.java | 2 +- .../quickstart/testing/java/Validator.java | 2 +- .../scala/quick-start/assessment/pom.xml | 21 ++- .../assessment/scala/AssessmentConfig.scala | 2 +- .../assessment/scala/Assessor.scala | 2 +- .../assessment/scala/Criteria.scala | 2 +- .../assessment/scala/CriteriaFamily.scala | 2 +- .../quickstart/assessment/scala/Data.scala | 2 +- .../assessment/scala/FeatureLoader.scala | 2 +- .../assessment/scala/LayerDefs.scala | 2 +- .../quickstart/assessment/scala/Main.scala | 2 +- .../example/quickstart/common/LayerDefs.scala | 2 +- .../scala/quick-start/comparison/pom.xml | 21 ++- .../comparison/scala/LayerDefs.scala | 2 +- .../quickstart/comparison/scala/Main.scala | 2 +- .../scala/QuickstartComparison.scala | 2 +- .../scala/quick-start/metrics/pom.xml | 21 ++- .../example/quickstart/common/LayerDefs.scala | 2 +- .../quickstart/metrics/scala/Analyzer.scala | 2 +- .../quickstart/metrics/scala/Calculator.scala | 2 +- .../quickstart/metrics/scala/Data.scala | 2 +- .../metrics/scala/FeatureLoader.scala | 2 +- .../quickstart/metrics/scala/Main.scala | 2 +- .../metrics/scala/MetricFamily.scala | 2 +- .../metrics/scala/MetricsConfig.scala | 2 +- data-validation/scala/quick-start/pom.xml | 11 +- .../scala/quick-start/testing/pom.xml | 21 ++- .../example/quickstart/common/LayerDefs.scala | 2 +- .../testing/scala/FeatureLoader.scala | 2 +- .../quickstart/testing/scala/LayerDefs.scala | 2 +- .../quickstart/testing/scala/Main.scala | 2 +- .../quickstart/testing/scala/TestCase.scala | 2 +- .../quickstart/testing/scala/TestFamily.scala | 2 +- .../testing/scala/TestingConfig.scala | 2 +- .../quickstart/testing/scala/Validator.scala | 2 +- .../java/parquet-example/pom.xml | 14 +- .../batch/ParquetCompactionExample.java | 2 +- .../util/SdiiMessageParquetWriterBuilder.java | 2 +- .../batch/ParquetCompactionExampleTest.java | 2 +- .../ParquetCompactionExampleRunner.java | 2 +- .../java/protobuf-example/pom.xml | 14 +- .../batch/ProtobufCompactionExample.java | 2 +- .../batch/ProtobufCompactionExampleTest.java | 2 +- .../ProtobufCompactionExampleRunner.java | 2 +- .../java/flink/stream-path-matcher/pom.xml | 14 +- .../location/java/flink/MatchedTrip.java | 2 +- .../java/flink/PathMatcherMapFunction.java | 2 +- .../PositionEstimateGeoCoordinateAdapter.java | 2 +- .../java/flink/SdiiMessageMapFunction.java | 2 +- .../java/flink/StreamPathMatcherExample.java | 5 +- ...ePartitioner.java => TilePartitioner.java} | 6 +- .../example/location/java/flink/Utils.java | 2 +- location/java/standalone/README.md | 19 ++ location/java/standalone/pom.xml | 26 ++- .../AdasCurvatureAttributeExample.java | 168 ++++++++++++++++++ .../ConvertTpeg2ContainerExample.java | 2 +- .../ExtractSpecificTpeg2MessagesExample.java | 2 +- .../standalone/FunctionalClassExample.java | 4 +- .../java/standalone/GraphExample.java | 9 +- ...ntentToOptimizedMapTranslationExample.java | 9 +- .../standalone/MostProbablePathExample.java | 9 +- ...CreateReferenceFromHmcSegmentsExample.java | 2 +- ...rResolveReferenceToHmcSegmentsExample.java | 11 +- .../OnTheFlyCompiledPropertyMapExample.java | 13 +- .../java/standalone/PathMatcherExample.java | 9 +- .../java/standalone/PointMatcherExample.java | 9 +- .../standalone/SparsePathMatcherExample.java | 9 +- .../TmcCreateAndResolveExample.java | 4 +- ...ResolveReferencesInRttiMessageExample.java | 4 +- .../standalone/TurnRestrictionsExample.java | 9 +- location/pom.xml | 12 +- .../infer-stop-signs-from-sensors/README.md | 1 - .../infer-stop-signs-from-sensors/pom.xml | 14 +- .../InferStopSignsFromSensorsExample.scala | 2 +- location/scala/standalone/README.md | 21 +++ location/scala/standalone/pom.xml | 24 +-- .../AdasCurvatureAttributeExample.scala | 134 ++++++++++++++ .../ConvertTpeg2ContainerExample.scala | 2 +- .../ExtractSpecificTpeg2MessagesExample.scala | 2 +- .../standalone/FunctionalClassExample.scala | 9 +- .../scala/standalone/GraphExample.scala | 9 +- ...tentToOptimizedMapTranslationExample.scala | 9 +- .../standalone/MostProbablePathExample.scala | 25 ++- ...reateReferenceFromHmcSegmentsExample.scala | 11 +- ...ResolveReferenceToHmcSegmentsExample.scala | 11 +- .../OnTheFlyCompiledPropertyMapExample.scala | 12 +- .../scala/standalone/PathMatcherExample.scala | 9 +- ...atcherWithCustomNetworkFilterExample.scala | 9 +- .../standalone/PointMatcherExample.scala | 9 +- .../standalone/SparsePathMatcherExample.scala | 9 +- .../TmcCreateAndResolveExample.scala | 9 +- ...esolveReferencesInRttiMessageExample.scala | 10 +- .../standalone/TurnRestrictionsExample.scala | 9 +- location/utils/pom.xml | 14 +- .../location/utils/FileNameHelper.scala | 2 +- 230 files changed, 1357 insertions(+), 559 deletions(-) rename location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/{RoundRobinTilePartitioner.java => TilePartitioner.java} (87%) create mode 100644 location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/AdasCurvatureAttributeExample.java create mode 100644 location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/AdasCurvatureAttributeExample.scala diff --git a/README.md b/README.md index 1df253fea..8f17b369b 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,6 @@ The following examples demonstrate how to use the Location Library. Sources can ## License -Copyright (C) 2017-2020 HERE Europe B.V. +Copyright (C) 2017-2021 HERE Europe B.V. Unless otherwise noted in `LICENSE` files, source code files for specific files or directories, the [LICENSE](LICENSE) in the root applies to all content in this repository. diff --git a/data-archive/java/avro-example/pom.xml b/data-archive/java/avro-example/pom.xml index f0a2e85ab..b9fa0e68d 100644 --- a/data-archive/java/avro-example/pom.xml +++ b/data-archive/java/avro-example/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.archive data-archive-avro-example - 0.0.597 + 0.0.610 jar @@ -18,12 +19,19 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 1.8 - 2.22.8 + 2.23.6 2.11 1.10.0 @@ -216,4 +224,4 @@ - \ No newline at end of file + diff --git a/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroHelper.java b/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroHelper.java index 139d91bf3..2c54650c3 100644 --- a/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroHelper.java +++ b/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroMultiKeysExample.java b/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroMultiKeysExample.java index 096366e47..5e54a34a1 100644 --- a/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroMultiKeysExample.java +++ b/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroMultiKeysExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroSimpleKeyExample.java b/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroSimpleKeyExample.java index 456209aa9..6468e8741 100644 --- a/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroSimpleKeyExample.java +++ b/data-archive/java/avro-example/src/main/java/com/here/platform/data/archive/example/AvroSimpleKeyExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroExampleRunner.java b/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroExampleRunner.java index d5257bc1c..d4c87a197 100644 --- a/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroExampleRunner.java +++ b/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroExampleRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroSimpleKeyExampleTest.java b/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroSimpleKeyExampleTest.java index a4302f356..a96228f32 100644 --- a/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroSimpleKeyExampleTest.java +++ b/data-archive/java/avro-example/src/test/java/com/here/platform/data/archive/example/AvroSimpleKeyExampleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/parquet-example/pom.xml b/data-archive/java/parquet-example/pom.xml index 8bfe60d9d..55065df98 100644 --- a/data-archive/java/parquet-example/pom.xml +++ b/data-archive/java/parquet-example/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.archive data-archive-parquet-example - 0.0.597 + 0.0.610 jar @@ -18,12 +19,19 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 1.8 - 2.22.8 + 2.23.6 2.11 2.7.3 @@ -195,4 +203,4 @@ - \ No newline at end of file + diff --git a/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/ParquetSimpleKeyExample.java b/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/ParquetSimpleKeyExample.java index b28272955..6227a81e5 100644 --- a/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/ParquetSimpleKeyExample.java +++ b/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/ParquetSimpleKeyExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/SdiiMessageParquetWriterBuilder.java b/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/SdiiMessageParquetWriterBuilder.java index a95089b14..ffdaff4a8 100644 --- a/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/SdiiMessageParquetWriterBuilder.java +++ b/data-archive/java/parquet-example/src/main/java/com/here/platform/data/archive/example/SdiiMessageParquetWriterBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetExampleRunner.java b/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetExampleRunner.java index e1a6764c2..018f27f86 100644 --- a/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetExampleRunner.java +++ b/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetExampleRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetSimpleKeyExampleTest.java b/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetSimpleKeyExampleTest.java index a78f654d0..717f9dfd7 100644 --- a/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetSimpleKeyExampleTest.java +++ b/data-archive/java/parquet-example/src/test/java/com/here/platform/data/archive/example/ParquetSimpleKeyExampleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/protobuf-example/pom.xml b/data-archive/java/protobuf-example/pom.xml index 25abc5da0..1d4d90f77 100644 --- a/data-archive/java/protobuf-example/pom.xml +++ b/data-archive/java/protobuf-example/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.archive data-archive-protobuf-example - 0.0.597 + 0.0.610 jar @@ -18,12 +19,19 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 1.8 - 2.22.8 + 2.23.6 2.11 1.2 @@ -176,4 +184,4 @@ - \ No newline at end of file + diff --git a/data-archive/java/protobuf-example/src/main/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExample.java b/data-archive/java/protobuf-example/src/main/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExample.java index 969d8e9f0..6318ce1bc 100644 --- a/data-archive/java/protobuf-example/src/main/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExample.java +++ b/data-archive/java/protobuf-example/src/main/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufExampleRunner.java b/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufExampleRunner.java index 54f650636..1ed392f1d 100644 --- a/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufExampleRunner.java +++ b/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufExampleRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExampleTest.java b/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExampleTest.java index 67df26728..60e0b70d6 100644 --- a/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExampleTest.java +++ b/data-archive/java/protobuf-example/src/test/java/com/here/platform/data/archive/example/ProtobufSimpleKeyExampleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-parquet-example/pom.xml b/data-archive/java/sensoris-parquet-example/pom.xml index abb916611..15ccc7220 100644 --- a/data-archive/java/sensoris-parquet-example/pom.xml +++ b/data-archive/java/sensoris-parquet-example/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.examples data-archive-sensoris-parquet-example - 0.0.597 + 0.0.610 jar @@ -18,12 +19,19 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 1.8 1.6.0 - 2.22.8 + 2.23.6 2.11 2.7.3 1.11.1 @@ -211,4 +219,4 @@ - \ No newline at end of file + diff --git a/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExample.java b/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExample.java index 5c851997e..5e06bf6cb 100644 --- a/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExample.java +++ b/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/ParquetHelper.java b/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/ParquetHelper.java index 09809b137..90c641d2a 100644 --- a/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/ParquetHelper.java +++ b/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/ParquetHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/SensorisMessageParquetWriterBuilder.java b/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/SensorisMessageParquetWriterBuilder.java index 08fda2dc7..9007fcc94 100644 --- a/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/SensorisMessageParquetWriterBuilder.java +++ b/data-archive/java/sensoris-parquet-example/src/main/java/com/here/platform/data/archive/example/parquet/SensorisMessageParquetWriterBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java index a1e42dea0..8e5827c92 100644 --- a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java +++ b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExampleTest.java b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExampleTest.java index 55a7a4776..dbcad1a3e 100644 --- a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExampleTest.java +++ b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/SensorisParquetSplittedUDFExampleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java index c817f5f04..c6845d5df 100644 --- a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java +++ b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java index c9395868c..48d9fd6a6 100644 --- a/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java +++ b/data-archive/java/sensoris-parquet-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-protobuf-example/pom.xml b/data-archive/java/sensoris-protobuf-example/pom.xml index ff3f1af43..245a7b7f4 100644 --- a/data-archive/java/sensoris-protobuf-example/pom.xml +++ b/data-archive/java/sensoris-protobuf-example/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.examples data-archive-sensoris-protobuf-example - 0.0.597 + 0.0.610 jar @@ -20,12 +21,19 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 1.8 1.6.0 - 2.22.8 + 2.23.6 2.11 1.2 @@ -190,4 +198,4 @@ - \ No newline at end of file + diff --git a/data-archive/java/sensoris-protobuf-example/src/main/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExample.java b/data-archive/java/sensoris-protobuf-example/src/main/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExample.java index 8273119b3..d8e0a5dd4 100644 --- a/data-archive/java/sensoris-protobuf-example/src/main/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExample.java +++ b/data-archive/java/sensoris-protobuf-example/src/main/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java index 774ed6d38..1b8c5a038 100644 --- a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java +++ b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/ExampleReader.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExampleTest.java b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExampleTest.java index 029615621..734ee34c7 100644 --- a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExampleTest.java +++ b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/SensorisProtobufSplittedUDFExampleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java index bc460f001..784290243 100644 --- a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java +++ b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/TestFixtures.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java index c9395868c..48d9fd6a6 100644 --- a/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java +++ b/data-archive/java/sensoris-protobuf-example/src/test/java/com/here/platform/data/archive/example/UDFExampleRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/geometry-lifter/pom.xml b/data-processing/java/geometry-lifter/pom.xml index d76547cde..723cf79ae 100644 --- a/data-processing/java/geometry-lifter/pom.xml +++ b/data-processing/java/geometry-lifter/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.java.geometry.lifter geometry-lifter - 0.0.597 + 0.0.610 jar Batch Processor compiler for Geometry Lifter in Java @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -173,4 +181,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Compiler.java b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Compiler.java index 5187c508e..1b3208bbf 100644 --- a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Compiler.java +++ b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Compiler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/CompilerConfig.java b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/CompilerConfig.java index 7d31f8958..61fce7186 100644 --- a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/CompilerConfig.java +++ b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/CompilerConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Defs.java b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Defs.java index a36de3c02..dd6d358d3 100644 --- a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Defs.java +++ b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Defs.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/IntermediateData.java b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/IntermediateData.java index 45a3fa6b6..63382b4f7 100644 --- a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/IntermediateData.java +++ b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/IntermediateData.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Main.java b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Main.java index 3deed02d3..f3d5f469f 100644 --- a/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Main.java +++ b/data-processing/java/geometry-lifter/src/main/java/com/here/platform/data/processing/example/java/geometry/lifter/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/heremapcontent-difftool/pom.xml b/data-processing/java/heremapcontent-difftool/pom.xml index cbdc2e4e0..ca501ec4c 100644 --- a/data-processing/java/heremapcontent-difftool/pom.xml +++ b/data-processing/java/heremapcontent-difftool/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.java heremapcontent-difftool - 0.0.597 + 0.0.610 jar HERE Map Content Differences example for Java @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -171,4 +179,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Compiler.java b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Compiler.java index 299ee2dfa..a691fc12d 100644 --- a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Compiler.java +++ b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Compiler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Defs.java b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Defs.java index 406778ed2..090614b7b 100644 --- a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Defs.java +++ b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Defs.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/GeometryDiff.java b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/GeometryDiff.java index 3a4e8f9b0..4e8932a87 100644 --- a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/GeometryDiff.java +++ b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/GeometryDiff.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/IntermediateData.java b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/IntermediateData.java index fb0521a1f..4ce067c0f 100644 --- a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/IntermediateData.java +++ b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/IntermediateData.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Main.java b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Main.java index 6d4c7c8ff..2e82e1ef3 100644 --- a/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Main.java +++ b/data-processing/java/heremapcontent-difftool/src/main/java/com/here/platform/data/processing/example/java/difftool/processor/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-geojson/pom.xml b/data-processing/java/pedestrian-topologies-extraction-geojson/pom.xml index 060911236..994a357e2 100644 --- a/data-processing/java/pedestrian-topologies-extraction-geojson/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-geojson/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.schema.data.processing.example.java pedestrian-topologies-extraction-geojson - 0.0.597 + 0.0.610 jar Batch Processor compiler for GeoJson in Java @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -189,4 +197,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Compiler.java b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Compiler.java index d3d362723..523cab51f 100644 --- a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Compiler.java +++ b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Compiler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/CompilerConfig.java b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/CompilerConfig.java index d944b3815..35a884ab3 100644 --- a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/CompilerConfig.java +++ b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/CompilerConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Defs.java b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Defs.java index 7d0485959..76df478b7 100644 --- a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Defs.java +++ b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Defs.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Main.java b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Main.java index 8d7c06ee0..d8fad1b97 100644 --- a/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Main.java +++ b/data-processing/java/pedestrian-topologies-extraction-geojson/src/main/java/com/here/platform/data/processing/example/java/pedestrian/geojson/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/pom.xml b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/pom.xml index 568388973..6396af688 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/pom.xml @@ -1,18 +1,36 @@ + 4.0.0 com.here.platform.data.processing.example.java pedestrian-topologies-extraction-protobuf - 0.0.597 + 0.0.610 com.here.platform.data.processing.example.java.pedestrian.protobuf compiler - 0.0.597 + 0.0.610 jar Batch Processor compiler for Protobuf in Java + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + 1.8 @@ -45,7 +63,7 @@ com.here.platform.schema.data.processing.example.java.pedestrian.protobuf model_v2_java - 0.0.597 + 0.0.610 @@ -164,4 +182,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Compiler.java b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Compiler.java index 5d537f10a..bb955bb40 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Compiler.java +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Compiler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/CompilerConfig.java b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/CompilerConfig.java index aec9c6f78..6f94deb11 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/CompilerConfig.java +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/CompilerConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Defs.java b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Defs.java index 06c658401..6a2256f2e 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Defs.java +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Defs.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Main.java b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Main.java index eba9b4aac..387e353be 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Main.java +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/compiler/src/main/java/com/here/platform/data/processing/example/java/pedestrian/protobuf/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml index 0d8db30a9..e262d5e80 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.java.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_ds @@ -12,6 +13,23 @@ DataStore Protobundle Protocol buffers schema definitions, descriptor file, and proto manifest. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -113,4 +131,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/java/pom.xml b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/java/pom.xml index c5f8ab0cf..4ad3232d5 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/java/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/java/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.java.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_java @@ -12,6 +13,23 @@ Java Bindings Java bindings for protocol buffers. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -106,4 +124,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/pom.xml b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/pom.xml index 2f1ff72ef..a527c7031 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/pom.xml @@ -1,21 +1,31 @@ + 4.0.0 com.here.platform.data.processing.example.java pedestrian-topologies-extraction-protobuf - 0.0.597 + 0.0.610 com.here.platform.schema.data.processing.example.java.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 pom Pedestrian Topologies Extraction Example Java Schema project for Pedestrian Topologies Extraction Protobuf example in Java 2019 - + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + @@ -26,7 +36,12 @@ ds - + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + HERE_PLATFORM_ARTIFACT @@ -173,4 +188,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml index 565b31606..f32868e24 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.java.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_proto @@ -12,6 +13,23 @@ Protobundle Protocol buffers schema definitions. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -124,4 +142,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/java/pedestrian/protobuf/model/v2/model.proto b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/java/pedestrian/protobuf/model/v2/model.proto index 153257e14..a3021c4fe 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/java/pedestrian/protobuf/model/v2/model.proto +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/java/pedestrian/protobuf/model/v2/model.proto @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml index 91e766277..17f82808c 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.java.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_scala_2.11 @@ -12,6 +13,23 @@ Scala Bindings Scala bindings for protocol buffers. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -26,7 +44,7 @@ scalapb-runtime_2.11 0.7.3 - + ${project.groupId} @@ -136,4 +154,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/pedestrian-topologies-extraction-protobuf/pom.xml b/data-processing/java/pedestrian-topologies-extraction-protobuf/pom.xml index 4f671ddc9..f358d3295 100644 --- a/data-processing/java/pedestrian-topologies-extraction-protobuf/pom.xml +++ b/data-processing/java/pedestrian-topologies-extraction-protobuf/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.java pedestrian-topologies-extraction-protobuf - 0.0.597 + 0.0.610 pom Pedestrian topologies extraction compiler example to ProtoBuf in Java @@ -23,8 +24,15 @@ model + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + - 2.22.8 + 2.23.6 @@ -38,4 +46,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/stateful-nodecardinality-extraction/pom.xml b/data-processing/java/stateful-nodecardinality-extraction/pom.xml index 644bb9bd8..a4a3528e9 100644 --- a/data-processing/java/stateful-nodecardinality-extraction/pom.xml +++ b/data-processing/java/stateful-nodecardinality-extraction/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.java stateful-nodecardinality-extraction - 0.0.597 + 0.0.610 jar @@ -20,11 +21,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -173,4 +181,4 @@ - \ No newline at end of file + diff --git a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Compiler.java b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Compiler.java index 981273645..3758bd7d8 100644 --- a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Compiler.java +++ b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Compiler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Defs.java b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Defs.java index ea445aa62..240266cfd 100644 --- a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Defs.java +++ b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Defs.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/IntermediateData.java b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/IntermediateData.java index f68cea3c2..ce732e4d1 100644 --- a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/IntermediateData.java +++ b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/IntermediateData.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Main.java b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Main.java index 5f0099996..bfea6833a 100644 --- a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Main.java +++ b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/NodeCardinalityRunCounter.java b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/NodeCardinalityRunCounter.java index 6bbca908d..bab677970 100644 --- a/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/NodeCardinalityRunCounter.java +++ b/data-processing/java/stateful-nodecardinality-extraction/src/main/java/com/here/platform/data/processing/example/java/feedback/NodeCardinalityRunCounter.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/geometry-lifter/pom.xml b/data-processing/scala/geometry-lifter/pom.xml index 3d69dab0d..e194b76bf 100644 --- a/data-processing/scala/geometry-lifter/pom.xml +++ b/data-processing/scala/geometry-lifter/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.scala.geometry.lifter geometry-lifter - 0.0.597 + 0.0.610 jar Batch Processor compiler for Geometry Lifter in Scala @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -192,4 +200,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Compiler.scala b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Compiler.scala index bda7d8430..36b8a57ef 100644 --- a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Compiler.scala +++ b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Compiler.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/CompilerConfig.scala b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/CompilerConfig.scala index 9e646bb09..0b3607dd2 100644 --- a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/CompilerConfig.scala +++ b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/CompilerConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Defs.scala b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Defs.scala index 262c6fd59..a051b0eb4 100644 --- a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Defs.scala +++ b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Defs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Main.scala b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Main.scala index cf2c888c1..aebf74074 100644 --- a/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Main.scala +++ b/data-processing/scala/geometry-lifter/src/main/scala/com/here/platform/data/processing/example/scala/geometry/lifter/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/heremapcontent-difftool/pom.xml b/data-processing/scala/heremapcontent-difftool/pom.xml index e965db5b6..61e4dd3ef 100644 --- a/data-processing/scala/heremapcontent-difftool/pom.xml +++ b/data-processing/scala/heremapcontent-difftool/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.scala heremapcontent-difftool - 0.0.597 + 0.0.610 jar HERE Map Content Differences example for Scala @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -185,4 +193,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Compiler.scala b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Compiler.scala index 6fccdb9ee..0cef78161 100644 --- a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Compiler.scala +++ b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Compiler.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/IntermediateData.scala b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/IntermediateData.scala index 6b7304f44..a61a0312d 100644 --- a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/IntermediateData.scala +++ b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/IntermediateData.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/LayersDefinitions.scala b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/LayersDefinitions.scala index 5f1b568c8..9533778bc 100644 --- a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/LayersDefinitions.scala +++ b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/LayersDefinitions.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Main.scala b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Main.scala index 487b0bd0b..7e59db642 100644 --- a/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Main.scala +++ b/data-processing/scala/heremapcontent-difftool/src/main/scala/com/here/platform/data/processing/example/scala/difftool/processor/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/heremapcontent-validation/README.md b/data-processing/scala/heremapcontent-validation/README.md index f69965618..46db3eec5 100644 --- a/data-processing/scala/heremapcontent-validation/README.md +++ b/data-processing/scala/heremapcontent-validation/README.md @@ -69,41 +69,36 @@ invitation letter to learn your organization ID. #### Create the Local Validation Report Catalog -To run this compiler locally it is recommended to use a local output catalog, by following the steps -below. If you want to know more about local catalogs, see -[the SDK tutorial about local development and testing](https://developer.here.com/documentation/java-scala-dev/dev_guide/local-development-workflow/index.html) -and [the OLP CLI documentation](https://developer.here.com/documentation/open-location-platform-cli/user_guide/topics/local-data-workflows.html). +To run this compiler locally it is recommended to use an output catalog, by following the steps below. -1. Use the [`olp local catalog create`](https://developer.here.com/documentation/open-location-platform-cli/user_guide/topics/local-data/catalog-commands.html#catalog-create) -command to create the local catalog. +1. Use the [`olp catalog create`](https://developer.here.com/documentation/open-location-platform-cli/user_guide/topics/data/catalog-commands.html#catalog-create) command to create the catalog. +Make sure to note down the HRN returned by the following command for later use: ```bash -olp local catalog create heremapcontent-validation "HERE Map Content - Topology and Geometry Validation" \ +olp catalog create $CATALOG_ID "HERE Map Content - Topology and Geometry Validation" \ --summary "Validation of HERE Map Content Topology and Geometry layer" \ --description "Validation of HERE Map Content Topology and Geometry layer" ``` -The local catalog will have the HRN `hrn:local:data:::heremapcontent-validation`. - -2. Use the [`olp local catalog layer add`](https://developer.here.com/documentation/open-location-platform-cli/user_guide/topics/local-data/layer-commands.html#catalog-layer-add) +2. Use the [`olp catalog layer add`](https://developer.here.com/documentation/open-location-platform-cli/user_guide/topics/data/layer-commands.html#catalog-layer-add) command to add four `versioned` layers to your catalog: ```bash -olp local catalog layer add hrn:local:data:::heremapcontent-validation report report --versioned \ +olp catalog layer add $CATALOG_HRN report report --versioned \ --summary "Test report" \ --description "Test report" --partitioning heretile:12 \ --schema hrn:$HRN_PARTITION:schema:::com.here.platform.data.processing.validation.schema:report_v2:1.0.0 \ --content-type application/json -olp local catalog layer add hrn:local:data:::heremapcontent-validation metrics metrics --versioned \ +olp catalog layer add $CATALOG_HRN metrics metrics --versioned \ --summary "Test metrics" \ --description "Test metrics" --partitioning heretile:12,10,8,6,4,2,0 \ --schema hrn:$HRN_PARTITION:schema:::com.here.platform.data.processing.validation.schema:metrics_v2:1.0.0 \ --content-type application/json -olp local catalog layer add hrn:local:data:::heremapcontent-validation assessment assessment --versioned \ +olp catalog layer add $CATALOG_HRN assessment assessment --versioned \ --summary "Test assessment" \ --description "Test assessment" --partitioning generic \ --content-type application/json -olp local catalog layer add hrn:local:data:::heremapcontent-validation state state --versioned \ +olp catalog layer add $CATALOG_HRN state state --versioned \ --summary "state" \ --description "state" --partitioning generic \ --content-type application/octet-stream @@ -131,6 +126,9 @@ partition of HERE Map Content. Make sure you update the layer coverage to reflec geographical region. In order to use this configuration file, you need to use the `-Dconfig.file` parameter. +Set the environment variable `$PATH_TO_CONFIG_FOLDER` to `./config/here`. +For the HERE platform China environment use the files in the `./config/here-china` directory. + Finally, run the following command line in the `heremapcontent-validation` directory to compile and run the validation pipeline. @@ -139,37 +137,30 @@ For the HERE platform environment: ```bash mvn compile exec:java \ -Dexec.mainClass=com.here.platform.data.processing.example.scala.validation.Main \ --Dpipeline-config.file=./config/here/local-pipeline-config.conf \ +-Dpipeline-config.file=$PATH_TO_CONFIG_FOLDER/pipeline-config.conf \ -Dpipeline-job.file=./config/here/pipeline-job.conf \ -Dconfig.file=./config/here/local-application.conf \ --Dexec.args="--master local[*]" +-Dspark.master=local[*] ``` -For the HERE platform China environment: +After one run in the HERE platform environment, you can inspect the catalog with the OLP CLI: -```bash -mvn compile exec:java \ --Dexec.mainClass=com.here.platform.data.processing.example.scala.validation.Main \ --Dpipeline-config.file=./config/here-china/local-pipeline-config.conf \ --Dpipeline-job.file=./config/here-china/pipeline-job.conf \ --Dconfig.file=./config/here-china/local-application.conf \ --Dexec.args="--master local[*]" -``` +`olp catalog inspect $CATALOG_HRN` -After one run, in the HERE platform environment you can inspect the local catalog with the OLP CLI: - -```bash -olp local catalog inspect hrn:local:data:::heremapcontent-validation -``` +> Note: +> In the HERE platform environment, you can inspect the local catalog with the OLP CLI: +> `olp local catalog inspect $CATALOG_HRN` +> +> The `local inspect` command is not available in the HERE platform China environment, +> but you can download partitions from the local catalog to manually inspect them. -The `local inspect` command is not available in the HERE platform China environment, but you can -download partitions from the local catalog to manually inspect them. The command below, for example, -downloads the aggregated metrics containing all statistics about the validation run. Metrics are -aggregated at different zoom levels, and the root partition (HERE Tile ID 1) contains the -aggregation of all metrics partitions: +For example, the command below downloads the aggregated metrics +containing all statistics about the validation run. +Metrics are aggregated at different zoom levels, and the root partition (HERE Tile ID 1) +contains the aggregation of all partitions' metrics: ```bash -olp local catalog layer partition get hrn:local:data:::heremapcontent-validation metrics --partitions 1 +olp catalog layer partition get $CATALOG_HRN metrics --partitions 1 ``` The `report` layer will be likely empty, because no test cases have failed. To force some failures diff --git a/data-processing/scala/heremapcontent-validation/pom.xml b/data-processing/scala/heremapcontent-validation/pom.xml index e9e480e05..efeea3cd9 100644 --- a/data-processing/scala/heremapcontent-validation/pom.xml +++ b/data-processing/scala/heremapcontent-validation/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.scala heremapcontent-validation - 0.0.597 + 0.0.610 jar HERE Map Content Validation example for Scala @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.1.0 3.3.1 @@ -147,10 +155,12 @@ true platform - + reference.conf - + @@ -184,4 +194,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/Main.scala b/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/Main.scala index 8ccf8db42..763542a2b 100644 --- a/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/Main.scala +++ b/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/TopologyGeometrySuite.scala b/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/TopologyGeometrySuite.scala index 3b12691d8..07f9b7707 100644 --- a/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/TopologyGeometrySuite.scala +++ b/data-processing/scala/heremapcontent-validation/src/main/scala/com/here/platform/data/processing/example/scala/validation/TopologyGeometrySuite.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here-china/local-application.conf b/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here-china/local-application.conf index 161a7c3fa..618f3098b 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here-china/local-application.conf +++ b/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here-china/local-application.conf @@ -1,16 +1,23 @@ include "application" -here.platform.data-processing.compiler { - partitionKeyFilter = { - className = "BoundingBoxFilter" - param = { - boundingBox { - // Beijing - north = 40.158941 - south = 39.7704 - east = 116.60867 - west = 116.170955 +here.platform.data-processing.deltasets { + // during local development we turn off incremental compilation to not worry about increasing + // applicationVersion at each code change + default.incremental = false + + // during local development we compile a subset of HERE Map Content + partitionKeyFilters = [ + { + className = "BoundingBoxFilter" + param = { + boundingBox { + // Beijing + north = 40.158941 + south = 39.7704 + east = 116.60867 + west = 116.170955 + } } } - } + ] } diff --git a/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here/local-application.conf b/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here/local-application.conf index 29e595b6c..5fc72fbac 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here/local-application.conf +++ b/data-processing/scala/pedestrian-topologies-extraction-deltasets/config/here/local-application.conf @@ -1,16 +1,23 @@ include "application" -here.platform.data-processing.compiler { - partitionKeyFilter = { - className = "BoundingBoxFilter" - param = { - boundingBox { - // Berlin - north = 52.67551 - south = 52.338261 - east = 13.76116 - west = 13.08835 +here.platform.data-processing.deltasets { + // during local development we turn off incremental compilation to not worry about increasing + // applicationVersion at each code change + default.incremental = false + + // during local development we compile a subset of HERE Map Content + partitionKeyFilters = [ + { + className = "BoundingBoxFilter" + param = { + boundingBox { + // Berlin + north = 52.67551 + south = 52.338261 + east = 13.76116 + west = 13.08835 + } } } - } -} + ] +} \ No newline at end of file diff --git a/data-processing/scala/pedestrian-topologies-extraction-deltasets/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-deltasets/pom.xml index 436550aee..7a2c75856 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-deltasets/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-deltasets/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.scala pedestrian-topologies-extraction-deltasets - 0.0.597 + 0.0.610 jar Pedestrian topologies extraction compiler example to GeoJson in scala with DeltaSets @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -210,4 +218,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Compiler.scala b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Compiler.scala index 3b3f78845..4872ae7be 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Compiler.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Compiler.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,16 +22,15 @@ package com.here.platform.data.processing.example.scala.pedestrian.deltasets import au.id.jazzy.play.geojson.{Feature, FeatureCollection, LineString, LngLat} import com.here.platform.data.processing.blobstore.{Payload, Retriever} import com.here.platform.data.processing.catalog.Partition._ -import com.here.platform.data.processing.compiler.{InKey, OutKey} +import com.here.platform.data.processing.compiler.OutKey import com.here.platform.data.processing.driver.Default -import com.here.platform.data.processing.driver.deltasets.{OneToOne, Resolver} -import com.here.platform.data.processing.example.scala.pedestrian.deltasets.Defs.In +import com.here.platform.data.processing.driver.deltasets.Resolver import com.here.platform.pipeline.logging.ContextLogging import com.here.schema.rib.v2._ -import com.here.schema.rib.v2.topology_geometry_partition.TopologyGeometryPartition -import com.here.schema.rib.v2.road_attributes_partition.RoadAttributesPartition import com.here.schema.rib.v2.anchor.SegmentAnchor +import com.here.schema.rib.v2.road_attributes_partition.RoadAttributesPartition import com.here.schema.rib.v2.topology_geometry.Segment +import com.here.schema.rib.v2.topology_geometry_partition.TopologyGeometryPartition import play.api.libs.json.{JsObject, JsString, Json} /** Encapsulates all code and data that may be distributed across the cluster. Everything in this @@ -42,26 +41,6 @@ import play.api.libs.json.{JsObject, JsString, Json} class Compiler(config: CompilerConfig, retriever: Retriever) extends Serializable with ContextLogging { - def renameTopologyKeyToOutKey: OneToOne[InKey, OutKey] = - OneToOne( - _.copy(catalog = Default.OutCatalogId, layer = Defs.Out.PedestrianSegments), - _.copy(catalog = Defs.In.RibCatalog, layer = Defs.In.TopologyGeometryLayer) - ) - - def renameRoadKeyToOutKey: OneToOne[InKey, OutKey] = - OneToOne( - _.copy(catalog = Default.OutCatalogId, layer = Defs.Out.PedestrianSegments), - _.copy(catalog = Defs.In.RibCatalog, layer = Defs.In.RoadAttributesLayer) - ) - - /** Get the topology partition key based from a reference. - * - * @param reference The reference object. - * @return The referenced topology partition key. - */ - def getTopologyKey(reference: common.Reference) = - InKey(In.RibCatalog, In.TopologyGeometryLayer, HereTile(reference.partitionName.toLong)) - /** Given a tile and the metadata for the corresponding topology and road tiles (if any), * the list of segment features that are accessible by pedestrians. * diff --git a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/CompilerConfig.scala b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/CompilerConfig.scala index 07e61ff98..e9edc7913 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/CompilerConfig.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/CompilerConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,11 +19,8 @@ package com.here.platform.data.processing.example.scala.pedestrian.deltasets -import com.here.platform.data.processing.driver.config.PartitionKeyFilterConfig - /** Compiler specific configuration. * * @param outputLevel The output layer zoom level. */ -case class CompilerConfig(outputLevel: Int, - partitionKeyFilter: Option[PartitionKeyFilterConfig] = None) +case class CompilerConfig(outputLevel: Int) diff --git a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Defs.scala b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Defs.scala index 0e5c100e4..eaabd8a11 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Defs.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Defs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Main.scala b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Main.scala index 974336f65..325b7b315 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Main.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-deltasets/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/deltasets/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,6 @@ package com.here.platform.data.processing.example.scala.pedestrian.deltasets -import com.here.platform.data.processing.catalog.Partition import com.here.platform.data.processing.driver._ import com.here.platform.data.processing.driver.config.CompleteConfig import com.here.platform.data.processing.driver.deltasets.ResolutionStrategy.BackwardResolution @@ -44,13 +43,6 @@ object Main extends PipelineRunner with DeltaSimpleSetup { // The following import enables transformations on DeltaSets. import context.transformations._ - // We may specify a partition key filter in the configuration to avoid processing the whole world. - val filter: Partition.Key => Boolean = config.partitionKeyFilter match { - case Some(filterConfig) => filterConfig.filter - case None => - _ => true - } - // Using a locality aware partitioner at level 12 will guarantee that all tiles at higher zoom level (13, 14 etc.) // are processed on the same worker node as the corresponding level 12 HERE Map content tiles. This way, we can // avoid shuffling. @@ -64,13 +56,11 @@ object Main extends PipelineRunner with DeltaSimpleSetup { val topologyGeometries = context .queryCatalogLayer(Defs.In.RibCatalog, Defs.In.TopologyGeometryLayer, partitioner) - .filterByKey(filter) // Process all road attributes partitions, while resolving references to topology-geometry partitions. val pedestrianFeatures = context .queryCatalogLayer(Defs.In.RibCatalog, Defs.In.RoadAttributesLayer, partitioner) - .filterByKey(filter) .mapValuesWithResolver( compiler.extractPedestrianFeatures, // We pair each topology partition with the road partition of the same tile. @@ -89,7 +79,7 @@ object Main extends PipelineRunner with DeltaSimpleSetup { }, // If we increase the zoom level of the tiles, our LocalityAwarePartitioner will guarantee that no data needs // to be shuffled. - if (config.outputLevel > 12) PreservesPartitioning() else partitioner + if (config.outputLevel > 12) PreservesPartitioning else partitioner ) // Convert the result to JSON and publish it. diff --git a/data-processing/scala/pedestrian-topologies-extraction-geojson/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-geojson/pom.xml index 54f9b435b..0463ff893 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-geojson/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-geojson/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.scala pedestrian-topologies-extraction-geojson - 0.0.597 + 0.0.610 jar Pedestrian topologies extraction compiler example to GeoJson in scala @@ -18,11 +19,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -210,4 +218,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Compiler.scala b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Compiler.scala index 8b3921c6c..44315d018 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Compiler.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Compiler.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/CompilerConfig.scala b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/CompilerConfig.scala index 6468be813..80e1f460a 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/CompilerConfig.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/CompilerConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Defs.scala b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Defs.scala index a104341e6..9a5afee83 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Defs.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Defs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Main.scala b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Main.scala index 0ea022804..22093cf8d 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Main.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-geojson/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/geojson/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/pom.xml index b9e9f9690..c7a82269e 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/pom.xml @@ -1,18 +1,36 @@ + 4.0.0 com.here.platform.data.processing.example.scala pedestrian-topologies-extraction-protobuf - 0.0.597 + 0.0.610 com.here.platform.data.processing.example.scala.pedestrian.protobuf compiler - 0.0.597 + 0.0.610 jar Pedestrian Topologies Extraction Protobuf Compiler in Scala + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + 1.8 @@ -45,7 +63,7 @@ com.here.platform.schema.data.processing.example.scala.pedestrian.protobuf model_v2_scala_2.11 - 0.0.597 + 0.0.610 @@ -177,4 +195,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Compiler.scala b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Compiler.scala index 6e4028730..9fc68805c 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Compiler.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Compiler.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/CompilerConfig.scala b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/CompilerConfig.scala index d1f5f1947..3ca937520 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/CompilerConfig.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/CompilerConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Defs.scala b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Defs.scala index ab1b70418..725ea8738 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Defs.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Defs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Main.scala b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Main.scala index 01ca00c8c..cdb212c13 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Main.scala +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/compiler/src/main/scala/com/here/platform/data/processing/example/scala/pedestrian/protobuf/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml index c4346dfc4..8bdbcd26a 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/ds/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.scala.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_ds @@ -12,6 +13,23 @@ DataStore Protobundle Protocol buffers schema definitions, descriptor file, and proto manifest. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -113,4 +131,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/java/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/java/pom.xml index 4713c88f2..2dab174ea 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/java/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/java/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.scala.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_java @@ -12,6 +13,23 @@ Java Bindings Java bindings for protocol buffers. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -106,4 +124,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/pom.xml index 9babcca47..8da1b6b90 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/pom.xml @@ -1,21 +1,31 @@ + 4.0.0 com.here.platform.data.processing.example.scala pedestrian-topologies-extraction-protobuf - 0.0.597 + 0.0.610 com.here.platform.schema.data.processing.example.scala.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 pom Pedestrian Topologies Extraction Example Scala Schema project for Pedestrian Topologies Extraction Protobuf example in Scala 2019 - + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + @@ -26,7 +36,12 @@ ds - + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + HERE_PLATFORM_ARTIFACT @@ -46,7 +61,7 @@ 2.11 3.3.1 1.0.2 - 1.6.0 + 1.6.0 @@ -173,4 +188,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml index b817673cc..f65825f81 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.scala.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_proto @@ -12,6 +13,23 @@ Protobundle Protocol buffers schema definitions. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -124,4 +142,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/scala/pedestrian/protobuf/model/v2/model.proto b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/scala/pedestrian/protobuf/model/v2/model.proto index e6d58fc5c..5e6277c8c 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/scala/pedestrian/protobuf/model/v2/model.proto +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/proto/src/main/proto/com/here/platform/schema/data/processing/example/scala/pedestrian/protobuf/model/v2/model.proto @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml index 18c054de9..2e6d9e0ce 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/model/scala/pom.xml @@ -1,10 +1,11 @@ + 4.0.0 com.here.platform.schema.data.processing.example.scala.pedestrian.protobuf model_v2 - 0.0.597 + 0.0.610 model_v2_scala_2.11 @@ -12,6 +13,23 @@ Scala Bindings Scala bindings for protocol buffers. + + HERE Europe B.V. + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + @@ -26,7 +44,7 @@ scalapb-runtime_2.11 0.7.3 - + ${project.groupId} @@ -136,4 +154,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/pedestrian-topologies-extraction-protobuf/pom.xml b/data-processing/scala/pedestrian-topologies-extraction-protobuf/pom.xml index 46f57e44f..be3b11bb2 100644 --- a/data-processing/scala/pedestrian-topologies-extraction-protobuf/pom.xml +++ b/data-processing/scala/pedestrian-topologies-extraction-protobuf/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.scala pedestrian-topologies-extraction-protobuf - 0.0.597 + 0.0.610 pom Pedestrian topologies extraction compiler example to ProtoBuf in Scala @@ -24,8 +25,15 @@ model + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + - 2.22.8 + 2.23.6 @@ -39,4 +47,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/stateful-nodecardinality-extraction/pom.xml b/data-processing/scala/stateful-nodecardinality-extraction/pom.xml index 41e68de19..667c54dd5 100644 --- a/data-processing/scala/stateful-nodecardinality-extraction/pom.xml +++ b/data-processing/scala/stateful-nodecardinality-extraction/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.processing.example.scala stateful-nodecardinality-extraction - 0.0.597 + 0.0.610 jar @@ -20,11 +21,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.6.0 3.0.0 3.3.1 @@ -193,4 +201,4 @@ - \ No newline at end of file + diff --git a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Compiler.scala b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Compiler.scala index 2edc48839..dfc3b2b5e 100644 --- a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Compiler.scala +++ b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Compiler.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/LayerCatalogDefs.scala b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/LayerCatalogDefs.scala index a624b20c6..2d077d141 100644 --- a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/LayerCatalogDefs.scala +++ b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/LayerCatalogDefs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Main.scala b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Main.scala index 0a310badd..1ed117ef2 100644 --- a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Main.scala +++ b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/NodeCardinalityRunCounter.scala b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/NodeCardinalityRunCounter.scala index 8203ed1ce..91dbc7e43 100644 --- a/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/NodeCardinalityRunCounter.scala +++ b/data-processing/scala/stateful-nodecardinality-extraction/src/main/scala/com/here/platform/data/processing/example/scala/feedback/NodeCardinalityRunCounter.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/assessment/pom.xml b/data-validation/java/quick-start/assessment/pom.xml index 08ea49834..995779af8 100644 --- a/data-validation/java/quick-start/assessment/pom.xml +++ b/data-validation/java/quick-start/assessment/pom.xml @@ -1,22 +1,37 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.java assessment - 0.0.597 + 0.0.610 jar assessment HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 0.0.5 1.0.5 1.6.0 @@ -158,4 +173,4 @@ - \ No newline at end of file + diff --git a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/AssessmentConfig.java b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/AssessmentConfig.java index aa6a2bfac..663f895b4 100644 --- a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/AssessmentConfig.java +++ b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/AssessmentConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Assessor.java b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Assessor.java index aa1025e58..5913cfdeb 100644 --- a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Assessor.java +++ b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Assessor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Criteria.java b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Criteria.java index e7c5c287f..f2f41e3bf 100644 --- a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Criteria.java +++ b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Criteria.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/CriteriaFamily.java b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/CriteriaFamily.java index 808a95db2..4510f8843 100644 --- a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/CriteriaFamily.java +++ b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/CriteriaFamily.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Data.java b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Data.java index b79736781..af9b5f7d5 100644 --- a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Data.java +++ b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Data.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/FeatureLoader.java b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/FeatureLoader.java index a4b5de62f..5fabf63ce 100644 --- a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/FeatureLoader.java +++ b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/FeatureLoader.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Main.java b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Main.java index e6aca36a5..4ba3ed370 100644 --- a/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Main.java +++ b/data-validation/java/quick-start/assessment/src/main/java/com/here/platform/data/validation/example/quickstart/assessment/java/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/comparison/pom.xml b/data-validation/java/quick-start/comparison/pom.xml index 56c69c55f..d9976a7ed 100644 --- a/data-validation/java/quick-start/comparison/pom.xml +++ b/data-validation/java/quick-start/comparison/pom.xml @@ -1,22 +1,37 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.java comparison - 0.0.597 + 0.0.610 jar comparison HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 1.0.5 1.6.0 1.6.0 @@ -149,4 +164,4 @@ - \ No newline at end of file + diff --git a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/LayerDefs.java b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/LayerDefs.java index 35f04dd07..1e8306892 100644 --- a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/LayerDefs.java +++ b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/LayerDefs.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/Main.java b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/Main.java index 918e4744a..621aba764 100644 --- a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/Main.java +++ b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByLayers.java b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByLayers.java index 6a3f4fde4..a2862be2c 100644 --- a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByLayers.java +++ b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByLayers.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByPartition.java b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByPartition.java index 39ff5d1ea..59e1baaf0 100644 --- a/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByPartition.java +++ b/data-validation/java/quick-start/comparison/src/main/java/com/here/platform/data/validation/example/quickstart/comparison/java/QuickstartComparisonByPartition.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/metrics/pom.xml b/data-validation/java/quick-start/metrics/pom.xml index 2adf0566a..74b90ba52 100644 --- a/data-validation/java/quick-start/metrics/pom.xml +++ b/data-validation/java/quick-start/metrics/pom.xml @@ -1,22 +1,37 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.java metrics - 0.0.597 + 0.0.610 jar metrics HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 0.0.5 1.0.5 1.6.0 @@ -158,4 +173,4 @@ - \ No newline at end of file + diff --git a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Analyzer.java b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Analyzer.java index a777c04da..1b2ec07c1 100644 --- a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Analyzer.java +++ b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Analyzer.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Calculator.java b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Calculator.java index 96cc1c8a1..a3bb2eaa7 100644 --- a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Calculator.java +++ b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Calculator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Data.java b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Data.java index eebffd796..8bd5d5e6a 100644 --- a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Data.java +++ b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Data.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/FeatureLoader.java b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/FeatureLoader.java index 6abaa9682..0405d8e57 100644 --- a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/FeatureLoader.java +++ b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/FeatureLoader.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Main.java b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Main.java index 563816aad..9358efbad 100644 --- a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Main.java +++ b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricFamily.java b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricFamily.java index ecad4d1dd..74bae8308 100644 --- a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricFamily.java +++ b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricFamily.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricsConfig.java b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricsConfig.java index d87b49ddf..9ded265a0 100644 --- a/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricsConfig.java +++ b/data-validation/java/quick-start/metrics/src/main/java/com/here/platform/data/validation/example/quickstart/metrics/java/MetricsConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/pom.xml b/data-validation/java/quick-start/pom.xml index 958786222..5fdfcc0e2 100644 --- a/data-validation/java/quick-start/pom.xml +++ b/data-validation/java/quick-start/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.java quickstartparent - 0.0.597 + 0.0.610 pom Data Validation Library Java Quick Start Examples Parent @@ -26,4 +27,10 @@ comparison - \ No newline at end of file + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + diff --git a/data-validation/java/quick-start/testing/pom.xml b/data-validation/java/quick-start/testing/pom.xml index f6b901ae9..72df81724 100644 --- a/data-validation/java/quick-start/testing/pom.xml +++ b/data-validation/java/quick-start/testing/pom.xml @@ -1,22 +1,37 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.java testing - 0.0.597 + 0.0.610 jar testing HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + 1.8 ${java.version} ${java.version} - 2.22.8 + 2.23.6 0.0.5 1.0.5 1.6.0 @@ -155,4 +170,4 @@ - \ No newline at end of file + diff --git a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/FeatureLoader.java b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/FeatureLoader.java index 99761a69b..0db5fd3a6 100644 --- a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/FeatureLoader.java +++ b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/FeatureLoader.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Main.java b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Main.java index efabb0b06..3e535a5d3 100644 --- a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Main.java +++ b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestCase.java b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestCase.java index cc5e2a550..80314c6c6 100644 --- a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestCase.java +++ b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestFamily.java b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestFamily.java index 3dedd6be6..8357b2ba6 100644 --- a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestFamily.java +++ b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestFamily.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestingConfig.java b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestingConfig.java index 4f3a395d8..3b7030049 100644 --- a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestingConfig.java +++ b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/TestingConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Validator.java b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Validator.java index 579495474..d33d791a9 100644 --- a/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Validator.java +++ b/data-validation/java/quick-start/testing/src/main/java/com/here/platform/data/validation/example/quickstart/testing/java/Validator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/pom.xml b/data-validation/scala/quick-start/assessment/pom.xml index 44b629fd6..5cf0e07ef 100644 --- a/data-validation/scala/quick-start/assessment/pom.xml +++ b/data-validation/scala/quick-start/assessment/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.scala assessment_2.11 - 0.0.597 + 0.0.610 jar DVL quickstart assessment example @@ -11,9 +12,23 @@ HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + - 2.22.8 + 2.23.6 0.0.5 1.0.5 1.6.0 @@ -244,4 +259,4 @@ - \ No newline at end of file + diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/AssessmentConfig.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/AssessmentConfig.scala index 5d3a10df2..a8c2fa26c 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/AssessmentConfig.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/AssessmentConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Assessor.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Assessor.scala index fdb70f639..1df2b15b5 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Assessor.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Assessor.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Criteria.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Criteria.scala index 40c4855ff..c6af84306 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Criteria.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Criteria.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/CriteriaFamily.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/CriteriaFamily.scala index 2eff91f1c..70a354094 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/CriteriaFamily.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/CriteriaFamily.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Data.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Data.scala index 1659f0a35..a863ad945 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Data.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Data.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/FeatureLoader.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/FeatureLoader.scala index 811545ffc..7db5c990c 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/FeatureLoader.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/FeatureLoader.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/LayerDefs.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/LayerDefs.scala index 57f2a047b..7d3e9d9d5 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/LayerDefs.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/LayerDefs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Main.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Main.scala index 6b26c981d..f6fd0ff42 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Main.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/assessment/scala/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala index bec137b58..3c26a0498 100644 --- a/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala +++ b/data-validation/scala/quick-start/assessment/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/comparison/pom.xml b/data-validation/scala/quick-start/comparison/pom.xml index 4ccc0deb7..7d9914914 100644 --- a/data-validation/scala/quick-start/comparison/pom.xml +++ b/data-validation/scala/quick-start/comparison/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.scala comparison_2.11 - 0.0.597 + 0.0.610 jar DVL quickstart comparison example @@ -11,9 +12,23 @@ HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + - 2.22.8 + 2.23.6 1.0.5 1.6.0 1.6.0 @@ -236,4 +251,4 @@ - \ No newline at end of file + diff --git a/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/LayerDefs.scala b/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/LayerDefs.scala index a6462fbfa..8c3405750 100644 --- a/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/LayerDefs.scala +++ b/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/LayerDefs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/Main.scala b/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/Main.scala index 4d3f7868b..e049daddf 100644 --- a/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/Main.scala +++ b/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/QuickstartComparison.scala b/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/QuickstartComparison.scala index 49d791af0..9ddb4b711 100644 --- a/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/QuickstartComparison.scala +++ b/data-validation/scala/quick-start/comparison/src/main/scala/com/here/platform/data/validation/example/quickstart/comparison/scala/QuickstartComparison.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/pom.xml b/data-validation/scala/quick-start/metrics/pom.xml index 6efdd6fcf..1ee2c81d3 100644 --- a/data-validation/scala/quick-start/metrics/pom.xml +++ b/data-validation/scala/quick-start/metrics/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.scala metrics_2.11 - 0.0.597 + 0.0.610 jar DVL quickstart metrics example @@ -11,9 +12,23 @@ HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + - 2.22.8 + 2.23.6 0.0.5 1.0.5 1.6.0 @@ -243,4 +258,4 @@ - \ No newline at end of file + diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala index bec137b58..3c26a0498 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Analyzer.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Analyzer.scala index a80944aa2..5118b2496 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Analyzer.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Analyzer.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Calculator.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Calculator.scala index bd070fe5c..b14d94753 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Calculator.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Calculator.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Data.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Data.scala index ffb4af675..029a6a3e9 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Data.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Data.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/FeatureLoader.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/FeatureLoader.scala index 4fad4a040..804eaa709 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/FeatureLoader.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/FeatureLoader.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Main.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Main.scala index dafe0db7a..40fc22cbb 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Main.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricFamily.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricFamily.scala index 39d2533d6..ddbee80e6 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricFamily.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricFamily.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricsConfig.scala b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricsConfig.scala index c53a101bb..daad7151e 100644 --- a/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricsConfig.scala +++ b/data-validation/scala/quick-start/metrics/src/main/scala/com/here/platform/data/validation/example/quickstart/metrics/scala/MetricsConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/pom.xml b/data-validation/scala/quick-start/pom.xml index be012f26a..54d3ddcc9 100644 --- a/data-validation/scala/quick-start/pom.xml +++ b/data-validation/scala/quick-start/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.scala quickstartparent_2.11 - 0.0.597 + 0.0.610 pom Data Validation Library Scala Quick Start Examples Parent @@ -26,4 +27,10 @@ comparison - \ No newline at end of file + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + diff --git a/data-validation/scala/quick-start/testing/pom.xml b/data-validation/scala/quick-start/testing/pom.xml index eeb123370..a3cc84240 100644 --- a/data-validation/scala/quick-start/testing/pom.xml +++ b/data-validation/scala/quick-start/testing/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.data.validation.example.quickstart.scala testing_2.11 - 0.0.597 + 0.0.610 jar DVL quickstart testing example @@ -11,9 +12,23 @@ HERE Europe B.V. + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + - 2.22.8 + 2.23.6 0.0.5 1.0.5 1.6.0 @@ -240,4 +255,4 @@ - \ No newline at end of file + diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala index bec137b58..3c26a0498 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/common/LayerDefs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/FeatureLoader.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/FeatureLoader.scala index 6e77e8236..0e33fa4ce 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/FeatureLoader.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/FeatureLoader.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/LayerDefs.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/LayerDefs.scala index ad8c684dd..d2131750b 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/LayerDefs.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/LayerDefs.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Main.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Main.scala index 8c5e843f3..88656160b 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Main.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Main.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestCase.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestCase.scala index 62fe8bcac..47b4d1bbf 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestCase.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestCase.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestFamily.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestFamily.scala index e93326b68..a9c3f670c 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestFamily.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestFamily.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestingConfig.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestingConfig.scala index c53691578..bda5b582b 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestingConfig.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/TestingConfig.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Validator.scala b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Validator.scala index f64409310..5896accf4 100644 --- a/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Validator.scala +++ b/data-validation/scala/quick-start/testing/src/main/scala/com/here/platform/data/validation/example/quickstart/testing/scala/Validator.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/index-compaction-batch/java/parquet-example/pom.xml b/index-compaction-batch/java/parquet-example/pom.xml index 742fef17a..74b669c79 100644 --- a/index-compaction-batch/java/parquet-example/pom.xml +++ b/index-compaction-batch/java/parquet-example/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.index.compaction.batch index-compaction-batch-parquet-example - 0.0.597 + 0.0.610 jar Index Compaction Batch Parquet Example @@ -19,11 +20,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 1.8 - 2.22.8 + 2.23.6 2.11 1.11.1 @@ -198,4 +206,4 @@ - \ No newline at end of file + diff --git a/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/ParquetCompactionExample.java b/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/ParquetCompactionExample.java index 60f7eb909..e22324bb8 100644 --- a/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/ParquetCompactionExample.java +++ b/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/ParquetCompactionExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/util/SdiiMessageParquetWriterBuilder.java b/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/util/SdiiMessageParquetWriterBuilder.java index d650cf913..03739a3b3 100644 --- a/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/util/SdiiMessageParquetWriterBuilder.java +++ b/index-compaction-batch/java/parquet-example/src/main/java/com/here/platform/index/compaction/batch/util/SdiiMessageParquetWriterBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/ParquetCompactionExampleTest.java b/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/ParquetCompactionExampleTest.java index 98f1fb81d..4b8875833 100644 --- a/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/ParquetCompactionExampleTest.java +++ b/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/ParquetCompactionExampleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/runner/ParquetCompactionExampleRunner.java b/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/runner/ParquetCompactionExampleRunner.java index 1b9863982..6a66262ad 100644 --- a/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/runner/ParquetCompactionExampleRunner.java +++ b/index-compaction-batch/java/parquet-example/src/test/java/com/here/platform/index/compaction/batch/runner/ParquetCompactionExampleRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/index-compaction-batch/java/protobuf-example/pom.xml b/index-compaction-batch/java/protobuf-example/pom.xml index 79433dbe0..8895b8af5 100644 --- a/index-compaction-batch/java/protobuf-example/pom.xml +++ b/index-compaction-batch/java/protobuf-example/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.index.compaction.batch index-compaction-batch-protobuf-example - 0.0.597 + 0.0.610 jar Index Compaction Batch Protobuf Example @@ -19,11 +20,18 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 1.8 - 2.22.8 + 2.23.6 2.11 4.12 @@ -158,4 +166,4 @@ - \ No newline at end of file + diff --git a/index-compaction-batch/java/protobuf-example/src/main/java/com/here/platform/index/compaction/batch/ProtobufCompactionExample.java b/index-compaction-batch/java/protobuf-example/src/main/java/com/here/platform/index/compaction/batch/ProtobufCompactionExample.java index 1b88329db..52111836c 100644 --- a/index-compaction-batch/java/protobuf-example/src/main/java/com/here/platform/index/compaction/batch/ProtobufCompactionExample.java +++ b/index-compaction-batch/java/protobuf-example/src/main/java/com/here/platform/index/compaction/batch/ProtobufCompactionExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/ProtobufCompactionExampleTest.java b/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/ProtobufCompactionExampleTest.java index 865fead27..dd291c738 100644 --- a/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/ProtobufCompactionExampleTest.java +++ b/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/ProtobufCompactionExampleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/runner/ProtobufCompactionExampleRunner.java b/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/runner/ProtobufCompactionExampleRunner.java index 1d70fbc4d..1498830fc 100644 --- a/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/runner/ProtobufCompactionExampleRunner.java +++ b/index-compaction-batch/java/protobuf-example/src/test/java/com/here/platform/index/compaction/batch/runner/ProtobufCompactionExampleRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/flink/stream-path-matcher/pom.xml b/location/java/flink/stream-path-matcher/pom.xml index daee67c05..4ab875a70 100644 --- a/location/java/flink/stream-path-matcher/pom.xml +++ b/location/java/flink/stream-path-matcher/pom.xml @@ -1,16 +1,17 @@ + 4.0.0 com.here.platform sdk-stream-bom - 2.22.8 + 2.23.6 com.here.platform.example.location java-flink-stream-path-matcher - 0.0.597 + 0.0.610 jar Location Library Examples - Java - Flink - Stream Path Matcher @@ -25,6 +26,13 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + compile false @@ -144,4 +152,4 @@ - \ No newline at end of file + diff --git a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/MatchedTrip.java b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/MatchedTrip.java index 99ed16c93..0bd9b6dbc 100644 --- a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/MatchedTrip.java +++ b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/MatchedTrip.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PathMatcherMapFunction.java b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PathMatcherMapFunction.java index 0583617a7..334e03780 100644 --- a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PathMatcherMapFunction.java +++ b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PathMatcherMapFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PositionEstimateGeoCoordinateAdapter.java b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PositionEstimateGeoCoordinateAdapter.java index f7b8014ca..437cac317 100644 --- a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PositionEstimateGeoCoordinateAdapter.java +++ b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/PositionEstimateGeoCoordinateAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/SdiiMessageMapFunction.java b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/SdiiMessageMapFunction.java index 2f44fa999..424a0256a 100644 --- a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/SdiiMessageMapFunction.java +++ b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/SdiiMessageMapFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/StreamPathMatcherExample.java b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/StreamPathMatcherExample.java index 565623881..713ad0f6a 100644 --- a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/StreamPathMatcherExample.java +++ b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/StreamPathMatcherExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,8 +82,7 @@ public static void main(final String[] args) throws Exception { .name("read_sdii_message") .map(new SdiiMessageMapFunction(inputCatalogHRN)) .name("parse_sdii_message") - .partitionCustom( - new RoundRobinTilePartitioner(PARTITION_TILE_LEVEL), Utils::firstPositionEstimate) + .partitionCustom(new TilePartitioner(PARTITION_TILE_LEVEL), Utils::firstPositionEstimate) .map(new PathMatcherMapFunction(optimizedMapHRN, optimizedMapCatalogVersion)) .name("mapmatch_sdii_message") .map( diff --git a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/RoundRobinTilePartitioner.java b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/TilePartitioner.java similarity index 87% rename from location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/RoundRobinTilePartitioner.java rename to location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/TilePartitioner.java index 16142a4b9..19a951453 100644 --- a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/RoundRobinTilePartitioner.java +++ b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/TilePartitioner.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,14 +25,14 @@ import org.apache.flink.api.common.functions.Partitioner; @SuppressWarnings("serial") -public class RoundRobinTilePartitioner implements Partitioner { +public class TilePartitioner implements Partitioner { private static final PositionEstimateGeoCoordinateAdapter adapter = new PositionEstimateGeoCoordinateAdapter(); private final HereTileResolver resolver; - RoundRobinTilePartitioner(final HereTileLevel level) { + TilePartitioner(final HereTileLevel level) { resolver = new HereTileResolver(level); } diff --git a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/Utils.java b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/Utils.java index f2e7a0c5b..8902574cf 100644 --- a/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/Utils.java +++ b/location/java/flink/stream-path-matcher/src/main/java/com/here/platform/example/location/java/flink/Utils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/standalone/README.md b/location/java/standalone/README.md index f4113e8d7..a7c7e746b 100644 --- a/location/java/standalone/README.md +++ b/location/java/standalone/README.md @@ -170,6 +170,25 @@ mvn --projects=:java-standalone compile exec:java \ -Dexec.mainClass=com.here.platform.example.location.java.standalone.OnTheFlyCompiledPropertyMapExample ``` +# AdasCurvatureAttributeExample + +This example shows how to fetch and use ADAS attributes in the +`HERE Optimized Map for Location Library` using a `Vertex` or an `Edge` +reference. + +## Setup + +To run the example, you need access to the following catalog. + +- [`HERE Optimized Map for Location Library`](https://platform.here.com/data/hrn:here:data::olp-here:here-optimized-map-for-location-library-2) + +To run the example locally, use the following commands: + +```bash +mvn --projects=:java-standalone compile exec:java \ + -Dexec.mainClass=com.here.platform.example.location.java.standalone.AdasCurvatureAttributeExample +``` + # SparsePathMatcherExample Another example on how to use the path matcher (see also the section diff --git a/location/java/standalone/pom.xml b/location/java/standalone/pom.xml index 7d6d7e6f4..51a84d715 100644 --- a/location/java/standalone/pom.xml +++ b/location/java/standalone/pom.xml @@ -1,16 +1,17 @@ + 4.0.0 com.here.platform sdk-standalone-bom - 2.22.8 + 2.23.6 com.here.platform.example.location java-standalone - 0.0.597 + 0.0.610 jar Location Library Examples - Java - Standalone @@ -25,6 +26,13 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + false UTF-8 @@ -32,10 +40,6 @@ - - com.here.hrn - hrn_${scala.compat.version} - com.here.platform.location location-compilation-here-map-content_${scala.compat.version} @@ -68,6 +72,10 @@ com.here.platform.location location-referencing_${scala.compat.version} + + com.here.platform.location + location-io_${scala.compat.version} + com.here.schema.rib common_v2_scala @@ -93,6 +101,10 @@ traffic_v2_java + + org.scala-lang + scala-library + org.apache.commons commons-csv @@ -109,4 +121,4 @@ - \ No newline at end of file + diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/AdasCurvatureAttributeExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/AdasCurvatureAttributeExample.java new file mode 100644 index 000000000..e203ac9b8 --- /dev/null +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/AdasCurvatureAttributeExample.java @@ -0,0 +1,168 @@ +/* + * Copyright (C) 2017-2021 HERE Europe B.V. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * License-Filename: LICENSE + */ + +package com.here.platform.example.location.java.standalone; + +import static java.lang.Math.*; + +import com.here.platform.location.core.geospatial.GeoCoordinate; +import com.here.platform.location.core.geospatial.javadsl.LineString; +import com.here.platform.location.core.geospatial.javadsl.LineStringHolder; +import com.here.platform.location.core.geospatial.javadsl.LineStrings; +import com.here.platform.location.core.graph.javadsl.DirectedGraph; +import com.here.platform.location.core.graph.javadsl.PropertyMap; +import com.here.platform.location.dataloader.core.Catalog; +import com.here.platform.location.dataloader.core.caching.CacheManager; +import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; +import com.here.platform.location.inmemory.graph.Edge; +import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.inmemory.graph.javadsl.Direction; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; +import com.here.platform.location.integration.optimizedmap.adasattributes.CurvatureHeading; +import com.here.platform.location.integration.optimizedmap.geospatial.HereMapContentReference; +import com.here.platform.location.integration.optimizedmap.graph.javadsl.Graphs; +import com.here.platform.location.integration.optimizedmap.graph.javadsl.PropertyMaps; +import com.here.platform.location.io.javadsl.Color; +import com.here.platform.location.io.javadsl.geojson.FeatureCollection; +import com.here.platform.location.io.javadsl.geojson.SimpleStyleProperties; +import java.io.*; +import java.util.*; +import scala.Tuple2; + +public final class AdasCurvatureAttributeExample { + + public static void main(final String[] args) { + List segments = + Arrays.asList( + new HereMapContentReference("23598867", "here:cm:segment:154024123", Direction.FORWARD), + new HereMapContentReference( + "23598867", "here:cm:segment:150551733", Direction.BACKWARD), + new HereMapContentReference("23598867", "here:cm:segment:76960691", Direction.BACKWARD), + new HereMapContentReference("23598867", "here:cm:segment:150552074", Direction.FORWARD), + new HereMapContentReference("23598867", "here:cm:segment:98035021", Direction.BACKWARD), + new HereMapContentReference("23598867", "here:cm:segment:87560942", Direction.FORWARD)); + + final StandaloneCatalogFactory catalogFactory = new StandaloneCatalogFactory(); + final CacheManager cacheManager = CacheManager.withLruCache(); + + try { + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); + + PropertyMap hmcToVertex = + PropertyMaps.hereMapContentReferenceToVertex(optimizedMap, cacheManager); + + List vertices = new ArrayList<>(); + segments.forEach(segment -> vertices.add(hmcToVertex.get(segment))); + + PropertyMaps.AdasAttributes adas = + new PropertyMaps.AdasAttributes(optimizedMap, cacheManager); + + DirectedGraph graph = Graphs.from(optimizedMap, cacheManager); + + List edges = new ArrayList<>(); + for (int n = 0; n < vertices.size() - 1; n++) { + Vertex source = vertices.get(n); + Vertex target = vertices.get(n + 1); + graph.getEdgeIterator(source, target).forEachRemaining(edges::add); + } + + PropertyMap> geometry = + PropertyMaps.geometry(optimizedMap, cacheManager); + + FeatureCollection featureCollection = new FeatureCollection(); + + vertices.forEach( + vertex -> + featureCollection.lineString( + geometry.get(vertex), + new SimpleStyleProperties().strokeWidth(10).stroke(Color.GRAY))); + + vertices.forEach( + vertex -> + featureCollection.lineStringPoints( + geometry.get(vertex), + adas.curvatureHeading().get(vertex), + pointBasedProperty -> + new SimpleStyleProperties() + .markerColor(toColor(pointBasedProperty.value())) + .markerSize("small"))); + + PropertyMap length = PropertyMaps.length(optimizedMap, cacheManager); + + edges.forEach( + edge -> { + Vertex source = graph.getSource(edge); + Vertex target = graph.getTarget(edge); + List lineString = new ArrayList<>(); + lineString.addAll( + lineStringPart(geometry.get(source), length.get(source), -10.0).getPoints()); + lineString.addAll( + lineStringPart(geometry.get(target), length.get(target), 10.0).getPoints()); + featureCollection.lineString( + new LineString<>(lineString), + new SimpleStyleProperties() + .stroke( + adas.edgeCurvatureHeading() + .get(edge) + .map(AdasCurvatureAttributeExample::toColor) + .orElse(Color.BLACK)) + .strokeWidth(6)); + }); + + File path = exampleJsonFileFor(AdasCurvatureAttributeExample.class); + try (OutputStream os = new FileOutputStream(path)) { + featureCollection.writePretty(os); + } catch (IOException e) { + e.printStackTrace(); + } + System.out.printf("\nA GeoJson representation of the result is available in %s\n", path); + } finally { + catalogFactory.terminate(); + } + } + + private static Color toColor(CurvatureHeading value) { + // Converting curvature value to radius in meters, see: + // https://developer.here.com/documentation/here-map-content/dev_guide/topics_api/com.here.schema.rib.v2.curvatureheadingattribute.html + double radius = abs(1000000.0 / value.getCurvature()); + // Gradient from red to green depending on road curvature radius, considering as green all + // radius above 150 meters. + return Color.hsb(min(radius, 150.0), 0.9, 0.8); + } + + private static LineStringHolder lineStringPart( + LineStringHolder geometry, double lengthMeters, double offsetMeters) { + double fraction = offsetMeters / max(lengthMeters, abs(offsetMeters)); + LineStrings, GeoCoordinate> lineStrings = + LineStrings.getInstance(); + return lineStrings + .cut( + geometry, + fraction >= 0 + ? Collections.singletonList(new Tuple2<>(0.0, fraction)) + : Collections.singletonList(new Tuple2<>(1.0 + fraction, 1.0))) + .get(0); + } + + private static File exampleJsonFileFor(Class clazz) { + File outputDir = new File(System.getProperty("java.io.tmpdir"), "example_output"); + outputDir.mkdir(); + return new File(outputDir, clazz.getCanonicalName() + ".json"); + } +} diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ConvertTpeg2ContainerExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ConvertTpeg2ContainerExample.java index 28c7db07c..72bc100cc 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ConvertTpeg2ContainerExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ConvertTpeg2ContainerExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ExtractSpecificTpeg2MessagesExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ExtractSpecificTpeg2MessagesExample.java index b692e7a33..ec93f23d3 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ExtractSpecificTpeg2MessagesExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/ExtractSpecificTpeg2MessagesExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/FunctionalClassExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/FunctionalClassExample.java index 44d14c8d5..00db6a918 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/FunctionalClassExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/FunctionalClassExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,7 +44,7 @@ public static void main(final String[] args) { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final PropertyMaps.RoadAttributes roadAttributes = new PropertyMaps.RoadAttributes(optimizedMap, cacheManager); diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/GraphExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/GraphExample.java index 219d22237..befa28720 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/GraphExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/GraphExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ import static java.util.Comparator.comparingDouble; import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.core.geospatial.ElementProjection; import com.here.platform.location.core.geospatial.GeoCoordinate; import com.here.platform.location.core.graph.javadsl.DirectedGraph; @@ -31,6 +30,7 @@ import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Edge; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.geospatial.javadsl.ProximitySearches; import com.here.platform.location.integration.optimizedmap.graph.javadsl.Graphs; import java.util.*; @@ -44,10 +44,7 @@ public static void main(final String[] args) { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final GeoCoordinate pariserPlatz = new GeoCoordinate(52.516364, 13.378870); diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/HereMapContentToOptimizedMapTranslationExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/HereMapContentToOptimizedMapTranslationExample.java index e1ae713cb..ebe3e9f4f 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/HereMapContentToOptimizedMapTranslationExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/HereMapContentToOptimizedMapTranslationExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.core.geospatial.GeoCoordinate; import com.here.platform.location.core.geospatial.javadsl.ProximitySearch; import com.here.platform.location.core.graph.javadsl.PropertyMap; @@ -29,6 +28,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager; import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.geospatial.HereMapContentReference; import com.here.platform.location.integration.optimizedmap.geospatial.javadsl.ProximitySearches; import com.here.platform.location.integration.optimizedmap.graph.javadsl.PropertyMaps; @@ -42,10 +42,7 @@ public static void main(final String[] args) { try { final CacheManager cacheManager = CacheManager.withLruCache(); - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final ProximitySearch proximitySearch = ProximitySearches.vertices(optimizedMap, cacheManager); diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/MostProbablePathExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/MostProbablePathExample.java index 9bfb032fe..e0798c103 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/MostProbablePathExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/MostProbablePathExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * The following rights to redistribution and use the software example in * source and binary forms, with or without modification, are granted to @@ -40,7 +40,6 @@ import static java.util.Comparator.comparingDouble; import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.core.geospatial.ElementProjection; import com.here.platform.location.core.geospatial.GeoCoordinate; import com.here.platform.location.core.geospatial.javadsl.GeoCoordinates; @@ -51,6 +50,7 @@ import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Edge; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.geospatial.javadsl.ProximitySearches; import com.here.platform.location.integration.optimizedmap.graph.RoadAccess; import com.here.platform.location.integration.optimizedmap.graph.javadsl.Graphs; @@ -76,10 +76,7 @@ public static void main(final String[] args) { final StandaloneCatalogFactory catalogFactory = new StandaloneCatalogFactory(); try { final CacheManager cacheManager = CacheManager.withLruCache(); - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); // A mapping from Vertices to LineString of the underlying road geometry final PropertyMap> geometryPropertyMap = diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrCreateReferenceFromHmcSegmentsExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrCreateReferenceFromHmcSegmentsExample.java index fb0b58465..b91b56ebd 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrCreateReferenceFromHmcSegmentsExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrCreateReferenceFromHmcSegmentsExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrResolveReferenceToHmcSegmentsExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrResolveReferenceToHmcSegmentsExample.java index f8648ab1e..f9c2b6782 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrResolveReferenceToHmcSegmentsExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OlrResolveReferenceToHmcSegmentsExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,13 +19,13 @@ package com.here.platform.example.location.java.standalone; -import com.here.hrn.HRN; import com.here.platform.location.core.graph.javadsl.PropertyMap; import com.here.platform.location.dataloader.core.Catalog; import com.here.platform.location.dataloader.core.caching.CacheManager; import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Vertex; import com.here.platform.location.inmemory.graph.javadsl.Direction; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.geospatial.HereMapContentReference; import com.here.platform.location.integration.optimizedmap.graph.javadsl.PropertyMaps; import com.here.platform.location.referencing.LinearLocation; @@ -41,16 +41,13 @@ /** * This example shows how to take an OLR reference given in XML and to resolve this reference to - * Hmc-Segments. + * Here Map Content Reference. */ public final class OlrResolveReferenceToHmcSegmentsExample { public static void main(final String[] args) { final StandaloneCatalogFactory factory = new StandaloneCatalogFactory(); - final Catalog optimizedMap = - factory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 769L); + final Catalog optimizedMap = factory.create(OptimizedMap.v2.HRN, 769L); final CacheManager cacheManager = CacheManager.withLruCache(); diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OnTheFlyCompiledPropertyMapExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OnTheFlyCompiledPropertyMapExample.java index 933b63093..0f19e0130 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OnTheFlyCompiledPropertyMapExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/OnTheFlyCompiledPropertyMapExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ import static java.lang.String.format; import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.compilation.heremapcontent.javadsl.AttributeAccessor; import com.here.platform.location.compilation.heremapcontent.javadsl.AttributeAccessors; import com.here.platform.location.core.geospatial.ElementProjection; @@ -33,6 +32,8 @@ import com.here.platform.location.dataloader.core.caching.CacheManager; import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.heremapcontent.HereMapContent; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.geospatial.javadsl.ProximitySearches; import com.here.platform.location.integration.optimizedmap.graph.javadsl.PropertyMaps; import com.here.schema.rib.v2.common_attributes.SpeedLimitAttribute; @@ -44,10 +45,7 @@ public static void main(final String[] args) { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final GeoCoordinate brandenburgerTor = new GeoCoordinate(52.516268, 13.377700); final AttributeAccessor speedLimitAccessor = @@ -56,8 +54,7 @@ public static void main(final String[] args) { final Iterable> elementProjections = ProximitySearches.vertices(optimizedMap, cacheManager).search(brandenburgerTor, 1000.0); - final Catalog hereMapContent = - optimizedMap.resolveDependency(HRN.fromString("hrn:here:data::olp-here:rib-2")); + final Catalog hereMapContent = optimizedMap.resolveDependency(HereMapContent.v2.HRN); final RangeBasedPropertyMap propertyMap = PropertyMaps.navigationAttribute( diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PathMatcherExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PathMatcherExample.java index 7c732c130..501bafd67 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PathMatcherExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PathMatcherExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ import static java.lang.Double.parseDouble; import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.core.geospatial.GeoCoordinate; import com.here.platform.location.core.mapmatching.MatchResult; import com.here.platform.location.core.mapmatching.NoTransition; @@ -34,6 +33,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager; import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.mapmatching.javadsl.PathMatchers; import java.io.IOException; import java.nio.charset.Charset; @@ -50,10 +50,7 @@ public static void main(final String[] args) throws IOException { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final Stream trip = loadTripFromCSVResource("/example_berlin_path.csv"); final PathMatcher pathMatcher = diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PointMatcherExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PointMatcherExample.java index cf020c2f5..d5b558c79 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PointMatcherExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/PointMatcherExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import static java.util.Comparator.comparingDouble; import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.core.geospatial.ElementProjection; import com.here.platform.location.core.geospatial.GeoCoordinate; import com.here.platform.location.core.geospatial.javadsl.ProximitySearch; @@ -31,6 +30,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager; import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.geospatial.javadsl.ProximitySearches; import java.io.IOException; import java.nio.charset.Charset; @@ -66,10 +66,7 @@ public static void main(final String[] args) throws IOException { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final Stream trip = loadTripFromCSVResource("/example_berlin_path.csv"); final ProximitySearch proximitySearch = diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/SparsePathMatcherExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/SparsePathMatcherExample.java index eba6835c2..53ea3dbda 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/SparsePathMatcherExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/SparsePathMatcherExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ import static java.lang.Double.parseDouble; import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.core.geospatial.GeoCoordinate; import com.here.platform.location.core.mapmatching.MatchResult; import com.here.platform.location.core.mapmatching.OnRoad; @@ -33,6 +32,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager; import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.mapmatching.javadsl.PathMatchers; import java.io.IOException; import java.nio.charset.Charset; @@ -50,10 +50,7 @@ public static void main(final String[] args) throws IOException { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final Stream trip = loadTripFromCSVResource("/example_berlin_path_sparse.csv"); final PathMatcher> pathMatcher = diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcCreateAndResolveExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcCreateAndResolveExample.java index 1f9cc18e9..ef848eb16 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcCreateAndResolveExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcCreateAndResolveExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -52,7 +52,7 @@ public static void main(final String[] args) { final CacheManager cacheManager = CacheManager.withLruCache(); final StandaloneCatalogFactory catalogFactory = new StandaloneCatalogFactory(); try { - final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 705); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); // Define a location that is covered by TMC final Vertex vertexInFriedenstrasse = diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcResolveReferencesInRttiMessageExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcResolveReferencesInRttiMessageExample.java index ebfeb5e49..e32e0b70b 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcResolveReferencesInRttiMessageExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TmcResolveReferencesInRttiMessageExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,7 +47,7 @@ public static void main(final String[] args) throws Exception { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final LocationReferenceResolver resolver = LocationReferenceResolvers.extendedTmc(optimizedMap, cacheManager); diff --git a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TurnRestrictionsExample.java b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TurnRestrictionsExample.java index dc4c51c02..9750a1bd0 100644 --- a/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TurnRestrictionsExample.java +++ b/location/java/standalone/src/main/java/com/here/platform/example/location/java/standalone/TurnRestrictionsExample.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ import static java.util.stream.StreamSupport.stream; -import com.here.hrn.HRN; import com.here.platform.location.core.geospatial.ElementProjection; import com.here.platform.location.core.geospatial.GeoCoordinate; import com.here.platform.location.core.geospatial.javadsl.ProximitySearch; @@ -32,6 +31,7 @@ import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory; import com.here.platform.location.inmemory.graph.Edge; import com.here.platform.location.inmemory.graph.Vertex; +import com.here.platform.location.integration.optimizedmap.OptimizedMap; import com.here.platform.location.integration.optimizedmap.geospatial.javadsl.ProximitySearches; import com.here.platform.location.integration.optimizedmap.graph.AccessRestriction; import com.here.platform.location.integration.optimizedmap.graph.javadsl.Graphs; @@ -46,10 +46,7 @@ public static void main(final String[] args) { final CacheManager cacheManager = CacheManager.withLruCache(); try { - final Catalog optimizedMap = - catalogFactory.create( - HRN.fromString("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L); + final Catalog optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L); final PropertyMap turnRestrictionsMap = PropertyMaps.turnRestrictions( diff --git a/location/pom.xml b/location/pom.xml index de5ea3484..fce6002a2 100644 --- a/location/pom.xml +++ b/location/pom.xml @@ -1,9 +1,10 @@ + 4.0.0 com.here.platform.example.location aggregator - 0.0.597 + 0.0.610 pom Location Library Examples @@ -25,4 +26,11 @@ scala/standalone utils - \ No newline at end of file + + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + diff --git a/location/scala/spark/infer-stop-signs-from-sensors/README.md b/location/scala/spark/infer-stop-signs-from-sensors/README.md index 851d4151c..fa8faeac5 100644 --- a/location/scala/spark/infer-stop-signs-from-sensors/README.md +++ b/location/scala/spark/infer-stop-signs-from-sensors/README.md @@ -38,7 +38,6 @@ The example logic does the following: - The example averages fraction values of projected points. 5. Publish the result into the output catalog. - - The example uses the `Data Client Library` API to publish the result in the output catalog. diff --git a/location/scala/spark/infer-stop-signs-from-sensors/pom.xml b/location/scala/spark/infer-stop-signs-from-sensors/pom.xml index b8228fa85..131d32412 100644 --- a/location/scala/spark/infer-stop-signs-from-sensors/pom.xml +++ b/location/scala/spark/infer-stop-signs-from-sensors/pom.xml @@ -1,16 +1,17 @@ + 4.0.0 com.here.platform sdk-batch-bom - 2.22.8 + 2.23.6 com.here.platform.example.location scala-spark-infer-stop-signs-from-sensors_2.11 - 0.0.597 + 0.0.610 jar Location Library Examples - Scala - Spark - Infer Stop Signs From Sensors @@ -25,6 +26,13 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + compile false @@ -133,4 +141,4 @@ - \ No newline at end of file + diff --git a/location/scala/spark/infer-stop-signs-from-sensors/src/main/scala/com/here/platform/example/location/scala/spark/InferStopSignsFromSensorsExample.scala b/location/scala/spark/infer-stop-signs-from-sensors/src/main/scala/com/here/platform/example/location/scala/spark/InferStopSignsFromSensorsExample.scala index 498cd5b50..d341c1d80 100644 --- a/location/scala/spark/infer-stop-signs-from-sensors/src/main/scala/com/here/platform/example/location/scala/spark/InferStopSignsFromSensorsExample.scala +++ b/location/scala/spark/infer-stop-signs-from-sensors/src/main/scala/com/here/platform/example/location/scala/spark/InferStopSignsFromSensorsExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/scala/standalone/README.md b/location/scala/standalone/README.md index 89f6928d7..fa3d59418 100644 --- a/location/scala/standalone/README.md +++ b/location/scala/standalone/README.md @@ -224,6 +224,27 @@ mvn --projects=:scala-standalone_2.11 compile exec:java \ -Dexec.mainClass=com.here.platform.example.location.scala.standalone.OnTheFlyCompiledPropertyMapExample ``` +# AdasCurvatureAttributeExample + +This example shows how to fetch and use ADAS attributes in the +`HERE Optimized Map for Location Library` using a `Vertex` or an `Edge` +reference. + +## Setup + +To run the example, you need access to the following catalog. + +- [`HERE Optimized Map for Location Library`](https://platform.here.com/data/hrn:here:data::olp-here:here-optimized-map-for-location-library-2) + +To run the example locally, use the following commands: + +```bash +mvn --also-make --file=../.. --projects=:utils_2.11 install + +mvn --projects=:scala-standalone_2.11 compile exec:java \ + -Dexec.mainClass=com.here.platform.example.location.scala.standalone.AdasCurvatureAttributeExample +``` + # SparsePathMatcherExample Another example on how to use the path matcher (see also the section diff --git a/location/scala/standalone/pom.xml b/location/scala/standalone/pom.xml index 9d079302d..81c9ac474 100644 --- a/location/scala/standalone/pom.xml +++ b/location/scala/standalone/pom.xml @@ -1,16 +1,17 @@ + 4.0.0 com.here.platform sdk-standalone-bom - 2.22.8 + 2.23.6 com.here.platform.example.location scala-standalone_2.11 - 0.0.597 + 0.0.610 jar Location Library Examples - Scala - Standalone @@ -25,10 +26,17 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + - false - UTF-8 - + false + UTF-8 + @@ -37,10 +45,6 @@ utils_${scala.compat.version} ${project.version} - - com.here.hrn - hrn_${scala.compat.version} - com.here.platform.location location-compilation-here-map-content_${scala.compat.version} @@ -138,4 +142,4 @@ - \ No newline at end of file + diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/AdasCurvatureAttributeExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/AdasCurvatureAttributeExample.scala new file mode 100644 index 000000000..b7da54dc3 --- /dev/null +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/AdasCurvatureAttributeExample.scala @@ -0,0 +1,134 @@ +package com.here.platform.example.location.scala.standalone + +/* + * Copyright (C) 2017-2021 HERE Europe B.V. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * License-Filename: LICENSE + */ + +import java.io.FileOutputStream + +import com.here.platform.example.location.utils.FileNameHelper +import com.here.platform.location.core.geospatial.{GeoCoordinate, LineString, LineStrings} +import com.here.platform.location.core.graph.DirectedGraph +import com.here.platform.location.dataloader.core.caching.CacheManager +import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory +import com.here.platform.location.inmemory.graph.{Backward, Edge, Forward, Vertex} +import com.here.platform.location.integration.heremapcontent.PartitionId +import com.here.platform.location.integration.optimizedmap.OptimizedMap +import com.here.platform.location.integration.optimizedmap.adasattributes.CurvatureHeading +import com.here.platform.location.integration.optimizedmap.geospatial.{ + SegmentId, + HereMapContentReference => HMCRef +} +import com.here.platform.location.integration.optimizedmap.graph.{Graphs, PropertyMaps} +import com.here.platform.location.io.scaladsl.Color +import com.here.platform.location.io.scaladsl.geojson.{ + Feature, + FeatureCollection, + SimpleStyleProperties +} + +object AdasCurvatureAttributeExample extends App { + val segments = Seq( + HMCRef(PartitionId("23598867"), SegmentId("here:cm:segment:154024123"), Forward), + HMCRef(PartitionId("23598867"), SegmentId("here:cm:segment:150551733"), Backward), + HMCRef(PartitionId("23598867"), SegmentId("here:cm:segment:76960691"), Backward), + HMCRef(PartitionId("23598867"), SegmentId("here:cm:segment:150552074"), Forward), + HMCRef(PartitionId("23598867"), SegmentId("here:cm:segment:98035021"), Backward), + HMCRef(PartitionId("23598867"), SegmentId("here:cm:segment:87560942"), Forward) + ) + + val catalogFactory = new StandaloneCatalogFactory() + + try { + val cacheManager = CacheManager.withLruCache() + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1126) + + val hmcToVertex = PropertyMaps.hereMapContentReferenceToVertex(optimizedMap, cacheManager) + + val vertices = segments.map(hmcToVertex(_)) + + val adas = PropertyMaps.AdasAttributes(optimizedMap, cacheManager) + + val graph: DirectedGraph[Vertex, Edge] = Graphs.from(optimizedMap, cacheManager) + + val edges: Iterator[Edge] = + vertices.sliding(2).flatMap { + case Seq(source, target) => + graph.edgeIterator(source, target) + } + + def toColor(value: CurvatureHeading): Color = { + // Converting curvature value to radius in meters, see: + // https://developer.here.com/documentation/here-map-content/dev_guide/topics_api/com.here.schema.rib.v2.curvatureheadingattribute.html + val radius = Math.abs(1000000.0 / value.curvature) + // Gradient from red to green depending on road curvature radius, considering as green all radius above 150 meters. + Color.hsb(Math.min(radius, 150.0), 0.9, 0.8) + } + + val geometry = PropertyMaps.geometry(optimizedMap, cacheManager) + + val routeAsFeature = vertices.map { vertex => + Feature.lineString(geometry(vertex), + SimpleStyleProperties().strokeWidth(10).stroke(Color.Gray)) + } + + val curvaturePointsAsFeature = vertices.flatMap { vertex => + Feature.lineStringPoints(geometry(vertex), adas.curvatureHeading(vertex))( + pointBasedProperty => + SimpleStyleProperties() + .markerColor(toColor(pointBasedProperty.value)) + .markerSize("small")) + } + + val length = PropertyMaps.length(optimizedMap, cacheManager) + + def lineStringPart(vertex: Vertex, meters: Double): LineString[GeoCoordinate] = { + val fraction = meters / Math.max(length(vertex), Math.abs(meters)) + LineStrings + .cut(geometry(vertex), + if (fraction >= 0) Seq(0.0 -> fraction) + else Seq(1.0 + fraction -> 1.0)) + .head + } + + val edgesAsFeature = edges.map { edge => + Feature.lineString( + LineString( + lineStringPart(graph.source(edge), -10.0).points ++ lineStringPart(graph.target(edge), + 10.0).points), + SimpleStyleProperties() + .stroke(adas.edgeCurvatureHeading(edge).map(toColor).getOrElse(Color.Black)) + .strokeWidth(6) + ) + } + + val path = FileNameHelper.exampleJsonFileFor(this) + val fos = new FileOutputStream(path) + + try { + FeatureCollection(routeAsFeature ++ curvaturePointsAsFeature ++ edgesAsFeature) + .writePretty(fos) + } finally { + fos.close() + } + + println(s"\nA GeoJson representation of the result is available in $path\n") + } finally { + catalogFactory.terminate() + } +} diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ConvertTpeg2ContainerExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ConvertTpeg2ContainerExample.scala index 7343cc1c3..6f66874ae 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ConvertTpeg2ContainerExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ConvertTpeg2ContainerExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ExtractSpecificTpeg2MessagesExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ExtractSpecificTpeg2MessagesExample.scala index 15eeb233c..338ef3bbe 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ExtractSpecificTpeg2MessagesExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/ExtractSpecificTpeg2MessagesExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/FunctionalClassExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/FunctionalClassExample.scala index 4d6f96774..24a02afa4 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/FunctionalClassExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/FunctionalClassExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ package com.here.platform.example.location.scala.standalone import java.io.FileOutputStream -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.geospatial.Implicits._ import com.here.platform.location.core.geospatial._ @@ -29,6 +28,7 @@ import com.here.platform.location.core.graph.{PropertyMap, RangeBasedProperty} import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.graph.{Forward, Vertex, Vertices} +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps import com.here.platform.location.integration.optimizedmap.roadattributes.FunctionalClass @@ -56,10 +56,7 @@ object FunctionalClassExample extends App { val cacheManager = CacheManager.withLruCache() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val proximitySearch = ProximitySearches.vertices(optimizedMap, cacheManager) diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/GraphExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/GraphExample.scala index a9a29603d..e471d320b 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/GraphExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/GraphExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ package com.here.platform.example.location.scala.standalone import java.io.FileOutputStream -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.geospatial.GeoCoordinate import com.here.platform.location.core.graph.{DirectedGraph, PropertyMap} @@ -30,6 +29,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.geospatial.PackedLineString import com.here.platform.location.inmemory.graph.{Edge, Vertex} +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.integration.optimizedmap.graph.{Graphs, PropertyMaps} import com.here.platform.location.io.scaladsl.Color @@ -74,10 +74,7 @@ object GraphExample extends App { val cacheManager = CacheManager.withLruCache() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val pariserPlatz = GeoCoordinate(52.516364, 13.378870) diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/HereMapContentToOptimizedMapTranslationExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/HereMapContentToOptimizedMapTranslationExample.scala index 92a5a4154..3df5846e3 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/HereMapContentToOptimizedMapTranslationExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/HereMapContentToOptimizedMapTranslationExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,10 +19,10 @@ package com.here.platform.example.location.scala.standalone -import com.here.hrn.HRN import com.here.platform.location.core.geospatial.GeoCoordinate import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial._ import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps @@ -34,10 +34,7 @@ object HereMapContentToOptimizedMapTranslationExample extends App { try { val cacheManager = CacheManager.withLruCache() - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val proximitySearch = ProximitySearches.vertices(optimizedMap, cacheManager) val hereMapContentToOptimizedMap = diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/MostProbablePathExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/MostProbablePathExample.scala index e051a263a..a3c0241be 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/MostProbablePathExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/MostProbablePathExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * The following rights to redistribution and use the software example in * source and binary forms, with or without modification, are granted to @@ -35,7 +35,6 @@ package com.here.platform.example.location.scala.standalone -import com.here.hrn.HRN import java.io.FileOutputStream import com.here.platform.example.location.utils.FileNameHelper @@ -56,18 +55,23 @@ import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.geospatial.PackedLineString import com.here.platform.location.inmemory.graph.{Edge, Vertex} +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.integration.optimizedmap.graph.{Graphs, PropertyMaps, RoadAccess} import com.here.platform.location.integration.optimizedmap.roadattributes.FunctionalClass import com.here.platform.location.io.scaladsl.Color -import com.here.platform.location.io.scaladsl.geojson.{FeatureCollection, SimpleStyleProperties} +import com.here.platform.location.io.scaladsl.geojson.{ + FeatureCollection, + HereProperties, + SimpleStyleProperties +} import scala.annotation.tailrec import scala.collection.immutable.{IndexedSeq, Seq} // Determine the Most Probable Path from a starting vertex. // -// This example builds on concepts of the US6405128 patent and on the HERE ADAS Research platform. +// This example builds on concepts of the US6405128 patent and on the HERE ADAS Research Platform. // // A "most probable path" is identified following a greedy rule considering: // 1. Change in functional class @@ -153,10 +157,7 @@ object MostProbablePathExample extends App { try { val cacheManager = CacheManager.withLruCache() - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) // A mapping from Vertices to LineString of the underlying road geometry val geometryPropertyMap: PropertyMap[Vertex, PackedLineString] = @@ -205,7 +206,13 @@ object MostProbablePathExample extends App { mostProbablePathSegments .foldLeft(FeatureCollection()) { (fc, vertexItem) => val Yellow = Color("#f7f431") - fc.lineString(geometryPropertyMap(vertexItem), SimpleStyleProperties().stroke(Yellow)) + val Red = Color("#e87676") + fc.lineString( + geometryPropertyMap(vertexItem), + SimpleStyleProperties().stroke(Yellow).strokeOpacity(0.8) ++ HereProperties().width( + "5m")) + .arrow(geometryPropertyMap(vertexItem), + SimpleStyleProperties().stroke(Red) ++ HereProperties().width("1m")) } val path = FileNameHelper.exampleJsonFileFor(MostProbablePathExample) diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrCreateReferenceFromHmcSegmentsExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrCreateReferenceFromHmcSegmentsExample.scala index 63a84f474..54e28f360 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrCreateReferenceFromHmcSegmentsExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrCreateReferenceFromHmcSegmentsExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ package com.here.platform.example.location.scala.standalone import java.io.FileOutputStream -import com.here.hrn.HRN import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.graph.{Backward, Forward} import com.here.platform.location.integration.heremapcontent.PartitionId +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.{ HereMapContentReference, SegmentId @@ -36,7 +36,7 @@ import com.here.platform.location.referencing.{LinearLocation, LocationReference import com.here.platform.location.tpeg2.olr.OpenLRLocationReference import com.here.platform.location.tpeg2.{BinaryMarshallers, XmlMarshallers} -/** This example shows how to take a path given as Hmc-Segments +/** This example shows how to take a path given as Here Map Content Reference * and create an OLR reference from it. */ object OlrCreateReferenceFromHmcSegmentsExample extends App { @@ -105,10 +105,7 @@ object OlrCreateReferenceFromHmcSegmentsExample extends App { try { val cacheManager = CacheManager.withLruCache() - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 769L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 769L) val segments = segmentStrings.map(parseHmcRef) diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrResolveReferenceToHmcSegmentsExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrResolveReferenceToHmcSegmentsExample.scala index a8a463bb7..be4b0b52a 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrResolveReferenceToHmcSegmentsExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OlrResolveReferenceToHmcSegmentsExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,17 +21,17 @@ package com.here.platform.example.location.scala.standalone import java.io.ByteArrayInputStream -import com.here.hrn.HRN import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.graph.{Backward, Forward} +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.HereMapContentReference import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps import com.here.platform.location.referencing.{LinearLocation, LocationReferenceResolvers} import com.here.platform.location.tpeg2.XmlMarshallers /** This example shows how to take an OLR reference given in XML - * and to resolve this reference to Hmc-Segments. + * and to resolve this reference to Here Map Content Reference. */ object OlrResolveReferenceToHmcSegmentsExample extends App { val olrReference = @@ -82,10 +82,7 @@ object OlrResolveReferenceToHmcSegmentsExample extends App { try { val cacheManager = CacheManager.withLruCache() - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 769L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 769L) val reference = XmlMarshallers.openLRLocationReference .unmarshall(new ByteArrayInputStream(olrReference.getBytes("utf-8"))) diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OnTheFlyCompiledPropertyMapExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OnTheFlyCompiledPropertyMapExample.scala index cdd4966ff..ed14bcb49 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OnTheFlyCompiledPropertyMapExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/OnTheFlyCompiledPropertyMapExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ package com.here.platform.example.location.scala.standalone import java.io.FileOutputStream -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.compilation.heremapcontent.{AttributeAccessor, AttributeAccessors} import com.here.platform.location.core.geospatial.Implicits._ @@ -30,6 +29,8 @@ import com.here.platform.location.core.graph.{PropertyMap, RangeBasedProperty} import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.graph.{Forward, Vertex, Vertices} +import com.here.platform.location.integration.heremapcontent.HereMapContent +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps import com.here.platform.location.io.scaladsl.Color @@ -55,11 +56,8 @@ object OnTheFlyCompiledPropertyMapExample extends App { val cacheManager = CacheManager.withLruCache() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) - val hereMapContent = optimizedMap.resolveDependency(HRN("hrn:here:data::olp-here:rib-2")) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) + val hereMapContent = optimizedMap.resolveDependency(HereMapContent.v2.HRN) val speedLimitAccessor: AttributeAccessor[AdvancedNavigationAttributesPartition, Int] = AttributeAccessors diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherExample.scala index b046c998c..115e75792 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ package com.here.platform.example.location.scala.standalone import java.io.{File, FileOutputStream, InputStreamReader} import com.github.tototoshi.csv.CSVReader -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.geospatial.{GeoCoordinate, LineString} import com.here.platform.location.core.graph.PropertyMap @@ -32,6 +31,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.geospatial.PackedLineString import com.here.platform.location.inmemory.graph.Vertex +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps import com.here.platform.location.integration.optimizedmap.mapmatching.PathMatchers import com.here.platform.location.io.scaladsl.Color @@ -47,10 +47,7 @@ object PathMatcherExample extends App { val cacheManager = CacheManager.withLruCache() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val trip: Seq[GeoCoordinate] = loadTripFromCSVResource("/example_berlin_path.csv") diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherWithCustomNetworkFilterExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherWithCustomNetworkFilterExample.scala index 53aeb57c7..7e18e2bb8 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherWithCustomNetworkFilterExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PathMatcherWithCustomNetworkFilterExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,12 +22,12 @@ package com.here.platform.example.location.scala.standalone import java.io.InputStreamReader import com.github.tototoshi.csv.CSVReader -import com.here.hrn.HRN import com.here.platform.location.core.geospatial._ import com.here.platform.location.core.mapmatching._ import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.graph.Vertex +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.integration.optimizedmap.graph.{Graphs, PropertyMaps, RoadAccess} import com.here.platform.location.integration.optimizedmap.mapmatching.{ @@ -41,10 +41,7 @@ object PathMatcherWithCustomNetworkFilterExample extends App { val cacheManager = CacheManager.withLruCache() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val trip: Seq[GeoCoordinate] = Helpers.loadTripFromCSVResource("/berlin_no_taxi.csv") println(s"Loaded trip with ${trip.length} points.") diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PointMatcherExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PointMatcherExample.scala index c21031587..daa4ab507 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PointMatcherExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/PointMatcherExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ package com.here.platform.example.location.scala.standalone import java.io.{File, FileOutputStream, InputStreamReader} import com.github.tototoshi.csv.CSVReader -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.geospatial.Implicits._ import com.here.platform.location.core.geospatial.{ElementProjection, LineString, ProximitySearch} @@ -31,6 +30,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.graph.Vertex import com.here.platform.location.integration.heremapcontent.geospatial.Implicits.HereCommonPointOps +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.io.scaladsl.Color import com.here.platform.location.io.scaladsl.geojson.{FeatureCollection, SimpleStyleProperties} @@ -64,10 +64,7 @@ object PointMatcherExample extends App { try { val cacheManager = CacheManager.withLruCache() - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val trip: Seq[Point] = loadTripFromCSVResource("/example_berlin_path.csv") println(s"Loaded trip with ${trip.length} points.") diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/SparsePathMatcherExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/SparsePathMatcherExample.scala index e94fbd7a5..4cd8dc863 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/SparsePathMatcherExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/SparsePathMatcherExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ package com.here.platform.example.location.scala.standalone import java.io.{FileOutputStream, InputStreamReader} import com.github.tototoshi.csv.CSVReader -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.geospatial.{GeoCoordinate, LineString, LineStringOperations} import com.here.platform.location.core.mapmatching.MatchedPath.Transition @@ -32,6 +31,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.geospatial.PackedLineString import com.here.platform.location.inmemory.graph.Vertex +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps import com.here.platform.location.integration.optimizedmap.mapmatching.PathMatchers import com.here.platform.location.io.scaladsl.Color @@ -47,10 +47,7 @@ object SparsePathMatcherExample extends App { val cacheManager = CacheManager.withLruCache() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val trip: Seq[GeoCoordinate] = loadTripFromCSVResource("/example_berlin_path_sparse.csv") diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcCreateAndResolveExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcCreateAndResolveExample.scala index 99444a331..c1e51197f 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcCreateAndResolveExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcCreateAndResolveExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ package com.here.platform.example.location.scala.standalone import java.io.FileOutputStream -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.geospatial.Implicits._ import com.here.platform.location.core.geospatial.{ @@ -36,6 +35,7 @@ import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.geospatial.PackedLineString import com.here.platform.location.inmemory.graph.Vertex +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps import com.here.platform.location.io.scaladsl.Color @@ -61,10 +61,7 @@ object TmcCreateAndResolveExample extends App { val cacheManager = CacheManager.withLruCache() val catalogFactory = new StandaloneCatalogFactory() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) // Define a location that is covered by TMC val locationInFriedenstrasse = { diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcResolveReferencesInRttiMessageExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcResolveReferencesInRttiMessageExample.scala index d293c4554..459ff0158 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcResolveReferencesInRttiMessageExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TmcResolveReferencesInRttiMessageExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,13 +21,13 @@ package com.here.platform.example.location.scala.standalone import java.io.{File, FileOutputStream} -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.graph.PropertyMap import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.geospatial.PackedLineString import com.here.platform.location.inmemory.graph.Vertex +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.graph.PropertyMaps import com.here.platform.location.referencing.{LinearLocation, LocationReferenceResolvers} import com.here.platform.location.tpeg2.etl.{ExtendedTMCLocationReference, TMCLocationReference} @@ -39,12 +39,8 @@ import com.here.platform.location.io.scaladsl.geojson.{FeatureCollection, Simple /** Convert and resolve TMC references present in RTTI messages. */ object TmcResolveReferencesInRttiMessageExample extends App { - private val optimizedMapHrn = HRN( - "hrn:here:data::olp-here:here-optimized-map-for-location-library-2") - private val optimizedMapVersion = 705L - private val catalogFactory = new StandaloneCatalogFactory() - private val optimizedMap = catalogFactory.create(optimizedMapHrn, optimizedMapVersion) + private val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) private val cacheManager = CacheManager.withLruCache() private val resolver = LocationReferenceResolvers.extendedTmc(optimizedMap, cacheManager) diff --git a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TurnRestrictionsExample.scala b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TurnRestrictionsExample.scala index d1ecde2f2..68f03a6b4 100644 --- a/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TurnRestrictionsExample.scala +++ b/location/scala/standalone/src/main/scala/com/here/platform/example/location/scala/standalone/TurnRestrictionsExample.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,13 +21,13 @@ package com.here.platform.example.location.scala.standalone import java.io.FileOutputStream -import com.here.hrn.HRN import com.here.platform.example.location.utils.FileNameHelper import com.here.platform.location.core.geospatial.GeoCoordinate import com.here.platform.location.core.graph.{DirectedGraph, PropertyMap} import com.here.platform.location.dataloader.core.caching.CacheManager import com.here.platform.location.dataloader.standalone.StandaloneCatalogFactory import com.here.platform.location.inmemory.graph.{Edge, Vertex} +import com.here.platform.location.integration.optimizedmap.OptimizedMap import com.here.platform.location.integration.optimizedmap.geospatial.ProximitySearches import com.here.platform.location.integration.optimizedmap.graph.{ AccessRestriction, @@ -42,10 +42,7 @@ object TurnRestrictionsExample extends App { val cacheManager = CacheManager.withLruCache() try { - val optimizedMap = - catalogFactory.create( - HRN("hrn:here:data::olp-here:here-optimized-map-for-location-library-2"), - 705L) + val optimizedMap = catalogFactory.create(OptimizedMap.v2.HRN, 1293L) val turnRestrictionsMap: PropertyMap[Edge, Boolean] = PropertyMaps.turnRestrictions(optimizedMap, diff --git a/location/utils/pom.xml b/location/utils/pom.xml index dffa310e0..886245fb1 100644 --- a/location/utils/pom.xml +++ b/location/utils/pom.xml @@ -1,16 +1,17 @@ + 4.0.0 com.here.platform sdk-standalone-bom - 2.22.8 + 2.23.6 com.here.platform.example.location utils_2.11 - 0.0.597 + 0.0.610 jar Location Library Examples - Utils @@ -25,6 +26,13 @@ + + scm:git:https://github.com/heremaps/here-workspace-examples-java-scala.git + scm:git:git@github.com:heremaps/here-workspace-examples-java-scala.git + https://github.com/heremaps/here-workspace-examples-java-scala + 2.23.0 + + UTF-8 @@ -52,4 +60,4 @@ - \ No newline at end of file + diff --git a/location/utils/src/main/scala/com/here/platform/example/location/utils/FileNameHelper.scala b/location/utils/src/main/scala/com/here/platform/example/location/utils/FileNameHelper.scala index 45ceb93ba..e8bb62c81 100644 --- a/location/utils/src/main/scala/com/here/platform/example/location/utils/FileNameHelper.scala +++ b/location/utils/src/main/scala/com/here/platform/example/location/utils/FileNameHelper.scala @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 HERE Europe B.V. + * Copyright (C) 2017-2021 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.