rename and refactor mapdata models
This commit is contained in:
parent
a18dc108c1
commit
5973ca3211
10 changed files with 86 additions and 84 deletions
|
@ -4,11 +4,11 @@ from django.utils.translation import ugettext_lazy as _
|
|||
from shapely.geometry import CAP_STYLE, JOIN_STYLE
|
||||
from shapely.ops import cascaded_union
|
||||
|
||||
from c3nav.mapdata.models.base import MapItem
|
||||
from c3nav.mapdata.models.base import Feature
|
||||
from c3nav.mapdata.utils.geometry import assert_multilinestring, assert_multipolygon
|
||||
|
||||
|
||||
class Level(MapItem):
|
||||
class Level(Feature):
|
||||
"""
|
||||
A map level (-1, 0, 1, 2…)
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue