mf-geoadmin3
mf-geoadmin3 copied to clipboard
Drawing can not be edited
ALL OS ALL BROWSERS
reproduce open https://s.geo.admin.ch/8d6aa5274c
drwaing mode add a feature like text
result
"Teilen" is greyed out
Expected result
after adding a feature, teilen is possible
no work around
Hm, the new service has a max size for KML of 2 * 1024 * 1024 = 2'097'152 bytes.
The KML in question has a size of 2'097'023 bytes, which is smaller than the maximum size allowed by the service, but saving this file fails with an HTTP 413 Payload too large
. Payload is now 2'100'255 bytes. I think we switch the content type from application/vnd.google-earth.kml+xml
to multipart/form-data
The issue of payload too large has been fixed. In order to share the drawing you need either to modify it or select a feature, that's how the drawing is designed. @davidoesch if you want to be able to share a copy of a drawing without having to select/modify a feature then this needs to be addressed in the new viewer and need a new ticket for the new viewer project.
A simple fix would be to add a dummy feature, and then remove it. This should create a copy of the current drawing (as no adminId
is present), and now you are the owner of this copy
But that is essentially what seems at fault here, no copy was made?
@ltshb @pakb : since there are Workflows of user out in the wild (vbs) which are based on :” if I get a link with a drawing and I open it in edit mode it creates a copy” we should have this for the current viewer. What is the effort to have the original behavior back?
See comment above: estimate to have the original function back?