- sym_plan(&st->s, sym_zindex(o, si, 4.9));
+ if (o->type == OSM_TYPE_WAY && !osm_way_cyclic_p((struct osm_way *) o))
+ {
+ //sym_plan(&st->s, sym_zindex(o, si, 4.9));
+ printf("[Sym] Labelling way %ju with %s\n", o->id, osm_val_decode(st->text));
+ labeller_add_linelabel(&st->s, o, sym_zindex(o, si, 4.9));
+ }
+ else
+ {
+ //sym_plan(&st->s, sym_zindex(o, si, 4.9));
+ printf("[Sym] Labelling area %ju with %s\n", o->id, osm_val_decode(st->text));
+ labeller_add_arealabel(&st->s, o, sym_zindex(o, si, 4.9));
+ }