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

Add rendering for amenity=fountain #705

Closed
kocio-pl opened this issue Jul 6, 2014 · 89 comments
Closed

Add rendering for amenity=fountain #705

kocio-pl opened this issue Jul 6, 2014 · 89 comments

Comments

@kocio-pl
Copy link
Collaborator

kocio-pl commented Jul 6, 2014

Hi,

I'd like to know what is the current state of affairs with the fountain rendering?

We have reasonable proposition to fix this issue (#47) - there is the code and even the icon (https://github.com/Rovastar/openstreetmap-carto/blob/e5320dbd98981fdeb1944771d54d6984b4bf4b73/symbols/fountain.png). I know the original reporter mixed too many things in one basket, but this one should be easy to pick up and merge - almost no-brainer.

So what are technical - or maybe other - obstacles keeping this issue unresolved and what should be done to fix it? I want to help if it's needed and possible.

@Rovastar
Copy link
Contributor

Rovastar commented Jul 6, 2014

At the time there are was a desire to do many other things first so it was not a big deal. That and I did try and too much in the pull request (I had no idea we wanted to keep things differently then just to try and get stuff added). The stylesheet has changed a lot since then. Maybe we can add this now.

Wow it was peaceful in April 2013 on this project before it became the main map on osm.org. Brings back memories.

@matkoniecz
Copy link
Contributor

@matthijsmelissen
Copy link
Collaborator

Some questions: do we really want an icon for every fountain? What about a tiny fountain in someones garden? A small ventilation fountain in a pond? Even for slightly larger public fountains, an icon might attract more attention than it deserved.

@Rovastar
Copy link
Contributor

Rovastar commented Jul 9, 2014

I don't think that will be a real issue. True there is no distinction between tiny fountains and large more notable ones. But lvl17 should be ok for both cases. Large fountains should really be rendered they are worth it and people do map them.

@dieterdreist
Copy link

2014-07-09 14:15 GMT+02:00 math1985 [email protected]:

Some questions: do we really want an icon for every fountain? What about a
tiny fountain in someones garden? A small ventilation fountain in a pond?
Even for slightly larger public fountains, an icon might attract more
attention than it deserved.

I think a name is more important than an icon. If the colour is waterlike,
it will be clear what it is referring to also without icon. The name could
be 2 phases, one together with tourism=attraction from z15 and the other
one from z17 or 18. E.g. Fontana di Trevi is rendered only at z18
http://www.openstreetmap.org/#map=18/41.90090/12.48347
Another spot with "world-famous" fountains is Piazza Navona:
http://www.openstreetmap.org/#map=18/41.89899/12.47393

@matthijsmelissen
Copy link
Collaborator

It would also be an option to only render icons for fountains that have names.

@dieterdreist
Copy link

2014-07-09 16:46 GMT+02:00 math1985 [email protected]:

It would also be an option to only render icons for fountains that have
names :).

yes, still I would not render the icons (or only in very high zooms),
because they take a lot of space, and fountains will usually be in
concurrence with the name of the square or street or palace or garden they
are located in, so there will in general be a space problem.

@matkoniecz
Copy link
Contributor

way_area may be a better idea. Some big and well known fountains frequently used as orientation points have no names but are distinguishable from small ventilation fountain in a pond by area.

See for example https://www.openstreetmap.org/way/165129826

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Jul 9, 2014

In the park I think every fountain is noticeable, frequently they are set in defining points of the space, even if they have no name.

@Rovastar
Copy link
Contributor

Rovastar commented Jul 9, 2014

I think noticable enough to be rendered maybe if way_area for bigger ones at another zoom level too.

@daganzdaanda
Copy link

I agree with @dieterdreist that names should be displayed if possible. An icon is not necessary IMHO, in close zooms the area will be visible and in long zooms it should not clutter the map.

Is it necessary to make a fountain look different than a lake? Maybe a thicker outline? Or - fancy - a signature in the area with a fountain symbol?

@sabas
Copy link

sabas commented Aug 11, 2014

At least render amenity=fountain as area like a swimming pool or a lake, nowadays for the rendering it's used natural=water (which Osmose marks as an error "Conflict between tags amenity, natural")

@matthijsmelissen matthijsmelissen changed the title Fountains still not rendered Add rendering for amenity=fountain Sep 24, 2014
@matthijsmelissen
Copy link
Collaborator

This is an example where rendering amenity=fountain would be overkill.

Every crossing has a fountain.

@kocio-pl
Copy link
Collaborator Author

I don't get why this example is a rationale for closing the issue. I can easily show why rendering trees or even restaurants and shops would be an "overkill". And this is only one location, while I see many shopping & eating areas, where we have a serious readability problem.

Please reopen the issue, as there was no agreement that we don't need representation of the fountains.

@matthijsmelissen
Copy link
Collaborator

I don't get why this example is a rationale for closing the issue

Sorry, hit the wrong button and didn't mean to close it. Thanks for noticing.

@mboeringa
Copy link

math1985: be aware that there are lot's of amenity=fountains being mapped as closed ways / polygons. I already rendered fountains as points, but in the past two days added fountains as closed ways / polygons, and have now discovered that in for example Rome, that there at least as much or even more fountains tagged as closed ways, as there are single node / point objects of fountains.

I agree with others that an icon may not be the most suitable rendering for point object fountains. I render a small blue saturated dot, which works out quite nicely, look at for example my Paris map on the OpenStreetMap forum (which doesn't yet have the fountains as closed ways, because I didn't re-render and upload new versions of the maps yet, also not for the Rome map).

Here are two images of my current fountain rendering (including the closed ways) for the Villa Borghese in Rome, and the current rendering on OSM, notice the two quite big lakes on the left... (hmmm... I now notice I am missing a entire theatre building compared to the CartoCSS OSM rendering... must have a look at that):

roma_fountain_osm_renderer_for_arcgis

roma_fountain_osm_website

@dieterdreist
Copy link

2014-09-24 23:24 GMT+02:00 mboeringa [email protected]:

I agree with others that an icon may not be the most suitable rendering
for point object fountains. I render a small blue saturated dot, which
works out quite nicely, look at for example my Paris map on the
OpenStreetMap forum (which doesn't yet have the fountains as closed ways,
because I didn't re-render and upload new versions of the maps yet, also
not for the Rome map).

Here are two images of my current fountain rendering (including the closed
ways) for the Villa Borghese in Rome, and the current rendering on OSM,
notice the two quite big lakes on the left... (hmmm... I now notice I am
missing a entire theatre building compared to the OMS rendering... must
have a look at that):

I'm in Rome too. Looking at my own map I also discovered that rendering an
icon on every fountain does not make sense (there are too many).
These are the fountains in the centre mapped as areas (I guess there are
still a lot missing):
http://overpass-turbo.eu/s/5aG

On the other hand there are some big, famous fountains, sometimes also by
famous architects and hundreds of years old, which do merit some kind of
recognition in the rendering, so my suggestion is to render a name. If
possible, I'd render the name quite early if they are (for a fountain) very
big (way area), e.g. this one will be known to almost everyone and should
ideally render from z16. Currently it doesn't render the name at all!
http://rometour.org/data/fontana_di_trevi_trevi_fountain_-_night_view.jpg
http://www.openstreetmap.org/?mlat=41.90096&mlon=12.48331#map=19/41.90096/12.48331

Another famous one is this here:
http://www.openstreetmap.org/way/52332687
http://en.wikipedia.org/wiki/Fontana_dei_Quattro_Fiumi

or here (less famous I guess, but quite big):
http://www.openstreetmap.org/way/23914146
http://it.wikipedia.org/wiki/it:Fontana_delle_Naiadi

another qualifier for some would be to look for the combination with
tourism=attraction

@Rovastar
Copy link
Contributor

To be honest I am not sure why at say zoom=17 it wouldn't be totally acceptable to display all.
And "famous" "notable" ones at a z=16.

True some big historic cities might have a concentration of them but other place of a few hundred thousand people might just have 1 or two in the whole city and it would be nice if they were displayed even if they are not famous.

@matkoniecz
Copy link
Contributor

Especially as for any given feature it is possible to find place where there is an extreme density of it.

@matthijsmelissen
Copy link
Collaborator

What is actually the meaning of a fountain area? Does it only cover the 'wet' area, or the entire structure?

@matkoniecz
Copy link
Contributor

http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfountain proposes mapping them as nodes within natural=water area :(

@dieterdreist
Copy link

2014-09-25 13:42 GMT+02:00 Rovastar [email protected]:

To be honest I am not sure why at say zoom=17 it wouldn't be totally
acceptable to display all.
And "famous" "notable" ones at a z=16.

yes, we could display the node ones (but I expect more fountains to be
mapped in the future, AFAIK there are still a lot missing, the smaller
ones, often attached to a building / corner). For the area fountains I
found an icon counterproductive because it covers the actual area. We
should render this area IMHO (eventually like water, even if sometimes the
appearance in reality is more that of a statue or building with some
water). I'm definitely in favor of rendering the name from z17 and even
from z16 for the notable ones.

@dieterdreist
Copy link

2014-09-25 13:58 GMT+02:00 math1985 [email protected]:

What is actually the meaning of a fountain area? Does it only cover the
'wet' area, or the entire structure?

IMHO an area always covers what the tag says, in this case the "fountain",
which consists of water and maybe other structures.

@matthijsmelissen
Copy link
Collaborator

In that case, I don't think a blue rendering is appropriate.

@mboeringa
Copy link

IMHO an area always covers what the tag says, in this case the "fountain", which consists of water and maybe other structures.

In that case, I don't think a blue rendering is appropriate.

But it is the most recognizable one (if combined with name label)... and people also seem to tag small artificial water bodies, like small to medium ponds, with single or multiple fountains within them as amenity=fountain with a closed way.

So although maybe not wholly appropriate in all cases (which by definition is impossible for the OSM database), it certainly won't be much off the mark either in most cases.

In reality, I now render closed way fountains in water blue with a medium sized grey outline, which kind of emphasizes the stone "structure" often found around a fountain or fountain basin, and label them.

@mboeringa
Copy link

another qualifier for some would be to look for the combination with tourism=attraction

I would use tourism=attraction as the only qualifier for fountain importance, if there needs to be any. In most cases, looking at the maps rendered with my renderer (see: http://forum.openstreetmap.org/viewtopic.php?id=26451), this gives a rather good picture of landmark tourist attractions.

@kocio-pl
Copy link
Collaborator Author

So probably:

  1. amenity=fountain should be rendered with a name and the specific icon for the whole area it covers (or just a point),
  2. basins included should be tagged just as a water=*,
  3. individual nozzles (tagged like amenity=nozzle) should be rendered with a blue dot.

Does it make sense?

@matthijsmelissen
Copy link
Collaborator

If the entire water basin should be covered, how do we tag fountains like this?

http://i.ytimg.com/vi/1fye2MrXlxM/maxresdefault.jpg

@kocio-pl
Copy link
Collaborator Author

I think this is a point fountain (or maybe just a nozzle if smaller) inside wider water area. We left it to the mappers to tell what is the scope of the fountain.

@dieterdreist
Copy link

Am 29.05.2015 um 14:00 schrieb kocio-pl [email protected]:

So probably:

  1. amenity=fountain should be rendered with a name and the specific icon for the whole area it covers (or just a point),

from my own rendering experience I suggest to render just a name and no icon

  1. individual nozzles (tagged like amenity=nozzle) should be rendered with a blue dot.

this is not an established tag AFAIK and I'd contest it on a semantic level and neither would it integrate well with the tagging scheme in general

This should be discussed on tagging ML

@dieterdreist
Copy link

Am 29.05.2015 um 14:10 schrieb kocio-pl [email protected]:

We left it to the mappers to tell what is the scope of the fountain

+1, for sure we won't tag the whole lake as a fountain

@kocio-pl
Copy link
Collaborator Author

from my own rendering experience I suggest to render just a name and no icon

From my experience probably most are just decorative points in park with no name. The whole discussion took place because we wanted to also include some big fountain areas, where there's a need for separate tagging individual nozzles and the fountain as the whole.

In my proposition (I will ask about it on tagging list) both - very different - types can have sane, even if not the best, rendering. What's your experience then and what to do with small fountains with no name then?

@dieterdreist
Copy link

Am 30.05.2015 um 12:43 schrieb kocio-pl [email protected]:

What's your experience then and with small fountains with no name then?

my experience was that either fountains prevented other, subjectively more important features from rendering (high priority), or they popped up and re-disappeared in a random way (lower priority), because the symbol and text together occupied too much space and because of a lot of fountains in the area, a few big important and many small ones.

fountains without a name are typically so small that many people not even notice them when passing in the street. There are lots of very impressive, famous and large fountains around here, with rich decorations, often sculptural qualities, and famous names.

most famous ones include
http://en.wikipedia.org/wiki/Fontana_dei_Quattro_Fiumi
http://en.wikipedia.org/wiki/Trevi_Fountain
http://en.wikipedia.org/wiki/Quattro_Fontane
(last one difficult to render nicely)

These would be nice to show up very early (maybe z15 or 16), the qualifier could be tourism=attraction

Fontana di Trevi used to show up at z16, currently it's z18 which seems too late:

http://www.openstreetmap.org/#map=18/41.90076/12.48326

Typically if the fountain has no name it is also less important.

Visualizing (mapping) single nozzles makes sense in different settings like bigger water areas, like here:
http://www.pland.de/wp-content/uploads/2010/08/Plan°D-Wasserspiel-Eingangsbereich-Eschborn-Plaza.jpg
http://www.freizeitpark-welt.de/freizeitparks/plopsaland/fotos/tanzende_fontaenen.jpg
or less recent
http://footage.framepool.com/shotimg/qf/415755974-apollo-brunnen-quadriga-versailles-schlosspark.jpg

cheers
Martin

@kocio-pl
Copy link
Collaborator Author

So your hometown is probably different from mine - there are not such big fountains, and those "small" are not to be seen passing the streets, because they are important landmarks in parks, like:

They are very typical here in Warsaw. What would you do with them? How would you change/extend my proposition for tagging and rendering to work in a sane way for both cases?

@dieterdreist
Copy link

2015-05-31 22:54 GMT+02:00 kocio-pl [email protected]:

So your hometown is probably different from mine - there are not such big
fountains, and those "small" are not to be seen passing the streets,
because they are important landmarks in parks, like:

They are very typical here in Warsaw. What would you do with them? How
would you change/extend my proposition for tagging and rendering to work in
a sane way for both cases?

First of all, I would question if those fountains that contain sculptural
artwork really are not named. Typically they should be. They would also
have a known architect or artist normally. Maybe, but I am not sure about
this, if they are from socialist times, they might not be traceable back to
a single artist but to a collective. I believe you could use the name of
this collective for the artist / architect.
Of course there will still remain some fountains that indeed do not have
names, or where we cannot find the names for now. Rendering the names for
those with names will already be some kind of filter and will give us more
probability that prominent fountains are rendered, for those without names
I see 2-3 main alternatives:

  1. render an icon and accept that it will "break" the map for areas with a
    lot of fountains.
  2. do not render an icon. This will encourage mappers to search the names
    of prominent fountains that are yet untagged, but it will also leave some
    fountains unrendered which would likely be rendered if you decided manually
    for every fountain.
  3. decide on additional keys or tags that will determine if an icon is
    rendered or not, e.g. in absence of a name.

@matthijsmelissen
Copy link
Collaborator

I haven't followed the entire discussion (it would be a day job) - is there any chance this is eventually going to lead to a pull request?

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Jun 2, 2015

@math1985 We're not ready for PR, but the conclusions are very close IMO, because we talk about the sane compromise between rendering big and small fountains.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Jun 2, 2015

@dieterdreist I have checked the sculpture and you were right - the name and the artist are known, so I updated the tagging here.

It is interesting that it's not so typical for a small fountain - the water goes through nozzles at the bottom of the sculpture, not only form the sculpture itself. It ensures me we need some additional tagging for the nozzles, the lights and any other micro scale devices that can be used with the fountain.

I think it's an important conclusion, because this would allow us be micromapping-friendly from the start. That would be nice side effect of such a late decision to render the fountains.

Tagging and rendering guide

I guess we could render the points with a name (if available) + the icon, and probably the area with just a name. That way we shouldn't break too much and give the mappers more flexibility with what do they consider to be a fountain, since it showed they can come in wide variety of forms and sizes.

If the nozzles inside the big fountains are tagged as fountains, they could be retagged probably, but we need the new tag then for nozzle - maybe just water=nozzle (amenity=nozzle was clearly rejected), but the other tags for elements used there (such as lights) could be crafted too.

Nozzles should be always rendered as blue dots, since they can be quite small.

Rendering details

I will try to make a mockup to test the idea. I would start with full icons from z>=17, just like many smaller POIs. The name for the points should be in water-like color and with typical size and style. Embassy and bus stop could be the right templates here.

Name for the areas should be the same color and text style, but the size should be dependent on the way_area. I don't know from what zoom level should they be visible and what size/way_area function should we use, because I had no time to look at big fountains yet.

Nozzle zoom level have to be higher than 17 - for small fountains z19 would be better than z18. We don't have this tag yet, but it's better to know it beforehand.

What zoom levels or other general hints do you suggest? We will tweak it after all, so it does not have to be right from the start.

@jojo4u
Copy link

jojo4u commented Jul 18, 2015

@kocio-pl, any progress in the mockup? Since nozzle is part of a fountain let's use the namespace: fountain:nozzle=yes for the nozzle.

@kocio-pl
Copy link
Collaborator Author

Not yet, I have some other things, but I still remember and plan to do it. This tagging sounds reasonable - I still think it should be first proposed on Tagging list, but I expect no problems with accepting it.

@dieterdreist
Copy link

sent from a phone

Am 18.07.2015 um 22:20 schrieb kocio-pl [email protected]:

This tagging sounds reasonable - I still think it should be first proposed on Tagging list, but I expect no problems with accepting it.

+1

@kocio-pl
Copy link
Collaborator Author

Sorry for such a long delay, but here is the first batch of local mockups. Right now I'm looking for the right color, because water-text is too pale and transportation-text is too strong (and I don't want the fountains to resemble transportation facilities). Any suggestions?

fountain-pkin-water
fountain-pkin-transportation

fountain-saski-water
fountain-saski-transportation

fountain-alina-water
fountain-alina-transportation

@jojo4u
Copy link

jojo4u commented Oct 31, 2015

This is not closed, only the icon was added, no area rendering.

Example: http://www.openstreetmap.org/#map=19/48.77501/9.17879&layers=N / http://www.openstreetmap.org/way/100055576

@HolgerJeromin
Copy link
Contributor

Note that not every fountain has a water area:
https://de.m.wikipedia.org/wiki/Kugelbrunnen_(Aachen)
has iirc not even a small water surface.

@dieterdreist
Copy link

sent from a phone

Am 31.10.2015 um 14:43 schrieb Holger Jeromin [email protected]:

Note that not every fountain has a water area:
https://de.m.wikipedia.org/wiki/Kugelbrunnen_(Aachen)
has iirc not even a small water surface.

for me it renders fine:
http://www.openstreetmap.org/#map=17/50.77535/6.09181
http://www.openstreetmap.org/#map=18/50.77535/6.09181

@kocio-pl
Copy link
Collaborator Author

This is not closed, only the icon was added, no area rendering.

By design - the fountain can be an area but not filled with water. One can add the basin easily (as it is done now) and it doesn't break anything, while removing water would be hard (new tags for fountain should be coined and database reload would be needed). If we know the fountain area, we should have it tagged, no matter if there's a water inside or not.

for me it renders fine:

I guess @HolgerJeromin was not complaining but trying to explain why the fountain area is not filled with water.

There can be some problems on z17, where the icon has small water circle included (as a context for a dot), however it should be discussed in more details on #1934, as this is a specific subcase of rendering.

@HolgerJeromin
Copy link
Contributor

I guess @HolgerJeromin was not complaining...

You are right. Thanks for explaining.

@jojo4u
Copy link

jojo4u commented Nov 1, 2015

So how should be tag the water area? If water area equals the fountain area according to http://wiki.openstreetmap.org/wiki/One_feature,_one_OSM_element the best would be a property of amenity=fountain. If the water area is smaller it should be still marked as a part of the fountain.

Water area equals fountain area
amenity=fountain plus water=yes/fountain

Water area smaller than fountain area
fountain:part=basin plus water=yes/fountain
or a less advanced tagging: natural=water + water=fountain

(the comment was updated with more detailed taggin)

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Nov 3, 2015

Fountain can have many parts: nozzle (one or more) seems to be essential, water basin is very common, some artwork is also a common part, but there can be some lights (even in the basin) also - I'm not aware of any other common part. @matkoniecz said he has an idea related to mapping big/complex fountains and I hope he will reveal it some day :) ... I think now it's time to define it as a whole, not just a basin, because it will be harder to make the parts tagging coherent later.

Do you have an idea how should we tag all the fountain parts?

@dieterdreist
Copy link

sent from a phone

Am 03.11.2015 um 03:48 schrieb kocio-pl [email protected]:

Do you have an idea how should we tag all the fountain parts?

I'd use the same tags we use otherwise without the fountain. E.g. in Rome there is a famous fountain with an ancient egyptian obelisk on top, I don't see the need to say it's a fountain part, you can see this because it's inside the fountain perimeter. (btw, current rendering puts a blue circle atop the obelisk icon, it's on Piazza Navona)

cheers
Martin

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Nov 3, 2015

For osm-carto that could be enough (given we agree how to tag individual nozzles), but it's better if the tagging scheme is more flexible - for example for making 3D models too or selectively hiding some elements (like fountain lights, but not the street lights).

BTW: More detailed tagging could also work in case of Piazza Navona and the likes - we could decide to treat artworks being a part of the fountain in a special way.

@dieterdreist
Copy link

2015-11-03 10:07 GMT+01:00 kocio-pl [email protected]:

For osm-carto that could be enough (given we agree how to tag individual
nozzles), but it's better if the tagging scheme is more flexible - for
example for making 3D models too or selectively hiding some elements (like
fountain lights, but not the street lights).

yes, some features like fountain lights (or maybe more general: underwater
lights) could make sense, taggingwise. Others, which are also sometimes
integral part of fountains, like obelisks, shouldn't get a fountain-obelisk
tag (IMHO). They're obelisks in the fountain, there's nothing more special
to them.

If we want to go on discussing this, we should do it in the B Ark (sorry,
meant tagging-list).

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Nov 3, 2015

I have already started this topic 2 months ago, but nobody replied:

https://lists.openstreetmap.org/pipermail/tagging/2015-September/026349.html

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

No branches or pull requests