YaphetLee2002 / OsmDataUtils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

数据处理

位于osmtocsv,将osm文件转化为node、link、poi三个csv文件。

算法部分

位于 alg 包中,trangle_net_single.py是单次的处理,trangle_net_iteration.py是多次迭代的版本
当前所用数据为poi_cleaned.csv。poi.csv为原始数据,两个数据集在属性上各个属性占比基本一致,区别仅为poi_cleaned.csv中删除了name为空的数据。

POI building type (兴趣点建筑类型)

  • nan (无效值)
  • yes (是)
  • stadium (体育场)
  • office (办公室)
  • house (住宅)
  • train_station (火车站)
  • roof (棚顶,遮阴的那种)
  • commercial (商业)
  • retail (零售)
  • wall (墙)
  • gate (门)
  • gatehouse (城楼,比如凯旋门、鼓楼)
  • boathouse (船坞)
  • transportation (公共交通站点)
  • dormitory (宿舍)
  • university (大学)
  • school (学校)
  • hotel (酒店)
  • church (教堂)
  • residential (住宅区)
  • garages (车库)
  • ruins (废墟)
  • hospital (医院)
  • apartments (公寓)
  • greenhouse (温室、大棚)
  • temple (寺庙)
  • college (学院)
  • public (公共场所)
  • industrial (工业)
  • garage (车库)
  • kindergarten (幼儿园)
  • ger (蒙古包)
  • service (专门设计用于容纳泵、变压器或测量设备等持续工作的机器的建筑物。通常,当机器正常运行时,这种建筑不适合人们在里面。)
  • shrine (神社)
  • stable (马厩)
  • construction (建筑施工)
  • sty (猪舍)
  • company (公司)
  • hut (小屋)
  • warehouse (仓库)
  • chapel (小教堂)
  • shed (棚屋)
  • semidetached_house (半独立式住宅)
  • mosque (清真寺)
  • pavilion (亭子)
  • no (否)
  • tower (塔)
  • grandstand (看台)
  • bungalow (平房)
  • farm_auxiliary (农场辅助建筑)
  • railway_station (火车站)
  • carport (车棚)
  • outbuilding (附属建筑)
  • hotel;yes (酒店;是)
  • yes;school (是;学校)

POI amenity type (兴趣点设施类型)

  • nan (无效值)
  • theatre (剧院)
  • place_of_worship (礼拜场所)
  • school (学校)
  • shelter (避难所)
  • hospital (医院)
  • university (大学)
  • restaurant (餐馆)
  • marketplace (市场)
  • parking (停车场)
  • college (学院)
  • research_institute (研究所)
  • library (图书馆)
  • grave_yard (墓地)
  • planetarium (天文馆)
  • bus_station (公交车站)
  • arts_centre (艺术中心)
  • police (警察局)
  • fuel (加油站)
  • concert_hall (音乐厅)
  • car_wash (洗车店)
  • bank (银行)
  • fountain (喷泉)
  • pharmacy (药店)
  • toilets (厕所)
  • charging_station (充电站)
  • courthouse (法院)
  • public_building (公共建筑)(注:这个属性已经被废弃)
  • food_court (美食广场)
  • post_office (邮局)
  • fast_food (快餐店)
  • clinic (诊所)
  • kindergarten (幼儿园)
  • driver_training (驾校)
  • exhibition_centre (展览中心)
  • cinema (电影院)
  • prison (监狱)
  • cafe (咖啡馆)
  • nightclub (夜总会)
  • community_centre (社区中心)
  • childcare (托儿所)
  • bar (酒吧)
  • parcel_locker (包裹寄存柜)
  • public_bookcase (公共书架)
  • conference_centre (会议中心)
  • townhall (市政厅)
  • shower (淋浴)
  • social_facility (社会福利设施)
  • bicycle_parking (自行车停车场)
  • public_bath (公共浴室)
  • fire_station (消防站)
  • smoking_area (吸烟区)
  • research (研究)
  • bicycle_rental (自行车租赁)
  • car_pooling (拼车)
  • animal_breeding (动物繁殖)
  • waste_transfer_station (垃圾转运站)
  • post_depot (邮局仓库)
  • music_school (音乐学校)
  • studio (工作室)
  • dentist (牙科诊所)
  • postpartum_care (产后护理)
  • nursing_home (养老院)
  • car_rental (汽车租赁)
  • recycling (回收)
  • crematorium (火葬场)
  • social_centre (社会中心)
  • vehicle_inspection (车辆检查)
  • parking_space (停车位)
  • ice_cream (冰淇淋店)
  • sanitary_dump_station (卫生倾倒站)
  • driving_school (驾校)

POI leisure type (兴趣点休闲类型)

  • stadium (体育场)
  • nan (无效值)
  • park (公园)
  • garden (花园)
  • pitch (球场)
  • sports_centre (体育中心)
  • golf_course (高尔夫球场)
  • sports_hall (体育馆)
  • swimming_pool (游泳池)
  • track (跑道)
  • fitness_centre (健身中心)
  • horse_riding (马术)
  • water_park (水上乐园)
  • playground (游乐场)
  • resort (度假村)
  • dance (舞蹈)
  • nature_reserve (自然保护区)
  • outdoor_seating (户外座位)
  • ice_rink (溜冰场)
  • bleachers (看台)
  • fitness_station (健身站)
  • bandstand (乐队演奏台)
  • common (公共用地)
  • fishing (钓鱼)

About


Languages

Language:Python 100.0%