| Package | Description |
|---|---|
| com.graphhopper.routing.lm | |
| com.graphhopper.routing.util.parsers | |
| com.graphhopper.routing.util.spatialrules |
| Modifier and Type | Method and Description |
|---|---|
protected com.carrotsearch.hppc.IntHashSet |
LandmarkStorage.findBorderEdgeIds(SpatialRuleLookup ruleLookup)
This method makes edges crossing the specified border inaccessible to split a bigger area into smaller subnetworks.
|
void |
LandmarkStorage.setSpatialRuleLookup(SpatialRuleLookup ruleLookup)
This method specifies the polygons which should be used to split the world wide area to improve performance and
quality in this scenario.
|
PrepareLandmarks |
PrepareLandmarks.setSpatialRuleLookup(SpatialRuleLookup ruleLookup) |
| Constructor and Description |
|---|
SpatialRuleParser(SpatialRuleLookup spatialRuleLookup) |
SpatialRuleParser(SpatialRuleLookup spatialRuleLookup,
IntEncodedValue spatialRuleEnc) |
| Modifier and Type | Class and Description |
|---|---|
class |
SpatialRuleLookupArray
SpatialRuleLookup implementation using an array as data structure.
|
| Modifier and Type | Field and Description |
|---|---|
static SpatialRuleLookup |
SpatialRuleLookup.EMPTY |
| 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–2019. All rights reserved.