There are databases of IP address ranges and which country or city they belong to. If you were to upload these to SAFE and make an index to be able to query them quickly, it would be possible to make a function that takes your IP address and does an anonymous query to find you country or city.
Should this be implemented in the SAFE Browser for enabling the HTML 5 location API on desktop computers? On mobiles the HTML 5 Geolocation API uses GPS. Firefox and Chrome on desktop send your IP address to Google Location Services if you click approve when a website asks to get access to your location. On SAFE this API could replace the Google servers with the SAFE Network to allow getting your approximate location without revealing your IP address. I suppose you could also prevent the app developer from storing your location somewhere where they have read access so that the app could use your location only locally in the app.