]> mj.ucw.cz Git - leo.git/blobdiff - map.c
Průvodce: More styling
[leo.git] / map.c
diff --git a/map.c b/map.c
index 8f502006324660fe42329f89a797452652c040d3..c9c2635e0716218382063c893c407a2b6f606198 100644 (file)
--- a/map.c
+++ b/map.c
@@ -4,7 +4,8 @@
  *     (c) 2014 Martin Mares <mj@ucw.cz>
  */
 
-#include <ucw/lib.h>
+#include "leo.h"
+
 #include <ucw/conf.h>
 #include <ucw/gary.h>
 #include <ucw/mempool.h>
@@ -13,7 +14,6 @@
 #include <stdio.h>
 #include <math.h>
 
-#include "leo.h"
 #include "osm.h"
 #include "shp.h"
 #include "map.h"
@@ -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 ===");