Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] Process coding that can be influenced by user-input withou…
…t `-fp` - speeds up playing with tags (#150) * [FEAT] Refactor a lot to decouple and make maintenance easier (focus osm_maps_functions.py) (#152) * import file_directory functions one by one - and not by importing the whole file "as" fd_fct * create OsmData object and insert into class OsmMaps * move check for -co and -xy to input.py * shuffle a lot * go throught calc_border_countries also when no border countries are wanted * break OsmData in small pieces * refactor border country calc + fix unittests * force_processing refactoring, all checks in OsmData now! - move to function process_input_of_the_tool - move corresponding stuff from check_and_download_files also - additional needed changes - mainiy in downloader.py - adjust tests & do nearly refactoring * import needed functions + pylint findings * refactor imports to "single import" and not the whole file * fix pylint finding * Bump to version v2.1.0a13 * Update osm_maps_functions.py According to the documentation https://wiki.openstreetmap.org/wiki/Osmfilter#Keep_only_specific_Tags tags have to be enclosed with >"< * Update osm_maps_functions.py Keep out_file_o5m if not force_processing to speed up build process when updating filtering tags / tag-mapping / tag-transform * finalization of @zenziwerken 's work pylint finding, comment * catch error if file does not exist but should be deleted e.g. if processing -fp after switching from v2.0.2 to this version (Windows only) * adjust constants processing based on discussion in PR #150 (comment) * adjust tag-wahoo.xml processing based on discussion in PR #150 (comment) * adjust splitting to tiles processing based on discussion in PR #150 (comment) * adjust merging with land and sea processing based on discussion in PR #150 (comment) * fix pylint finding * harmonize comments * Bump to version v2.1.0a14 * Revert to version v2.0.2 Co-authored-by: Daniel Groß <[email protected]> BREAKING CHANGE: Coding that can be influenced by user-input is now processed without giving `-fp` and coding that can not be influenced is only re-procecced when issuing `-fp`. That speeds up playing with tags.
- Loading branch information