Closed jayurbain closed 4 years ago
The notebook works fine for me. Can you provide a complete minimal working example code snippet inline here?
Looks like same issue as https://github.com/gboeing/osmnx/issues/372
Pushing a fix there now.
First, thanks for your help.
First, I show conda install. Followed by minimal example. Next, I attempt a pip install which fails.
Any direction is appreciated.
Jay
$ conda create -n ox --strict-channel-priority osmnx python=3.7 (note: I also tried the default 3.8)
$ conda activate ox
$ python
Python 3.7.6 | packaged by conda-forge | (default, Jan 7 2020, 22:05:27)
[Clang 9.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import osmnx as ox
G = ox.graph_from_place('Manhattan Island, New York City, New York, USA', network_type='drive')
Traceback (most recent call last):
File "
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/osmnx/core.py", line 1450, in graph_from_place
custom_filter=custom_filter)
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/osmnx/core.py", line 1326, in graph_from_polygon
G_buffered = truncate_graph_polygon(G_buffered, polygon_buffered,
retain_all=True, truncate_by_edge=truncate_by_edge)
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/osmnx/core.py", line 733, in truncate_graph_polygon
points_within_geometry = intersect_index_quadrats(gdf_nodes, polygon,
quadrat_width=quadrat_width, min_num=min_num, buffer_amount=buffer_amount)
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/osmnx/core.py", line 680, in intersect_index_quadrats
points_within_geometry =
points_within_geometry.drop_duplicates(subset='node')
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/pandas/core/frame.py", line 4808, in drop_duplicates
duplicated = self.duplicated(subset, keep=keep)
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/pandas/core/frame.py", line 4885, in duplicated
labels, shape = map(list, zip(*map(f, vals)))
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/pandas/core/frame.py", line 4860, in f
vals, size_hint=min(len(self), _SIZE_HINT_LIMIT)
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/pandas/core/algorithms.py", line 630, in factorize
values, na_sentinel=na_sentinel, size_hint=size_hint, na_value=na_value
File "/Users/jayurbain/anaconda3/envs/ox/lib/python3.7/site-packages/pandas/core/algorithms.py", line 478, in _factorize_array
uniques, codes = table.factorize(values, na_sentinel=na_sentinel,
na_value=na_value)
File "pandas/_libs/hashtable_class_helper.pxi", line 1806, in pandas._libs.hashtable.PyObjectHashTable.factorize
File "pandas/_libs/hashtable_class_helper.pxi", line 1726, in pandas._libs.hashtable.PyObjectHashTable._unique
TypeError: unhashable type: 'dict'
$ conda list
#
attrs 19.3.0 py_0 conda-forge
boost-cpp 1.70.0 h75728bb_2 conda-forge
branca 0.3.1 py_0 conda-forge
bzip2 1.0.8 h0b31af3_2 conda-forge
ca-certificates 2019.11.28 hecc5488_0 conda-forge
cairo 1.16.0 he1c11cd_1002 conda-forge
certifi 2019.11.28 py37_0 conda-forge
cffi 1.13.2 py37h33e799b_0 conda-forge
cfitsio 3.470 h84d2f63_2 conda-forge
chardet 3.0.4 py37_1003 conda-forge
click 7.0 py_0 conda-forge
click-plugins 1.1.1 py_0 conda-forge
cligj 0.5.0 py_0 conda-forge
cryptography 2.8 py37hafa8578_1 conda-forge
curl 7.65.3 h22ea746_0 conda-forge
cycler 0.10.0 py_2 conda-forge
decorator 4.4.1 py_0 conda-forge
descartes 1.1.0 py_4 conda-forge
expat 2.2.9 h4a8c4bd_2 conda-forge
fiona 1.8.13 py37he71f6a4_0 conda-forge
folium 0.10.1 py_0 conda-forge
fontconfig 2.13.1 h6b1039f_1001 conda-forge
freetype 2.10.0 h24853df_1 conda-forge
freexl 1.0.5 h1de35cc_1002 conda-forge
gdal 3.0.4 py37h97c3584_0 conda-forge
geographiclib 1.50 py_0 conda-forge
geopandas 0.6.2 py_0 conda-forge
geopy 1.20.0 py_0 conda-forge
geos 3.8.0 h4a8c4bd_0 conda-forge
geotiff 1.5.1 hc9fff18_8 conda-forge
gettext 0.19.8.1 h46ab8bc_1002 conda-forge
giflib 5.2.1 h0b31af3_1 conda-forge
glib 2.58.3 py37h577aef8_1002 conda-forge
hdf4 4.2.13 h84186c3_1003 conda-forge
hdf5 1.10.5 nompi_h3e39495_1104 conda-forge
icu 64.2 h6de7cb9_1 conda-forge
idna 2.8 py37_1000 conda-forge
jinja2 2.11.1 py_0 conda-forge
joblib 0.14.1 py_0 conda-forge
jpeg 9c h1de35cc_1001 conda-forge
json-c 0.13.1 h1de35cc_1001 conda-forge
kealib 1.4.10 h6659575_1005 conda-forge
kiwisolver 1.1.0 py37ha1b3eb9_0 conda-forge
krb5 1.16.4 h1752a42_0 conda-forge
libblas 3.8.0 14_openblas conda-forge
libcblas 3.8.0 14_openblas conda-forge
libcurl 7.65.3 h16faf7d_0 conda-forge
libcxx 9.0.1 1 conda-forge
libdap4 3.20.4 habf5908_0 conda-forge
libedit 3.1.20170329 hcfe32e1_1001 conda-forge
libffi 3.2.1 h6de7cb9_1006 conda-forge
libgdal 3.0.4 hf96e369_0 conda-forge
libgfortran 4.0.0 2 conda-forge
libiconv 1.15 h01d97ff_1005 conda-forge
libkml 1.3.0 hed7d534_1010 conda-forge
liblapack 3.8.0 14_openblas conda-forge
libnetcdf 4.7.3 nompi_hda4e5f1_101 conda-forge
libopenblas 0.3.7 h3d69b6c_7 conda-forge
libpng 1.6.37 h2573ce8_0 conda-forge
libpq 12.1 h31a01ba_0 conda-forge
libspatialindex 1.9.3 h4a8c4bd_1 conda-forge
libspatialite 4.3.0a h9c28a66_1034 conda-forge
libssh2 1.8.2 hcdc9a53_2 conda-forge
libtiff 4.1.0 ha78913b_3 conda-forge
libwebp 1.0.2 hd3bf737_5 conda-forge
libxml2 2.9.10 h53d96d6_0 conda-forge
llvm-openmp 9.0.1 h28b9765_2 conda-forge
lz4-c 1.8.3 h6de7cb9_1001 conda-forge
markupsafe 1.1.1 py37h0b31af3_0 conda-forge
matplotlib 3.1.2 py37_1 conda-forge
matplotlib-base 3.1.2 py37h11da6c2_1 conda-forge
munch 2.5.0 py_0 conda-forge
ncurses 6.1 h0a44026_1002 conda-forge
networkx 2.4 py_0 conda-forge
numpy 1.17.5 py37hde6bac1_0 conda-forge
openjpeg 2.3.1 hcdae239_3 conda-forge
openssl 1.1.1d h0b31af3_0 conda-forge
osmnx 0.11.3 py_0 conda-forge
pandas 1.0.0 py37h4f17bb1_0 conda-forge
pcre 8.43 h4a8c4bd_0 conda-forge
pip 20.0.2 py37_1 conda-forge
pixman 0.38.0 h01d97ff_1003 conda-forge
poppler 0.67.0 h16886b5_8 conda-forge
poppler-data 0.4.9 1 conda-forge
postgresql 12.1 h26bc10f_0 conda-forge
proj 6.3.0 h773a61f_0 conda-forge
pycparser 2.19 py37_1 conda-forge
pyopenssl 19.1.0 py37_0 conda-forge
pyparsing 2.4.6 py_0 conda-forge
pyproj 2.4.2.post1 py37hf8af742_1 conda-forge
pysocks 1.7.1 py37_0 conda-forge
python 3.7.6 h5c2c468_2 conda-forge
python-dateutil 2.8.1 py_0 conda-forge
pytz 2019.3 py_0 conda-forge
readline 8.0 hcfe32e1_0 conda-forge
requests 2.22.0 py37_1 conda-forge
rtree 0.9.3 py37h7b0cdae_0 conda-forge
scikit-learn 0.22.1 py37h3dc85bc_1 conda-forge
scipy 1.4.1 py37h82752d6_0 conda-forge
setuptools 45.1.0 py37_0 conda-forge
shapely 1.7.0 py37h999ffa5_0 conda-forge
six 1.14.0 py37_0 conda-forge
sqlite 3.30.1 h93121df_0 conda-forge
tbb 2018.0.5 h2d50403_0 conda-forge
tiledb 1.7.0 hd5e958f_2 conda-forge
tk 8.6.10 hbbe82c9_0 conda-forge
tornado 6.0.3 py37h0b31af3_0 conda-forge
tzcode 2019a h01d97ff_1002 conda-forge
urllib3 1.25.7 py37_0 conda-forge
vincent 0.4.4 py_1 conda-forge
wheel 0.34.2 py37_0 conda-forge
xerces-c 3.2.2 hbda6038_1004 conda-forge
xz 5.2.4 h1de35cc_1001 conda-forge
zlib 1.2.11 h0b31af3_1006 conda-forge
zstd 1.4.4 he7fca8b_1 conda-forge
I tried pip install:
$ conda create -n oxpip python=3.7
$ pip install osmnx
$ conda activate oxpip
Collecting osmnx
Downloading osmnx-0.11.3-py2.py3-none-any.whl (76 kB)
|████████████████████████████████| 76 kB 4.0 MB/s
Collecting networkx>=2.4
Downloading networkx-2.4-py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 4.7 MB/s
Collecting numpy>=1.17
Downloading numpy-1.18.1-cp37-cp37m-macosx_10_9_x86_64.whl (15.1 MB)
|████████████████████████████████| 15.1 MB 5.2 MB/s
Collecting pandas>=0.25
Downloading pandas-1.0.0-cp37-cp37m-macosx_10_9_x86_64.whl (9.8 MB)
|████████████████████████████████| 9.8 MB 1.4 MB/s
Collecting Shapely>=1.6
Downloading Shapely-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 2.4 MB/s
Collecting geopandas>=0.6
Downloading geopandas-0.6.2-py2.py3-none-any.whl (919 kB)
|████████████████████████████████| 919 kB 4.0 MB/s
Collecting Rtree>=0.9
Downloading Rtree-0.9.3.tar.gz (520 kB)
|████████████████████████████████| 520 kB 16.0 MB/s
ERROR: Command errored out with exit status 1:
command: /Users/jayurbain/anaconda3/envs/oxpip/bin/python -c 'import
sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/setup.py'"'"'; file='"'"'/private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/pip-egg-info
cwd:
/private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/
Complete output (15 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/setup.py",
line 3, in
import rtree
File
"/private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/rtree/init.py",
line 1, in
from .index import Rtree
File
"/private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/rtree/index.py",
line 6, in
from . import core
File
"/private/var/folders/q1/cx25m0ld5dngl6ww020_4vhh0000gn/T/pip-install-329jdo3q/Rtree/rtree/core.py",
line 145, in
rt.Error_GetLastErrorNum.restype = ctypes.c_int
File
"/Users/jayurbain/anaconda3/envs/oxpip/lib/python3.7/ctypes/init.py", line 377, in getattr
func = self.__getitem__(name)
File
"/Users/jayurbain/anaconda3/envs/oxpip/lib/python3.7/ctypes/init.py", line 382, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, Error_GetLastErrorNum): symbol not
found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
On Fri, Jan 31, 2020 at 9:04 AM Geoff Boeing notifications@github.com wrote:
The notebook works fine for me. Can you provide a complete minimal working example code snippet inline here?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gboeing/osmnx-examples/issues/31?email_source=notifications&email_token=AA4OPUSXV3IVFK2GTVSL3Q3RARK2DA5CNFSM4KOG5LQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPJ4JI#issuecomment-580820517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4OPUQWADYC6T2DDPW6AT3RARK2DANCNFSM4KOG5LQQ .
Like I mentioned in the comment above (https://github.com/gboeing/osmnx-examples/issues/31#issuecomment-580851872), this has been fixed and pushed. It is in process of being released in v0.11.4.
It now works!
Thanks, Jay
On Fri, Jan 31, 2020 at 11:34 AM Geoff Boeing notifications@github.com wrote:
Like I mentioned in the comment above (#31 (comment) https://github.com/gboeing/osmnx-examples/issues/31#issuecomment-580851872), this has been fixed and pushed. It is in process of being released in v0.11.4.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gboeing/osmnx-examples/issues/31?email_source=notifications&email_token=AA4OPUUFYLACS37WR5ULM73RAR4LVA5CNFSM4KOG5LQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPYAZI#issuecomment-580878437, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4OPUXQ6WTTVAIJCDNE463RAR4LVANCNFSM4KOG5LQQ .
get a graph for some city
G = ox.graph_from_place('Piedmont, California, USA', network_type='drive') fig, ax = ox.plot_graph(G)
Installed per instructions on Mac OS. Terminal output and error output follow.
Any direction would be appreciated. Thanks, Jay
Output from terminal looks good except the last line (notebook not trusted): Posting to http://overpass-api.de/api/interpreter with timeout=180, "{'data': '[out:json][timeout:180];(way["highway"]["area"!~"yes"]["highway"!~"cycleway|footway|path|pedestrian|steps|track|corridor|elevator|escalator|proposed|construction|bridleway|abandoned|platform|raceway|service"]["motor_vehicle"!~"no"]["motorcar"!~"no"]["access"!~"private"]["service"!~"parking|parking_aisle|driveway|private|emergency_access"](poly:"37.823113 -122.255010 37.823199 -122.255027 37.823651 -122.255055 37.824104 -122.255026 37.824552 -122.254940 37.824991 -122.254797 37.825417 -122.254600 37.825824 -122.254350 37.826210 -122.254049 37.826569 -122.253701 37.826799 -122.253455 37.826915 -122.253330 37.827176 -122.253244 37.827377 -122.253178 37.827800 -122.253010 37.828208 -122.252791 37.828597 -122.252523 37.828964 -122.252207 37.829303 -122.251848 37.829613 -122.251448 37.829891 -122.251012 37.830143 -122.250573 37.830803 -122.249429 37.830839 -122.249407 37.831197 -122.249128 37.831286 -122.249052 37.832123 -122.248407 37.832393 -122.248200 37.832408 -122.248188 37.832448 -122.248157 37.832806 -122.247849 37.833139 -122.247498 37.833444 -122.247109 37.833717 -122.246685 37.833957 -122.246229 37.834162 -122.245747 37.834328 -122.245241 37.834455 -122.244718 37.834542 -122.244183 37.834587 -122.243639 37.834589 -122.243372 37.834678 -122.243039 37.834731 -122.242827 37.834764 -122.242685 37.834890 -122.241972 37.834909 -122.241820 37.834955 -122.241306 37.834963 -122.241152 37.834972 -122.240864 37.834984 -122.239854 37.834988 -122.239743 37.835013 -122.239561 37.835040 -122.239289 37.835061 -122.239227 37.835189 -122.238722 37.835278 -122.238205 37.835314 -122.237839 37.835348 -122.237717 37.835448 -122.237227 37.835481 -122.237028 37.835520 -122.236796 37.835555 -122.236603 37.835691 -122.235869 37.835737 -122.235620 37.835738 -122.235611 37.835971 -122.234342 37.836041 -122.233967 37.836454 -122.232630 37.836562 -122.232282 37.836840 -122.231384 37.837223 -122.230148 37.837363 -122.229621 37.837462 -122.229079 37.837518 -122.228527 37.837531 -122.227970 37.837501 -122.227415 37.837429 -122.226866 37.837313 -122.226329 37.837157 -122.225809 37.836961 -122.225310 37.836727 -122.224838 37.836458 -122.224397 37.836321 -122.224194 37.835909 -122.223581 37.835902 -122.223571 37.835860 -122.223509 37.835655 -122.223085 37.835595 -122.222985 37.835586 -122.222968 37.835578 -122.222952 37.835434 -122.222684 37.835429 -122.222676 37.835381 -122.222587 37.835374 -122.222573 37.835322 -122.222478 37.835298 -122.222434 37.835063 -122.221995 37.835055 -122.221980 37.834974 -122.221830 37.834716 -122.221399 37.834427 -122.221000 37.834110 -122.220638 37.833766 -122.220315 37.833400 -122.220035 37.833015 -122.219801 37.832810 -122.219691 37.832272 -122.219402 37.831977 -122.219183 37.831614 -122.218915 37.830654 -122.218095 37.830647 -122.218088 37.830591 -122.218041 37.830515 -122.217976 37.830496 -122.217959 37.830412 -122.217887 37.830144 -122.217659 37.829807 -122.217396 37.829733 -122.217344 37.829631 -122.217281 37.829503 -122.217182 37.829430 -122.217131 37.828987 -122.216860 37.828701 -122.216709 37.828662 -122.216688 37.828379 -122.216543 37.827516 -122.215453 37.827432 -122.215347 37.827198 -122.215051 37.827190 -122.215041 37.827029 -122.214674 37.826870 -122.214305 37.826798 -122.214155 37.826740 -122.214040 37.826711 -122.213957 37.826644 -122.213786 37.826416 -122.213272 37.826146 -122.212791 37.825839 -122.212347 37.825749 -122.212230 37.825389 -122.211810 37.825007 -122.211454 37.825005 -122.211449 37.824892 -122.211240 37.824758 -122.211006 37.824502 -122.210581 37.823733 -122.209301 37.823648 -122.209175 37.823573 -122.209040 37.823492 -122.208894 37.823215 -122.208389 37.823146 -122.208264 37.823031 -122.208047 37.822619 -122.207266 37.822482 -122.207006 37.822225 -122.206566 37.821937 -122.206159 37.821618 -122.205789 37.821273 -122.205460 37.820904 -122.205174 37.820515 -122.204933 37.820110 -122.204741 37.819692 -122.204599 37.819265 -122.204508 37.818833 -122.204469 37.818400 -122.204482 37.817970 -122.204548 37.817547 -122.204666 37.817135 -122.204834 37.816738 -122.205051 37.816359 -122.205316 37.816002 -122.205625 37.815670 -122.205975 37.815367 -122.206365 37.814959 -122.206941 37.814930 -122.206982 37.814675 -122.207349 37.814481 -122.207381 37.814339 -122.207410 37.814177 -122.207447 37.814030 -122.207484 37.813634 -122.207607 37.813500 -122.207657 37.812918 -122.207931 37.812911 -122.207935 37.812827 -122.207984 37.812691 -122.208066 37.812132 -122.208467 37.811978 -122.208597 37.811966 -122.208603 37.811575 -122.208821 37.811483 -122.208879 37.811239 -122.209045 37.811213 -122.209064 37.811191 -122.209080 37.811159 -122.209104 37.811136 -122.209120 37.810777 -122.209410 37.810730 -122.209452 37.810345 -122.209837 37.810210 -122.209988 37.810035 -122.210195 37.809941 -122.210312 37.809922 -122.210337 37.809674 -122.210537 37.809327 -122.210879 37.809009 -122.211262 37.808722 -122.211682 37.808469 -122.212135 37.808252 -122.212618 37.808073 -122.213125 37.807935 -122.213651 37.807838 -122.214192 37.807783 -122.214742 37.807771 -122.215296 37.807802 -122.215849 37.807875 -122.216396 37.807991 -122.216931 37.808147 -122.217449 37.808240 -122.217718 37.808412 -122.218216 37.808499 -122.218428 37.808535 -122.218647 37.808536 -122.218646 37.808586 -122.218943 37.808619 -122.219109 37.808647 -122.219244 37.808740 -122.219662 37.808776 -122.219850 37.809087 -122.221225 37.809106 -122.221298 37.809181 -122.221649 37.809265 -122.221991 37.809318 -122.222187 37.809322 -122.222205 37.809389 -122.222450 37.809446 -122.222678 37.809566 -122.223440 37.809569 -122.223463 37.809617 -122.223762 37.809705 -122.224211 37.809768 -122.224486 37.809957 -122.225311 37.809961 -122.225329 37.810025 -122.225605 37.810110 -122.225936 37.810180 -122.226181 37.810184 -122.226195 37.810396 -122.226930 37.810412 -122.226982 37.810520 -122.227465 37.810522 -122.227472 37.810980 -122.229494 37.811104 -122.230040 37.811143 -122.230250 37.811185 -122.230460 37.811258 -122.230791 37.811688 -122.232912 37.811690 -122.232921 37.811838 -122.233645 37.812030 -122.234375 37.812098 -122.234585 37.812105 -122.234606 37.812310 -122.235233 37.812335 -122.235308 37.812365 -122.235416 37.812513 -122.235963 37.812569 -122.236157 37.812624 -122.236335 37.812672 -122.236504 37.812695 -122.236590 37.812699 -122.236606 37.812766 -122.236853 37.812871 -122.237407 37.812918 -122.237961 37.812919 -122.237980 37.812939 -122.238210 37.813006 -122.238743 37.813113 -122.239267 37.813198 -122.239611 37.813451 -122.240643 37.813454 -122.240655 37.813499 -122.240838 37.813517 -122.240934 37.813670 -122.241713 37.813721 -122.241973 37.813767 -122.242187 37.813858 -122.242584 37.814131 -122.243775 37.814134 -122.243787 37.814226 -122.244185 37.814278 -122.244395 37.814318 -122.244546 37.814438 -122.244999 37.814453 -122.245050 37.814580 -122.245495 37.814634 -122.245662 37.814641 -122.245685 37.814797 -122.246160 37.814803 -122.246192 37.814849 -122.246421 37.814970 -122.246925 37.815128 -122.247413 37.815321 -122.247881 37.815547 -122.248324 37.815805 -122.248739 37.816092 -122.249121 37.816171 -122.249217 37.816316 -122.249386 37.816481 -122.249570 37.816608 -122.249705 37.816727 -122.249828 37.816858 -122.249983 37.816976 -122.250117 37.817113 -122.250268 37.817343 -122.250506 37.817479 -122.250637 37.818026 -122.251088 37.818110 -122.251147 37.818393 -122.251471 37.818403 -122.251482 37.818668 -122.251851 37.819597 -122.253146 37.819902 -122.253532 37.820234 -122.253880 37.820592 -122.254186 37.820972 -122.254447 37.821369 -122.254661 37.821781 -122.254826 37.822203 -122.254941 37.822633 -122.255004 37.823065 -122.255015 37.823113 -122.255010");>;);out;'}" Downloaded 792.5KB from overpass-api.de in 8.82 seconds Saved response to cache file "cache/2e68726eb0121fe5f6f00f39771d3830.json" Got all network data within polygon from API in 1 request(s) and 9.30 seconds Creating networkx graph from downloaded OSM data... Created graph with 5,578 nodes and 10,929 edges in 0.15 seconds Added edge lengths to graph in 0.09 seconds Identifying all nodes that lie outside the polygon... Created r-tree spatial index for 5,578 points in 0.21 seconds [I 05:13:43.513 NotebookApp] Saving file at /osmnx-examples/notebooks/00-osmnx-features-demo.ipynb [W 05:13:43.514 NotebookApp] Notebook osmnx-examples/notebooks/00-osmnx-features-demo.ipynb is not trusted
Error output:
TypeError Traceback (most recent call last)