mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
DBViewer: fixed kml export disabled for poses when there are gps values. Fixed commas used instead of dots for float in kml export on french machine.
This commit is contained in:
@@ -523,7 +523,10 @@ bool exportGPS(
|
||||
std::string values;
|
||||
for(std::map<int, GPS>::const_iterator iter=gpsValues.begin(); iter!=gpsValues.end(); ++iter)
|
||||
{
|
||||
values += uFormat("%f,%f,%f ", iter->second.longitude(), iter->second.latitude(), iter->second.altitude());
|
||||
values += uFormat("%s,%s,%s ",
|
||||
uReplaceChar(uNumber2Str(iter->second.longitude()), ',', '.').c_str(),
|
||||
uReplaceChar(uNumber2Str(iter->second.latitude()), ',', '.').c_str(),
|
||||
uReplaceChar(uNumber2Str(iter->second.altitude()), ',', '.').c_str());
|
||||
}
|
||||
|
||||
// switch argb (Qt format) -> abgr
|
||||
|
||||
Reference in New Issue
Block a user