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

Custom presets/tag selection #383

Closed
siiky opened this issue Aug 18, 2022 · 6 comments
Closed

Custom presets/tag selection #383

siiky opened this issue Aug 18, 2022 · 6 comments

Comments

@siiky
Copy link

siiky commented Aug 18, 2022

It would be very useful to be able to make your own set of presets for certain tags and/or features, similar to the "Default Payment Cards" option. Though I'm not sure if ED is the right place, or some other project is (the iD presets?).


As an example other than the payments cards, trash containers/baskets and recycling containers in Portugal are all basically the same.

For trash containers/baskets, these two cover almost all possible features:

waste=trash;organic;dog_excrement
waste=trash;organic;dog_excrement;cigarettes (more common with baskets)

And for recycling containers:

recycling:plastic=yes
recycling:plastic_bags=yes
recycling:plastic_bottles=yes
recycling:plastic_packaging=yes
recycling:cans=yes
recycling:PET=yes
recycling:paper=yes
recycling:paper_packaging=yes
recycling:beverage_cartons=yes
recycling:cardboard=yes
recycling:cartons=yes
recycling:magazines=yes
recycling:newspaper=yes
recycling:glass=yes
recycling:glass_bottles=yes

Additionally, if there's also a place for batteries:

recycling:batteries=yes
recycling:car_batteries=no

After making a preset for, let's say, recycling, I could be walking around and easily, quickly, and correctly(!) add a bunch of recycling features.

@Zverik
Copy link
Owner

Zverik commented Aug 18, 2022

Thanks for the idea — it is planned, but not this year, because it's quite hard to implement. This is a duplicate of #119.

@Zverik Zverik closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2022
@siiky
Copy link
Author

siiky commented Aug 19, 2022

I read #119 before opening this issue and I think they're different (though I used the same "custom preset" expression... my fault).

The other issue (AFAICU) includes (1) a way to filter which features will be shown/downloaded from OSM, (2) a way to filter which features can be added/edited.

I don't want to change the editor or general editing process at all! What I described above is rather a way to create a special set of tags to be used when creating a new feature, which is much smaller in scope and should be easier to implement. For example, if I create a new "recyling bin", on top of adding amenity=recycling & recycling_type=container (as it happens now), ED would add also the set of common tags used in my area/country (chosen by me (the user)).

The alternative (the current state) is to add each and all of those tags (~15) manually. At least for me that's impossible -- my memory sucks, I can't possibly remember all of them.


Hoping you'd reconsider, but I understand if you still think it's too much for now.

@tordans
Copy link

tordans commented Aug 19, 2022

Just to put the thought out there: It would be awesome, if we came to the point where there is a shared "custom preset" schema that editors use and stores data cross editor via the osm-org profile API. This would be a great help for GoMap as well. I wrote more about it here bryceco/GoMap#599.

@mnalis
Copy link
Contributor

mnalis commented Aug 23, 2022

There is https://wiki.openstreetmap.org/wiki/Customising_JOSM_Presets - which I use for few customs tags combinations in both JOSM and Vespucci (and maybe others? those are the two that I use them in).

They are quite powerful (combining descriptions, wiki links, dropdown lists, radio buttons, checkboxes and combinations of them) but I suspect thus also not trivial to implement.

But yes, I'd too love if I could plug my own https://example.com/custom_presets.xml in ED too...

@osmuser63783
Copy link

I came here to suggest the same feature - I hope this gets implemented. I find myself typing the same combination of tags over and over again, or looking up the same tags over and over again on the OSM wiki. Custom presets would be great for power users (and much smaller in scope than #119)

@osmuser63783
Copy link

osmuser63783 commented Aug 12, 2024

A minimal version of this would be to allow pasting from the clipboard into the raw tag editor (like JOSM and Vespucci). Then I can keep my custom preset in a separate notes app, search for them there, and copy them over into Every Door.

The next step up would be allowing me to save or 'star' a tag combination I have just used, give it a name and find it when I search for a preset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants