Hello, I'm going to use Photon as a search engine. In a result, Photon give the id of the node / way / relation. How can I get the associated point / roads / polygon in my OSM DB (I don't have a Nominatim DB)? Is it always -1*<id>? Am I sure to get a result? Thanks in advance asked 10 Jul '19, 12:41 Tim Autin |
One Answer:
answered 10 Jul '19, 12:44 Frederik Ramm ♦ |
Thank you very much for the very clear answer! The links between relations/line, relations/polygons, way/line & node/point are still a bit obscure to me. If a relation is updated/deleted/added, does the polygon (or line) also get updated/deleted/added?
If you do process updates with your database (
osm2pgsql -a
), then yes, the polygon or line will get updated when the relation changes.