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
Hello,
I'm trying to get setup with the weighted-shortest-path tutorial and receiving and error from the OS API Wrapper stating it can't currently handle multiline strings. Full error message below:
Exception has occurred: Exception Currently unable to handle multilinestrings. data = wfs_api.get_all_features_within_bbox(type_name="Highways_RoadLink", bbox="50.958859,-0.831871, 51.025201,-0.6667327", srs='EPSG:4326', allow_premium=True) Exception: Currently unable to handle multilinestrings.
Do you know what is wrong with my request to the wrapper? I've double checked the args are the same as in the tutorial.
Thank you
The text was updated successfully, but these errors were encountered:
Hi @jnightingale99. We are currently reviewing the contents of this repo with an eye to archive the content in favour of hosting the guidance via our new More than Maps platform.
In this instance the error will mostly likely be down to the fact that the notebook is referencing [OS-PAW]...(https://pypi.org/project/os-paw/) which has since been superseded by the osdatahub project.
osdatahub is a maintained project which (like OS-PAW) makes it easier to interact with OS data via the OS Data Hub APIs.
You can query the Highways_RoadLink feature type using the geographic extent methodology described in https://pypi.org/project/osdatahub/#features-api; and use the GeoJSON response as the input for the GeoDataFrame and subsequent NetworkX routing analysis.
Hello,
I'm trying to get setup with the weighted-shortest-path tutorial and receiving and error from the OS API Wrapper stating it can't currently handle multiline strings. Full error message below:
Exception has occurred: Exception Currently unable to handle multilinestrings. data = wfs_api.get_all_features_within_bbox(type_name="Highways_RoadLink", bbox="50.958859,-0.831871, 51.025201,-0.6667327", srs='EPSG:4326', allow_premium=True) Exception: Currently unable to handle multilinestrings.
Do you know what is wrong with my request to the wrapper? I've double checked the args are the same as in the tutorial.
Thank you
The text was updated successfully, but these errors were encountered: