通过over-pass-turbo从osm中提取路网数据
[out:xml][timeout:25];
// fetch area “Beijing” to search in
{{geocodeArea:Beijing}}->.searchArea;
// gather results
(
way["highway"="motorway"](area.searchArea);
way["highway"="trunk"](area.searchArea);
way["highway"="primary"](area.searchArea);
way["highway"="secondary"](area.searchArea);
//way["highway"="tertiary"](area.searchArea);
way["highway"="motorway_link"](area.searchArea);
way["highway"="trunk_link"](area.searchArea);
way["highway"="primary_link"](area.searchArea);
way["highway"="secondary_link"](area.searchArea);
//way["highway"="tertiary_link"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
可以从找到这里需要筛选的道路的等级