FloorPlan

class pylayers.gis.osmparser.FloorPlan(rootid, coords, nodes, ways, relations)[source]

Bases: networkx.classes.digraph.DiGraph

FloorPlan class derived from nx.DigGraph

build : recursive construction of floor plan show : show the floor plan

Methods Summary

build(typ, eid)

Notes : recursive construction

show([nid, fig, ax])

show the floorplan

Methods Documentation

build(typ, eid)[source]

Notes : recursive construction

typstring

‘relation’ | ‘way’ | ‘node’

show(nid=None, fig=[], ax=[])[source]

show the floorplan

nid : int fig : plt.figure ax : plt.ax