[logalizer] export lat/lon with 9 decimal places

This commit is contained in:
Felix Ruess
2014-06-03 16:01:20 +02:00
parent e8cda70c92
commit bbb0dcfd48
+1 -1
View File
@@ -178,7 +178,7 @@ let export_values = fun ?(sep="tab") ?(export_geo_pos=true) (model:GTree.tree_st
if export_geo_pos then begin
try
let wgs84 = get_last_geo_pos lookup in
bprintf buf "%s%.6f%s%.6f" sep ((Rad>>Deg) wgs84.posn_lat) sep ((Rad>>Deg) wgs84.posn_long)
bprintf buf "%s%.9f%s%.9f" sep ((Rad>>Deg) wgs84.posn_lat) sep ((Rad>>Deg) wgs84.posn_long)
with
exc ->
all_values := false;