-
Notifications
You must be signed in to change notification settings - Fork 819
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
Render remaining tourism_information features #3246
Conversation
Some remarks:
|
Thanks! I plan to review and test it later.
https://www.openstreetmap.org/export Import them using the same osm2pgsql command as for PBF files.
|
sent from a phone
On 26. May 2018, at 15:16, kocio-pl ***@***.***> wrote:
I think tourism office is like other offices and shops, so z17+ is perfect for me.
for a tourism oriented map, tourist offices are at least 2 zoom levels more important than other offices (if they even show the latter). We are a ‘general’ map, whatever this means, but still I can bring up good arguments why tourist information offices could be more prominent than other shops and offices: e.g. they are by large more interesting for a wider audience.
|
Touristic offices are usually located in the urban areas, so I would not like to see them earlier, because of problems with city items clutter. When they are located near some outdoor attractions, they are probably similar in importance with gift shops or ticket shops, so still nothing to be shown earlier for me. |
As brown is heavily loaded by gastronomic, historic and other tags, and @nebulon42 related to #3198 |
@jragusa please add Gist link: https://gist.github.com/Tomasz-W/e8cf9ed9647381ab59370a6ce3a8f312 |
I hope you will make a rendering test for man_made gray? |
Sorry, I was too tired last evening to prepare the renderings. Here they are with
|
Now I'm sure that most of these icons should be grey, but I still thinking what to do with information=office and generic "i" icon. My proposition:
|
2018-05-28 11:22 GMT+02:00 Tomasz Wójcik <[email protected]>:
Now I'm sure that most of these icons should be grey, but I still thinking
what to do with information=office and generic "i" icon. My proposition:
- information=office -> brown or office-blue (it's something more
complicated than a free standing object)
- generic icon -> grey
offices in OSM are mostly about places you can't just step in (as opposed
to shops). information=office could either be amenity color or shop colour,
office colour doesn't seem to fit well.
|
👍
I think the difference is not that clear, and you can walk in some of them, but you just won't directly buy things most of the time. I think brown is good, since the main function of information office is getting informations, not buying (though one can buy maps or gifts also). |
@jragusa
|
following last recommendations: |
@kocio-pl Do you want I squash commits into one for merging ? |
I always prefer it, but that's optional. It's just my more relaxed time now, but I can test and merge it in the upcoming days. |
ok, it's done |
amenity-points.mss
Outdated
@@ -316,17 +316,32 @@ | |||
marker-clip: false; | |||
} | |||
|
|||
[feature = 'tourism_information'] { | |||
[information != 'guidepost'][zoom >= 17], | |||
[feature = 'tourism_information'][zoom >= 17] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to exclude all the cases that should be rendered later, like audioguide
or map
, because otherwise they will be rendered with standard icon from z17 and as a specific icon from z19.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I thought that it should be the correct behaviour as they currently appear at z17 with the generic icon. So you prefer that only office
is displayed at z17 ?
@kocio-pl if last commits are ok for you I can squash them |
Thanks, that looks good! I will check it soon, I hope. |
Ok, this all seems to be working good, you can squash it and I'm ready to merge it. |
Done I also homogenised the code of label with icon. It's now more efficient and clean |
Please don't add the foreign code changes like: (tags->'office') IS NOT NULL It needs a separate PR. |
I squashed one commit in excess. It's ok now |
Thanks for you work and updates, sorry for such long delay with re-testing. |
No worries, it's summer time :) |
@jragusa Hey, I've found some problems with icon + name rendering of some of |
I don't know how it happened, but I noticed that there is |
Fixes #304
Fixes #324
Fixes #1978
Changes proposed in this pull request:
This PR completes #3198 by adding rendering of
audioguide
,board
,map
,office
,tactile_map
,tactile_model
andterminal
Test rendering with links to the example places:
information=audioguide
https://www.openstreetmap.org/node/3066454413
information=board
https://www.openstreetmap.org/node/2857924837
script-version
i-version
information=map
https://www.openstreetmap.org/node/4939116583
information=office
https://www.openstreetmap.org/way/130442457
z=17
z=19
with other brown amenities
https://www.openstreetmap.org/node/5537445277
information=tactile_map
https://www.openstreetmap.org/node/3571444993