openstreetmap

Trying to plot two or more infrastructures in the same figure using OSMnx

会有一股神秘感。 提交于 2020-11-24 18:05:31
问题 I'm trying to plot multiple infrastructure networks(for example streets, rails and buildings) in the same figure using OSMnx but not really having success. This is one of my attempts: import osmnx as ox dist = 2000 point = (41.877092, -87.628) north, south, east, west = ox.bbox_from_point(point, distance=dist) bbox_proj = ox.bbox_from_point(point, dist, project_utm=True) streets = ox.core.osm_net_download( north=north, south=south, east=east, west=west, infrastructure='way["highway"]' )

Trying to plot two or more infrastructures in the same figure using OSMnx

﹥>﹥吖頭↗ 提交于 2020-11-24 18:04:55
问题 I'm trying to plot multiple infrastructure networks(for example streets, rails and buildings) in the same figure using OSMnx but not really having success. This is one of my attempts: import osmnx as ox dist = 2000 point = (41.877092, -87.628) north, south, east, west = ox.bbox_from_point(point, distance=dist) bbox_proj = ox.bbox_from_point(point, dist, project_utm=True) streets = ox.core.osm_net_download( north=north, south=south, east=east, west=west, infrastructure='way["highway"]' )