News for hackers. Stuff that matters.
Re:Open Location Code by tylerhou on Monday December 10, 2018 @05:27AM (#18646751)
Floors can be weird; I’m not sure how you’d handle a hotel skipping the 13th floor, for instance. Also, are floors 0 indexes or 1 indexed? It therefore probably shouldn’t be built into the protocol.
Re:Open Location Code by coldtea on Monday December 10, 2018 @05:45AM (#18646858)
Or it should be built into the protocol and specify a specific ruleset -- if a country/building follows another, it's up to the user to translate.
Re:Open Location Code by roselan on Monday December 10, 2018 @05:58AM (#18646929)
In some places it can be -1 or 2 indexed so that a building can have more floors than legally specified.
Re:Open Location Code by bryanrasmussen on Monday December 10, 2018 @06:49AM (#18647180)
Also some buildings could have been added to after building and a basement turned into a living area, so -1.