| 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,
IntEncodedValue spatialRuleEnc) |
| Modifier and Type | Class and Description |
|---|---|
class |
SpatialRuleLookupJTS |
| Modifier and Type | Field and Description |
|---|---|
static SpatialRuleLookup |
SpatialRuleLookup.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static SpatialRuleLookup |
SpatialRuleLookupBuilder.buildIndex(List<JsonFeatureCollection> jsonFeatureCollections,
String jsonIdField,
SpatialRuleLookupBuilder.SpatialRuleFactory spatialRuleFactory)
Wrapper Method for
SpatialRuleLookupBuilder.buildIndex(List, String, SpatialRuleFactory, Envelope). |
static SpatialRuleLookup |
SpatialRuleLookupBuilder.buildIndex(List<JsonFeatureCollection> jsonFeatureCollections,
String jsonIdField,
SpatialRuleLookupBuilder.SpatialRuleFactory spatialRuleFactory,
org.locationtech.jts.geom.Envelope 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–2020. All rights reserved.