]> mj.ucw.cz Git - leo.git/blobdiff - map.c
Log statistics when a data source is loaded
[leo.git] / map.c
diff --git a/map.c b/map.c
index 8f502006324660fe42329f89a797452652c040d3..bbcd7463b1f33de9864a3becb632b2b8c2c3f50e 100644 (file)
--- a/map.c
+++ b/map.c
@@ -236,6 +236,8 @@ static void map_load_source(struct data_source *ds)
       break;
     case DATA_SOURCE_FIXED:
       msg(L_INFO, "Adding fixed objects");
+      if (!ds->file)
+       ds->file = "fixed";
       fixed_add();
       break;
     case DATA_SOURCE_SHAPE:
@@ -249,6 +251,7 @@ static void map_load_source(struct data_source *ds)
       die("Invalid data source format");
     }
 
+  osm_stats();
   if (debug_dump_source)
     {
       puts("=== Source data ===");