| Package | Description |
|---|---|
| openlr |
This package contains general interfaces defined by the OpenLR location referencing method.
|
| openlr.decoder |
This package comprises interfaces for the OpenLR decoder.
|
| openlr.encoder |
This package comprises interfaces for the OpenLR encoder.
|
| openlr.location |
The location package holds all location type dependent implementations of
the location interface.
|
| openlr.location.utils |
Contains general utilities related to location objects.
|
| openlr.location.utils.worker |
Contains concrete processor classes per location type used in general location utilities.
|
| openlr.utils.location |
This package contains general utilities regarding locations.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
OpenLRDecoder.decode(OpenLRDecoderParameter parameter,
LocationReference data)
Decode.
|
Location |
OpenLRDecoder.decodeRaw(OpenLRDecoderParameter parameter,
RawLocationReference rawData)
Decode.
|
| Modifier and Type | Method and Description |
|---|---|
List<Location> |
OpenLRDecoder.decode(OpenLRDecoderParameter parameter,
List<LocationReference> data)
Decode.
|
List<Location> |
OpenLRDecoder.decodeRaw(OpenLRDecoderParameter parameter,
List<RawLocationReference> rawData)
Decode.
|
| Modifier and Type | Method and Description |
|---|---|
LocationReferenceHolder |
OpenLREncoder.encodeLocation(OpenLREncoderParameter parameter,
Location loc)
Encode location.
|
| Modifier and Type | Method and Description |
|---|---|
List<LocationReferenceHolder> |
OpenLREncoder.encodeLocations(OpenLREncoderParameter parameter,
List<Location> loc)
Encode locations.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
LocationDatabase.getResult(RawLocationReference locRef)
Gets the location for the location reference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocationDatabase.storeResult(RawLocationReference locRef,
Location loc)
Store the location and its location reference
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LRDatabase.containsLR(Location loc)
Checks if the location is already stored in the database.
|
LocationReferenceHolder |
LRDatabase.getResult(Location loc)
Gets the location reference for the location
|
void |
LRDatabase.storeResult(Location loc,
LocationReferenceHolder locref)
Store the location and its location reference
|
| Modifier and Type | Class and Description |
|---|---|
class |
CircleLocation
Implementation of the location interface for circle locations.
|
class |
ClosedLineLocation
Implementation of the location interface for closed line locations.
|
class |
GeoCoordLocation
Implementation of the location interface for geo coordinate locations.
|
class |
GridLocation
Implementation of the location interface for grid locations.
|
class |
InvalidLocation
Implementation of the location interface for invalid locations.
|
class |
LineLocation
Implementation of the location interface for line locations.
|
class |
PoiAccessLocation
Implementation of the location interface for poi with access point locations.
|
class |
PointAlongLocation
Implementation of the location interface for point along line locations.
|
class |
PointLocation
Abstract class for point locations.
|
class |
PolygonLocation
Implementation of the location interface for polygon locations.
|
class |
RectangleLocation
Implementation of the location interface for rectangle locations.
|
| Modifier and Type | Method and Description |
|---|---|
static Location |
LocationFactory.createCircleLocation(String idString,
double lonDeg,
double latDeg,
long radius)
Instantiates a new circle location.
|
static Location |
LocationFactory.createClosedLineLocation(String idString,
List<? extends Line> loc)
Instantiates a new location with a unique key and the location as a list
of lines.
|
static Location |
LocationFactory.createGeoCoordinateLocation(String idString,
double lonDeg,
double latDeg)
Instantiates a new geo coordinate location.
|
static Location |
LocationFactory.createGridLocationFromBasisCell(String idString,
double lowerLeftLonDeg,
double lowerLeftLatDeg,
double upperRightLonDeg,
double upperRightLatDeg,
int ncols,
int nrows)
Instantiates a new grid location.
|
static Location |
LocationFactory.createGridLocationFromBasisCell(String idString,
GeoCoordinates lowerLeft,
GeoCoordinates upperRight,
int ncols,
int nrows)
Creates a new Location object.
|
static Location |
LocationFactory.createGridLocationFromGridArea(String idString,
double lowerLeftLonDeg,
double lowerLeftLatDeg,
double upperRightLonDeg,
double upperRightLatDeg,
int ncols,
int nrows)
Instantiates a new grid location.
|
static Location |
LocationFactory.createGridLocationFromGridArea(String string,
GeoCoordinates lowerLeft,
GeoCoordinates upperRight,
int columns,
int rows)
Creates a new Location object.
|
static Location |
LocationFactory.createLineLocation(String idString,
List<? extends Line> loc)
Instantiates a new location with a unique key and the location as a list
of lines.
|
static Location |
LocationFactory.createLineLocationWithOffsets(String idString,
List<? extends Line> loc,
int pOff,
int nOff)
Instantiates a new location with a unique key and the location as a list
of lines including offset information used to find the precise location
on the location path.
|
static Location |
LocationFactory.createNodeLocation(String idString,
Line l)
Instantiates a new point along line location at a network node.
|
static Location |
LocationFactory.createNodeLocationWithOrientation(String idString,
Line l,
Orientation o)
Instantiates a new point along line location at a network node.
|
static Location |
LocationFactory.createNodeLocationWithSide(String idString,
Line l,
SideOfRoad s)
Instantiates a new point along line location at a network node.
|
static Location |
LocationFactory.createNodeLocationWithSideAndOrientation(String idString,
Line l,
SideOfRoad s,
Orientation o)
Instantiates a new point along line location at a network node.
|
static Location |
LocationFactory.createPoiAccessAtNodeLocation(String idString,
Line l,
double lonDeg,
double latDeg)
Instantiates a new poi with access point location at a network node.
|
static Location |
LocationFactory.createPoiAccessAtNodeLocationWithOrientation(String idString,
Line l,
double lonDeg,
double latDeg,
Orientation o)
Instantiates a new poi with access point location at a network node.
|
static Location |
LocationFactory.createPoiAccessAtNodeLocationWithSide(String idString,
Line l,
double lonDeg,
double latDeg,
SideOfRoad s)
Instantiates a new poi with access point location at a network node.
|
static Location |
LocationFactory.createPoiAccessAtNodeLocationWithSideAndOrientation(String idString,
Line l,
double lonDeg,
double latDeg,
SideOfRoad s,
Orientation o)
Instantiates a new poi with access point location at a network node.
|
static Location |
LocationFactory.createPoiAccessLocation(String idString,
Line l,
int poff,
double lonDeg,
double latDeg)
Instantiates a new poi with access point location.
|
static Location |
LocationFactory.createPoiAccessLocationWithOrientation(String idString,
Line l,
int poff,
double lonDeg,
double latDeg,
Orientation o)
Instantiates a new poi with access point location.
|
static Location |
LocationFactory.createPoiAccessLocationWithSide(String idString,
Line l,
int poff,
double lonDeg,
double latDeg,
SideOfRoad s)
Instantiates a new poi with access point location.
|
static Location |
LocationFactory.createPoiAccessLocationWithSideAndOrientation(String idString,
Line l,
int poff,
double lonDeg,
double latDeg,
SideOfRoad s,
Orientation o)
Instantiates a new poi with access point location.
|
static Location |
LocationFactory.createPointAlongLineLocation(String idString,
Line l,
int poff)
Instantiates a new point along line location.
|
static Location |
LocationFactory.createPointAlongLineLocationWithOrientation(String idString,
Line l,
int poff,
Orientation o)
Instantiates a new point along line location.
|
static Location |
LocationFactory.createPointAlongLineLocationWithSide(String idString,
Line l,
int poff,
SideOfRoad s)
Instantiates a new point along line location.
|
static Location |
LocationFactory.createPointAlongLineLocationWithSideAndOrientation(String idString,
Line l,
int poff,
SideOfRoad s,
Orientation o)
Instantiates a new point along line location.
|
static Location |
LocationFactory.createPolygonLocation(String idString,
List<? extends GeoCoordinates> cornerPoints)
Instantiates a new polygon location.
|
static Location |
LocationFactory.createRectangleLocation(String idString,
double lowerLeftLonDeg,
double lowerLeftLatDeg,
double upperRightLonDeg,
double upperRightLatDeg)
Instantiates a new rectangle location.
|
static Location |
LocationFactory.createRectangleLocation(String string,
GeoCoordinates rectangleLL,
GeoCoordinates rectangleUR)
Creates a new Location object.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
LocationDataIterator.current()
This method delivers the location the iterator currently points to.
|
Location |
LocationData.getLocation(int index)
Gets the location.
|
Location |
LocationDataIterator.next()
Sets the pointer to the next location and delivers it back.
|
Location |
LocationDataIterator.previous()
Sets the pointer to the previous location and delivers it back.
|
Location |
LocationDataIterator.setCurrent(int newIndex)
Sets the pointer to a specific location index.
|
| Modifier and Type | Method and Description |
|---|---|
List<Location> |
LocationData.getLocations()
Gets the locations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocationDataIterator.add(Location e)
Not supported by this iterator.
|
void |
LocationData.addLocation(Location l)
Adds the line location.
|
static String |
LocationDataWriter.createLocationString(Location location)
Creates the location string.
|
void |
LocationDataIterator.set(Location e)
Not supported by this iterator.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
PolygonRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
PointAlongRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
RectangleRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
ClosedLineRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
PoiAccessRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
LineRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
abstract Location |
AbstractRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
GeoCoordRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
GridRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
Location |
CircleRW.readLocationString(String id,
String[] features,
MapDatabase mdb)
Read location string.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PolygonRW.createLocationString(Location location)
Creates the location string.
|
String |
PointAlongRW.createLocationString(Location location)
Creates the location string.
|
String |
RectangleRW.createLocationString(Location location)
Creates the location string.
|
String |
ClosedLineRW.createLocationString(Location location)
Creates the location string.
|
String |
PoiAccessRW.createLocationString(Location location)
Creates the location string.
|
String |
LineRW.createLocationString(Location location)
Creates the location string.
|
abstract String |
AbstractRW.createLocationString(Location location)
Creates the location string.
|
String |
GeoCoordRW.createLocationString(Location location)
Creates the location string.
|
String |
GridRW.createLocationString(Location location)
Creates the location string.
|
String |
CircleRW.createLocationString(Location location)
Creates the location string.
|
| Modifier and Type | Method and Description |
|---|---|
T |
LocationProcessor.process(Location location)
Processes the given location.
|
abstract T |
LocationProcessor.processUnknown(Location location)
Processes the case of location of type
UNKNOWN. |
Copyright © 2019 TomTom International B.V.. All rights reserved.