[ugc] ugc_types.csv is unified

This commit is contained in:
Arsentiy Milchakov 2017-10-20 17:15:30 +03:00 committed by r.kuznetsov
parent 8bcc2e1c58
commit a765972064
2 changed files with 170 additions and 160 deletions

View file

@ -1,164 +1,164 @@
OSM tag,Rating,Reviews,Details,Rating keys
aerialway station,1,1,0,rating
aeroway aerodrome,1,1,1,rating
aeroway helipad,1,1,0,rating
amenity atm,1,1,1,rating
amenity bank,1,1,0,quality service value_for_money
amenity bar,1,1,1,value_for_money service atmosphere
amenity bicycle_rental,1,1,0,experience service value_for_money
amenity bus_station,1,1,0,rating
amenity cafe,1,1,1,cuisine service atmosphere
amenity car_rental,1,1,0,quality service value_for_money
amenity car_wash,1,1,0,quality service value_for_money
amenity cinema,1,1,0,experience service value_for_money
amenity clinic,1,1,0,expertise equipment value_for_money
amenity college,1,1,0,rating
amenity dentist,1,1,0,expertise equipment value_for_money
amenity doctors,1,1,0,expertise equipment value_for_money
amenity embassy,1,1,0,quality service value_for_money
amenity fast_food,1,1,1,cuisine service atmosphere
amenity ferry_terminal,1,1,0,rating
amenity fountain,1,1,0,experience value_for_money
amenity fuel,1,1,0,assortment service value_for_money
amenity hospital,1,1,0,expertise equipment value_for_money
amenity kindergarten,1,1,0,rating
amenity library,1,1,0,quality service value_for_money
amenity marketplace,1,1,1,assortment service value_for_money
amenity nightclub,1,1,1,value_for_money service atmosphere
amenity parking,1,1,0,rating
amenity parking fee,1,1,0,rating
amenity pharmacy,1,1,1,assortment service value_for_money
amenity police,1,1,0,rating
amenity post_office,1,1,0,quality service value_for_money
amenity pub,1,1,1,value_for_money service atmosphere
amenity restaurant,1,1,1,cuisine service atmosphere
amenity school,1,1,0,rating
amenity shelter,1,1,0,rating
amenity taxi,1,1,0,rating
amenity theatre,1,1,0,experience service value_for_money
amenity toilets,1,1,0,rating
amenity townhall,1,1,0,rating
amenity university,1,1,0,rating
amenity biergarten,1,1,1,value_for_money service atmosphere
amenity driving_school,1,1,0,rating
amenity ice_cream,1,1,1,cuisine service atmosphere
amenity internet_cafe,1,1,0,quality service value_for_money
amenity motorcycle_parking,1,1,1,rating
amenity nursing_home,1,1,0,rating
amenity shower,1,1,0,rating
aerialway-station,1,1,0,rating
aeroway-aerodrome,1,1,1,rating
aeroway-helipad,1,1,0,rating
amenity-atm,1,1,1,rating
amenity-bank,1,1,0,quality service value_for_money
amenity-bar,1,1,1,value_for_money service atmosphere
amenity-bicycle_rental,1,1,0,experience service value_for_money
amenity-bus_station,1,1,0,rating
amenity-cafe,1,1,1,cuisine service atmosphere
amenity-car_rental,1,1,0,quality service value_for_money
amenity-car_wash,1,1,0,quality service value_for_money
amenity-cinema,1,1,0,experience service value_for_money
amenity-clinic,1,1,0,expertise equipment value_for_money
amenity-college,1,1,0,rating
amenity-dentist,1,1,0,expertise equipment value_for_money
amenity-doctors,1,1,0,expertise equipment value_for_money
amenity-embassy,1,1,0,quality service value_for_money
amenity-fast_food,1,1,1,cuisine service atmosphere
amenity-ferry_terminal,1,1,0,rating
amenity-fountain,1,1,0,experience value_for_money
amenity-fuel,1,1,0,assortment service value_for_money
amenity-hospital,1,1,0,expertise equipment value_for_money
amenity-kindergarten,1,1,0,rating
amenity-library,1,1,0,quality service value_for_money
amenity-marketplace,1,1,1,assortment service value_for_money
amenity-nightclub,1,1,1,value_for_money service atmosphere
amenity-parking,1,1,0,rating
amenity-parking-fee,1,1,0,rating
amenity-pharmacy,1,1,1,assortment service value_for_money
amenity-police,1,1,0,rating
amenity-post_office,1,1,0,quality service value_for_money
amenity-pub,1,1,1,value_for_money service atmosphere
amenity-restaurant,1,1,1,cuisine service atmosphere
amenity-school,1,1,0,rating
amenity-shelter,1,1,0,rating
amenity-taxi,1,1,0,rating
amenity-theatre,1,1,0,experience service value_for_money
amenity-toilets,1,1,0,rating
amenity-townhall,1,1,0,rating
amenity-university,1,1,0,rating
amenity-biergarten,1,1,1,value_for_money service atmosphere
amenity-driving_school,1,1,0,rating
amenity-ice_cream,1,1,1,cuisine service atmosphere
amenity-internet_cafe,1,1,0,quality service value_for_money
amenity-motorcycle_parking,1,1,1,rating
amenity-nursing_home,1,1,0,rating
amenity-shower,1,1,0,rating
building,1,1,0,rating
building train_station,1,1,0,rating
historic archaeological_site,1,1,0,experience value_for_money
historic castle,1,1,0,experience value_for_money
historic memorial,1,1,0,experience value_for_money
historic monument,1,1,0,experience value_for_money
historic museum,1,1,0,experience value_for_money
historic ruins,1,1,0,experience value_for_money
building-train_station,1,1,0,rating
historic-archaeological_site,1,1,0,experience value_for_money
historic-castle,1,1,0,experience value_for_money
historic-memorial,1,1,0,experience value_for_money
historic-monument,1,1,0,experience value_for_money
historic-museum,1,1,0,experience value_for_money
historic-ruins,1,1,0,experience value_for_money
internet_access,1,1,0,rating
internet_access wlan,1,1,0,rating
leisure garden,1,1,0,experience service value_for_money
leisure golf_course,1,1,0,experience service value_for_money
leisure nature_reserve,1,1,0,experience value_for_money
leisure park,1,1,0,experience service value_for_money
leisure pitch,1,1,0,equipment service value_for_money
leisure playground,1,1,0,experience service value_for_money
leisure sports_centre,1,1,0,equipment service value_for_money
leisure stadium,1,1,0,experience service value_for_money
leisure swimming_pool,1,1,0,equipment service value_for_money
leisure fitness_station,1,1,0,equipment service value_for_money
leisure water_park,1,1,0,experience service value_for_money
man_made lighthouse,1,1,0,experience value_for_money
natural beach,1,1,0,experience value_for_money
natural cave_entrance,1,1,0,experience value_for_money
natural peak,1,1,0,rating
natural spring,1,1,0,rating
natural volcano,1,1,0,rating
natural water,1,1,0,rating
natural wood,1,1,0,rating
internet_access-wlan,1,1,0,rating
leisure-garden,1,1,0,experience service value_for_money
leisure-golf_course,1,1,0,experience service value_for_money
leisure-nature_reserve,1,1,0,experience value_for_money
leisure-park,1,1,0,experience service value_for_money
leisure-pitch,1,1,0,equipment service value_for_money
leisure-playground,1,1,0,experience service value_for_money
leisure-sports_centre,1,1,0,equipment service value_for_money
leisure-stadium,1,1,0,experience service value_for_money
leisure-swimming_pool,1,1,0,equipment service value_for_money
leisure-fitness_station,1,1,0,equipment service value_for_money
leisure-water_park,1,1,0,experience service value_for_money
man_made-lighthouse,1,1,0,experience value_for_money
natural-beach,1,1,0,experience value_for_money
natural-cave_entrance,1,1,0,experience value_for_money
natural-peak,1,1,0,rating
natural-spring,1,1,0,rating
natural-volcano,1,1,0,rating
natural-water,1,1,0,rating
natural-wood,1,1,0,rating
office,1,1,0,rating
office company,1,1,0,rating
office government,1,1,0,rating
office insurance,1,1,0,quality service value_for_money
office ngo,1,1,0,rating
place island,1,1,0,rating
place ocean,1,1,0,rating
place sea,1,1,0,rating
railway halt,1,1,0,rating
railway station,1,1,0,rating
railway station subway,1,1,0,rating
railway tram_stop,1,1,0,rating
office-company,1,1,0,rating
office-government,1,1,0,rating
office-insurance,1,1,0,quality service value_for_money
office-ngo,1,1,0,rating
place-island,1,1,0,rating
place-ocean,1,1,0,rating
place-sea,1,1,0,rating
railway-halt,1,1,0,rating
railway-station,1,1,0,rating
railway-station-subway,1,1,0,rating
railway-tram_stop,1,1,0,rating
shop,1,1,1,assortment service value_for_money
shop alcohol,1,1,1,assortment service value_for_money
shop bakery,1,1,1,cuisine service atmosphere
shop beauty,1,1,1,assortment service value_for_money
shop bicycle,1,1,1,assortment service value_for_money
shop books,1,1,1,assortment service value_for_money
shop butcher,1,1,1,assortment service value_for_money
shop car,1,1,1,assortment service value_for_money
shop car_repair,1,1,0,quality service value_for_money
shop clothes,1,1,1,assortment service value_for_money
shop convenience,1,1,0,assortment service value_for_money
shop department_store,1,1,1,assortment service value_for_money
shop doityourself,1,1,1,assortment service value_for_money
shop electronics,1,1,1,assortment service value_for_money
shop florist,1,1,1,assortment service value_for_money
shop furniture,1,1,1,assortment service value_for_money
shop gift,1,1,1,assortment service value_for_money
shop hairdresser,1,1,0,quality service value_for_money
shop hardware,1,1,1,assortment service value_for_money
shop jewelry,1,1,1,assortment service value_for_money
shop kiosk,1,1,0,assortment service value_for_money
shop mall,1,1,0,assortment service value_for_money
shop mobile_phone,1,1,1,assortment service value_for_money
shop shoes,1,1,1,assortment service value_for_money
shop sports,1,1,0,assortment service value_for_money
shop supermarket,1,1,1,assortment service value_for_money
shop beverages,1,1,1,assortment service value_for_money
shop bookmaker,1,1,1,quality service value_for_money
shop car_parts,1,1,1,assortment service value_for_money
shop chemist,1,1,1,assortment service value_for_money
shop chocolate,1,1,1,assortment service value_for_money
shop computer,1,1,1,assortment service value_for_money
shop cosmetics,1,1,1,assortment service value_for_money
shop erotic,1,1,1,assortment service value_for_money
shop laundry,1,1,0,quality service value_for_money
shop massage,1,1,0,experience service value_for_money
shop motorcycle,1,1,1,assortment service value_for_money
shop newsagent,1,1,1,assortment service value_for_money
shop pawnbroker,1,1,1,quality service value_for_money
shop stationery,1,1,1,assortment service value_for_money
shop tattoo,1,1,0,quality service value_for_money
shop tyres,1,1,1,assortment service value_for_money
shop variety_store,1,1,1,assortment service value_for_money
shop wine,1,1,1,assortment service value_for_money
sponsored booking,0,0,0,
sport basketball,1,1,0,equipment service value_for_money
sport multi,1,1,0,equipment service value_for_money
sport soccer,1,1,0,equipment service value_for_money
sport swimming,1,1,0,equipment service value_for_money
sport tennis,1,1,0,equipment service value_for_money
tourism artwork,1,1,0,experience value_for_money
tourism attraction,1,1,0,experience value_for_money
tourism camp_site,1,1,0,rating
tourism guest_house,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism hostel,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism hotel,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism information,1,1,0,rating
tourism information guidepost,1,1,0,rating
tourism information office,1,1,0,quality service value_for_money
tourism motel,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism museum,1,1,0,experience service value_for_money
tourism picnic_site,1,1,0,rating
tourism viewpoint,1,1,0,experience value_for_money
tourism zoo,1,1,0,experience service value_for_money
tourism alpine_hut,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism apartment,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism chalet,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism resort,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism theme_park ,1,1,0,experience service value_for_money
tourism wilderness_hut,1,1,0,rating
tourism wilderness_hut,1,1,0,booking_hotel_room service placepage_hotel_facilities
waterway canal,1,1,0,rating
waterway river,1,1,0,rating
waterway stream,1,1,0,rating
waterway waterfall,1,1,0,experience value_for_money
shop-alcohol,1,1,1,assortment service value_for_money
shop-bakery,1,1,1,cuisine service atmosphere
shop-beauty,1,1,1,assortment service value_for_money
shop-bicycle,1,1,1,assortment service value_for_money
shop-books,1,1,1,assortment service value_for_money
shop-butcher,1,1,1,assortment service value_for_money
shop-car,1,1,1,assortment service value_for_money
shop-car_repair,1,1,0,quality service value_for_money
shop-clothes,1,1,1,assortment service value_for_money
shop-convenience,1,1,0,assortment service value_for_money
shop-department_store,1,1,1,assortment service value_for_money
shop-doityourself,1,1,1,assortment service value_for_money
shop-electronics,1,1,1,assortment service value_for_money
shop-florist,1,1,1,assortment service value_for_money
shop-furniture,1,1,1,assortment service value_for_money
shop-gift,1,1,1,assortment service value_for_money
shop-hairdresser,1,1,0,quality service value_for_money
shop-hardware,1,1,1,assortment service value_for_money
shop-jewelry,1,1,1,assortment service value_for_money
shop-kiosk,1,1,0,assortment service value_for_money
shop-mall,1,1,0,assortment service value_for_money
shop-mobile_phone,1,1,1,assortment service value_for_money
shop-shoes,1,1,1,assortment service value_for_money
shop-sports,1,1,0,assortment service value_for_money
shop-supermarket,1,1,1,assortment service value_for_money
shop-beverages,1,1,1,assortment service value_for_money
shop-bookmaker,1,1,1,quality service value_for_money
shop-car_parts,1,1,1,assortment service value_for_money
shop-chemist,1,1,1,assortment service value_for_money
shop-chocolate,1,1,1,assortment service value_for_money
shop-computer,1,1,1,assortment service value_for_money
shop-cosmetics,1,1,1,assortment service value_for_money
shop-erotic,1,1,1,assortment service value_for_money
shop-laundry,1,1,0,quality service value_for_money
shop-massage,1,1,0,experience service value_for_money
shop-motorcycle,1,1,1,assortment service value_for_money
shop-newsagent,1,1,1,assortment service value_for_money
shop-pawnbroker,1,1,1,quality service value_for_money
shop-stationery,1,1,1,assortment service value_for_money
shop-tattoo,1,1,0,quality service value_for_money
shop-tyres,1,1,1,assortment service value_for_money
shop-variety_store,1,1,1,assortment service value_for_money
shop-wine,1,1,1,assortment service value_for_money
sponsored-booking,0,0,0,
sport-basketball,1,1,0,equipment service value_for_money
sport-multi,1,1,0,equipment service value_for_money
sport-soccer,1,1,0,equipment service value_for_money
sport-swimming,1,1,0,equipment service value_for_money
sport-tennis,1,1,0,equipment service value_for_money
tourism-artwork,1,1,0,experience value_for_money
tourism-attraction,1,1,0,experience value_for_money
tourism-camp_site,1,1,0,rating
tourism-guest_house,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism-hostel,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism-hotel,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism-information,1,1,0,rating
tourism-information-guidepost,1,1,0,rating
tourism-information-office,1,1,0,quality service value_for_money
tourism-motel,1,1,1,booking_hotel_room service placepage_hotel_facilities
tourism-museum,1,1,0,experience service value_for_money
tourism-picnic_site,1,1,0,rating
tourism-viewpoint,1,1,0,experience value_for_money
tourism-zoo,1,1,0,experience service value_for_money
tourism-alpine_hut,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism-apartment,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism-chalet,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism-resort,1,1,0,booking_hotel_room service placepage_hotel_facilities
tourism-theme_park,1,1,0,experience service value_for_money
tourism-wilderness_hut,1,1,0,rating
tourism-wilderness_hut,1,1,0,booking_hotel_room service placepage_hotel_facilities
waterway-canal,1,1,0,rating
waterway-river,1,1,0,rating
waterway-stream,1,1,0,rating
waterway-waterfall,1,1,0,experience value_for_money

1 OSM tag Rating Reviews Details Rating keys
2 aerialway station aerialway-station 1 1 0 rating
3 aeroway aerodrome aeroway-aerodrome 1 1 1 rating
4 aeroway helipad aeroway-helipad 1 1 0 rating
5 amenity atm amenity-atm 1 1 1 rating
6 amenity bank amenity-bank 1 1 0 quality service value_for_money
7 amenity bar amenity-bar 1 1 1 value_for_money service atmosphere
8 amenity bicycle_rental amenity-bicycle_rental 1 1 0 experience service value_for_money
9 amenity bus_station amenity-bus_station 1 1 0 rating
10 amenity cafe amenity-cafe 1 1 1 cuisine service atmosphere
11 amenity car_rental amenity-car_rental 1 1 0 quality service value_for_money
12 amenity car_wash amenity-car_wash 1 1 0 quality service value_for_money
13 amenity cinema amenity-cinema 1 1 0 experience service value_for_money
14 amenity clinic amenity-clinic 1 1 0 expertise equipment value_for_money
15 amenity college amenity-college 1 1 0 rating
16 amenity dentist amenity-dentist 1 1 0 expertise equipment value_for_money
17 amenity doctors amenity-doctors 1 1 0 expertise equipment value_for_money
18 amenity embassy amenity-embassy 1 1 0 quality service value_for_money
19 amenity fast_food amenity-fast_food 1 1 1 cuisine service atmosphere
20 amenity ferry_terminal amenity-ferry_terminal 1 1 0 rating
21 amenity fountain amenity-fountain 1 1 0 experience value_for_money
22 amenity fuel amenity-fuel 1 1 0 assortment service value_for_money
23 amenity hospital amenity-hospital 1 1 0 expertise equipment value_for_money
24 amenity kindergarten amenity-kindergarten 1 1 0 rating
25 amenity library amenity-library 1 1 0 quality service value_for_money
26 amenity marketplace amenity-marketplace 1 1 1 assortment service value_for_money
27 amenity nightclub amenity-nightclub 1 1 1 value_for_money service atmosphere
28 amenity parking amenity-parking 1 1 0 rating
29 amenity parking fee amenity-parking-fee 1 1 0 rating
30 amenity pharmacy amenity-pharmacy 1 1 1 assortment service value_for_money
31 amenity police amenity-police 1 1 0 rating
32 amenity post_office amenity-post_office 1 1 0 quality service value_for_money
33 amenity pub amenity-pub 1 1 1 value_for_money service atmosphere
34 amenity restaurant amenity-restaurant 1 1 1 cuisine service atmosphere
35 amenity school amenity-school 1 1 0 rating
36 amenity shelter amenity-shelter 1 1 0 rating
37 amenity taxi amenity-taxi 1 1 0 rating
38 amenity theatre amenity-theatre 1 1 0 experience service value_for_money
39 amenity toilets amenity-toilets 1 1 0 rating
40 amenity townhall amenity-townhall 1 1 0 rating
41 amenity university amenity-university 1 1 0 rating
42 amenity biergarten amenity-biergarten 1 1 1 value_for_money service atmosphere
43 amenity driving_school amenity-driving_school 1 1 0 rating
44 amenity ice_cream amenity-ice_cream 1 1 1 cuisine service atmosphere
45 amenity internet_cafe amenity-internet_cafe 1 1 0 quality service value_for_money
46 amenity motorcycle_parking amenity-motorcycle_parking 1 1 1 rating
47 amenity nursing_home amenity-nursing_home 1 1 0 rating
48 amenity shower amenity-shower 1 1 0 rating
49 building 1 1 0 rating
50 building train_station building-train_station 1 1 0 rating
51 historic archaeological_site historic-archaeological_site 1 1 0 experience value_for_money
52 historic castle historic-castle 1 1 0 experience value_for_money
53 historic memorial historic-memorial 1 1 0 experience value_for_money
54 historic monument historic-monument 1 1 0 experience value_for_money
55 historic museum historic-museum 1 1 0 experience value_for_money
56 historic ruins historic-ruins 1 1 0 experience value_for_money
57 internet_access 1 1 0 rating
58 internet_access wlan internet_access-wlan 1 1 0 rating
59 leisure garden leisure-garden 1 1 0 experience service value_for_money
60 leisure golf_course leisure-golf_course 1 1 0 experience service value_for_money
61 leisure nature_reserve leisure-nature_reserve 1 1 0 experience value_for_money
62 leisure park leisure-park 1 1 0 experience service value_for_money
63 leisure pitch leisure-pitch 1 1 0 equipment service value_for_money
64 leisure playground leisure-playground 1 1 0 experience service value_for_money
65 leisure sports_centre leisure-sports_centre 1 1 0 equipment service value_for_money
66 leisure stadium leisure-stadium 1 1 0 experience service value_for_money
67 leisure swimming_pool leisure-swimming_pool 1 1 0 equipment service value_for_money
68 leisure fitness_station leisure-fitness_station 1 1 0 equipment service value_for_money
69 leisure water_park leisure-water_park 1 1 0 experience service value_for_money
70 man_made lighthouse man_made-lighthouse 1 1 0 experience value_for_money
71 natural beach natural-beach 1 1 0 experience value_for_money
72 natural cave_entrance natural-cave_entrance 1 1 0 experience value_for_money
73 natural peak natural-peak 1 1 0 rating
74 natural spring natural-spring 1 1 0 rating
75 natural volcano natural-volcano 1 1 0 rating
76 natural water natural-water 1 1 0 rating
77 natural wood natural-wood 1 1 0 rating
78 office 1 1 0 rating
79 office company office-company 1 1 0 rating
80 office government office-government 1 1 0 rating
81 office insurance office-insurance 1 1 0 quality service value_for_money
82 office ngo office-ngo 1 1 0 rating
83 place island place-island 1 1 0 rating
84 place ocean place-ocean 1 1 0 rating
85 place sea place-sea 1 1 0 rating
86 railway halt railway-halt 1 1 0 rating
87 railway station railway-station 1 1 0 rating
88 railway station subway railway-station-subway 1 1 0 rating
89 railway tram_stop railway-tram_stop 1 1 0 rating
90 shop 1 1 1 assortment service value_for_money
91 shop alcohol shop-alcohol 1 1 1 assortment service value_for_money
92 shop bakery shop-bakery 1 1 1 cuisine service atmosphere
93 shop beauty shop-beauty 1 1 1 assortment service value_for_money
94 shop bicycle shop-bicycle 1 1 1 assortment service value_for_money
95 shop books shop-books 1 1 1 assortment service value_for_money
96 shop butcher shop-butcher 1 1 1 assortment service value_for_money
97 shop car shop-car 1 1 1 assortment service value_for_money
98 shop car_repair shop-car_repair 1 1 0 quality service value_for_money
99 shop clothes shop-clothes 1 1 1 assortment service value_for_money
100 shop convenience shop-convenience 1 1 0 assortment service value_for_money
101 shop department_store shop-department_store 1 1 1 assortment service value_for_money
102 shop doityourself shop-doityourself 1 1 1 assortment service value_for_money
103 shop electronics shop-electronics 1 1 1 assortment service value_for_money
104 shop florist shop-florist 1 1 1 assortment service value_for_money
105 shop furniture shop-furniture 1 1 1 assortment service value_for_money
106 shop gift shop-gift 1 1 1 assortment service value_for_money
107 shop hairdresser shop-hairdresser 1 1 0 quality service value_for_money
108 shop hardware shop-hardware 1 1 1 assortment service value_for_money
109 shop jewelry shop-jewelry 1 1 1 assortment service value_for_money
110 shop kiosk shop-kiosk 1 1 0 assortment service value_for_money
111 shop mall shop-mall 1 1 0 assortment service value_for_money
112 shop mobile_phone shop-mobile_phone 1 1 1 assortment service value_for_money
113 shop shoes shop-shoes 1 1 1 assortment service value_for_money
114 shop sports shop-sports 1 1 0 assortment service value_for_money
115 shop supermarket shop-supermarket 1 1 1 assortment service value_for_money
116 shop beverages shop-beverages 1 1 1 assortment service value_for_money
117 shop bookmaker shop-bookmaker 1 1 1 quality service value_for_money
118 shop car_parts shop-car_parts 1 1 1 assortment service value_for_money
119 shop chemist shop-chemist 1 1 1 assortment service value_for_money
120 shop chocolate shop-chocolate 1 1 1 assortment service value_for_money
121 shop computer shop-computer 1 1 1 assortment service value_for_money
122 shop cosmetics shop-cosmetics 1 1 1 assortment service value_for_money
123 shop erotic shop-erotic 1 1 1 assortment service value_for_money
124 shop laundry shop-laundry 1 1 0 quality service value_for_money
125 shop massage shop-massage 1 1 0 experience service value_for_money
126 shop motorcycle shop-motorcycle 1 1 1 assortment service value_for_money
127 shop newsagent shop-newsagent 1 1 1 assortment service value_for_money
128 shop pawnbroker shop-pawnbroker 1 1 1 quality service value_for_money
129 shop stationery shop-stationery 1 1 1 assortment service value_for_money
130 shop tattoo shop-tattoo 1 1 0 quality service value_for_money
131 shop tyres shop-tyres 1 1 1 assortment service value_for_money
132 shop variety_store shop-variety_store 1 1 1 assortment service value_for_money
133 shop wine shop-wine 1 1 1 assortment service value_for_money
134 sponsored booking sponsored-booking 0 0 0
135 sport basketball sport-basketball 1 1 0 equipment service value_for_money
136 sport multi sport-multi 1 1 0 equipment service value_for_money
137 sport soccer sport-soccer 1 1 0 equipment service value_for_money
138 sport swimming sport-swimming 1 1 0 equipment service value_for_money
139 sport tennis sport-tennis 1 1 0 equipment service value_for_money
140 tourism artwork tourism-artwork 1 1 0 experience value_for_money
141 tourism attraction tourism-attraction 1 1 0 experience value_for_money
142 tourism camp_site tourism-camp_site 1 1 0 rating
143 tourism guest_house tourism-guest_house 1 1 1 booking_hotel_room service placepage_hotel_facilities
144 tourism hostel tourism-hostel 1 1 1 booking_hotel_room service placepage_hotel_facilities
145 tourism hotel tourism-hotel 1 1 1 booking_hotel_room service placepage_hotel_facilities
146 tourism information tourism-information 1 1 0 rating
147 tourism information guidepost tourism-information-guidepost 1 1 0 rating
148 tourism information office tourism-information-office 1 1 0 quality service value_for_money
149 tourism motel tourism-motel 1 1 1 booking_hotel_room service placepage_hotel_facilities
150 tourism museum tourism-museum 1 1 0 experience service value_for_money
151 tourism picnic_site tourism-picnic_site 1 1 0 rating
152 tourism viewpoint tourism-viewpoint 1 1 0 experience value_for_money
153 tourism zoo tourism-zoo 1 1 0 experience service value_for_money
154 tourism alpine_hut tourism-alpine_hut 1 1 0 booking_hotel_room service placepage_hotel_facilities
155 tourism apartment tourism-apartment 1 1 0 booking_hotel_room service placepage_hotel_facilities
156 tourism chalet tourism-chalet 1 1 0 booking_hotel_room service placepage_hotel_facilities
157 tourism resort tourism-resort 1 1 0 booking_hotel_room service placepage_hotel_facilities
158 tourism theme_park tourism-theme_park 1 1 0 experience service value_for_money
159 tourism wilderness_hut tourism-wilderness_hut 1 1 0 rating
160 tourism wilderness_hut tourism-wilderness_hut 1 1 0 booking_hotel_room service placepage_hotel_facilities
161 waterway canal waterway-canal 1 1 0 rating
162 waterway river waterway-river 1 1 0 rating
163 waterway stream waterway-stream 1 1 0 rating
164 waterway waterfall waterway-waterfall 1 1 0 experience value_for_money

View file

@ -110,7 +110,7 @@ class UGC : public TraitsBase<UGC, UGCItem>
ASSERT_EQUAL(row.size(), 5, ());
UGCItem item(ReadMasks(row), ParseByWhitespaces(row[kCategoriesPos]));
auto typePath = ParseByWhitespaces(row[kTypePos]);
auto typePath = ParseByDashes(row[kTypePos]);
if (IsUGCAvailable(item.m_mask))
m_matcher.AppendType(std::move(typePath), std::move(item));
@ -147,6 +147,16 @@ class UGC : public TraitsBase<UGC, UGCItem>
return {std::istream_iterator<std::string>(iss), std::istream_iterator<std::string>()};
}
std::vector<std::string> ParseByDashes(std::string const & str)
{
std::vector<std::string> result;
std::istringstream iss(str);
for (std::string tmp; std::getline(iss, tmp, '-'); )
result.push_back(tmp);
return result;
}
public:
static bool IsUGCAvailable(UGCTypeMask mask) { return mask != UGCTYPE_NONE; }
static bool IsRatingAvailable(UGCTypeMask mask) { return mask & UGCTYPE_RATING; }