Package org.gbif.api.model.predicate
Class WithinPredicateTest
java.lang.Object
org.gbif.api.model.predicate.WithinPredicateTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidTODO: The JTS library does not properly support wrapping around a pole.voidvoidvoidvoid
-
Constructor Details
-
WithinPredicateTest
public WithinPredicateTest()
-
-
Method Details
-
testEmptyConstructor
-
testNullConstructor
-
testBadConstructor1
-
testGoodConstructor
-
testBadRectangle
-
testGoodComplexConstructor
- Throws:
Exception
-
testPolygonWithHole
-
testGoodPolygonOverAntimeridian
-
testDoubleHolePolygon
-
testGoodPolygonOverPole
TODO: The JTS library does not properly support wrapping around a pole. https://github.com/gbif/gbif-api/issues/44 The README on Spatial4J, which is a derivative of JTS, says "it wraps JTS geometries to add dateline-wrap support (no pole wrap yet)." https://github.com/locationtech/spatial4j/issues/5 -
testInterpolatedRectangleOverPole
-
testOldDownload
-