-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Rethink features whitelist #19
Comments
http://www.openstreetmap.org/way/10525375 |
consider blacklisting |
http://www.openstreetmap.org/node/2907810083 |
http://www.openstreetmap.org/node/2478086894 |
Hi. A lot of streets with in suburbs area in OSM have generally the tag highway+name. I understand why you are blacklisting them but I think this is really restrictive and a lot of existing streets in OSM are not imported because of this. And generally speaking, it seems that the blacklisting is there only to avoid duplicates. Isn't there another way to avoid duplicates and importing the data with the blacklisted tags ? |
hi @razafinr crazy timing, I was just looking in to this issue earlier today, I've been cutting some data from a New York City extract to have a look what we might be missing and what we might remove. that repo is here https://github.com/pelias/osm-featurelist-evaluation with a link to some cuts I made of the data today. this extract is just the that files shows what new names would be searchable in Pelias if we added that to the featurelist, I see there is a bunch of undesirable content such as: node 2708075964 Lamp Post
node 2708075965 Lamp Post
node 2708075966 Lamp Post
node 2708075967 Lamp Post
node 2708075970 Lamp Post
node 2708075974 Lamp Post
node 2708075976 Lamp Post
node 2708075977 Lamp Post
node 2708075979 Lamp Post
node 2708075981 Lamp Post
node 2708075982 Lamp Post
node 2708075983 Lamp Post
node 2708075984 Lamp Post
node 2708075988 Lamp Post ...but there is also a load of good stuff in there, what are your thoughts after seeing this? |
@missinglink Thanks for the repository. I was running it locally and there are definitely a lot more places that could be searchable if we import them (as I explained above, a lot of streets in poor-coverage area have the specific tag |
@razafinr I've made some changes to I think this will help significantly in reducing some of the rubbish which is getting ingested (ie. 'Lamp Post') but doesn't deal with the issue of duplication. You mentioned In this case both the road segments share the same I would definitely like to find a de-duplication strategy for here is an example of a relation which contains all the ways for the M1 in the UK: |
@razafinr it's also worth noting that street addresses are currently being extracted from eg: the POI "Happy Valley Cycles" [1] has valid address info, so a second document [2] is created with the name "8 Church Street", a query such as [3] should return all POI records on that street. [1] http://pelias.mapzen.com/doc?id=osmnode:1030336099 |
One particular tag we might want to import is Here's one example of a road that we can't find using pelias, but works in Nominatim: |
Hello. I think it would be great if the tags could be set in the importer configuration. And if not set then load tags by default. For example,
Also, not all relationships such as cities are enabled by default. For example, Moscow (http://openstreetmap.org/relation/2555133). It has `place=city' tag which is not included in current version of importer. Of course, users can set them on their own by downloading this repo, but I believe that this would be a good feature. |
Hi @CatInCosmicSpace, that sounds like a nice addition, the core team are currently working on other features at the moment but I'd be happy to review and merge a PR to add this functionality to pelias/config and pelias/openstreetmap. For the most part, it could be implemented here https://github.com/pelias/openstreetmap/blob/master/stream/pbf.js Regarding Moscow, I added support for relations recently, so please check you're using current versions of all our tools/docker images. PBF extracts can be generated using a variety of different tools, and as such can be slightly different, even when cropping to the same bounding-box. If the Moscow polygon is missing any of the vertices or rings in the extract then the polygon will be deemed invalid, no attempts are made to try and recover the broken geometry and so it will not appear in the output, you should see a relevant warning in the log. An easy solution to this problem is to use a larger extract which you are sure will include all the nodes in the relation members. |
Another solution is to simply modify https://github.com/pelias/openstreetmap/blob/master/config/features.js to suit your needs. If you are using Docker, then you can achieve this without modifying the docker image using a feature called 'bind mounts' which is available in Docker and docker-compose. |
Here's an example of how to use bind-mounts in |
Thank you! Maybe I will make a pull request later. :) |
We currently have this features whitelist which can be a little too inclusive sometimes.
eg. Taxiway 'U' at JFK, I doubt anyone will ever want to search this:
http://www.openstreetmap.org/way/5784731#map=17/40.65536/-73.78819
[edit] probably best to disable some of the
aeroway
tags but not all of them https://gist.github.com/missinglink/c74dc7a2ba34bfc4bdcbThis ticket is to revisit the whitelist from the 'old pelias' and give it a second look/ refresh.
The text was updated successfully, but these errors were encountered: