Package de.latlon.ets.wms13.core.crs
Class CrsMatcher
java.lang.Object
de.latlon.ets.wms13.core.crs.CrsMatcher
Contains useful methods regarding supported/expected CRS.
- Author:
- Lyn Goltz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) InputStreamFor test cases only!(package private) List<BoundingBox>retrieveOverlappingCrs(BoundingBox geographicBoundingBox) Finds all CRS overlapping the passedBoundingBox.
-
Constructor Details
-
CrsMatcher
public CrsMatcher()
-
-
Method Details
-
retrieveOverlappingCrs
Finds all CRS overlapping the passedBoundingBox.- Parameters:
geographicBoundingBox- to find overlapping bboxes for, the crs of theBoundingBoxmust be 'CRS:84', nevernull- Returns:
- a list
BoundingBoxoverlapping the passed one, may be empty but nevernull
-
openStream
InputStream openStream()For test cases only!- Returns:
- the opened stream to the BBOX_FILE
-
parseBoundingBoxes
List<BoundingBox> parseBoundingBoxes()- Returns:
- all bounding boxes parsed from the stream, never
null
-