NREL / routee-compass

An energy-aware routing engine
https://nrel.github.io/routee-compass/
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Ndr/result to geopandas #230

Closed nreinicke closed 4 months ago

nreinicke commented 4 months ago

Adds support for converting the results to geopandas. Now you can call the function results_to_geopandas and get back either a route geodataframe (if there is just a route), a tree geodatarame (if there is just a tree), or both a route and a tree geodataframe. For example:

route_gdf, tree_gdf = results_to_geopandas(result)

Closes #211 Closes #210

jhoshiko commented 4 months ago

@nreinicke Nice! I've tested this on my end and can generate the tree gdf and the results gdf from both a list of results and a single result.