So, how exactly do we implement a DistanceFrom() operator without encoding our Addresses using a standard UOM? (like lat/lon for instance)? There is nothing intrinsic to this particular type, as presented, that tells us we can perform any useful operations of any type on it, without first converting to a standard UOM (see previous post). This type so far consists of:
And of course the DistanceFrom() operator that uses the information above to calculate the distance between addresses.
Just like with the InventoryItems, etc., what type of useful calculations can you perform with the above without first converting it to a standard UOM and performing the calculations on that encoded data?
I think I already mentioned the need for these UDT's to have some sort of encoding ability as well as some type of conversion ability (either implicit or explicit) to standard UOMs in order to get any type of useful result.
The distance from '123 Sesame St' to '1600 Pennsylvania Ave' is 17.
*Levenshtein Edit Distance