POI - is this only exactly POINT?

Asked by Oleksii

I don't know is this a bug or feature :) but it looks like openMarkers collects only point-objects from OSM.
How about outlines and relations? There are a lot of such objects tagged.

Question information

Language:
English Edit question
Status:
Answered
For:
openMarkers Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
costales (costales) said :
#1

Hi Oleksii!
Please, could you give me an example? :) Is about a "street name" or "web" of a POI, by example?
Thank you very much for your feedback!

Revision history for this message
Oleksii (lindroid) said :
#2

A hotel, for example:
http://www.openstreetmap.org/browse/way/144313652
tagged all the building entirely because the whole building actually is a hotel, not only some point inside it.
Or a restaurant:
http://www.openstreetmap.org/browse/way/144313650

About relations: http://wiki.openstreetmap.org/wiki/Relation:multipolygon

Thank you for such useful service.

Revision history for this message
costales (costales) said :
#3

Good point! ;) I will review it today and tell you something :)
Thanks!!!

Revision history for this message
costales (costales) said :
#4

Checked! :) I'm not really sure about this behavior.

openMarkers shows only a POIs (as point-objects), because a marker is the pointer for a place.

If we search this area for all the nodes = Restaurants (by example): http://goo.gl/lZXvZ
This is the result: http://paste.ubuntu.com/1033765/

The "Palazzo" place is not appearing in openMarkers because his type is "way", and openMarkers is filtering all the nodes = "node".

Change this filter it's easy, but my doubts are:
 - Is "way" a right type for a restaurant? (Reading your URL the way is a type for a multipolygon, then I think the answer is Yes)
 - Must openMarkers shows all the type nodes (no just the type = "node")?

Thanks in advance! :)

Revision history for this message
costales (costales) said :
#5

One important question, please?
Is "osm_id" an unique id?
If a place has 2 types: by example hotel & restaurant. Each type will have an unique id?
Thanks in advance!

Revision history for this message
Oleksii (lindroid) said :
#6

Hm... It looks like nodes and ways can have the same IDs: http://wiki.openstreetmap.org/wiki/Node
--
id integer >= 1 Node id's are unique only between nodes. (A way can have the same id. as a node.)
--
Surprisingly.

Common practice is to create individual object for each POI. For example, building as a hotel and point inside it as some amenity (or separate way designating part of the building).

Revision history for this message
costales (costales) said :
#7

Thanks for the info Oleksii :D
What do you think about it? Must openMarkers shows the 'ways' too? as the example, a 'way' restaurant?
Best regards.

Revision history for this message
costales (costales) said :
#8

There are 'relations' too... I'm little confused about these types :$
http://wiki.openstreetmap.org/wiki/Nominatim

The types can be: nodes, ways and relations.
What types Openmarkers should try? :)

Thanks in advance!!

Revision history for this message
Oleksii (lindroid) said :
#9

IMHO, relations can wait. They are rare because it is complex process to mark POIs as relations and not so many people can do it.
But outlines (ways) are common. We'll see much more POIs if we'll filter them too.
To collect more thoughts I'll try to start discussion at local (non-english) branch of OSM-forum.
Feel free to use http://forum.openstreetmap.org.

Revision history for this message
costales (costales) said :
#10

Fixed! :) You must see the nodes and the ways ;)
Thank you very much Oleksii!!! Great help! :D

Can you help with this problem?

Provide an answer of your own, or ask Oleksii for more information if necessary.

To post a message you must log in.