Skip to content

Documentation #535

Answered by lonvia
kenseii asked this question in Q&A
Jan 28, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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.

public static XContentBuilder convert(PhotonDoc doc, String[] languages) throws IOException {
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 OpenStre…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kenseii
Comment options

@lonvia
Comment options

@kenseii
Comment options

Answer selected by kenseii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants