-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for
extra_info
parameter (#251)
Add extra_info to advanced parameters in directions processing algorithms. When requesting extra_info, a layer is created with one feature per line segment, containing the requested extra_info as attributes. Requested extra_info that is not available (such as OSMID or green atm) will result in an empty attribute column, with a log message accompanying it. The returned layer could be optimized, this is discussed in #252 . Some extra_info is decoded from the API-returned integers into human-readable strings, so different field types are needed. This needs to be updated, if the API ever changes. Currently, not all extra_info where this would be available is covered. The csv extra_info needs csv_column and csv_factor, a corresponding hint is on the latter two parameters Co-authored-by: Merydian <Tillfrankenbach@web.de>
- Loading branch information
Showing
7 changed files
with
413 additions
and
75 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
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.