Package org.oscim.tiling.source.mapfile
Class MapReadResult
java.lang.Object
org.oscim.tiling.source.mapfile.MapReadResult
An immutable container for the data returned from a MapDataStore.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue if the read area is completely covered by water, false otherwise.The read POIs.The read ways. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(MapReadResult other, boolean deduplicate) Adds other MapReadResult by combining pois and ways.voidadd(PoiWayBundle poiWayBundle)
-
Field Details
-
isWater
public boolean isWaterTrue if the read area is completely covered by water, false otherwise. -
pointOfInterests
The read POIs. -
ways
The read ways.
-
-
Constructor Details
-
MapReadResult
public MapReadResult()
-
-
Method Details
-
add
-
add
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.
-