MCPcopy Create free account
hub / github.com/comaps/comaps / FormatLatLonAsDMS

Function FormatLatLonAsDMS

libs/platform/measurement_utils.cpp:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141std::string FormatLatLonAsDMS(double lat, double lon, bool withComma, int dac)
142{
143 return (FormatLatLonAsDMSImpl(lat, 'N', 'S', dac) + (withComma ? ", " : " ") +
144 FormatLatLonAsDMSImpl(lon, 'E', 'W', dac));
145}
146
147void FormatLatLonAsDMS(double lat, double lon, std::string & latText, std::string & lonText, int dac)
148{

Callers 4

FormatMercatorAsDMSFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 1

FormatLatLonAsDMSImplFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.68