Ways¶
-
class
pylayers.gis.osmparser.Ways[source]¶ Bases:
objectw : dict way : dict cpt : int
way counter
ways eval show
Attributes Summary
Methods Summary
building(ways[, height, min_heigh])building callback function
clean()clean ways
Ways.evalWays.readmapshow([typ])show all way
showold([fig, ax])show ways
tomaska(m[, lonlat])convert to masked array
ways(ways)general callback function
Attributes Documentation
-
cpt= 0¶
-
w= {}¶
-
way= {}¶
Methods Documentation
-
building(ways, height=8.5, min_heigh=0)[source]¶ building callback function
ways : Ways height : float
-
show(typ=2, **kwargs)[source]¶ show all way
fig : figure ax : axe typ : 0|1|2 (default)
0 : display only way of typ 0 (Polygon) 1 : display only way of typ 1 (Linestring) 2 : display all way (default)
-