For a project, i would like to be able to put POI on a custom umap map, using a HTML form.
I have done the HTML form, it use nominatim calls to retrieve longitude and latitude from an adress
I can store those coordinates in a database, export it to a csv file and import this file via the umap web interface
Is there an API out there that would save me this last painfull step, allowing me to directly send the POI to my umap map?
If you go to remote data in umap (it’s in the layer properties). You will see csv as one of the possible formats.
I have not tried this, but if you fill in the URL of your (always up-to-date) csv file, this might work.
At least this how it works for data from the Overpass servers
you can set the remote data to be dynamic : if you are editing you own map on umap and that the distant cvs file change, for example a marker is added, the poi will literally pop on the screen. If you monitor your map from a public iframe, data will pop only when you move arround your map or request it.
Hey Thanks for creating this thread, i managed to replicate this on my server.
I figured it would be way easier for most people (including me) to just use github.com or similar as remote data source - since you don’t need your own server.
Here’s how:
Open a File in your projects git repository on github.com
My use case is displaying events in different categories as different layers on a umap, while fetching the Data from a Nextcloud Calendar. I wrote a script in python which fetches the data and outputs a geoJson file for each calendar fetched. I also have a Wordpress Form which enables people to add new events.