compute()
get_data()
osm_request()
datatype (str) – The category of your data.
pandas.Series
Examples
>>> get_data("building") Here is your building data. 0 1 1 2 2 3 3 4 dtype: int64
This function requests OSM data from database or OSM directly
>>> from shapely import box >>> streets = osm_request("road", box(13.409, 52.519, 13.41, 52.52)) >>> len(streets.data) > 0 True