package
0.0.0-20241219173913-d335b646c759
Repository: https://github.com/lddl/go-gmns.git
Documentation: pkg.go.dev
# Functions
GenerateIntersectionsConnections generates connections between links for the junctions of the roads.
GenerateSpansConnections generates connections between links for the span between roads.
NewLanesInfo creates pointer to the new LanesInfo.
NewLinkFrom creates pointer to the new Link.
NewNet returns pointer to the new macroscopic road network data.
NewLinkFrom creates pointer to the new Node.
WithActivityLinkType sets incident link type.
WithActivityType sets activity type for the node.
WithAllowedAgentTypes sets allowed agent types for the link.
WithBidirectionalSource sets information about whether source data (e.g.
WithBoundaryType sets boundary type for the node.
WithCapacity sets max capacity for the link.
WithFreeSpeed sets free flow speed for the link.
WithIncomingLinks appends given incoming links identifiers to the node.
WithIntersectionID sets intersection identifier for the node.
WithLanesInfo sets information about lanes for the link.
WithLanesNum sets number of lanes for the link.
WithLengthMeters sets underlying geometry [WGS84] length in meters.
WithLineGeom sets geometry [WGS84] for the link.
WithLineGeomEuclidean sets geometry [Euclidean] for the link.
WithLinkClass sets link class.
WithLinkConnectionType sets type for the link connection.
WithLinkControlType sets control type for the link.
WithLinkName sets alias for the link.
WithLinkType sets link type.
WithMaxSpeed sets speed restriction the link.
WithNodeControlType sets control type for the node.
WithNodeName sets alias for the node.
WithOSMHighwayTag sets highway information from the OSM data for the node.
WithOSMNodeID sets corresponding OSM node identifier for the node.
WithOSMWayID sets corresponding OSM node identifier for the link.
WithOutcomingLinks appends given outcoming links identifiers to the node.
WithPOI sets POI identifier for the node.
WithPointGeom sets geometry [WGS84] for the node.
WithPointGeomEuclidean sets geometry [Euclidean] for the node.
WithSourceNodeID sets source node identifier.
WithSourceOSMNodeID set corresponding source OSM node identifier for the link.
WithTargetNodeID sets target node identifier.
WithTargetOSMNodeID sets corresponding target OSM node identifier for the link.
WithZoneID sets zone identifier for the node.
# Constants
No description provided by the author
No description provided by the author
Default lane width.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
LanesInfo is information about lanes for the specific link.
Link representation of an edge in a macroscopic graph.
Net is representation of any road network with links and nodes in GMNS specification.
Node representation of a vertex in a macroscopic graph.
# Type aliases
DirectionType is just type alias for the direction of the geometry.