Package mosp :: Package geo :: Module osm :: Class OSMModel
[hide private]
[frames] | no frames]

Class OSMModel

source code


A OSM-based geo-model. A simulation world with geo data.


Authors:
F. Ludwig, P. Tute, B. Henne
Instance Methods [hide private]
 
__init__(self, fname, **kwargs)
Initializes OSMModel object.
source code
 
out_of_bb(self, node)
Is node out of UTM bounding box?
source code
 
initialize(self, sim, enable_routing=True)
Initializes the model by parsing and manipulating OSM XML data.
source code

Inherited from collide.World: add, calculate_grid, collide_circle, collide_circle_impl0, collide_circle_impl1, collide_circle_impl2, collide_polygon, collide_rectangle, update

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fname, **kwargs)
(Constructor)

source code 

Initializes OSMModel object.

Call initialize() to load OSM XML data from fname.

Overrides: object.__init__