-
Notifications
You must be signed in to change notification settings - Fork 5
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
Reenable stops import to Nominatim/Photon #68
Comments
Instead of the former Note: it currently contains the full match results. I.E. matches with low confidence as well as DELFI zHV stops which could not be matched and are apparently unserved. I suggest to handle the stops depending on their
|
For information: the script is currently for the "old" mode of updating in Photon which hasn't worked properly since Nominatim 4.0. So the main work will be in adapting to the "new" method. Regarding the new export fileThe following columns are now named differently:
I've renamed them in the script. Let me know if you prefer to rename them in the export. The script is also able add additional address information (fields "Landkreis", "Gemeinde", "Ortsteil"). If we want to keep that, I'd need these fields as well in the new export. We could even go a bit further and tell Nominatim not to do any address computation at all and only use the information from these fields when importing into Photon. This should work out-of-the-box with current Nominatim/Photon. It's possible that this is better for searching in Photon because the street names that Nominatim adds might just add confusion. The downside is that PV stops from OSM will look different from the internal ones. MatchingI'll add a list of match types to ignore to the script, so you can easily change the list later.
|
In the past, a list of official stops extracted from DELFI zHV was used to enhance existing OSM stops with their ref:IFOPT or, if missing, added as Nominatim places, so they became available in photon via it's nominatim import.
This functionality should be reenabled for the existing installation. Probably, the nominatim_add_ifopt.py script needs to be updated.
The text was updated successfully, but these errors were encountered: