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

Hide underground parking #3600

Merged
merged 2 commits into from
Jan 3, 2019
Merged

Hide underground parking #3600

merged 2 commits into from
Jan 3, 2019

Conversation

jragusa
Copy link
Contributor

@jragusa jragusa commented Dec 26, 2018

Fixes #3506

Changes proposed in this pull request:
Exclude parking=underground from the rendering. Only amenity=parking_entrance should be displayed to indicate the entrance of these parkings.

Test rendering with links to the example places:
https://www.openstreetmap.org/way/235550028
https://www.openstreetmap.org/way/231387829
Before
parking_underground_before

After
parking_underground_after

@polarbearing
Copy link
Contributor

How does this interfere with the current development in rendering underground buildings #552 ?

@kocio-pl
Copy link
Collaborator

Well, it's not clear for me if these should be tagged as buildings or not. In the example cases they're not, so it does not interfere.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Jan 1, 2019

This code needs to allow also lack of parking=* tag. Currently simple amenity=parking does not show.

@kocio-pl kocio-pl changed the title Hide underground parking [WIP] Hide underground parking Jan 3, 2019
@jragusa
Copy link
Contributor Author

jragusa commented Jan 3, 2019

I added condition when parking is NULL. I tested and they are rendered now

@kocio-pl kocio-pl changed the title [WIP] Hide underground parking Hide underground parking Jan 3, 2019
@kocio-pl kocio-pl merged commit 468c34e into gravitystorm:master Jan 3, 2019
@kocio-pl
Copy link
Collaborator

kocio-pl commented Jan 3, 2019

Thanks, now it works OK.

@literannn
Copy link

literannn commented Jan 3, 2019

What about parking spaces (amenity=parking_space) on underground parkings? I suppose, we should hide them too. For example, we have many such items in Zaryadye park in Moscow: https://www.openstreetmap.org/#map=19/55.75122/37.63031

@kocio-pl
Copy link
Collaborator

kocio-pl commented Jan 3, 2019

Yes, I was reporting this in #3506 (comment). Too soon to consider problem solved, so I will reopen the issue.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Jan 3, 2019

@literannn Would you like to try prepare the code for this?

@jragusa
Copy link
Contributor Author

jragusa commented Jan 3, 2019

What would be the rule : only consider amenity=parking_space with parking=surface/rooftop ?

@kocio-pl
Copy link
Collaborator

kocio-pl commented Jan 3, 2019

I believe the problem is only with underground parkings, so I would not be so strict when only ~11% has parking=* subtag at all:

https://taginfo.openstreetmap.org/tags/amenity=parking_space#combinations

@literannn
Copy link

@kocio-pl: it's a pity, but i'm not IT specialist, cannot make any code ))

@polarbearing
Copy link
Contributor

I still don't understand the logic of hiding underground parking, while rendering underground buildings ( #552 ). Underground parking is an underground building.

@jragusa
Copy link
Contributor Author

jragusa commented Jan 4, 2019

IMO, it's useless to display 2 icons for underground parking (amenity=parking_entrance and amenity=parking) and the most important one is the entrance not the parking itself.

@polarbearing
Copy link
Contributor

When people start mapping parking_entrance for surface parking as well, you'd have the same situation there.

@jaffroy62
Copy link

Hi Dear, since this change #3600 the Rendering for the entrance to the underground parking (amenity=parking_entrance + parking=underground) vanished - was this also intended?

I liked this feature very much :-)

Yours, Andy

@kocio-pl
Copy link
Collaborator

kocio-pl commented Feb 2, 2019

Could you post a link where they are missing? This was intended to implement them first before doing anything with underground parkings and it looks that they are still there:

screenshot_2019-02-02 openstreetmap

@jaffroy62
Copy link

Hi, thank You for checking this!

Analyzing myand your example: could be the "access=private" the reason?
http://www.openstreetmap.org/node/4360517642
image

On the other hand this is an access to the underground parking via steps and not a vehicle access.

In your example: https://www.openstreetmap.org/node/4159128450#map=19/52.23873/21.01572
image

There is of course no "access=private"

Would it be an idea to render these with access=private in a lighter color/saturation?

Yours Andy

@kocio-pl
Copy link
Collaborator

kocio-pl commented Feb 3, 2019

Yes, we were avoiding private entrances to nor clutter the map.

@jaffroy62
Copy link

in my opinion this would not clutter but rather add useful information. however, thank you for clarification.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Feb 3, 2019

If this is an issue for you, please open new ticket so it could be discussed in a clear way.

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

Successfully merging this pull request may close these issues.

5 participants