Commit 0c6791a5 authored by jocelyn's avatar jocelyn

Fix doc regarding auto ground elevation fetching

parent 4b650ffb
......@@ -42,16 +42,11 @@ recognisable when seen on a picture.
To add new reference points, go to the Django admin, for instance at
<http://localhost:8000/admin/panorama/referencepoint>.
You need a name, GPS coordinates, and an altitude. The altitude is relative to
the sea level, so you need to figure out the ground altitude and add the height
of the reference point (e.g. height of the building).
In the future, the ground altitude will be computed automatically.
In the meantime, you can use the geonames API to get the ground altitude:
lat=42.4
lon=0.54
curl "http://api.geonames.org/astergdem?lat=$lat&lng=$lon&username=celutz&style=full"
You need a name, GPS coordinates, and an altitude. The altitude is relative to
the sea level. Celutz queries ground elevation
from [geonames api](http://www.geonames.org/export/web-services.html), you
still have to add the height of the reference point (e.g. height of the
building).
*Hint: it is better to set the altitude of the topmost part of a building.
This is because it will be much easier to aim when viewing a panorama.*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment