add OneWay. no support in buildgraph yet

This commit is contained in:
Laura Klünder 2016-12-18 01:28:08 +01:00
parent 03b07d8a76
commit eb5dc1130a
4 changed files with 48 additions and 5 deletions

View file

@ -223,6 +223,16 @@ class Stair(DirectedLineGeometryMapItemWithLevel):
default_related_name = 'stairs'
class OneWay(DirectedLineGeometryMapItemWithLevel):
"""
A one way obstacle
"""
class Meta:
verbose_name = _('Oneway')
verbose_name_plural = _('Oneways')
default_related_name = 'oneways'
class Obstacle(GeometryMapItemWithLevel):
"""
An obstacle