Auto-set Stellarium's location on launch

Registered by Keith Schacht

I propose we add a new key to the init_location section of the INI file (use_ip_geolocation_if_available = true | false). If this is set to "true" then, upon launch Stellarium attempts to ping a remote web service to get the approximate location of the computer's wan IP address (http://www.ipinfodb.com/ip_location_api.php). If Stellarium receives a response from this web service with a city then it uses this location as the location, if not, it falls back to what the INI file specifies.

Blueprint information

Status:
Complete
Approver:
Alexander Wolf
Priority:
Low
Drafter:
Keith Schacht
Direction:
Approved
Assignee:
gzotti
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.13.1
Started by
gzotti
Completed by
gzotti

Sprints

Whiteboard

Addition: if false, keep the option available on a button in the location panel.
Note: The IP service above may not allow general use from a program. There are others available...

(?)

Work Items

Work items:
check if online: DONE
query location: DONE
add button to Location panel: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.