You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-17-4eb7221da34b> in <module>
3
4 # Query for the highways within the `sg_boundary` we obtained earlier from the sg_admin.
----> 5 df2 = geopandas_osm.osm.query_osm('way', sg_boundary, recurse='down', tags='highway')
6
7 # This gives us lots of columns we don't need, so we'll isolate it to the three we do need
G:\Anaconda3\lib\site-packages\geopandas_osm\osm.py in query_osm(typ, bbox, recurse, tags, raw, meta, **kwargs)
87
88 """
---> 89 url = _build_url(typ, bbox, recurse, tags, meta)
90
91 # TODO: Raise on non-200 (or 400-599)
G:\Anaconda3\lib\site-packages\geopandas_osm\osm.py in _build_url(typ, bbox, recurse, tags, meta)
128 #','.join(str(b) for b in (bbox[1], bbox[0], bbox[3], bbox[2])))
129 bboxstr = '(poly:"{}")'.format(
--> 130 ' '.join('{c[1]} {c[0]}'.format(c=c) for c in bbox.exterior.coords))
131
132 if meta:
AttributeError: 'MultiPolygon' object has no attribute 'exterior'
The text was updated successfully, but these errors were encountered:
Same sort of error as #4
The text was updated successfully, but these errors were encountered: