From 99101c9a456f8c32800872cd49efbdf111126c2c Mon Sep 17 00:00:00 2001
From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local>
Date: Fri, 7 Aug 2020 13:57:35 +0200
Subject: [PATCH] #1063319 Address geolocation documentation

---
 entity/Address_entity/Address_entity.aod                  | 2 ++
 entity/Address_entity/documentation.adoc                  | 1 +
 entity/Address_entity/entityfields/lat/documentation.adoc | 5 +++++
 entity/Address_entity/entityfields/lon/documentation.adoc | 5 +++++
 4 files changed, 13 insertions(+)
 create mode 100644 entity/Address_entity/entityfields/lat/documentation.adoc
 create mode 100644 entity/Address_entity/entityfields/lon/documentation.adoc

diff --git a/entity/Address_entity/Address_entity.aod b/entity/Address_entity/Address_entity.aod
index e0515671c3c..659f2cb64d1 100644
--- a/entity/Address_entity/Address_entity.aod
+++ b/entity/Address_entity/Address_entity.aod
@@ -471,11 +471,13 @@
     </entityParameter>
     <entityField>
       <name>LAT</name>
+      <documentation>%aditoprj%/entity/Address_entity/entityfields/lat/documentation.adoc</documentation>
       <title>Latitude</title>
       <contentType>NUMBER</contentType>
     </entityField>
     <entityField>
       <name>LON</name>
+      <documentation>%aditoprj%/entity/Address_entity/entityfields/lon/documentation.adoc</documentation>
       <title>Longitude</title>
       <contentType>NUMBER</contentType>
     </entityField>
diff --git a/entity/Address_entity/documentation.adoc b/entity/Address_entity/documentation.adoc
index e50f759d6ac..af4ee8b4a13 100644
--- a/entity/Address_entity/documentation.adoc
+++ b/entity/Address_entity/documentation.adoc
@@ -7,6 +7,7 @@ an entity for logic behind a postal address
 The entity manages storing postal addresses and provides features like validation.
 
 Every `CONTACT` has one standard address value that is used by default for some actions. Keep in mind that this standard address has a special status and therefore may cannot be deleted.
+The geographical location of an address can be stored in the fields 'LAT' (latitude) and 'LON' (longitude).
 
 Webservice Validation: See WsValidation_lib
 To enable the nominatim webservice: go to Preferences -> _____PREFERENCES_PROJECT -> _____PREFERENCES_PROJECT
diff --git a/entity/Address_entity/entityfields/lat/documentation.adoc b/entity/Address_entity/entityfields/lat/documentation.adoc
new file mode 100644
index 00000000000..848d2637362
--- /dev/null
+++ b/entity/Address_entity/entityfields/lat/documentation.adoc
@@ -0,0 +1,5 @@
+= Latitude
+
+The field "LAT" is used to store the geolocation latitude of the address.
+
+Currently, the field is not filled with data, this will be implemented in the future.
\ No newline at end of file
diff --git a/entity/Address_entity/entityfields/lon/documentation.adoc b/entity/Address_entity/entityfields/lon/documentation.adoc
new file mode 100644
index 00000000000..47eed872dbe
--- /dev/null
+++ b/entity/Address_entity/entityfields/lon/documentation.adoc
@@ -0,0 +1,5 @@
+= Longitude
+
+The field "LON" is used to store the geolocation longitude of the address.
+
+Currently, the field is not filled with data, this will be implemented in the future.
\ No newline at end of file
-- 
GitLab