Closed bmeesters closed 11 months ago
I think it's best suited to have the address georeference removed as it only creates the possibility for confusion.
@thomaskolmans We cannot remove it as that would require we go to OTM6.0. We can only deprecate it, which is the proposed approach.
We had a discussion a little while ago, but I forgot to post the conclusions. In general we see the value, but the more general solution would be if we can support 'locations' within locations. That way, you can add multiple addresses, each with their own coordinates that all relate to some overarching location.
Examples include:
We can opt for a similar solution as with consignment
s and support 'relatedLocations` as a new field on the location itself.
Discussed: we want examples to see how it works. I'll prepare something for the next time.
I have updated the description with examples and more descriptions on the why and the how
Discussed last Wednesday and accepted as candidate for OTM5.6
This is now part of OTM5.6 so can be closed.
Former title: Support zero or multiple geoReferences on locations. But decided to change the solution direction to move towards locations being able to point to other locations.
Type of request
Is your feature request related to a problem?
There are a few problems with how locations can be modeled in OTM5:
Each of these will be explained in more detail below:
1. Locations are inconsistent depending on their fields
Currently locations are required to have a geoReference. An awkward consequence is that if you have locations with some geoReferences and some address and those with only addresses that the format is not consistent:
2. Not being able to have multiple geoReferences
Locations often have multiple geometric properties that can be of interest:
Some of these can already be solved in OTM5. It is possible to provide both an address and coordinates (see example in 1), but it is not possible to have both a surface area and coordiantes that can be used for a route guidance.
3. Multiple points of interest.
Larger locations that are used for logistic operations (such as warehouses) often are so large that there are multiple points of interest. For example a distribution center often has multiple docks where you can load/unload. You can work around this issue by creating new OTM locations for each dock. But there is no means to link those docks to the official location, potentially resulting in repeating the same shared data over and over again.
Describe the solution you'd like
To solve these issues I propose the following changes:
Make the geoReference in a
location
optional instead of mandatory. This ensures that locations with an address and locations with an address + coordinates looks consistent. It is also an easy change to do.Support sub-locations on a location. This is a change that requires just one extra field without any new formats while opening multiple options
An example would look like: