cs_lang:python:things-to-know:geographic
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cs_lang:python:things-to-know:geographic [2012/06/20 11:19] – cedric | cs_lang:python:things-to-know:geographic [2012/06/20 11:21] (current) – cedric | ||
|---|---|---|---|
| Line 37: | Line 37: | ||
| r = r * 1000.0 | r = r * 1000.0 | ||
| - | return | + | return |
| - | print epoch | + | |
| def EarthDistance((lat1, | def EarthDistance((lat1, | ||
| Line 60: | Line 60: | ||
| a = -1 | a = -1 | ||
| return CalcRad((lat1+lat2) / 2) * math.acos(a) | return CalcRad((lat1+lat2) / 2) * math.acos(a) | ||
| - | </ | ||
| - | <code python> | ||
| def MeterOffset((lat1, | def MeterOffset((lat1, | ||
| """ | """ | ||
cs_lang/python/things-to-know/geographic.1340183942.txt.gz · Last modified: by cedric
