gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.53k stars 817 forks source link

Start showing some craft and office POIs #1697

Open kocio-pl opened 9 years ago

kocio-pl commented 9 years ago

I think we should show not just shops and amenities, but also some objects with craft=* and office=* key. Case by case analysis is probably needed to know which we want to show and how - sometimes the same icon and/or color may be used as with already rendered POIs, but when it doesn't match, maybe generic black/brown/violet dot and label would work.

Looking at the most popular POIs from these categories:

matthijsmelissen commented 9 years ago

See also #108.

pnorman commented 9 years ago

Given we already have too many different icons, we need to be careful about this.

We also need consider where we're going cartographically. For a general purpose map, I would be against rendering office=yes.

polarbearing commented 9 years ago

amenity-brown is mostly dedicated towards touristic/cultural features (see also #1624), it should not be expanded to commercial activities as in crafts.

kocio-pl commented 9 years ago

@polarbearing This interpretation is too narrow - what about post office, town hall, police station, fire station or even courthouse? Amenity is all about different services, while shop is all about buying goods. That was my conclusion when thinking about where the bank/atm belongs and now it makes a lot of sense for me.

@pnorman You're right, after leaving safe shops/amenities area we're on terra incognita and we have to watch our steps carefully. I am not against rendering office=yes, but I definitely want to take some precautions here (which I didn't mentioned just to keep the list compact):

Cartographically there's not too much things on highest levels to show and office=yes may be as useful for some people as shop=yes.

vince-from-nice commented 8 years ago

:+1: I completely agree, the possibility to view office POIs would be something very valuable for me.. even at Z=18 ! :)

planemad commented 8 years ago

^ especially office= government which is of public importance

screenshot 2016-01-23 10 04 31

https://twitter.com/kmohankar/status/690738296314462209

matkoniecz commented 8 years ago

copy from #1966

for craft=brewery - it is for places

I am unsure whatever rendering name would be valuable (alcohol-related icon would be clearly misleading as it is not bar/pub/shop so it is unacceptable).

matkoniecz commented 8 years ago

In general - I strongly oppose new icon, labels are likely to be useful for offices. I am unsure about labels for craft.

kocio-pl commented 8 years ago

As I look here now, designing right icons may be hard, so I would start with showing at least labels with dots for those keys.

SomeoneElseOSM commented 8 years ago

I'd agree that "labels with dots" for offices makes sense too. Over at https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua I mapped a long list of nonspecific shop, office, healthcare and leisure items to purple, black, pink and green dots. It probably wouldn't be feasible or desirable to have as along a list in osm-carto, but I think the approach makes sense.

kocio-pl commented 8 years ago

I think the difference between amenity, shop, craft and office is somewhat blurred - especially we don't know what "amenity" really is (and that's probably just a legacy general type for POIs). But we also don't know what is "craft" - it can be "amenity" or "shop" if we think about tailor for example, since it can be a workshop alone (that is strictly craft), but also the place you can bring your coat for repair ("shop" as in hairdresser currently, but if you think that "shop is all about goods and amenity for services" that would be "amenity" for sure).

The result is that I don't want to be strict about icons for those types. I would put:

because for simple map user these are typical, easily recognizable POIs and it's just our internal problem that we don't have clear ontology they could fit in.

So I would propose to start rendering craft and office as a dot+label, but try to make icons case by case if it's possible, not looking too much into the tagging schemes.

liondog commented 6 years ago

Whats the current state? Any further discussions? Carto currently shows house numbers instead of names. This leads to repeated house numbers in case of multiple offices. In my eyes a rather bizarre and puzzling rendering result. Wouldn't be a simple dot + name a much better solution?

kocio-pl commented 6 years ago

We're discussing implementation details now: https://github.com/gravitystorm/openstreetmap-carto/issues/108#issuecomment-328904162.

Tomasz-W commented 6 years ago

I think we should discuss in which cases #3061 is enough, and in which cases we still need an separate icon.

Tomasz-W commented 6 years ago

Icons proposals for some craft=* tags:

dieterdreist commented 6 years ago

2018-02-14 11:26 GMT+01:00 Tomasz Wójcik notifications@github.com:

Icons proposals for some craft=* tags:

very nice, I like almost all of them, for the electrician I prefer the cable, the flash could be used for power stations and substations. plumber: tap shoemaker is the only one I find hard to read.

Tomasz-W commented 6 years ago

for the electrician I prefer the cable, the flash could be used for power stations and substations.

I though the same thing, so I did a review od a power=* key. There are only 2 tags which we should consider for flash icon:

shoemaker is the only one I find hard to read.

I'll work on that.

andrzej-r commented 6 years ago

There are in fact quite a few office tag values, some of which could benefit from having icons. I can't check it right now but government, lawyer, IT sound like potential targets.

I would indeed prefer to have #3061 merged first and work on icons later, but that's mostly due to my interest in fixing the mapping feedback issue, not because I don't like icons.

Tomasz-W commented 6 years ago
kocio-pl commented 6 years ago

Quick remarks:

geowas-github commented 6 years ago

Some remarks:

Shoemaker, tailor and brewery I like.

Tomasz-W commented 6 years ago
kocio-pl commented 6 years ago
Tomasz-W commented 6 years ago

craft=brewery proposals comparsion:

craft brewery (vessel + mug) craft brewery kufel chmiel (mug + hop) craft brewery silos chmiel (vessel + hop)

daganzdaanda commented 6 years ago

I'd take vessel + hop before mug + hop. plumber - tap winery v2 - great! shoemaker - fixed version is good (but maybe the shoe shape could be simplified by merging the soles to reduce the anti-alias blur?) All the other icons are very good!

Thanks for all the great work on these icons! Of course the small details can't all fit with the pixel grid, and so the icons won't be as crisp as many of the bold new SVGs. But it's amazing how well the details still are readable. We should do some test runs on real data to see how they look "in the wild".

kocio-pl commented 6 years ago

vessel+hop version mostly works for me too. Maybe mug+hop version would be better if you use this icon (the one you used does look different): https://github.com/gravitystorm/openstreetmap-carto/blob/master/symbols/biergarten.svg

@daganzdaanda Would you like to make a test PR and some renderings? I'm surprised that you have never been a code contributor to osm-carto, despite the long history of being active here. :smile:

daganzdaanda commented 6 years ago

I'm surprised that you have never been a code contributor

Yeah, I know ;) The thing is that I already feel I'm spending too much time on OSM stuff... but thank you guys for starting that Docker thing, maybe sometime I can try that.

kocio-pl commented 6 years ago

OK!

We need more active people in this style in general:

Any activity makes us stronger, but currently we have enough bug reports, nice icons and quite conclusive discussions, I can merge the PRs and try to make monthly releases, so the weakest link is preparing code for PRs at the moment.

If anyone wants to try, I can help to start it. In my opinion working Docker containers are really important step toward healthy project, yet we need some people to play with it. :smile:

Tomasz-W commented 6 years ago

Gist links:

lakedistrictOSM commented 6 years ago

All of @Tomasz-W 's icons above look good, the only one that might be too complex and less recognisable is the brewery icon.

Maybe a conical flask and beer bottle? brewdraft1png brewdraft2png Or just a barrel? http://g0cqw3d93gz443uvqwvpy0l8.wpengine.netdna-cdn.com/wp-content/themes/bbwnew/img/icons/brewery.svg or https://d30y9cdsu7xlg0.cloudfront.net/png/9236-200.png ?

james2432 commented 6 years ago

Basic query for craft added(tailor) can add others once approved

Tomasz-W commented 6 years ago

As I understood, all from https://github.com/gravitystorm/openstreetmap-carto/issues/1697#issuecomment-367432772 was accepted. @kocio-pl ?

james2432 commented 6 years ago

Are we adding: metal_construction gardener confectionery? If so what icons are needed? Is brown the colour we are going with because it's a service?

lakedistrictOSM commented 6 years ago

Are we having a generic dot/symbol for other craft values?

Tomasz-W commented 6 years ago

We haven't discuss it yet, but for me there are only 2 colours to consider:

The rest (basing on current state and pending discussions): violet is for shops, blue for offices, black for administrative offices https://github.com/gravitystorm/openstreetmap-carto/pull/3061, green for leisure elements and red would be propably a healthcare color someday https://github.com/gravitystorm/openstreetmap-carto/issues/2938, orange (the only one colour don't used now and didn't considered for other features, but it wouldn't match craft=* tag)

polarbearing commented 6 years ago

amenity-brown is heavily loaded already, man-made-grey would suit.

kocio-pl commented 6 years ago

I was thinking about using kind of orange for eating places once, see https://github.com/gravitystorm/openstreetmap-carto/pull/2824#issuecomment-328521710.

Tomasz-W commented 6 years ago

@lakedistrictOSM @polarbearing @kocio-pl

@james2432 is waiting with https://github.com/gravitystorm/openstreetmap-carto/pull/3126 :) We have to decide what to do with some tags, my proposition is:

What do you think?

kocio-pl commented 6 years ago

It might have sense, but I have to see how does it look like.

lakedistrictOSM commented 6 years ago

I think we should avoid grey dots where possible because they might look like bollards.

I'd suggest a generic "craft" icon of a spanner and a hammer similar to the one iD uses. Food and drink "crafts" like confectionery can have their own icons. If we use the current confectionery icon (cake) for craft=confectionery then we should design a new icon for shop=confectionery (probably a sweet like the .fr map or one of the ones suggested in https://github.com/gravitystorm/openstreetmap-carto/issues/1534#issuecomment-100043472)

Tomasz-W commented 6 years ago

I think we should avoid grey dots where possible because they might look like bollards.

They don't because craft=* node is usually on building area, so it would be propably intuitive that is not a bollard there.

I'd suggest a generic "craft" icon

As I know, we don't use generic icons for whole keys in osm-carto

If we use the current confectionery icon (cake) for craft=confectionery then we should design a new icon for shop=confectionery

There are examples of the same icon used in different colour for different features (eg. green picnic sites and brown picnic tables or brown art centres and violet art shops)

james2432 commented 6 years ago

so is it man-made-grey or gastronomy-orange?

kocio-pl commented 6 years ago

It's testing time...

james2432 commented 6 years ago

added screenshots in pull request for all three colours

kocio-pl commented 6 years ago

It's shown here: https://github.com/gravitystorm/openstreetmap-carto/pull/3126#issuecomment-387588250.

james2432 commented 6 years ago

@pnorman doesn't want strokes in svgs

dieterdreist commented 6 years ago

sent from a phone

On 9. May 2018, at 02:47, James notifications@github.com wrote:

so is it man-made-grey or gastronomy-orange?

it could be business pink like the shops.

kocio-pl commented 6 years ago

There are probably no strokes in our icons and these are only settings for strokes, which are placed by Inkscape automatically.

Tomasz-W commented 6 years ago

Any ideas for craft=metal_construction icon?

james2432 commented 6 years ago

@Tomasz-W a couple of I beams stacked on top of eachother?