Why not georeferencing the image in your DB, and query for the closest osm 'fountain' on request? Yves
Le 19 mai 2020 12:47:18 GMT+02:00, European Water Project <europeanwaterproj...@gmail.com> a écrit : >Hi Paul, > >Thanks for asking. > >I do not want to send people to the node on OpenStreetMap via a url ... >I >agree this would not be friendly to the user experience. > >There are two places where it would be helpful to have a permanent id >associated with the osm object. > >1) When a contributeur takes a picture of a fountain via the web app >image >capture feature : >https://drive.google.com/open?id=1XbYC1xwsjCySv1g9LPHx3zX07SNtCeuI >It would be nice to give a "permanent" link to the image to the user so >that they can save the image and share it with friends. I currently >save >the image with a name closely related to the osm node id. > >2) I would like to create a permanent link which when clicked takes the >user to a map centered at the osm object and then overlays a small >popup >with the object features (including the image). > >The simpler the solution the better. > >Best regards, > >Stuart > > >On Tue, 19 May 2020 at 12:36, Paul Allen <pla16...@gmail.com> wrote: > >> On Tue, 19 May 2020 at 08:46, European Water Project < >> europeanwaterproj...@gmail.com> wrote: >> >>> >>> I am looking for a way to create permanent links to specific >objects >>> (fountains and cafés) with images within our application >>> >> >> Erm, why? What do you hope to achieve by this? >> >> Do you intend to present the user with a clickable link that opens in >a >> browser? Sure, >> you can turn the node ID into a URL that displays the POI, but it >includes >> a pane at >> the left with details that many users would find confusing. >> >> Or do you intend that your app queries the link internally, filters >the >> returned >> information and then presents that filtered information to the user? >> >> Ot is it just so you can display a map with a pin on the node? >> >> Depending on what you're trying to do, what you're asking about may >not be >> the best way of achieving it. >> >> -- >> Paul >> >> _______________________________________________ >> Tagging mailing list >> Tagging@openstreetmap.org >> https://lists.openstreetmap.org/listinfo/tagging >>
_______________________________________________ Tagging mailing list Tagging@openstreetmap.org https://lists.openstreetmap.org/listinfo/tagging