-
Hello, Is there any documentation besides the Readme that discusses the way photon indexes data and the way it extracts the name/POI from the data? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No, sorry, we only have the source code as documentation. https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/nominatim/NominatimConnector.java is the starting point. This copies the data out of the Nominatim database. is the central function that converts the whole thing then into ElasticSearch format.Note, however, that Photon just imports Nominatim data which is already conveniently in a format suitable for geocoding. It's Nominatim that does the complex step of processing raw OpenStreetMap data and extracting names and addresses. There is not much documentation on the Nominatim code either, I'm afraid. |
Beta Was this translation helpful? Give feedback.
No, sorry, we only have the source code as documentation. https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/nominatim/NominatimConnector.java is the starting point. This copies the data out of the Nominatim database.
photon/src/main/java/de/komoot/photon/Utils.java
Line 26 in 40a2f66
Note, however, that Photon just imports Nominatim data which is already conveniently in a format suitable for geocoding. It's Nominatim that does the complex step of processing raw OpenStre…