Skip to content

Commit

Permalink
Adding Direction Tag (#206)
Browse files Browse the repository at this point in the history
* Add DirectionTag class

* Adding one blank line at the end

* Change the order of values

move the "ANTICLOCKWISE" next to "CLOCKWISE"
  • Loading branch information
MonicaBrandeis authored and MikeGost committed Aug 28, 2018
1 parent e4a3d57 commit 66273bc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/main/java/org/openstreetmap/atlas/tags/DirectionTag.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package org.openstreetmap.atlas.tags;

import org.openstreetmap.atlas.tags.annotations.Tag;
import org.openstreetmap.atlas.tags.annotations.TagKey;

/**
* OSM direction tag
*
* @author MonicaBrandeis
*/
@Tag(taginfo = "https://taginfo.openstreetmap.org/keys/direction", osm = "https://wiki.openstreetmap.org/wiki/Key:direction")
public enum DirectionTag
{
FORWARD,
BACKWARD,
CLOCKWISE,
ANTICLOCKWISE,
BOTH;

@TagKey
public static final String KEY = "direction";
}

0 comments on commit 66273bc

Please sign in to comment.