Package | Description |
---|---|
com.graphhopper.routing.util.spatialrules |
Modifier and Type | Method and Description |
---|---|
static SpatialRuleLookup |
SpatialRuleLookupBuilder.buildIndex(JsonFeatureCollection jsonFeatureCollection,
String jsonIdField,
SpatialRuleLookupBuilder.SpatialRuleFactory spatialRuleFactory)
|
static SpatialRuleLookup |
SpatialRuleLookupBuilder.buildIndex(JsonFeatureCollection jsonFeatureCollection,
String jsonIdField,
SpatialRuleLookupBuilder.SpatialRuleFactory spatialRuleFactory,
double resolution,
BBox maxBBox)
Builds a SpatialRuleLookup by passing the provided JSON features into the provided
SpatialRuleFactory and collecting all the SpatialRule instances that it returns,
ignoring when it returns SpatialRule.EMPTY.
|
Copyright © 2012–2018. All rights reserved.