plaza_preprocessing.merger package

Submodules

plaza_preprocessing.merger.merger module

class plaza_preprocessing.merger.merger.WayExtractor(entry_node_mappings)[source]

Bases: osmium._osmium.SimpleHandler

collect outer ways of plazas

way(way)[source]

collect outer rings of plazas into a dictionary

plaza_preprocessing.merger.merger.merge_plaza_graphs(plazas, osm_file, merged_file, footway_tags)[source]

merge graph edges of plazas back into the original OSM file

plaza_preprocessing.merger.osmosishelper module

plaza_preprocessing.merger.osmosishelper.merge_osm_files(out_file, *filenames)[source]

plaza_preprocessing.merger.plazatransformer module

class plaza_preprocessing.merger.plazatransformer.PlazaTransformer(start_id_nodes, start_id_ways, footway_tags)[source]

Bases: object

Transforms plaza graph edges to an OSM Format

transform_plaza(plaza)[source]

takes a plaza with edge geometries and constructs nodes and ways

plaza_preprocessing.merger.plazatransformer.transform_plazas(plazas, node_file, way_file, footway_tags)[source]

transforms plazas to OSM and write them to a file

Module contents