From fabio.savian a nonvedolora.it Fri Feb 14 16:04:29 2025 From: fabio.savian a nonvedolora.it (Fabio Savian) Date: Fri, 14 Feb 2025 17:04:29 +0100 Subject: [dev-italia] API for developer Message-ID: <2dd99747-e46d-497c-9592-9c9728844786@nonvedolora.it> Buongiorno, mi sono appena registrato a OSM. Sono il webmaster di Sundial Altla (https://www.sundialatlas.eu) un progetto internazionale per registrare gli orologi solari (meridiane) di tutto il mondo. E' un progetto culturale e scientifico, senza pubblicità o fini commerciali, tutti i dati contenuti sono liberamente fruibili, tutti gli utenti registrati possono inserire o modificare dati e foto, il progetto aderisce al Creative Commons. Lo scopo è far conoscere la gnomonica, il ramo dell'astronomia che si occupa degli orologi solari, permettendo di conoscere dove si trovano gli orologi permettendone la visita, lo studio e anche il turismo scientifico e culturale. Il sito è consultabile in 11 lingue, ad oggi sono registrati circa 59,000 orologi di 124 paesi. Sono interessato a OSM ma ho necessità di alcune informazioni, Sundial Atlas sta per cambiare server e sto revisionando il software (PHP, mySQL, javascript, ajax) valutando anche la possibilità di passare a OSM. Attualmente il sito utilizza Google Map e le API per gestire le map nelle pagine. Per esempio, ogni orologio ha una scheda con le coordinate e un frame con la mappa che mostra dove si trova. Altre mappe dinamiche permettono di vedere gli orologi di un'area, tramite delle puntine. Sarei molto grato se qualcuno potesse chiarirmi qualche dettaglio per utilizzare OSM nel sito. - sto cercando una documentazione dettagliata (javascript) per mostrare una mappa in una pagina web, definendo la dimensione, zoom, coordinate del centro. - vorrei capire se è possibile inserire delle puntine colorate nella mappa mostrata in una pagina - se possibile disegnare linee o curve nella mappa. S.A. costruisce il percorso del Sole sopra la mappa in funzione della data, così come la direzione del Sole (azimut) rispetto al punt centrale della mappa. Tutto ciò è attualmente sviluppato con le API di Google Map - ottenere le coordinate da un indirizzo (come geocoder) - S.A. produce anche documenti pdf contenenti gli orologi esito di una ricerca. Questi documenti hanno una copertina con una mappa che attualmente è ricavata da Google Map e inserita nel documento con fpdf.php. Mi piacerebbe utilizzare OSM nel progetto S.A. e sarei disponibile a valutare con voi la possibilità di inserire la posizione degli orologi solari nelle vostre mappe. Mi rendo anche disponibile a sviluppare javascript per implementare risorse astronomiche in OSM se fossero di interesse (azimut del Sole, direzione del Nord geografico e altri calcoli astronomici come alba, tramonto, altezza del Sole e molti altri legati alla posizione e a ora/data) Vi ringrazio anticipatamente per le info che potete darmi. Un cordiale saluto, Fabio PS S.A. ha anche una app Android, free e senza pubblicità, per trovare gli orologi sulla mappa (Sundial Atlas Mobile). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I just registered to OSM. I'm the webmaster of Sundial Atlas (https://www.sundialatlas.eu) an international project to register the sundial all over the world. It is a cultural and scientific project, without advertisng or commercial purpose, the information contained is freely available to all, all registered users can contribute by uploading or editing photos and data, the project adheres to the Creative Commons. The aim is to make known gnomonics, the branch of astronomy that deals with sundials, allowing people to know where they are in order to visit them, study them and even for simple cultural and scientific tourism. The site is available in 11 languages, and today contains approximately 59,000 sundials from 124 countries. I am writing to you because I am interested in using OSM but I need some information, Sundial Atlas is about to change server and with that I'm doing a software review (PHP, mySQL, javascript, ajax), including the possibility of switching to OSM. The website currently uses Google Maps and the API to manage maps on the site pages. For example, for each sundial the coordinates are entered and a frame shows the map where it is located. Other dinamic maps show sundials via pushpins. I would be very grateful if someone could clarify some details that I need to look into in order to switch to OSM. - I am looking for a documentation with details (javascript) to show a map in a web page, defining the frame size, zoom, center of the map che mostra gli orologi della ricerca. La mappa è inserita nel documento pdf usando fpdf.php - I would like to know if it is possible to insert pushpins (even with different colors) above the map displayed on a page. - If it is possible to overlay the map lines and curves. S.A. is able to reconstruct the path of the Sun over the map as a function of the date, as well as the direction of the Sun (azimuth) with respect to the center of the map. All this is currently implemented with the Google Map API. - to get coordinates from an address (like geocoder) - S.A. can produce pdf documents with the sundials found with a search. The document has a cover that shows the map it contains. Currently the map is always obtained with Google Map and inserted in the pdf document using fpdf.php I would love to use OSM in the S.A. project. I am also happy to evaluate the possibility of inserting the position of sundials in your maps, as well as to make myself available to implement astronomical resources javascript for OSM if they were of interest to you (azimuth of the Sun, direction of geographic North, and other astronomical data related to position and date such as sunrise, sunset, height of the Sun and many others). Thank you for any information you can give me. Best regards, Fabio PS S.A. has also an Android app, free and ad-free, to find the sundials on the map (Sundial Atlas Mobile) -- Fabio Savian fabio.savian a nonvedolora.it UTC +1, DST +2, 45° 34' 9'' N, 9° 9' 53'' E Paderno Dugnano, Milano, Italy From sabas88 a gmail.com Fri Feb 14 16:19:13 2025 From: sabas88 a gmail.com (Stefano) Date: Fri, 14 Feb 2025 17:19:13 +0100 Subject: [dev-italia] API for developer In-Reply-To: <2dd99747-e46d-497c-9592-9c9728844786@nonvedolora.it> References: <2dd99747-e46d-497c-9592-9c9728844786@nonvedolora.it> Message-ID: Ciao, ti consiglio di guardare LeafletJS https://leafletjs.com/ Dovresti riuscire a replicare tutte le funzionalità che cerchi! Stefano Il giorno ven 14 feb 2025 alle ore 17:06 Fabio Savian < fabio.savian a nonvedolora.it> ha scritto: > Buongiorno, > > mi sono appena registrato a OSM. > Sono il webmaster di Sundial Altla (https://www.sundialatlas.eu) un > progetto internazionale per registrare gli orologi solari (meridiane) di > tutto il mondo. > > E' un progetto culturale e scientifico, senza pubblicità o fini > commerciali, tutti i dati contenuti sono liberamente fruibili, tutti gli > utenti registrati possono inserire o modificare dati e foto, il progetto > aderisce al Creative Commons. > Lo scopo è far conoscere la gnomonica, il ramo dell'astronomia che si > occupa degli orologi solari, permettendo di conoscere dove si trovano > gli orologi permettendone la visita, lo studio e anche il turismo > scientifico e culturale. > Il sito è consultabile in 11 lingue, ad oggi sono registrati circa > 59,000 orologi di 124 paesi. > > Sono interessato a OSM ma ho necessità di alcune informazioni, Sundial > Atlas sta per cambiare server e sto revisionando il software (PHP, > mySQL, javascript, ajax) valutando anche la possibilità di passare a OSM. > Attualmente il sito utilizza Google Map e le API per gestire le map > nelle pagine. > Per esempio, ogni orologio ha una scheda con le coordinate e un frame > con la mappa che mostra dove si trova. > Altre mappe dinamiche permettono di vedere gli orologi di un'area, > tramite delle puntine. > Sarei molto grato se qualcuno potesse chiarirmi qualche dettaglio per > utilizzare OSM nel sito. > > - sto cercando una documentazione dettagliata (javascript) per mostrare > una mappa in una pagina web, definendo la dimensione, zoom, coordinate > del centro. > > - vorrei capire se è possibile inserire delle puntine colorate nella > mappa mostrata in una pagina > > - se possibile disegnare linee o curve nella mappa. > S.A. costruisce il percorso del Sole sopra la mappa in funzione della > data, così come la direzione del Sole (azimut) rispetto al punt centrale > della mappa. Tutto ciò è attualmente sviluppato con le API di Google Map > > - ottenere le coordinate da un indirizzo (come geocoder) > > - S.A. produce anche documenti pdf contenenti gli orologi esito di una > ricerca. Questi documenti hanno una copertina con una mappa che > attualmente è ricavata da Google Map e inserita nel documento con fpdf.php. > > Mi piacerebbe utilizzare OSM nel progetto S.A. e sarei disponibile a > valutare con voi la possibilità di inserire la posizione degli orologi > solari nelle vostre mappe. Mi rendo anche disponibile a sviluppare > javascript per implementare risorse astronomiche in OSM se fossero di > interesse (azimut del Sole, direzione del Nord geografico e altri > calcoli astronomici come alba, tramonto, altezza del Sole e molti altri > legati alla posizione e a ora/data) > > Vi ringrazio anticipatamente per le info che potete darmi. > > Un cordiale saluto, Fabio > > PS S.A. ha anche una app Android, free e senza pubblicità, per trovare > gli orologi sulla mappa (Sundial Atlas Mobile). > > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > > > I just registered to OSM. > I'm the webmaster of Sundial Atlas (https://www.sundialatlas.eu) an > international project to register the sundial all over the world. > > It is a cultural and scientific project, without advertisng or > commercial purpose, the information contained is freely available to > all, all registered users can contribute by uploading or editing photos > and data, the project adheres to the Creative Commons. > The aim is to make known gnomonics, the branch of astronomy that deals > with sundials, allowing people to know where they are in order to visit > them, study them and even for simple cultural and scientific tourism. > The site is available in 11 languages, and today contains approximately > 59,000 sundials from 124 countries. > > I am writing to you because I am interested in using OSM but I need some > information, Sundial Atlas is about to change server and with that I'm > doing a software review (PHP, mySQL, javascript, ajax), including the > possibility of switching to OSM. > The website currently uses Google Maps and the API to manage maps on the > site pages. > For example, for each sundial the coordinates are entered and a frame > shows the map where it is located. > Other dinamic maps show sundials via pushpins. > I would be very grateful if someone could clarify some details that I > need to look into in order to switch to OSM. > > - I am looking for a documentation with details (javascript) to show a > map in a web page, defining the frame size, zoom, center of the map che > mostra gli orologi della ricerca. La mappa è inserita nel documento pdf > usando fpdf.php > > - I would like to know if it is possible to insert pushpins (even with > different colors) above the map displayed on a page. > > - If it is possible to overlay the map lines and curves. > S.A. is able to reconstruct the path of the Sun over the map as a > function of the date, as well as the direction of the Sun (azimuth) with > respect to the center of the map. All this is currently implemented with > the Google Map API. > > - to get coordinates from an address (like geocoder) > > - S.A. can produce pdf documents with the sundials found with a search. > The document has a cover that shows the map it contains. Currently the > map is always obtained with Google Map and inserted in the pdf document > using fpdf.php > > I would love to use OSM in the S.A. project. I am also happy to evaluate > the possibility of inserting the position of sundials in your maps, as > well as to make myself available to implement astronomical resources > javascript for OSM if they were of interest to you (azimuth of the Sun, > direction of geographic North, and other astronomical data related to > position and date such as sunrise, sunset, height of the Sun and many > others). > > Thank you for any information you can give me. > > Best regards, Fabio > > PS S.A. has also an Android app, free and ad-free, to find the sundials > on the map (Sundial Atlas Mobile) > > -- > Fabio Savian > fabio.savian a nonvedolora.it > UTC +1, DST +2, 45° 34' 9'' N, 9° 9' 53'' E > Paderno Dugnano, Milano, Italy > > > _______________________________________________ > dev-italia mailing list > dev-italia a openstreetmap.org > https://lists.openstreetmap.org/listinfo/dev-italia > -------------- parte successiva -------------- Un allegato HTML è stato rimosso... URL: