Skip to content
Snippets Groups Projects
Commit cb8487be authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: correct precision display for lon/lat

parent 9f12febe
Branches
Tags
No related merge requests found
......@@ -238,7 +238,7 @@ ImageLayer<TImage,TOutputImage>
if (m_Transform->IsUpToDate())
{
PointType point = this->GetPixelLocation(index);
oss<< "Lon: " << point[0] << " Lat: "<< point[1] << std::endl;
oss<< setiosflags(ios::fixed) << setprecision(6) << "Lon: " << point[0] << " Lat: "<< point[1] << std::endl;
}
return oss.str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment