API ReferenceGE Extensionstech
`openStreetMapExporter.lua`
> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.
This Source Code Form is subject to the terms of the bCDDL, v. 1.1. If a copy of the bCDDL was not distributed with this file, You can obtain one at http://beamng.com/bCDDL-1.1.txt
Module variable: M
Exported Functions
M.export(fileName)
Line 220
Public interface.
Returns: M
Internal Functions
Show internal functions
compute2dCoords()(line 20)getChildren(table)(line 27)doesCollectionContainSegment(collection, testSeg)(line 39)doesSegmentContainKey(currentPath, nextSuccessorKey)(line 57)computePathSegments()(line 66)createNodesData()(line 123)createWaysData(pathSegments)(line 154)formatDateTime()(line 168)writeOsmFile(fileName, nodesData, ways)(line 176)export(fileName)(line 220)Exports the road network from the currently-loaded map to OpenStreetMap (.osm) format.