gdf_nodes = gpd.GeoDataFrame(pois).T
gdf_nodes.crs = {"init": "epsg:4326"}
gdf_ways = gpd.GeoDataFrame(poi_ways).Tgdf_ways.crs = {"init": "epsg:4326"}
// Parse relations (MultiPolygons) from "ways"
gdf_ways = parse_osm_relations(relations=relations, osm_way_df=gdf_ways)
return (gdf_nodes, gdf_ways)
def pois_from_point(point, distance=None, amenities=None, retain_invalid=False):
Get Point of interests (POIs) within some distance north, south, east, and west of