class

CrystalGpx::Builder

Inherits Reference < Object

Constants

GPX_CLOSE = "</gpx>"
GPX_HEADER = "<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:gpxx=\"http://www.garmin.com/xmlschemas/GpxExtensions/v3\" >"
SEGMENT_CLOSE = "</trkseg>"
SEGMENT_OPEN = "<trkseg>"
TRK_CLOSE = "</trk>"
TRK_OPEN = "<trk>"
XML_HEADER = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>"

Constructors

new(segments : Array(Array(CrystalGpx::Point)))
Source
new(array : Array(CrystalGpx::Point))
Source

Instance methods

segment_to_gpx(array)
Source
to_gpx
Source
to_simple_json
Source