class Highway(LineStrings):
    fields = (
        ('tunnel', Bool()),
        ('bridge', Bool()),
        ('oneway', Direction()),
        ('ref', String()),
        ('z_order', WayZOrder()),
    )
    field_filter = (('area', Bool()), )
class HighwayArea(Polygons):
    fields = (
        ('tunnel', Bool()),
        ('bridge', Bool()),
        ('oneway', Direction()),
        ('ref', String()),
        ('layer', Integer()),
        ('z_order', WayZOrder()),
        ('access', String()),
    )
Esempio n. 3
0
class Highway(LineStrings):
    fields = (
        ('highway', String()),
        ('layer', Integer()),
        ('z_order', WayZOrder()),
        ('access', String()),
        ('bicycle', String()),
        ('footway', String()),
        ('cycleway', String()),
        ('name', String()),
    )
    field_filter = (
        ('area', Bool()),
        ('tunnel', Bool()),
        ('bridge', Bool()),
    )
Esempio n. 4
0
class Highway(LineStrings):
    fields = (
        ('name', Name()),
        ('name:en', Name()),
        ('name:de', Name()),
        ('name:ru', Name()),
        ('tunnel', Bool()),
        ('bridge', Bool()),
        ('layer', Integer()),
        ('oneway', Direction()),
        ('ref', String()),
        ('access', String()),
        ('service', String()),
        ('z_order', WayZOrder()),
    )
    field_filter = (
        ('area', Bool()),
    )
                                  'crossing',
                                  'level_crossing',
                                  'subway_entrance',
                              ),
                              'aeroway': (
                                  'aerodrome',
                                  'terminal',
                                  'helipad',
                                  'gate',
                              )
                          })

railways = LineStrings(
    name='railways',
    fields=(
        ('tunnel', Bool()),
        ('bridge', Bool()),
        # ('ref', String()),
        ('layer', Integer()),
        ('z_order', WayZOrder()),
        ('access', String()),
    ),
    mapping={
        'railway': (
            'rail',
            'tram',
            'light_rail',
            'subway',
            'narrow_gauge',
            'preserved',
            'funicular',
Esempio n. 6
0
            'crossing',
            'level_crossing',
            'subway_entrance',
        ),
        'aeroway': (
            'aerodrome',
            'terminal',
            'helipad',
            'gate',
    )}
)

railways = LineStrings(
    name = 'railways',
    fields = (
        ('tunnel', Bool()),
        ('bridge', Bool()),
        # ('ref', String()),
        ('layer', Integer()),
        ('z_order', WayZOrder()),
        ('access', String()),
    ),
    mapping = {
        'railway': (
            'rail',
            'tram',
            'light_rail',
            'subway',
            'narrow_gauge',
            'preserved',
            'funicular',
Esempio n. 7
0
            'crossing',
            'level_crossing',
            'subway_entrance',
        ),
        'aeroway': (
            'aerodome',
            'terminal',
            'helipad',
            'gate',
    )}
)

railways = LineStrings(
    name = 'railways',
    fields = (
        ('tunnel', Bool()),
        ('bridge', Bool()),
        # ('ref', String()),
        ('z_order', WayZOrder()),
    ),
    mapping = {
        'railway': (
            'rail',
            'tram',
            'light_rail',
            'subway',
            'narrow_gauge',
            'preserved',
            'funicular',
            'monorail',
    )}
Esempio n. 8
0
                          })

shields = LineStrings(name='shields',
                      fields=(
                          ('network', String()),
                          ('ref', String()),
                          ('symbol', String()),
                          ('name', String()),
                          ('route', String()),
                          ('z_order', WayZOrder()),
                      ),
                      mapping={'type': ('route', )})

railways = LineStrings(name='railways',
                       fields=(
                           ('tunnel', Bool()),
                           ('bridge', Bool()),
                           ('colour', String()),
                           ('z_order', WayZOrder()),
                       ),
                       mapping={
                           'railway': (
                               'rail',
                               'tram',
                               'light_rail',
                               'subway',
                               'narrow_gauge',
                               'preserved',
                               'funicular',
                               'monorail',
                           ),