You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2014-07-02 14:03:01

NonnEmiliaService
Member
Registered: 2014-07-02
Posts: 2

How to map a reversed cone water tower?

It's possible to map correctly this water tower?

98-reggioest.jpg

The pillar should have a height tag, the reverse cone tank should have min_height and height, but what about the cone shape?

Offline

#2 2014-07-06 09:05:01

kendzi
Member
Registered: 2008-08-20
Posts: 250

Re: How to map a reversed cone water tower?

There was very similar problem about sphere shape here.

For me, your example could be tagged as single point with tags like:

building:part=yes
shape=cone_inverted
height=15	<= height of cone top
min_height=10	<= height of cone base 
radius=5	<= radius of cone

But be aware that it is only idea and none of application do not render this right now.

Offline

#3 2014-07-06 09:59:38

NonnEmiliaService
Member
Registered: 2014-07-02
Posts: 2

Re: How to map a reversed cone water tower?

Very interesting solution!

But this building (and probably the most of buildings like that) is a truncated cone, then what about tags like:

building:part=yes
shape=cone (or truncated_cone)
height=15	<= height of cone top
min_height=10	<= height of cone base 
radius=5	<= radius of cone at the top
min_radius=2	<= radius at the base
_______	<- radius and height refer to here
\     /
 \___/	<- min_radius and min_height refer to here

In such a case don't matter if the cone is reversed or not.

Offline

#4 2014-07-06 11:28:29

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,840
Website

Re: How to map a reversed cone water tower?

kendzi wrote:

For me, your example could be tagged as single point with tags like:

building:part=yes
shape=cone_inverted
height=15	<= height of cone top
min_height=10	<= height of cone base 
radius=5	<= radius of cone

I think this is going in the right direction. However, I don't think a single point is the best representation. Instead, I would use a normal building:part way representing the widest circumference of the shape.

This would produce a much better fallback for renderers that don't understand this tagging. With your solution, they wouldn't render anything at all if they don't understand the tagging.

Additionally, using a way would be compatible with the various suggested approaches for adding attributes to only one wall section of a building part (e.g. when the southern part of the cone is red and the northern part is green).

This would also allow us to omit tagging the larger of the two radii.

Last edited by Tordanik (2014-07-06 11:33:30)


OSM in 3D: OSM2World

Offline

#5 2014-07-06 16:49:42

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: How to map a reversed cone water tower?

We have the same situation with the cone in other direction.
Probably one possible way coud be to draw both shapes with the information what is the top and what is down.
In this case we had to use a relation for the both.
This solution could generally render more detailed complicated shapes like:

http://travelbieber.com/wp-content/uplo … 3qsika.jpg

or this: http://www.duesseltours.de/images/gehrybauten.jpg

Offline

#6 2014-07-13 11:52:42

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,840
Website

Re: How to map a reversed cone water tower?

I don't think relations are necessary or desirable here. It is true that we could model truncated cones by putting the top and bottom area into a relation. However, I don't think this would be preferable – it would not work for circles, for example, and I also doubt that it would actually work for the shapes from the photos linked in Marek's post.

I'm still in favor of using tags like the one several posters have already suggested.


OSM in 3D: OSM2World

Offline

#7 2014-07-13 13:56:32

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,439

Re: How to map a reversed cone water tower?

We have unfortunately no circles in OSM. We ose instead "cirlce like" multipolygons with n-points. They should have the same number of points.
Of course, when you have only 2 shapes, you don´t need relations. What about situations with more shapes?
In such case the shapes may have as attributs number or height, which would be more comfortable for the users.

Examples with tagging suggestion comes soon.

Last edited by marek kleciak (2014-07-22 23:00:17)

Offline

Board footer

Powered by FluxBB