Comments (3)
Hi @mweirauch, to be honest I also not fully understand what is going on there with the filtering :-D
I will also test that further. If I fully comment out the differen processings with the names-tags parts on windows the resulting file is different.
from wahoomapscreator.
Hi B,
Not sure how "hot" this item still is but I am the one who introduced the name filter. As you know I can't say anything about linux/mac (osmium) but I can tell you the exact background on the windows version.
The intend was to keep the final map size down to around Wahoo map file sizes without using the map-writer simplification-factor like Wahoo does. If you look at the original maps with cruiser you will see the simplification leads to none touching roads, octagon shaped (small)roundabouts and even paths not being shown in my area.
So the first filter (on windows) keeps just the mentioned key:value pairs stripping names but also things like "lit", "maxspeed" etc. In short everything not used by the devices. If you check you will see there are no other keys in the filtered file other than the specified ones. So no more street names for roads. But if you look at the Wahoo maps with the corresponding render theme you will see that place names and the names of some other stuff is shown. And I wanted to mimic the Wahoo appearance as good as I could in that respect.
Enter the name filter... It filters out (or actually filters them in) all items of which to keep the name key:value. So just for place's, area's and natural items. After this you have of course merge the two back together to get a complete map. I could not find a way to achieve this in one filter action with osmfilter. Again on windows. It has been a long time ago but removing all not needed name tags decreased the map file size by 30-50% if I remember correctly.
Last weekend I saw that the natural key is in both filters I think it can be removed from the first filter because what the first filter is trying to omit is being introduced back in by the second filter. Changing the second natural filter to match the first one is also an option but because of the new color units it might have added value to leave them all in.
Hope this clarifies it a little
from wahoomapscreator.
Hi @Ebe66, late reply but I have read your comment and agreed on it a long time ago.
As I understand it right there are two sets of tags because they are used in different stages of the process to mimic wahoo style and get the filesize down.
Putting them both into a set does not give that concreteness.
I leave the branch minimize-tags-sets
there for reference but will close this issue.
In addition to the above mentioned the effort of implementing this and comparing the results is a lot of effort. The benefit (if there can be any) will not be worth the effort
from wahoomapscreator.
Related Issues (20)
- Freeze on creating .map files for tiles (1/52) HOT 18
- Phyghtmap is not forking any jobs when generating contour lines, due to max-nodes-per-tile set to 0 HOT 4
- Contour lines was not display HOT 9
- List of available colors for Roam v.1 HOT 1
- ADB commands for Roam HOT 2
- Error creating Netherlands maps HOT 15
- Streetnames HOT 2
- ERROR:! Error creating land.osm for tile HOT 3
- Consider switching to pyhgtmap (fork) for contour lines HOT 2
- Routing tiles HOT 3
- Merge the generated filtered.o5m.pbf and filtered_names.o5m.pbf to one pbf, to increase performance HOT 2
- Areas with landuse=farmland cover some tracks with vtm_theme_poi HOT 9
- Output folder name is too long HOT 8
- Mapwriter plugin missing in the current osmosis package HOT 9
- Add LICENSE file to the repo
- A collection of performance improvements HOT 1
- Add unittests with a country file outside of the repo
- Support of veloviever tile oververlay HOT 1
- Question about adding POIs to original wahoo map HOT 1
- Add information create routing automatically HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wahoomapscreator.