summaryrefslogtreecommitdiff
path: root/navit/maptool/osm_o5m.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-07-05 13:20:53 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-07-05 13:20:53 +0000
commit133d637c6b6a5d7ca384be83a26459540aa5ba35 (patch)
tree34385d94de5f609a09d7903a3d8574737fc21a56 /navit/maptool/osm_o5m.c
parentb878774ac09ce4a6addb3adf4e687bc1e9c42a99 (diff)
downloadnavit-133d637c6b6a5d7ca384be83a26459540aa5ba35.tar.gz
Add:maptool:Add POIs for OSM way objects if appropriate|Thanks tryagain
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4582 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maptool/osm_o5m.c')
-rw-r--r--navit/maptool/osm_o5m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/maptool/osm_o5m.c b/navit/maptool/osm_o5m.c
index c90f50974..cfce3d491 100644
--- a/navit/maptool/osm_o5m.c
+++ b/navit/maptool/osm_o5m.c
@@ -170,7 +170,7 @@ o5m_print_end(char c)
}
int
-map_collect_data_osm_o5m(FILE *in, FILE *out_ways, FILE *out_nodes, FILE *out_turn_restrictions, FILE *out_boundaries)
+map_collect_data_osm_o5m(FILE *in, FILE *out_ways, FILE *out_way2poi, FILE *out_nodes, FILE *out_turn_restrictions, FILE *out_boundaries)
{
struct o5m o;
unsigned char c, *end, *rend;
@@ -304,7 +304,7 @@ map_collect_data_osm_o5m(FILE *in, FILE *out_ways, FILE *out_nodes, FILE *out_tu
osm_end_node(out_nodes);
break;
case 0x11:
- osm_end_way(out_ways);
+ osm_end_way(out_ways, out_way2poi);
break;
case 0x12:
osm_end_relation(out_turn_restrictions, out_boundaries);