Changeset 8460 in genesis
- Timestamp:
- Sep 15, 2010, 8:27:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/make-map.py
r8321 r8460 192 192 <description>All active nodes</description> 193 193 <Placemark> 194 <name> Node %(name)s</name>194 <name>%(nodetype)s %(nodename)s</name> 195 195 <description>%(desc)s</description> 196 196 <styleUrl>%(style)s</styleUrl> 197 197 <Point><coordinates>%(lam)s,%(phi)s,0</coordinates></Point> 198 198 </Placemark> 199 """ % {'n ame' : host, 'desc' : cgi.escape(datadump['location']), 'style' : '#node_status_' + node_status, 'lam' : lam, 'phi' : phi})199 """ % {'nodetype' : datadump['nodetype'], 'nodename' : datadump['nodename'], 'desc' : cgi.escape(datadump['location']), 'style' : '#node_status_' + node_status, 'lam' : lam, 'phi' : phi}) 200 200 nodes += [("POINT(%s, %s)" % (lam, phi))] 201 201 except (KeyError, ValueError), e:
Note:
See TracChangeset
for help on using the changeset viewer.