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

Adding rendering for historic=castle and historic=manor #3099

Merged
merged 1 commit into from
Apr 6, 2018

Conversation

kocio-pl
Copy link
Collaborator

@kocio-pl kocio-pl commented Mar 3, 2018

Resolves #744.
Related to #2871 and #2671.

As proposed in the issue ticket, 3 main icons were used:

  • residence (castle_type=palace/stately/manor)
  • fortified castle (castle_type=defensive/fortress/castrum/shiro/kremlin)
  • generic castle (no castle_type and all the others)

Using more Osmic icons would make the differences too small at this size.

It's important to distinguish residences from the rest, but I also put some effort to make fortified castles look different from generic castles. Osmic icons were a nice base, but with some tweaking - palace roofs were de-orientalized and doors were added to fortified icon to make the difference visible at 14 px (roofs difference was just too weak).

Examples:

residence
o2wylhat

generic castle
e5d94w_5

fortified castle
07q8qijj

Fort icon (merged) and defensive tower (not yet merged) for comparison, as they all belong to the same category:
7ldvybzj
btboto5z

@kocio-pl kocio-pl force-pushed the castle branch 2 times, most recently from e558aae to 0f9f50e Compare March 3, 2018 02:51
@Tomasz-W
Copy link

Tomasz-W commented Mar 3, 2018

I'm not sure about castle_type=stately icon, it reminds me a mosque. I'm still ready to work on palace/ statley and manor icons. I've presented my propositions in #744 (comment) and I'm open to any suggestions.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 3, 2018

My main concern is that these icons should have a common thread, so maybe you could design something around Osmic palace icon? I think a gate is essential element to achieve this impression and using 3-part building scheme (instead of 2-part) works great to make palace visibly different, yet similar to other castles.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 3, 2018

The zoom code update needs fixing (residences shouldn't be selected as castles before z16), but the idea is that castles are rare and important as landmarks and touristic places, so in general they should appear from z15 (see also proposed towers/masts code), and leave only residences at z16+ (since they can be quite common in city). We show hospitals there for example, also some natural features like caves and peaks, so this won't be the first icon on this zoom level.

Examples at z15:
nab2z0ld
tdl w3pz

@kocio-pl kocio-pl changed the title Adding rendering for historic=castle Adding rendering for historic=castle [WIP] Mar 4, 2018
@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 8, 2018

Adding manor icon - maybe it could be a bit higher (to be more readable on the map), but it's quite good already:

manor
lyukx lg

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 8, 2018

I believe this is the best palace icon so far - original Osmic icon (along with my slight modification) and @Tomasz-W design were too detailed and not too 14 px friendly. This version is:

  • simpler (more similar to other castles and better for small size matrix),
  • with bigger windows and gate (better contrast between fortified and generic castles),
  • not oriental (unlike Osmic)
  • not too flat (unlike Tomasz-W design):

cnbduqci

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 9, 2018

Updated manor icon (taller roof):
zlyzweub

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 9, 2018

Pixel aligned and tall manor rework - looks strange on higher resolution, but works best on 14 px:

jqfvtnp

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 9, 2018

Updated fortified castle icon (bigger gate):
pmgpfy4i

@Tomasz-W
Copy link

Tomasz-W commented Mar 9, 2018

I still would like to see a palaces test rendering with my project to give all participans a fair comparsion
https://gist.github.com/Tomasz-W/25c553437720cd4181264f9b54ea4382

I like manor shape from #3099 (comment) . These objects are not squares but rectangles, so IMO it would fit better.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 9, 2018

Here you are:
aqki3 gu

It's not bad on the rendering, but I'd like to keep the uniform look across similar objects (and for all the reasons I gave before), so we might tweak whatever we want, but I'd like to stay with new shape.

With manor it's harder for me to decide, because you're right - the manors I know look like on your icon (higher roof is not a big difference, but works better for me on small matrix). I still like to have something taller, which is easier to recognize, but it has less typical height/width ratio.

What other people think about it?

@Tomasz-W
Copy link

Tomasz-W commented Mar 9, 2018

I'd like to keep the uniform look across similar objects

I understand this point of view, but for me castles and palaces/ manors are only a little bit similar to each other.

Just look on the random examples:

Even a layperson will spot quite big differences between them, so I think there is no need to keep these icons look very similar.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 9, 2018

I have more reasons than that (see #3099 (comment)). I'm very happy with fortified and generic castles, but palace and manor might be flat if people don't mind as much as I do.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 9, 2018

I also think about the uniform look of the whole style - for example museum or town hall are based on the square, even if they are very far from the castle.

@Tomasz-W
Copy link

Tomasz-W commented Mar 9, 2018

For comparsion without scrolling the page:

Osmic:
1

Tomasz-W:
2

@hubgitti @polarbearing @MaestroGlanz ?

@ghost
Copy link

ghost commented Mar 10, 2018

I prefer the first one. The second looks better, but readability is more important.

@hubgitti
Copy link

hubgitti commented Mar 10, 2018

I agree with MaestroGlanz!

@kocio-pl
Copy link
Collaborator Author

The same question about manor icon (BTW big palace icon was not Osmic, just my rework based on Osmic):

Tomasz version (with my fix - roof is a bit higher)
zlyzweub
my version
jqfvtnp

@hubgitti
Copy link

Thanks for your effort! I prefer the second version.

@lakedistrictOSM
Copy link

The fortified castle and palace icons work really well, but none of the proposed manor icons shout "manor" at me yet.

Just for reference this is the symbol used on British road signs for manor-type places open to the public:

@ghost
Copy link

ghost commented Mar 14, 2018

This is a too detailed icon. A simplified version might work.

@kocio-pl
Copy link
Collaborator Author

I have asked about manor tagging on Tagging list yesterday - let's see what is the correct scheme and what to do with the other one:

https://lists.openstreetmap.org/pipermail/tagging/2018-March/035430.html

@kocio-pl
Copy link
Collaborator Author

The discussion still doesn't bring a clear answer about manor tagging at the moment - a hint about dynamic:

taghistory 16

@Tomasz-W
Copy link

For me it's obvious that we should choose historic=palace for palaces and historic=manor for manors.

PS. I know, I know, it's not a place for tagging discussion ;)

@hubgitti
Copy link

hubgitti commented Mar 19, 2018

I read your discussion in the tagging list and checked the German Wikipedia articles about manor houses and castles. I also had private discussions about that topic. In history some manor houses turned into castles others always stayed manor houses. Things are sometimes very close and hard to tell if it is a castle (type manor) or a manor house. Why not use the same symbol for castles (type manor) and manor houses? We could leave that complicated topic and how to display such difficult differences to projects like this here: http://gk.historic.place

An example in my hometown: This actually just should be a manor house:
https://de.wikipedia.org/wiki/Schloss_Thalhof_(Leoben)

But local people started to call it "Schloss Thalhof", thats probably the only reason why it turned into a castle. ;-)

https://www.openstreetmap.org/way/110138342/history

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 20, 2018

This is where historic=castle scheme is good for - you can add subtype if you're sure and we see the specific manor icon, but you can skip it and the generic "residence" icon will appear.

But the problem is with two proper tagging schemes being used at the same time and what to do with them rendering wise:

  1. render both manor schemes as manors -> we think that both are valid and we endorse the choice produced by the community
  2. render historic=manor as manor and castle_type=manor as a generic castle (effectively just don't take this type into account) -> we think that historic=manor is the only proper way
  3. render only castle_type=manor as manor and not render the historic=manor -> we think that castle_type=manor is the only proper way

@Tomasz-W
Copy link

Number 2. is the best solution for me. It should be used also for palaces.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 20, 2018

With the historic=palace it's rather clear for me - it has 372 uses and not even a wiki documentation page, while castle_type=palace has 756 uses and documentation page. With manors it's not that clear.

Moreover, the tagging dynamic with palace also confirms that community choice is made:
taghistory 17

@geozeisig
Copy link

@kocio-pl

What do you mean by this?

If we introduce a new tag, even without a proposal, we should still stick to the rules of Proposal process.

e.g. Does your proposed tag already exist?
Is the tag you are considering for proposal, worthy of a new tag?

@kocio-pl
Copy link
Collaborator Author

I'm still confused what you are trying to prove or achieve.

If we introduce a new tag, even without a proposal, we should still stick to the rules of Proposal process.
e.g. Does your proposed tag already exist?
Is the tag you are considering for proposal, worthy of a new tag?

We at osm-carto don't introduce any tags. In practice just having documentation and considerable use is enough to guarantee that the tag is established enough for us to render/use it somehow. We try to follow community choice (sometimes even too conservatively in my opinion).

If you want me to change something, please say it explicitly, because I don't get it at all currently.

@kocio-pl kocio-pl changed the title Adding rendering for historic=castle [WIP] Adding rendering for historic=castle Mar 31, 2018
@hubgitti
Copy link

Awesome, well-thought-out progress here!

Geozeisig, could you please explain in greater detail what you want to say with your comments? You created a nice new template! It's now really comfortable to see which icon belongs to the which castle_type. Will your table eventually be merged to the genuine castle_type wiki page?: https://wiki.openstreetmap.org/wiki/DE:Key:castle_type

@geozeisig
Copy link

geozeisig commented Mar 31, 2018

@kocio-pl

If you want me to change something, please say it explicitly

Could we not change historic=palace in historic=castle + castle_type=palace?
We would not have 2 tags with the same meaning. That would only cause a mess. It turned out later that the syntax with castle_type is the better one.
I've been cleaning up things for a while now, which is difficult in hindsight.

@kocio-pl
Copy link
Collaborator Author

Still not clear what you expect me to do. We're not changing or inventing tags here, we only render them somehow and it looks like historic=palace is not a current choice of community. I want to make a review next year to check if something changed, so no need to worry.

@geozeisig
Copy link

When you render something or not, it has a big impact on tagging. That should already be aware. So the rendering of a tag with wrong syntax is not good.

@kocio-pl
Copy link
Collaborator Author

According to the wiki this is a proper syntax and historic=palace is tagging error.

@hubgitti
Copy link

When you render something or not, it has a big impact on tagging. That should already be aware. So the rendering of a tag with wrong syntax is not good.

I'm getting impatient now: The whole discussion about rendering castles mainly was about two things:

  1. The icon styles for the different castle_types
  2. Why or why not to render different kinds of historic=* tags.

I think the participants in this thread are 100% aware of what you are saying. So please tell, what do you want???

@geozeisig
Copy link

@kocio-pl

According to the wiki this is a proper syntax and historic=palace is tagging error.

That must be an understanding mistake. I can only emphasize that.

@kocio-pl
Copy link
Collaborator Author

If this is a mistake with quite popular type of object, then why this is not fixed yet, after so many years of OSM existence?

@hubgitti
Copy link

I think I get the point now "geozeisig" supports not to render "historic=palace".

@geozeisig
Copy link

@kocio-pl

then why this is not fixed yet, after so many years of OSM existence?

There are many such mistakes. But they are not easy to fix. There is the Automated Edits code of conduct. And of course there are people who care for that, and in some cases with right. It can be quickly be reverted. But if there is a decision I would do it again. Of course, with care.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Mar 31, 2018

You talk about high level problem, which is hard, indeed. But I've asked about basic things - why nobody care to at least write documentation for this tag and discuss which is the preferred version on Tagging list? Or in the manor case - somebody documented both tags at least, but still didn't care to define the difference or hint the preferred scheme - why?

Any automated changes follow such actions, so these basic things should be done anyway - yet nobody did them. And if nobody cares enough to make it clean what's the preferred tagging, why should we choose such tag for displaying? That's why I choose to go with tags which were important enough to document them at least.

If you feel that there is a better way - try do document it and make people believe they should be tagging that way. If that version will prevail, we can change rendering accordingly. But I don't want to rely on your opinion what's best without proofs that this is what most people believe in too.

@kocio-pl kocio-pl mentioned this pull request Apr 1, 2018
@Tomasz-W
Copy link

Tomasz-W commented Apr 1, 2018

If it's all about make a Wiki page and change one tag into another worldwide, I'm ready to move all palaces from castle:type=palace to historic=palace. Just let me know...

@hubgitti
Copy link

hubgitti commented Apr 1, 2018

https://en.wikipedia.org/wiki/Buckingham_Palace
"Originally known as Buckingham House, the building at the core of today's palace"

Quite a prominent example: And it seems not to be a castle... :-(

In OSM it is currently a castle:
https://www.openstreetmap.org/relation/5208404#map=18/51.50118/-0.14149

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Apr 1, 2018

If it's all about make a Wiki page and change one tag into another worldwide, I'm ready to move all palaces from castle:type=palace to historic=palace.

It's not just about the numbers - it's about established way of tagging. It would be great if somebody do the groundwork though:

  1. Create a wiki documentation for all the tags to be rendered.
  2. Describe the usage and difference between similar forms (if any).
  3. Discuss on the Tagging list which form should be preferred if it's hard to find a difference between forms.
  4. Update documentation according to the discussion.
  5. Move the tagging from the deprecated form in a civilized manner - see https://wiki.openstreetmap.org/wiki/Deprecated_features

I think reaching some agreement in 3. is the hardest part.

@dieterdreist
Copy link

dieterdreist commented Apr 1, 2018 via email

@dieterdreist
Copy link

dieterdreist commented Apr 1, 2018 via email

@dieterdreist
Copy link

dieterdreist commented Apr 1, 2018 via email

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Apr 1, 2018

The problem is that system is big and complicated and you can find more than one "proper" solution, most of the time there are few sane possibilities. That's why we need documentation to know which one is chosen by the community in general.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Apr 2, 2018

@geozeisig I don't think that such a mass edit is a way to go, I propose to revert it:

https://www.openstreetmap.org/changeset/57705945

Let's not make anything in a hurry. Documenting existing tags and discussion on Tagging are at the core of the proper solution in my opinion.

@kocio-pl kocio-pl changed the title Adding rendering for historic=castle Adding rendering for historic=castle and historic=manor Apr 5, 2018
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.

6 participants