osm-search / Nominatim

Open Source search based on OpenStreetMap data
https://nominatim.org
GNU General Public License v3.0
3.12k stars 714 forks source link

Objects with Power key (ie. power plant, substation, etc.) are not reported by Nominatim #523

Open pierzen opened 8 years ago

pierzen commented 8 years ago

search for Objects with key=plant, substation, etc returns no result unless an other key is added such as building, man_made, etc.

Please add power key in the search list.

dkewley commented 8 years ago

Specific examples of existing power=* objects which I cannot find by name using Nominatum:

power=line ref="San Onofre - Santiago" other k=v also http://www.openstreetmap.org/way/13282179

power=substation name="Moulton Substation" other k=v also http://www.openstreetmap.org/way/61878182#map=18/33.60933/-117.69707

Neither is searchable by name/ref in Nominatum. How can they be made searchable?

lonvia commented 8 years ago

Sorry to say but that is such a special-interest application that it is unlikely that it will ever make it into the generic search index. The only exception might be power=plant.

pierzen commented 8 years ago

Power tags are to represent production, transmission and distribution of energy. Production and transmission are the two main aspects to search through Nominatim. We should be able to search for

Taginfo mentions 6,000 power plants, 10,800 transmission substations and some 40,500 ways that represent High voltage transmission power lines. There are some 295,000 power=generator objects which we can assume are generally grouped in plants especially for wind farms and photovoltaic generators.

Relations should aslo be included to let search for Wind farm plants or transmission networks that are grouped in relations.

See for example High-Voltage Transmission Lines Network http://www.openstreetmap.org/relation/4504531#map=5/50.191/-69.038

High-Voltage HDVC Power Transmission Lines http://www.openstreetmap.org/relation/3392247

Photovoltaic and Wind Farms plants http://www.openstreetmap.org/relation/6004071#map=14/48.5248/-2.4903 http://www.openstreetmap.org/relation/368946#map=10/42.0916/-93.1723 http://www.openstreetmap.org/relation/1271386 http://www.openstreetmap.org/relation/6047143

High Voltage Transmission Substations http://www.openstreetmap.org/relation/6277789 http://www.openstreetmap.org/relation/6287658#map=15/55.9790/37.9699 http://www.openstreetmap.org/way/33144100

lonvia commented 6 years ago

I had looked at the examples that have been provided in this ticket and the situation with name and ref tag is about as bad as for railways and hiking routes. See my comments about that here. We need better tokenization before object with power=* can be included.

@pierzen deliberately mistagging objects to get them into Nominatim is not acceptable and certainly does not help to make your case here.

flacombe commented 6 years ago

@pierzen deliberately mistagging objects to get them into Nominatim is not acceptable and certainly does not help to make your case here.

I agree with you, maybe because i'm a little bit aware of how things go on OSM.

Earlier today, a new contributor told me he prefer using the name= key instead of any ref: subtags because name shows up in nominatim results. It's not about mandatory rules or authority but of what people are encouraged to do to get what they want. Tools have to be flexible a bit as to not make tagging for render or tagging for geocoding more useful than consistent tagging.

sinanna commented 6 years ago

+1 to @pierzen and @gustavecha

A bunch of mappers maps have resorted to tag for nomination because of this issue.

I've had e.g. this discussion.

drkludge commented 6 years ago

@lonvia I do not understand the substation name embargo. I tried searching for Cheatham Substation after the data was entered into the OSM. In this case Cheatham Substation is named after the "Cheatham Farms" farm that used to be in the area until it was subdivided for housing and other commercial features. Cheatham Farms is just a name. I don't feel like I am doing anything wrong or trying to map for nominatim. Currently, nominatim returns a location in Cheatham Tennessee. That certainly is not correct for the substation but returns the Substation road in the Cheatham County. And clearly you match Googles same results but I was hoping for OSM nominatim to be better than Google in this case. I would hope the find my Meadowbrook Substation in Phoenix AZ and not the Meadowbrook Substation in Winchester,VA . That is a useful feature of OSM because utility companies are loath to provide this kind-of information after 911. image

chazanov commented 6 years ago

@lonvia Why do you tell us that this is special interest? PierZen and drkludge are the leading mappers in Quebec respectively Phoenix.

Compared to https://github.com/openstreetmap/Nominatim/issues/1176 this much more important.