Abstract all position detection stuff in an extra package
Tarek already mentioned this point so I'll pick it up here and explain some details before we forget this.
The position of the router is one of the key configurations for multiple important features i.e. hoodselector or displaying the router on the map. Because this configuration is so important, we should abstract this configuration from single tools. Therefore all Tools should get the position from a single configuration file, i.e.:
- 'gluon-node-info', 'location'
As a consequence, no tool should implement it's own methods for position detection. Therefore the content of the method get_geolocation should be moved into a seperate package named "geodetector" i.e.. This package should be called two times:
- after the router booted and has network set up, but before any tool that needs a location is is executed the first time.
- after the hoodselector is executed the first time