Changeset 8872 in genesis for tools


Ignore:
Timestamp:
Mar 2, 2011, 7:43:15 PM (14 years ago)
Author:
rick
Message:

Damm I lost my nodes on the maps and found them back in Africa...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/rdnap.py

    r8869 r8872  
     1#
     2# REMEMBER
     3# latitude  : phi
     4# longitude : lam
     5#
    16import yaml
    27import urllib
     
    6469  raw = f.read()
    6570 
    66   lam,phi,h = raw.split('/')
     71  # Coordinates returned in 'odd' order
     72  phi,lam,h = raw.split('/')
    6773  coordinates[(xrd, yrd)] = (lam, phi)
    6874  write_yaml(CACHE_FILE, coordinates)
Note: See TracChangeset for help on using the changeset viewer.