umap icon indicating copy to clipboard operation
umap copied to clipboard

Problem with the server response when saving map

Open TanguyJvt opened this issue 5 years ago • 4 comments
trafficstars

Hello,

I keep having the same issue when I try to edit then save my map. I import new data to my map, and then every time I try to save it, it waits a few seconds and then displays the message "problem with the server response".

Could it be because there are a lot of data on my map ? (probably several hundreds of gps tracks).

Thank you for your help.

image

TanguyJvt avatar Oct 02 '20 14:10 TanguyJvt

I have the same issues with big data files.

Binnette avatar Oct 10 '20 15:10 Binnette

@TanguyJvt I guess yes, it may be related to the size of the data.

Can you share your map URL/id so I can have a look ?

yohanboniface avatar Nov 08 '20 10:11 yohanboniface

@yohanboniface Thank you, this is the map url if you want to have a look : https://umap.openstreetmap.fr/fr/map/tanguys-sport-and-travel-map_389863#5/44.934/10.129

TanguyJvt avatar Nov 13 '20 15:11 TanguyJvt

I do have similar problems. I have been able to reproduce it with different layers returning data from overpassAPI.

Here is the map:

http://umap.openstreetmap.fr/en/map/adv-gravel-roads_701978

Let me know if I need to change permission levels for you to inspect the remotedataquery.

pfbreton-perso avatar Jan 11 '22 17:01 pfbreton-perso

Two and a half years later, not fixed.

When saving a map, Umap sometimes redisplays all the layers that were previously hidden, and fails with that error message.

Shohreh avatar Mar 31 '23 05:03 Shohreh

Two and a half years later, not fixed.

What did you do yourself to help fixing this ? :)

yohanboniface avatar Mar 31 '23 08:03 yohanboniface

I would if I had the skills.

Shohreh avatar Mar 31 '23 08:03 Shohreh

I would if I had the skills.

Same for me :)

yohanboniface avatar Mar 31 '23 09:03 yohanboniface

Who wrote Umap?

Shohreh avatar Mar 31 '23 10:03 Shohreh

Mainly me ;)

yohanboniface avatar Mar 31 '23 16:03 yohanboniface

The initial issue was about error when saving the map. I guess this was because of the number of layers. @TanguyJvt please reopen if this issue is still a problem for you.

Others: please open another issue with your specific case if you have one.

yohanboniface avatar May 16 '23 07:05 yohanboniface

In case this helps someone, simplifying the tracks helped me.

sudo apt install gdal-bin
ogr2ogr -f KML -simplify 0.0001 outfile.kml infile.kml

After the simplification files went from 50MB to 5 MB, and after importing the new data, I could successfully save the map.

IgnacioHeredia avatar Feb 16 '24 08:02 IgnacioHeredia