Storey (tag)
From SnapMap
storey=<number> or story=<number> is a way of setting approximate altitude based on how many floors up the photographer was (or is estimated to have been).
Contents |
Example
src=http://www.bbc.co.uk/remembrance/img/cenotaph_446x251.jpg storey=2
European and American storeys/stories
Of course, while Europeans treat the ground floor as floor 0, Americans treat it as floor 1. We easily get around this by using the American spelling story for 1-based counting, European storey for 0-based counting.
User agents
To convert storey data into usable altitude data, we need two things: an approximation of the height per storey, and an approximation of the height the average camera is from the floor when shooting.
The SnapMap image cache uses 3.5m for the former, and 1.6m for the latter, giving the formulae, for European and American usage respectively:
- altitude = 3.5 * storey + 1.6
- altitude = 3.5 * (story-1) + 1.6.
