#10246 closed enhancement (fixed)
add 10 shops [PATCH]
Reported by: | Klumbumbus | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.07 |
Component: | Internal mappaint style | Version: | |
Keywords: | mappaint, preset, shops | Cc: | frankthetankk |
Description (last modified by )
I created a patch, which adds the following shops to the internal presets and mappaint style.
Please use shops.3.diff
! I messed up the two versions before.
Icon | tag | original source, license | modification comment, license | proposed icon location |
---|---|---|---|---|
![]() | shop=ticket | osm-icons CC0 | modified by me, CC0 | shop |
![]() | shop=interior_decoration | osm-icons CC0 | modified by me, CC0 | shop |
![]() | shop=pet | SSJB CC0 | shop | |
![]() | shop=car_parts | commons CC0 | self designed | vehicle |
![]() | shop=video_games | commons CC0 | self designed | shop |
![]() | shop=beauty | openclipart PD | shop | |
![]() | shop=tea | commons CC0 | self designed | shop/groceries |
![]() | shop=coffee | openclipart PD | modified by me, PD | shop/groceries |
![]() | shop=bag | openclipart PD | shop | |
![]() | shop=bed | openclipart PD | modified by me, PD | shop |
Attachments (21)
Change History (39)
by , 11 years ago
by , 11 years ago
Attachment: | beauty.png added |
---|
by , 11 years ago
by , 11 years ago
Attachment: | car_parts.png added |
---|
by , 11 years ago
Attachment: | coffee.png added |
---|
by , 11 years ago
Attachment: | interior_decoration.png added |
---|
by , 11 years ago
by , 11 years ago
by , 11 years ago
Attachment: | ticket.png added |
---|
by , 11 years ago
Attachment: | video_games.png added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
by , 11 years ago
Attachment: | shops.3.diff added |
---|
comment:2 by , 11 years ago
Description: | modified (diff) |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 5 comment:4 by , 11 years ago
In [o30516] - add icons for shops (all PD or CC0) (patch by Klumbumbus)
Great, thanks!
follow-ups: 6 14 comment:5 by , 11 years ago
Replying to bastiK:
In [o30516] - add icons for shops (all PD or CC0) (patch by Klumbumbus)
Great, thanks!
Thanks, too.
Just two remarks/questions in general:
- Personally I prefer vector graphics over pixel graphics. If possible I would try to get .svgs as new icons.
- I always have/had difficulties to decide which new items are acceptable and which are better suited for external presets. Some ruff guideline might be useful to define a common understanding.
follow-up: 17 comment:6 by , 11 years ago
Replying to skyper:
Just two remarks/questions in general:
- Personally I prefer vector graphics over pixel graphics. If possible I would try to get .svgs as new icons.
I attatched .png because they are much smaller than .svg (e.g. 10361 bytes compared to 567 bytes for interior decoration icon, thats 18 times larger). If you want I can attach .svg files for most of the 10 icons.
- I always have/had difficulties to decide which new items are acceptable and which are better suited for external presets. Some ruff guideline might be useful to define a common understanding.
Feel free to refuse my patches if you think a feature shouldn't be in default preset or mappaint. I think these 10 shops are all ok. I already mapped all of them myself. 7 of the 10 shops are in this single schopping mall, which I mapped. This is a reason why I choose these shops to add. I also checked wiki and taginfo before writing the patch, to ensure that there are no big inconsistencies.
comment:7 by , 11 years ago
Milestone: | → 14.07 |
---|
Thanks for taking care of formatting your tickets in such a nice wiki-style, it's really appreciated :)
follow-up: 11 comment:8 by , 11 years ago
I want to upload the .svgs. There is one problem: if the .svg is not square then JOSM stretches it to square (in the preset menu and also on the mappaint). Is that a JOSM bug or do I need to upload square svgs?
edit:
edit: note: svg image later replaced by working version
comment:9 by , 11 years ago
Replying to Klumbumbus:
Replying to skyper:
Just two remarks/questions in general:
- Personally I prefer vector graphics over pixel graphics. If possible I would try to get .svgs as new icons.
I attatched .png because they are much smaller than .svg (e.g. 10361 bytes compared to 567 bytes for interior decoration icon, thats 18 times larger). If you want I can attach .svg files for most of the 10 icons.
Good point. So the major disadvantage would be scaling.
- I always have/had difficulties to decide which new items are acceptable and which are better suited for external presets. Some ruff guideline might be useful to define a common understanding.
Feel free to refuse my patches if you think a feature shouldn't be in default preset or mappaint. I think these 10 shops are all ok. I already mapped all of them myself. 7 of the 10 shops are in this single schopping mall, which I mapped. This is a reason why I choose these shops to add. I also checked wiki and taginfo before writing the patch, to ensure that there are no big inconsistencies.
This point was not at all about your patch and you do mention two guideline points above. Though with taginfo you sometimes need to take a closer look at eg. the amount of user who did add the tag. Maybe this would be nice to have in the wiki.
by , 11 years ago
Attachment: | fat lipstick.png added |
---|
comment:11 by , 11 years ago
Replying to Klumbumbus:
I want to upload the .svgs. There is one problem: if the .svg is not square then JOSM stretches it to square (in the preset menu and also on the mappaint). Is that a JOSM bug or do I need to upload square svgs?
edit:
Seems to be another problem of your svg library (for this specific image). Even if it is distributed as png, we also like to keep an svg version of each image in the repository for later editing.
by , 11 years ago
by , 11 years ago
Attachment: | beauty.svg added |
---|
by , 11 years ago
by , 11 years ago
Attachment: | car_parts.svg added |
---|
by , 11 years ago
Attachment: | coffee.svg added |
---|
by , 11 years ago
Attachment: | interior_decoration.svg added |
---|
by , 11 years ago
by , 11 years ago
by , 11 years ago
Attachment: | ticket.svg added |
---|
comment:12 by , 11 years ago
I reworked the .svgs. They all now work and look fine in JOSM. Attached 9 of them before this comment.
(There is no .svg file for the video_games icon, because I edited single pixels of the 16px png.)
comment:13 by , 11 years ago
Some ruff guideline might be useful to define a common understanding.
Maybe "documented on OSM wiki"?
follow-up: 18 comment:14 by , 11 years ago
Replying to skyper:
I always have/had difficulties to decide which new items are acceptable and which are better suited for external presets. Some ruff guideline might be useful to define a common understanding.
We like to support well established tagging schemes, that represent a community consensus. This means they should have a proper documentation in the wiki and decent usage numbers (absolute and by number of mappers). Controversial cases (like contact:phone=*
vs. phone=*
) need to be decided case by case.
If a features is only mapped by a handful of specialists, it is better suited for an external preset. Usually this includes tagging schemes restriced to one specific country, hobby, sport or profession. (There are exceptions like Tiger-highlight and hiking scale preset.)
Basically we have to make sure that the preset menu isn't too cluttered, because it would get hard to find the useful every-day stuff if we had too many exotic entries. Similarly, then there is a limit on how much information you can present in the map display. (E.g. its not practical to visualize lit=*
, sidewalk=*
, parking:lane=*
and cycleway=*
all at once.) Another issue is maintainability. At the end of the day, the JOSM core team is responsible for keeping the the core presets and map styles up to date and fix bugs. With external styles and presets, we get people who know a lot about a certain topic to actively care for and support their own work.
comment:17 by , 11 years ago
Replying to Klumbumbus:
Replying to skyper:
Just two remarks/questions in general:
- Personally I prefer vector graphics over pixel graphics. If possible I would try to get .svgs as new icons.
I attatched .png because they are much smaller than .svg (e.g. 10361 bytes compared to 567 bytes for interior decoration icon, thats 18 times larger). If you want I can attach .svg files for most of the 10 icons.
Thanks for adding suitable svg versions! The difference in size is less dramatic when the files are zipped.
comment:18 by , 11 years ago
Cc: | added |
---|
Replying to bastiK:
Replying to skyper:
I always have/had difficulties to decide which new items are acceptable and which are better suited for external presets. Some ruff guideline might be useful to define a common understanding.
We like to support well established tagging schemes, that represent a community consensus. This means they should have a proper documentation in the wiki and decent usage numbers (absolute and by number of mappers). Controversial cases (like
contact:phone=*
vs.phone=*
) need to be decided case by case.
If a features is only mapped by a handful of specialists, it is better suited for an external preset. Usually this includes tagging schemes restriced to one specific country, hobby, sport or profession. (There are exceptions like Tiger-highlight and hiking scale preset.)
Basically we have to make sure that the preset menu isn't too cluttered, because it would get hard to find the useful every-day stuff if we had too many exotic entries. Similarly, then there is a limit on how much information you can present in the map display. (E.g. its not practical to visualize
lit=*
,sidewalk=*
,parking:lane=*
andcycleway=*
all at once.) Another issue is maintainability. At the end of the day, the JOSM core team is responsible for keeping the the core presets and map styles up to date and fix bugs. With external styles and presets, we get people who know a lot about a certain topic to actively care for and support their own work.
I started a new wiki page with you comments. Feel free to change/update/extend.
I am unsure about a general page in the OSM-wiki. Would this be an excepted solution to harmonize presets across editor software ?
In 7296/josm: