refactoring imposm3 poi mapping
This commit is contained in:
parent
b173b2acd2
commit
e674eb13bb
@ -1,3 +1,283 @@
|
||||
|
||||
# imposm3 mapping file
|
||||
|
||||
def_poi_mapping_amenity: &poi_mapping_amenity
|
||||
- arts_centre
|
||||
- bank
|
||||
- bar
|
||||
- bbq
|
||||
- bicycle_rental
|
||||
- biergarten
|
||||
- bus_station
|
||||
- cafe
|
||||
- cinema
|
||||
- college
|
||||
- community_centre
|
||||
- courthouse
|
||||
- dentist
|
||||
- doctors
|
||||
- embassy
|
||||
- fast_food
|
||||
- ferry_terminal
|
||||
- fire_station
|
||||
- food_court
|
||||
- fuel
|
||||
- grave_yard
|
||||
- hospital
|
||||
- kindergarten
|
||||
- library
|
||||
- marketplace
|
||||
- nightclub
|
||||
- nursing_home
|
||||
- pharmacy
|
||||
- place_of_worship
|
||||
- police
|
||||
- post_box
|
||||
- post_office
|
||||
- prison
|
||||
- pub
|
||||
- public_building
|
||||
- recycling
|
||||
- restaurant
|
||||
- school
|
||||
- shelter
|
||||
- swimming_pool
|
||||
- taxi
|
||||
- telephone
|
||||
- theatre
|
||||
- toilets
|
||||
- townhall
|
||||
- university
|
||||
- veterinary
|
||||
- waste_basket
|
||||
|
||||
def_poi_mapping_aerialway: &poi_mapping_aerialway
|
||||
- station
|
||||
|
||||
def_poi_mapping_leisure: &poi_mapping_leisure
|
||||
- dog_park
|
||||
- garden
|
||||
- golf_course
|
||||
- ice_rink
|
||||
- marina
|
||||
- miniature_golf
|
||||
- park
|
||||
- pitch
|
||||
- playground
|
||||
- sports_centre
|
||||
- stadium
|
||||
- swimming_area
|
||||
- swimming_pool
|
||||
- water_park
|
||||
|
||||
def_poi_mapping_landuse: &poi_mapping_landuse
|
||||
- basin
|
||||
- brownfield
|
||||
- cemetery
|
||||
- reservoir
|
||||
|
||||
def_poi_mapping_sport: &poi_mapping_sport
|
||||
- american_football
|
||||
- archery
|
||||
- athletics
|
||||
- australian_football
|
||||
- badminton
|
||||
- baseball
|
||||
- basketball
|
||||
- beachvolleyball
|
||||
- billiards
|
||||
- bmx
|
||||
- boules
|
||||
- bowls
|
||||
- boxing
|
||||
- canadian_football
|
||||
- canoe
|
||||
- chess
|
||||
- climbing
|
||||
- climbing_adventure
|
||||
- cricket
|
||||
- cricket_nets
|
||||
- croquet
|
||||
- curling
|
||||
- cycling
|
||||
- disc_golf
|
||||
- diving
|
||||
- dog_racing
|
||||
- equestrian
|
||||
- fatsal
|
||||
- field_hockey
|
||||
- free_flying
|
||||
- gaelic_games
|
||||
- golf
|
||||
- gymnastics
|
||||
- handball
|
||||
- hockey
|
||||
- horse_racing
|
||||
- horseshoes
|
||||
- ice_hockey
|
||||
- ice_stock
|
||||
- judo
|
||||
- karting
|
||||
- korfball
|
||||
- long_jump
|
||||
- model_aerodrome
|
||||
- motocross
|
||||
- motor
|
||||
- multi
|
||||
- netball
|
||||
- orienteering
|
||||
- paddle_tennis
|
||||
- paintball
|
||||
- paragliding
|
||||
- pelota
|
||||
- racquet
|
||||
- rc_car
|
||||
- rowing
|
||||
- rugby
|
||||
- rugby_league
|
||||
- rugby_union
|
||||
- running
|
||||
- sailing
|
||||
- scuba_diving
|
||||
- shooting
|
||||
- shooting_range
|
||||
- skateboard
|
||||
- skating
|
||||
- skiing
|
||||
- soccer
|
||||
- surfing
|
||||
- swimming
|
||||
- table_soccer
|
||||
- table_tennis
|
||||
- team_handball
|
||||
- tennis
|
||||
- toboggan
|
||||
- volleyball
|
||||
- water_ski
|
||||
- yoga
|
||||
|
||||
def_poi_mapping_tourism: &poi_mapping_tourism
|
||||
- alpine_hut
|
||||
- artwork
|
||||
- attraction
|
||||
- bed_and_breakfast
|
||||
- camp_site
|
||||
- caravan_site
|
||||
- chalet
|
||||
- gallery
|
||||
- guest_house
|
||||
- hostel
|
||||
- hotel
|
||||
- information
|
||||
- motel
|
||||
- museum
|
||||
- picnic_site
|
||||
- theme_park
|
||||
- viewpoint
|
||||
- zoo
|
||||
|
||||
def_poi_mapping_shop: &poi_mapping_shop
|
||||
- accessories
|
||||
- alcohol
|
||||
- antiques
|
||||
- art
|
||||
- bag
|
||||
- bakery
|
||||
- beauty
|
||||
- bed
|
||||
- beverages
|
||||
- bicycle
|
||||
- books
|
||||
- boutique
|
||||
- butcher
|
||||
- camera
|
||||
- car
|
||||
- car_repair
|
||||
- carpet
|
||||
- charity
|
||||
- chemist
|
||||
- chocolate
|
||||
- clothes
|
||||
- coffee
|
||||
- computer
|
||||
- confectionery
|
||||
- convenience
|
||||
- copyshop
|
||||
- cosmetics
|
||||
- deli
|
||||
- delicatessen
|
||||
- department_store
|
||||
- doityourself
|
||||
- dry_cleaning
|
||||
- electronics
|
||||
- erotic
|
||||
- fabric
|
||||
- florist
|
||||
- furniture
|
||||
- garden_centre
|
||||
- general
|
||||
- gift
|
||||
- greengrocer
|
||||
- hairdresser
|
||||
- hardware
|
||||
- hearing_aids
|
||||
- hifi
|
||||
- ice_cream
|
||||
- interior_decoration
|
||||
- jewelry
|
||||
- kiosk
|
||||
- lamps
|
||||
- laundry
|
||||
- mall
|
||||
- massage
|
||||
- mobile_phone
|
||||
- motorcycle
|
||||
- music
|
||||
- musical_instrument
|
||||
- newsagent
|
||||
- optician
|
||||
- outdoor
|
||||
- perfume
|
||||
- perfumery
|
||||
- pet
|
||||
- photo
|
||||
- second_hand
|
||||
- shoes
|
||||
- sports
|
||||
- stationery
|
||||
- supermarket
|
||||
- tailor
|
||||
- tattoo
|
||||
- ticket
|
||||
- tobacco
|
||||
- toys
|
||||
- travel_agency
|
||||
- video
|
||||
- video_games
|
||||
- watches
|
||||
- weapons
|
||||
- wholesale
|
||||
- wine
|
||||
|
||||
def_poi_mapping_highway: &poi_mapping_highway
|
||||
- bus_stop
|
||||
|
||||
def_poi_mapping_barrier: &poi_mapping_barrier
|
||||
- bollard
|
||||
- border_control
|
||||
- cycle_barrier
|
||||
- gate
|
||||
- lift_gate
|
||||
- sally_port
|
||||
- stile
|
||||
- toll_booth
|
||||
|
||||
def_poi_mapping_historic: &poi_mapping_historic
|
||||
- monument
|
||||
|
||||
def_poi_mapping_waterway: &poi_mapping_waterway
|
||||
- dock
|
||||
|
||||
tables:
|
||||
# etldoc: imposm3 -> osm_poi_point
|
||||
poi_point:
|
||||
@ -16,273 +296,17 @@ tables:
|
||||
- name: subclass
|
||||
type: mapping_value
|
||||
mapping:
|
||||
amenity:
|
||||
- arts_centre
|
||||
- bank
|
||||
- bar
|
||||
- bbq
|
||||
- bicycle_rental
|
||||
- biergarten
|
||||
- bus_station
|
||||
- cafe
|
||||
- cinema
|
||||
- college
|
||||
- community_centre
|
||||
- courthouse
|
||||
- dentist
|
||||
- doctors
|
||||
- embassy
|
||||
- fast_food
|
||||
- ferry_terminal
|
||||
- fire_station
|
||||
- food_court
|
||||
- fuel
|
||||
- grave_yard
|
||||
- hospital
|
||||
- kindergarten
|
||||
- library
|
||||
- marketplace
|
||||
- nightclub
|
||||
- nursing_home
|
||||
- pharmacy
|
||||
- place_of_worship
|
||||
- police
|
||||
- post_box
|
||||
- post_office
|
||||
- prison
|
||||
- pub
|
||||
- public_building
|
||||
- recycling
|
||||
- restaurant
|
||||
- school
|
||||
- shelter
|
||||
- swimming_pool
|
||||
- taxi
|
||||
- telephone
|
||||
- theatre
|
||||
- toilets
|
||||
- townhall
|
||||
- university
|
||||
- veterinary
|
||||
- waste_basket
|
||||
leisure:
|
||||
- dog_park
|
||||
- garden
|
||||
- golf_course
|
||||
- ice_rink
|
||||
- marina
|
||||
- miniature_golf
|
||||
- park
|
||||
- pitch
|
||||
- playground
|
||||
- sports_centre
|
||||
- stadium
|
||||
- swimming_area
|
||||
- swimming_pool
|
||||
- water_park
|
||||
landuse:
|
||||
- basin
|
||||
- brownfield
|
||||
- cemetery
|
||||
- reservoir
|
||||
sport:
|
||||
- american_football
|
||||
- archery
|
||||
- athletics
|
||||
- australian_football
|
||||
- badminton
|
||||
- baseball
|
||||
- basketball
|
||||
- beachvolleyball
|
||||
- billiards
|
||||
- bmx
|
||||
- boules
|
||||
- bowls
|
||||
- boxing
|
||||
- canadian_football
|
||||
- canoe
|
||||
- chess
|
||||
- climbing
|
||||
- climbing_adventure
|
||||
- cricket
|
||||
- cricket_nets
|
||||
- croquet
|
||||
- curling
|
||||
- cycling
|
||||
- disc_golf
|
||||
- diving
|
||||
- dog_racing
|
||||
- equestrian
|
||||
- fatsal
|
||||
- field_hockey
|
||||
- free_flying
|
||||
- gaelic_games
|
||||
- golf
|
||||
- gymnastics
|
||||
- handball
|
||||
- hockey
|
||||
- horse_racing
|
||||
- horseshoes
|
||||
- ice_hockey
|
||||
- ice_stock
|
||||
- judo
|
||||
- karting
|
||||
- korfball
|
||||
- long_jump
|
||||
- model_aerodrome
|
||||
- motocross
|
||||
- motor
|
||||
- multi
|
||||
- netball
|
||||
- orienteering
|
||||
- paddle_tennis
|
||||
- paintball
|
||||
- paragliding
|
||||
- pelota
|
||||
- racquet
|
||||
- rc_car
|
||||
- rowing
|
||||
- rugby
|
||||
- rugby_league
|
||||
- rugby_union
|
||||
- running
|
||||
- sailing
|
||||
- scuba_diving
|
||||
- shooting
|
||||
- shooting_range
|
||||
- skateboard
|
||||
- skating
|
||||
- skiing
|
||||
- soccer
|
||||
- surfing
|
||||
- swimming
|
||||
- table_soccer
|
||||
- table_tennis
|
||||
- team_handball
|
||||
- tennis
|
||||
- toboggan
|
||||
- volleyball
|
||||
- water_ski
|
||||
- yoga
|
||||
tourism:
|
||||
- alpine_hut
|
||||
- artwork
|
||||
- attraction
|
||||
- bed_and_breakfast
|
||||
- camp_site
|
||||
- caravan_site
|
||||
- chalet
|
||||
- gallery
|
||||
- guest_house
|
||||
- hostel
|
||||
- hotel
|
||||
- information
|
||||
- motel
|
||||
- museum
|
||||
- picnic_site
|
||||
- theme_park
|
||||
- viewpoint
|
||||
- zoo
|
||||
shop:
|
||||
- accessories
|
||||
- alcohol
|
||||
- antiques
|
||||
- art
|
||||
- bag
|
||||
- bakery
|
||||
- beauty
|
||||
- bed
|
||||
- beverages
|
||||
- bicycle
|
||||
- books
|
||||
- boutique
|
||||
- butcher
|
||||
- camera
|
||||
- car
|
||||
- car_repair
|
||||
- carpet
|
||||
- charity
|
||||
- chemist
|
||||
- chocolate
|
||||
- clothes
|
||||
- coffee
|
||||
- computer
|
||||
- confectionery
|
||||
- convenience
|
||||
- copyshop
|
||||
- cosmetics
|
||||
- deli
|
||||
- delicatessen
|
||||
- department_store
|
||||
- doityourself
|
||||
- dry_cleaning
|
||||
- electronics
|
||||
- erotic
|
||||
- fabric
|
||||
- florist
|
||||
- furniture
|
||||
- garden_centre
|
||||
- general
|
||||
- gift
|
||||
- greengrocer
|
||||
- hairdresser
|
||||
- hardware
|
||||
- hearing_aids
|
||||
- hifi
|
||||
- ice_cream
|
||||
- interior_decoration
|
||||
- jewelry
|
||||
- kiosk
|
||||
- lamps
|
||||
- laundry
|
||||
- mall
|
||||
- massage
|
||||
- mobile_phone
|
||||
- motorcycle
|
||||
- music
|
||||
- musical_instrument
|
||||
- newsagent
|
||||
- optician
|
||||
- outdoor
|
||||
- perfume
|
||||
- perfumery
|
||||
- pet
|
||||
- photo
|
||||
- second_hand
|
||||
- shoes
|
||||
- sports
|
||||
- stationery
|
||||
- supermarket
|
||||
- tailor
|
||||
- tattoo
|
||||
- ticket
|
||||
- tobacco
|
||||
- toys
|
||||
- travel_agency
|
||||
- video
|
||||
- video_games
|
||||
- watches
|
||||
- weapons
|
||||
- wholesale
|
||||
- wine
|
||||
highway:
|
||||
- bus_stop
|
||||
barrier:
|
||||
- bollard
|
||||
- border_control
|
||||
- cycle_barrier
|
||||
- gate
|
||||
- lift_gate
|
||||
- sally_port
|
||||
- stile
|
||||
- toll_booth
|
||||
historic:
|
||||
- monument
|
||||
waterway:
|
||||
- dock
|
||||
aerialway:
|
||||
- station
|
||||
|
||||
aerialway: *poi_mapping_aerialway
|
||||
amenity: *poi_mapping_amenity
|
||||
barrier: *poi_mapping_barrier
|
||||
highway: *poi_mapping_highway
|
||||
historic: *poi_mapping_historic
|
||||
landuse: *poi_mapping_landuse
|
||||
leisure: *poi_mapping_leisure
|
||||
shop: *poi_mapping_shop
|
||||
sport: *poi_mapping_sport
|
||||
tourism: *poi_mapping_tourism
|
||||
waterway: *poi_mapping_waterway
|
||||
|
||||
|
||||
# etldoc: imposm3 -> osm_poi_polygon
|
||||
@ -302,269 +326,16 @@ tables:
|
||||
- name: subclass
|
||||
type: mapping_value
|
||||
mapping:
|
||||
amenity:
|
||||
- arts_centre
|
||||
- bank
|
||||
- bar
|
||||
- bbq
|
||||
- bicycle_rental
|
||||
- biergarten
|
||||
- bus_station
|
||||
- cafe
|
||||
- cinema
|
||||
- college
|
||||
- community_centre
|
||||
- courthouse
|
||||
- dentist
|
||||
- doctors
|
||||
- embassy
|
||||
- fast_food
|
||||
- ferry_terminal
|
||||
- fire_station
|
||||
- food_court
|
||||
- fuel
|
||||
- grave_yard
|
||||
- hospital
|
||||
- kindergarten
|
||||
- library
|
||||
- marketplace
|
||||
- nightclub
|
||||
- nursing_home
|
||||
- pharmacy
|
||||
- place_of_worship
|
||||
- police
|
||||
- post_box
|
||||
- post_office
|
||||
- prison
|
||||
- pub
|
||||
- public_building
|
||||
- recycling
|
||||
- restaurant
|
||||
- school
|
||||
- shelter
|
||||
- swimming_pool
|
||||
- taxi
|
||||
- telephone
|
||||
- theatre
|
||||
- toilets
|
||||
- townhall
|
||||
- university
|
||||
- veterinary
|
||||
- waste_basket
|
||||
leisure:
|
||||
- dog_park
|
||||
- garden
|
||||
- golf_course
|
||||
- ice_rink
|
||||
- marina
|
||||
- miniature_golf
|
||||
- park
|
||||
- pitch
|
||||
- playground
|
||||
- sports_centre
|
||||
- stadium
|
||||
- swimming_area
|
||||
- swimming_pool
|
||||
- water_park
|
||||
landuse:
|
||||
- basin
|
||||
- brownfield
|
||||
- cemetery
|
||||
- reservoir
|
||||
sport:
|
||||
- american_football
|
||||
- archery
|
||||
- athletics
|
||||
- australian_football
|
||||
- badminton
|
||||
- baseball
|
||||
- basketball
|
||||
- beachvolleyball
|
||||
- billiards
|
||||
- bmx
|
||||
- boules
|
||||
- bowls
|
||||
- boxing
|
||||
- canadian_football
|
||||
- canoe
|
||||
- chess
|
||||
- climbing
|
||||
- climbing_adventure
|
||||
- cricket
|
||||
- cricket_nets
|
||||
- croquet
|
||||
- curling
|
||||
- cycling
|
||||
- disc_golf
|
||||
- diving
|
||||
- dog_racing
|
||||
- equestrian
|
||||
- fatsal
|
||||
- field_hockey
|
||||
- free_flying
|
||||
- gaelic_games
|
||||
- golf
|
||||
- gymnastics
|
||||
- handball
|
||||
- hockey
|
||||
- horse_racing
|
||||
- horseshoes
|
||||
- ice_hockey
|
||||
- ice_stock
|
||||
- judo
|
||||
- karting
|
||||
- korfball
|
||||
- long_jump
|
||||
- model_aerodrome
|
||||
- motocross
|
||||
- motor
|
||||
- multi
|
||||
- netball
|
||||
- orienteering
|
||||
- paddle_tennis
|
||||
- paintball
|
||||
- paragliding
|
||||
- pelota
|
||||
- racquet
|
||||
- rc_car
|
||||
- rowing
|
||||
- rugby
|
||||
- rugby_league
|
||||
- rugby_union
|
||||
- running
|
||||
- sailing
|
||||
- scuba_diving
|
||||
- shooting
|
||||
- shooting_range
|
||||
- skateboard
|
||||
- skating
|
||||
- skiing
|
||||
- soccer
|
||||
- surfing
|
||||
- swimming
|
||||
- table_soccer
|
||||
- table_tennis
|
||||
- team_handball
|
||||
- tennis
|
||||
- toboggan
|
||||
- volleyball
|
||||
- water_ski
|
||||
- yoga
|
||||
tourism:
|
||||
- alpine_hut
|
||||
- artwork
|
||||
- attraction
|
||||
- bed_and_breakfast
|
||||
- camp_site
|
||||
- caravan_site
|
||||
- chalet
|
||||
- gallery
|
||||
- guest_house
|
||||
- hostel
|
||||
- hotel
|
||||
- information
|
||||
- motel
|
||||
- museum
|
||||
- picnic_site
|
||||
- theme_park
|
||||
- viewpoint
|
||||
- zoo
|
||||
shop:
|
||||
- accessories
|
||||
- alcohol
|
||||
- antiques
|
||||
- art
|
||||
- bag
|
||||
- bakery
|
||||
- beauty
|
||||
- bed
|
||||
- beverages
|
||||
- bicycle
|
||||
- books
|
||||
- boutique
|
||||
- butcher
|
||||
- camera
|
||||
- car
|
||||
- car_repair
|
||||
- carpet
|
||||
- charity
|
||||
- chemist
|
||||
- chocolate
|
||||
- clothes
|
||||
- coffee
|
||||
- computer
|
||||
- confectionery
|
||||
- convenience
|
||||
- copyshop
|
||||
- cosmetics
|
||||
- deli
|
||||
- delicatessen
|
||||
- department_store
|
||||
- doityourself
|
||||
- dry_cleaning
|
||||
- electronics
|
||||
- erotic
|
||||
- fabric
|
||||
- florist
|
||||
- furniture
|
||||
- garden_centre
|
||||
- general
|
||||
- gift
|
||||
- greengrocer
|
||||
- hairdresser
|
||||
- hardware
|
||||
- hearing_aids
|
||||
- hifi
|
||||
- ice_cream
|
||||
- interior_decoration
|
||||
- jewelry
|
||||
- kiosk
|
||||
- lamps
|
||||
- laundry
|
||||
- mall
|
||||
- massage
|
||||
- mobile_phone
|
||||
- motorcycle
|
||||
- music
|
||||
- musical_instrument
|
||||
- newsagent
|
||||
- optician
|
||||
- outdoor
|
||||
- perfume
|
||||
- perfumery
|
||||
- pet
|
||||
- photo
|
||||
- second_hand
|
||||
- shoes
|
||||
- sports
|
||||
- stationery
|
||||
- supermarket
|
||||
- tailor
|
||||
- tattoo
|
||||
- ticket
|
||||
- tobacco
|
||||
- toys
|
||||
- travel_agency
|
||||
- video
|
||||
- video_games
|
||||
- watches
|
||||
- weapons
|
||||
- wholesale
|
||||
- wine
|
||||
highway:
|
||||
- bus_stop
|
||||
barrier:
|
||||
- bollard
|
||||
- border_control
|
||||
- cycle_barrier
|
||||
- gate
|
||||
- lift_gate
|
||||
- sally_port
|
||||
- stile
|
||||
- toll_booth
|
||||
historic:
|
||||
- monument
|
||||
waterway:
|
||||
- dock
|
||||
aerialway:
|
||||
- station
|
||||
aerialway: *poi_mapping_aerialway
|
||||
amenity: *poi_mapping_amenity
|
||||
barrier: *poi_mapping_barrier
|
||||
highway: *poi_mapping_highway
|
||||
historic: *poi_mapping_historic
|
||||
landuse: *poi_mapping_landuse
|
||||
leisure: *poi_mapping_leisure
|
||||
shop: *poi_mapping_shop
|
||||
sport: *poi_mapping_sport
|
||||
tourism: *poi_mapping_tourism
|
||||
waterway: *poi_mapping_waterway
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user