| 139 | } |
| 140 | |
| 141 | std::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 | |
| 147 | void FormatLatLonAsDMS(double lat, double lon, std::string & latText, std::string & lonText, int dac) |
| 148 | { |