Package sabx10 :: Package osm :: Module utils :: Class NodeId
[hide private]
[frames] | no frames]

Class NodeId

source code

object --+    
         |    
    BaseId --+
             |
            NodeId

A BaseId modification that starts numbering after the ids in the waypoints for a given segment list.

Instance Methods [hide private]
 
__init__(self, seg_list)
Get the max id in the segment list and start at the next highest one.
source code

Inherited from BaseId: next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from BaseId: next_id

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, seg_list)
(Constructor)

source code 

Get the max id in the segment list and start at the next highest one.

Parameters:
Overrides: object.__init__