Why not ask your question on the new OpenStreetMap Community Forum?


I have a csv file holding coordinates, I am able to import it correctly into umap. I managed to also have the marker name imported through an additional column named 'name'. However, I would like to import the color of the marker.

Here is an example of input file:


This does not work. I also tried using HTML/CSS colors (i.e. replacing 'red' with #ff0000). This does not work either. What I don't understand is that is is stated here: https://wiki.openstreetmap.org/wiki/UMap/Guide/Import_data_files

csv: [...] All other columns will be imported as properties.

Did I misunderstand something?

If this is not possible with csv, is it possible with other file formats?

Thanks for all suggestions.

Edit: the real file is about 5000 markers, so I can't edit them one by one...

asked 27 Oct '21, 13:55

sebkramm's gravatar image

accept rate: 0%

edited 27 Oct '21, 14:34

In umap Github there is a description how this can be achieved using GeoJSON. Maybe that is a way for you to do it.

permanent link

answered 27 Oct '21, 18:26

TZorn's gravatar image

accept rate: 15%

Thanks, I'll have a look, but I have to check how can I convert my csv file to geoJSON.

(27 Oct '21, 21:40) sebkramm

You can also try if _umap_options can be passed as a csv column somehow.

(28 Oct '21, 07:36) TZorn

Thanks for you suggestion. Tried this: https://pastebin.com/WezLpauz => no result...

(29 Oct '21, 13:44) sebkramm
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Oct '21, 13:55

question was seen: 1,018 times

last updated: 29 Oct '21, 13:44

powered by OSQA