-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Presets depend on tag order, users unable to see real presets #2793
Comments
We should probably bump down the priority on |
@bhousel that's neat. But how exactly "priority" works:
In this issue we talk about case 2, scenario 1 should be ranked by another tunable variable IMO. Otherwise you will "bump down" priority of "buildings" but they are still important in the regions without buildings. If I were developing iD, I would consider search_rank as "country-specific" in configs, so users would get more useful suggestions in default presets. "country-specific" tags/presets was a long awaited feature in Russian community. Some tags/presets will never useful in some territory. Other country-specific tags will also benefit from search_rank feature, even it may be hard to implement/maintain correctly. |
But actually country-specific settings/ranks may be activated per each instantiation of editor. I.e. openstreetmap.org front-end should spawn iD with configcountryA, configcountryB since this functionality was implemented already. JOSM able to load config via any loadable URL / command like parameter. URL parameter will make sense for iD. But case 2/ "pick_rank" is still relevant. |
Tags have no order. |
@pnorman good note, yes this statement was imprecise. I meant that tag order is important after we fetch data from db. I shouldn't mention db here. |
Currently iD depends on tag order. I.e. for object tagged as
iD will display preset for building=retail
iD will display preset for shop=mall
Same with any other tag combination: building=* + real POI tag (shop=pet + building=yes)
Should we fix iD or should we sort tags
in database?The text was updated successfully, but these errors were encountered: