This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Which separator in a cvs file for a layer with external csv data in uMap

0

Hi every body, I'm trying to make a prototype of a map to convince somebody to use uMap rather than ggm. The idea is having a map with layers based on foreing editable csv files stored somewhere on the web. (I have to find a way to sore and edit csv data on the web with multi-editors)

I have found no example of foreign csv based map.

The map is here : https://umap.openstreetmap.fr/fr/map/test-carte-cedre_603898

They are two layers :

The two points appear in École2 (uploaded data) but nothing append in École. I have tryed coma-space and tab separation.

I can see on nextcloud in the file history that the file has been loaded so the link and the call seem good.

A hint ? A way to look forward ? A suggestion ? Thank in advance.

asked 03 May '21, 18:59

FrViPofm's gravatar image

FrViPofm
16113
accept rate: 0%

edited 04 May '21, 12:39

SK53's gravatar image

SK53 ♦
28.1k48268433


One Answer:

3

Sounds like a CORS issue, try to proxy the request (in the remote data options)

answered 03 May '21, 19:09

ybon's gravatar image

ybon
626713
accept rate: 42%

@ybon : Merci Yohan pour la réponse rapide

I'm a poor webmaster... How do I do that ? On a nexcloud instance that is not on my computer but on a gandi cloud ?

(03 May '21, 21:42) FrViPofm
2

It's on the layer option, uMap side (dans "Données distantes")

(03 May '21, 21:44) ybon

@ybon : Thanks again !

It works great ! I didn't know this option ( as surely to much options of this great tool that is uMap)

(04 May '21, 08:46) FrViPofm

Source code available on GitHub .