GeoMapMatchedPoint

Encapsulates the result of a Map-Matching operation See roadMatch

Since

1.3.0 A significant change related to the Street/House Numbers management was done. Now, getOddStreetNum() and getEvenStreetNum() accessors are deprecated. They have been respectively replaced by getLeftHN() and getRightHN() methods which return the Left and Right House Numbers (Left and right sides are related to the geometric description of the associated polyline).In France, the Left House Number is almost always an odd value but this is not the case in other countries ! In addition, this class provides two new accessors : getLeftPC() and getRightPC() These new methods allow you to get respectively the Left and Right Postal Codes which might be attached to a road. In most cases, these values are identical (Then in this case, only the getLeftPC() returns a value). getSide() is now deprecated (see getRoadSide)

Properties

Link copied to clipboard
open var address: Long
Link copied to clipboard
Link copied to clipboard
open val leftHN: Int
Link copied to clipboard
open val leftPC: String
Link copied to clipboard
open val maxSpeed: Int
Link copied to clipboard
open val name: String
Link copied to clipboard
Link copied to clipboard
open val rightHN: Int
Link copied to clipboard
open val rightPC: String
Link copied to clipboard
Defines the Left side of a road segment
Link copied to clipboard
Defines the Right side of a road segment
Link copied to clipboard
Defines an undefined side of a road segment

Functions

Link copied to clipboard
open fun dispose()
Call this method if you want to dispose immediately all underlying native resources.
Link copied to clipboard
open fun getAngle(): Int
Returns angle of the road segment.
Link copied to clipboard
open fun getClassId(): Long
Returns the class ID of the road segment.
Link copied to clipboard
Returns a value of confidence on result in range [0, 1].
Link copied to clipboard
open fun getGeoPoint(): GeoPoint
Returns the geographical position of this road location.
Link copied to clipboard
Returns an optionnal array of GeoAdminArea objects that represents the left administrative hierarchical path of which this map-matched point belongs to.
Link copied to clipboard
open fun getObjectId(): ObjectId
Return the internal identifier of the segment of road.
Link copied to clipboard
Returns an optionnal array of GeoAdminArea objects that represents the right administrative hierarchical path of which this map-matched point belongs to.
Link copied to clipboard
open fun getRoadSide(): Int
Returns the side of the road the location is.
Link copied to clipboard
Returns the Route Number of the road (if any).
Link copied to clipboard
Returns the urban area type this point is in (assuming argument checkUrbanArea was set to true in call to roadMatch).
Link copied to clipboard
open fun isWaypoint(): Boolean
Returns true if this Road Location is a waypoint.
Link copied to clipboard
open fun rotate()
Rotates the angle by 180°
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Returns coordinates of this Road Location as a string.
Link copied to clipboard
open fun translateName(languageCode: String): String
A method that allows you to get the name of this road into another language.
Link copied to clipboard
open fun x(): Double
Returns x-coordinate in double precision.
Link copied to clipboard
open fun y(): Double
Returns y-coordinate in double precision.