Class MapReadResult

java.lang.Object
org.oscim.tiling.source.mapfile.MapReadResult

public class MapReadResult extends Object
An immutable container for the data returned from a MapDataStore.
  • Field Details

    • isWater

      public boolean isWater
      True if the read area is completely covered by water, false otherwise.
    • pointOfInterests

      public List<PointOfInterest> pointOfInterests
      The read POIs.
    • ways

      public List<Way> ways
      The read ways.
  • Constructor Details

    • MapReadResult

      public MapReadResult()
  • Method Details

    • add

      public void add(PoiWayBundle poiWayBundle)
    • add

      public void add(MapReadResult other, boolean deduplicate)
      Adds other MapReadResult by combining pois and ways. Optionally deduplication can be requested (more expensive).
      Parameters:
      other - the MapReadResult to add to this.
      deduplicate - true if check for duplicates is required.