public interface SpatialRuleLookup
Modifier and Type | Field and Description |
---|---|
static SpatialRuleLookup |
EMPTY |
Modifier and Type | Method and Description |
---|---|
org.locationtech.jts.geom.Envelope |
getBounds() |
List<SpatialRule> |
getRules() |
SpatialRuleSet |
lookupRules(double lat,
double lon)
Return applicable rules for this location.
|
static final SpatialRuleLookup EMPTY
SpatialRuleSet lookupRules(double lat, double lon)
If multiple rules with the same priority overlap for a location, the implementation can decide which of them to return and in which order.
If the requested location is outside of the supported bounds or no
SpatialRule is registered at this location SpatialRuleSet.EMPTY
is returned.
List<SpatialRule> getRules()
getBounds()
org.locationtech.jts.geom.Envelope getBounds()
Copyright © 2012–2020. All rights reserved.