Class RelationBoundary


  • public class RelationBoundary
    extends java.lang.Object
    Contains 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
      boolean containsRelationId​(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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RelationBoundary

        public 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 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()