-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add eval funs draft * add stroke stats to stats_func * osmnx: add printout on digraph * add strokes and orig-manual weights to eval * update eval nb: add multivar ranking for cell weights (WIP) * add read_cityseer func * adding cityseer data to nb * adding sns draft to eval nb * delete outdated nb * update nrecord for cityseer readin tests --------- Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
- Loading branch information
1 parent
a4b2bcc
commit 2210d76
Showing
6 changed files
with
86 additions
and
468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from core import utils | ||
|
||
|
||
def read_method_outputs(fua, method, proj_crs=None): | ||
match method: | ||
case "cityseer": | ||
gdf = utils.read_cityseer(fua, proj_crs) | ||
case "orig": | ||
gdf = utils.read_original(fua) | ||
case "manual": | ||
gdf = utils.read_manual(fua, proj_crs) | ||
case "osmnx": | ||
gdf = utils.read_osmnx(fua, proj_crs) | ||
case "parenx-voronoi": | ||
gdf = utils.read_parenx(fua, "voronoi", proj_crs) | ||
case "parenx-skeletonize": | ||
gdf = utils.read_parenx(fua, "skeletonize", proj_crs) | ||
case "sgeop": | ||
gdf = utils.read_sgeop(fua, proj_crs) | ||
return gdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.