forked from a-b-street/osm2lanes
-
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.
Rework Crate Structure
- Loading branch information
Showing
34 changed files
with
436 additions
and
157 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[package] | ||
name = "osm-tag-schemes" | ||
version = "0.1.0" | ||
edition = "2021" | ||
description = "OSM Tag Scheme Definitions" | ||
repository = "https://github.com/a-b-street/osm2lanes" | ||
license = "Apache 2.0" | ||
keywords = ["openstreetmap", "osm", "tag"] | ||
authors = [ | ||
"Dustin Carlino <[email protected]>", | ||
"Michael Droogleever Fortuyn <[email protected]>", | ||
] | ||
|
||
[dependencies] | ||
osm-tags = { path = "../osm-tags" } | ||
serde = { version = "1", features = ["derive"] } | ||
strum = { version = "0.24", features = ["derive"] } |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use osm_tags::TagKey; | ||
|
||
pub const NAME: TagKey = TagKey::from_static("name"); | ||
pub const REF: TagKey = TagKey::from_static("ref"); | ||
|
||
pub const HIGHWAY: TagKey = TagKey::from_static("highway"); | ||
pub const CONSTRUCTION: TagKey = TagKey::from_static("construction"); | ||
pub const PROPOSED: TagKey = TagKey::from_static("proposed"); | ||
pub const LIFECYCLE: [TagKey; 3] = [HIGHWAY, CONSTRUCTION, PROPOSED]; | ||
|
||
pub const ONEWAY: TagKey = TagKey::from_static("oneway"); | ||
|
||
pub const LIT: TagKey = TagKey::from_static("lit"); | ||
|
||
pub const TRACK_TYPE: TagKey = TagKey::from_static("tracktype"); | ||
pub const SMOOTHNESS: TagKey = TagKey::from_static("smoothness"); |
Oops, something went wrong.