omniscale/imposm2

Towers

milovanderlinden opened this issue · 1 comments

Hi,

In our imposm configuration for basemaps I am currently adding a layer for towers since they are such dominant landmarks that they can be used for orientation.

For this I have added the following definition that I will also use in basemaps. Can these be made available in defaultmapping.py?

class Towers(Points):
    fields = (
        ('man_made', String()),
        ('height', String()),
        ('tower:type', String()),
        ('tower:construction', String()),
        ('ref', String()),
        ('ele', String()),
        ('access', String()),
        ('source', String()),
    )

towers = Towers(
    name='towers',
    mapping = {
        'man_made': (
            'lighthouse',
            'mast',
            'tower',
            'water_tower',
        )
    ),
})

Plus one minor tweak:

towers = Towers(
    name='towers',
    mapping = {
        'man_made': (
            'lighthouse',
            'mast',
            'tower',
            'water_tower',
            'communications_tower',
        )
    ),
})