]> mj.ucw.cz Git - leo.git/blobdiff - leo.c
Experiments with simplication of ways
[leo.git] / leo.c
diff --git a/leo.c b/leo.c
index 5c25ff6205bafa6b9aeddfe4720fd97189b2f769..b62d21b8d7acfa93f29eb7b37333d4d525d03a03 100644 (file)
--- a/leo.c
+++ b/leo.c
@@ -18,6 +18,7 @@
 #include "sym.h"
 #include "map.h"
 #include "graph.h"
+#include "simplify.h"
 
 uns debug_dump_source, debug_dump_after_proj, debug_dump_after_scaling;
 uns debug_dump_multipolygons, debug_dump_css, debug_dump_styling, debug_dump_symbols;
@@ -46,6 +47,7 @@ static const struct opt_section options = {
   }
 };
 
+#if 0
 // FIXME: Make generic
 static void draw_scale(struct svg *svg)
 {
@@ -110,6 +112,7 @@ static void draw_scale(struct svg *svg)
   scale_text(svg, width, 5, osm_val_encode("1 km"));
   svg_pop(svg);
 }
+#endif
 
 int main(int argc UNUSED, char **argv)
 {
@@ -121,6 +124,7 @@ int main(int argc UNUSED, char **argv)
   styles_init();
   map_load_styles();
   map_load_sources();
+  simplify();
   graph_build();
   map_set_scale();
   map_generalize();