Class RelationBoundary
- java.lang.Object
-
- org.openstreetmap.atlas.checks.validation.intersections.RelationBoundary
-
public class RelationBoundary extends java.lang.ObjectContains BoundaryParts and map of relations. It is a main object for analysing BoundaryIntersectionCheck.
-
-
Constructor Summary
Constructors Constructor Description RelationBoundary(java.util.Map<java.lang.String,org.openstreetmap.atlas.geography.atlas.items.Relation> tagToRelation, java.util.Set<org.openstreetmap.atlas.geography.atlas.items.AtlasEntity> atlasEntities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsRelationId(long osmIdentifier)java.util.Set<org.openstreetmap.atlas.geography.atlas.items.AtlasEntity>getAtlasEntities()java.util.Set<org.openstreetmap.atlas.geography.atlas.items.Relation>getRelationsByBoundaryTags(java.util.Set<java.lang.String> tags)java.util.Map<java.lang.String,org.openstreetmap.atlas.geography.atlas.items.Relation>getTagToRelation()
-
-
-
Method Detail
-
containsRelationId
public boolean containsRelationId(long osmIdentifier)
-
getAtlasEntities
public java.util.Set<org.openstreetmap.atlas.geography.atlas.items.AtlasEntity> getAtlasEntities()
-
getRelationsByBoundaryTags
public java.util.Set<org.openstreetmap.atlas.geography.atlas.items.Relation> getRelationsByBoundaryTags(java.util.Set<java.lang.String> tags)
-
getTagToRelation
public java.util.Map<java.lang.String,org.openstreetmap.atlas.geography.atlas.items.Relation> getTagToRelation()
-
-