Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] correctly integrate tunnels to maps in macOS (in the same way as in Windows) #165

Merged
merged 8 commits into from
Nov 12, 2022

Conversation

treee111
Copy link
Owner

@treee111 treee111 commented Nov 5, 2022

This PR…

  • closes Show tunnels in the map #160
  • transforms tunnels under macOS to be included in the generated maps
  • adds tunnels to the VTM-theme to be shown under BOLT, ROAM and BOLTv2

Considerations and implementations

During implementation, the osmium call for macOS was refactored to a osmosis call like used in Windows.
A lot of thoughts and tryouts for tunnels in macOS can be seen in the assigned issue.

  • Two .osm.pbf files can be compared with osmium diff , example call: osmium diff -c merged.osm.pbf merged_osmosis.osm.pbf
  • The documentation for osmosis helped during refactoring.

How to test

  1. create .map files using -c
  2. check the created mapfiles in cruiser with different defaultvalue in the VTM theme to check the different devices

Pull Request Checklist

@treee111 treee111 added the enhancement New feature or request label Nov 5, 2022
@treee111 treee111 force-pushed the tunnels-macOS-2 branch 6 times, most recently from ccbec36 to beb97f9 Compare November 7, 2022 20:19
@treee111 treee111 added this to the v3.1.0 milestone Nov 7, 2022
@treee111 treee111 force-pushed the tunnels-macOS-2 branch 3 times, most recently from 4e3e8b0 to 508c0da Compare November 12, 2022 13:57
calculate difference:
osmium diff -c merged.osm.pbf merged_osmosis.osm.pbf

difference is only 3 files:
*n83638824 v9======>                                                   ]  26%
*n3384511942 v5==============================================>         ]  87%
*n8983537175 v1========================================================] 100%
@treee111 treee111 force-pushed the tunnels-macOS-2 branch 2 times, most recently from bd02516 to 16e413c Compare November 12, 2022 14:03
@treee111 treee111 marked this pull request as ready for review November 12, 2022 14:03
When using 2, the tunnels are rendered over all other objects
osmium diff -c land1.osm land1_osmosis.osm
[======================================================================] 100%
- dont have one but two entries for "use" of bolt2 and roam
- change order to: bolt, roam, bolt2
- remove "outline" from BOLT entries (these are not defined)
@treee111 treee111 merged commit 7d5520b into develop Nov 12, 2022
@treee111 treee111 deleted the tunnels-macOS-2 branch November 12, 2022 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show tunnels in the map
1 participant