Categorygithub.com/nextmv-io/sdk/measure/here
modulepackage
1.8.1
Repository: https://github.com/nextmv-io/sdk.git
Documentation: pkg.go.dev

# Functions

NewClient returns a new OSRM Client.
WithAvoidAreas sets bounding boxes that will be avoided in the calculated routes.
WithAvoidFeatures sets features that will be avoided in the calculated routes.
WithClientTransport overwrites the RoundTripper used by the internal http.Client.
WithDenyRedirectPolicy block redirected requests to specified hostnames.
WithDepartureTime sets departure time to be used in the request.
WithScooterProfile sets a Scooter profile on the request.
WithTaxiProfile sets a Taxi profile on the request.
WithTransportMode sets the transport mode for the request.
WithTruckProfile sets a Truck profile on the matrix request.

# Constants

CarShuttleTrain designates a train that can transport cars.
Combustible designates combustible materials.
ControlledAccessHighway designates a controlled access highway.
Corrosive indicates corrosive materials.
DifficultTurns represents u-turns, difficult turns, and sharp turns.
DirtRoad designates a dirt road.
Explosive represents explosive materials.
Ferry designates a ferry route.
Flammable designates flammable materials.
Gas designates gas.
HarmfulToWater indicates materials that are harmful to water.
Organic designates organical materials.
OtherHazardousGood refers to other types of hazardous materials.
Poison designates poison.
PoisonousInhalation refers to materials that are poisonous to inhale.
Radioactive indicates radioactive materials.
SeasonalClosure designates a route that is closed for the season.
TollRoad designates a toll road feature.
TransportModeBicycle causes routes to be calculated for bicycle travel.
TransportModeCar causes routes to be calculated for car travel.
TransportModePedestrian causes routes to be calculated for pedestrian travel.
TransportModeScooter causes routes to be calculated for scooter travel.
TransportModeTaxi causes routes to be calculated for taxi travel.
TransportModeTruck causes routes to be calculated for truck travel.
TruckTypeStraight refers to trucks with a permanently attached cargo area.
TruckTypeTractor refers to vehicles that can tow one or more semi-trailers.
Tunnel designates a tunnel.
TunnelCategoryB represents tunnels with B category restrictions.
TunnelCategoryC represents tunnels with C category restrictions.
TunnelCategoryD represents a tunnel with D category restrictions.
TunnelCategoryE represents a tunnel with E category restrictions.
TunnelCategoryNone represents a tunnel with no category restrictions.
UTurns designates u-turns.

# Structs

BoundingBox represents a region using four cooordinates corresponding to the furthest points in each of the cardinal directions within that region.
Scooter captures routing parameters that can be set on scooters.
Taxi captures routing parameters that can be set on taxis.
Truck captures truck-specific routing parameters.
WeightPerAxleGroup captures the weights of different axle groups.

# Interfaces

Client represents a HERE maps client.

# Type aliases

ClientOption can pass options to be used with a HERE client.
Feature represents a geographical feature.
HazardousGood indicates a hazardous good that trucks can transport.
MatrixOption is passed to functions on the Client that create matrices, configuring the HERE request the client will make.
TransportMode represents the type of vehicle that will be used for the calculated routes.
TruckType specifies the type of truck.
TunnelCategory is a tunnel category used to restrict the transport of certain goods.