Add haberdashery and sewing shops to categories #2017
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#2017
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi! It would be useful to have the categories "haberdashery" (https://wiki.openstreetmap.org/wiki/Tag:shop%3Dhaberdashery) and sewing shop (https://wiki.openstreetmap.org/wiki/Tag:shop%3Dsewing). They're pretty much the same thing, but both tags are active, so I think they could be merged, and then always use shop-sewing in UI and the editor (as discussed here organicmaps/organicmaps#2015).
As a suggestion for a logo, I'd say "scissors" or "scissors-2" from https://remixicon.com/ could be good.
Here is a guide how to do it properly: organicmaps/organicmaps#1917 (comment)
It might seem very complex at first glance but we'll help you as you go!
Thank you! I did the first step (add data to data/mapcss-mapping.csv #2180). Second step is not necessary. Now I should upload an icon but I can't, because when I click "Upload files" it says " Uploads are disabled.
File uploads require push access to this repository. ". The file I wanted to upload is scissors-cut-line from https://remixicon.com/
How can I do that?
You should fork this repo and create a branch in it with your changes.
I guess you tried to upload the file directly to the main
github.com/organicmaps/organicmaps
repository. In github you do all the changes in your fork of the main repo first and then create a pull request to propose to include the changes into the main repo. So you need to upload the new file into your fork into a branch which you used for #2180 already (to keep all changes together): https://github.com/FinixFighter/organicmaps/tree/patch-3Did you consider cloning the repository to your computer? (there are instructions in https://github.com/pastk/organicmaps/blob/master/docs/INSTALL.md#getting-sources) Its much more convenient to do complex changes this way (but you need to know basics of working with git at least).
A scissors icon is used in OM for hairdressers already (see
data/styles/clear/style-clear/symbols/hairdresser-m.svg
) so we need something different e.g. a needle with a thread.As the
shop=haberdashery
andshop=sewing
are identical it makes sense to merge thehaberdashery
tag into a sewing shop (so in OM all haberdasheries will appear as sewing shops) - it needs to be done indata/replaced_tags.txt
.What about this one? https://www.flaticon.com/free-icon/thread_1248527 (attribution to this website is already in data/copyright.html file)
Alternatives:
-https://www.freepik.com/free-icon/needle_14550960.htm#query=needle&position=35&from_view=search
-https://www.freepik.com/free-icon/sewing_15571883.htm#query=needle&position=42&from_view=search
-https://www.freepik.com/free-icon/sewing_15571937.htm#query=needle&position=46&from_view=search
What do you think?
Some of them are really good!
My order of personal preference is
https://www.flaticon.com/free-icon/needle-with-thread-to-sew-clothes_27046
and https://www.flaticon.com/free-icon/needle_113317
https://www.freepik.com/free-icon/needle_14550960.htm
https://www.freepik.com/free-icon/sewing_15571937.htm
Great! Can I upload it as it is, or do I have to resize/modify it in some way?
Yes it needs to be modified to look like other similar icons, e.g. we use the same icon color for all shops and there should be a circle around, for example see department_store, computer, book-shop, etc. in
data/styles/clear/style-clear/symbols
. Note that a separate "dark/night" version should be added todata/styles/clear/style-night/symbols
as well.I see. I'm sorry I think I'm not able to do so, I've never done it XD I was following the guide and I managed to edit the code, but don't know how to edit svg in the proper way.
SVG is actually a text file in xml format, you can try to replace the "inner shape" code (the
<path>
tag) of the old icon with the code from a new one.But don't worry if you can't do it - you've helped already by finding a good suitable icon! Thanks!
Ok, I'm sorry I can't help on this point. Thanks for your guidance anyway! ^^
Any progress on this?