Skip to content

Commit 827cdbe

Browse files
committed
Disable add_parking_node() in osm2pgsql since the current osm.xml renders the symbol on parking areas now.
1 parent eb2c483 commit 827cdbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

output-pgsql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ static int pgsql_out_way(int id, struct keyval *tags, struct osmNode *nodes, int
645645
addItem(tags, "way_area", tmp, 0);
646646
}
647647
write_wkts(id, tags, wkt, t_poly);
648-
add_parking_node(id, tags, interior_lat, interior_lon);
648+
//add_parking_node(id, tags, interior_lat, interior_lon);
649649
} else {
650650
expire_tiles_from_nodes_line(nodes, count);
651651
write_wkts(id, tags, wkt, t_line);
@@ -865,7 +865,7 @@ static int pgsql_out_relation(int id, struct keyval *rel_tags, struct osmNode **
865865
}
866866
write_wkts(-id, &tags, wkt, t_poly);
867867
get_interior(i, &interior_lat, &interior_lon);
868-
add_parking_node(-id, &tags, interior_lat, interior_lon);
868+
//add_parking_node(-id, &tags, interior_lat, interior_lon);
869869
} else {
870870
write_wkts(-id, &tags, wkt, t_line);
871871
if (roads)

0 commit comments

Comments
 (0)