Class CommonMethods
- java.lang.Object
-
- org.openstreetmap.atlas.checks.utility.CommonMethods
-
public final class CommonMethods extends java.lang.ObjectHold common Methods (should be used in more than one check)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.openstreetmap.atlas.geography.PolyLinebuildOriginalOsmWayGeometry(org.openstreetmap.atlas.geography.atlas.items.Edge edge)Build original (before Atlas sectioning) OSW way geometry from all MainEdges sectionsstatic longgetOSMRelationMemberSize(org.openstreetmap.atlas.geography.atlas.items.Relation relation)Return OSM Relation Members size excluding Atlas reversed and sectioned Edges
-
-
-
Method Detail
-
buildOriginalOsmWayGeometry
public static org.openstreetmap.atlas.geography.PolyLine buildOriginalOsmWayGeometry(org.openstreetmap.atlas.geography.atlas.items.Edge edge)
Build original (before Atlas sectioning) OSW way geometry from all MainEdges sections- Parameters:
edge- entity to check- Returns:
- original Way geometry
PolyLine
-
getOSMRelationMemberSize
public static long getOSMRelationMemberSize(org.openstreetmap.atlas.geography.atlas.items.Relation relation)
Return OSM Relation Members size excluding Atlas reversed and sectioned Edges- Parameters:
relation-Relationto get the members of- Returns:
- A size of relations members as
Long
-
-