Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing empty values causes "Nothing to upload" #32

Open
polarbearing opened this issue Jan 27, 2017 · 3 comments
Open

Fixing empty values causes "Nothing to upload" #32

polarbearing opened this issue Jan 27, 2017 · 3 comments

Comments

@polarbearing
Copy link

When I fix an object that has a trailing space, or a key with an empty value, the space or the key with the empty value is already removed automatically while the data are added to the editor.

If nothing else is changed in the data, Level0 complains "Nothing to upload" and does not create a changeset.

@Zverik
Copy link
Owner

Zverik commented Feb 9, 2017

Are you sure? Please try this taginfo page, click on the "Level0" link in the top right corner and then "Show osmChange" to verify the osc file.

Can you provide me with an example object on which level0 refuses to upload changes?

@polarbearing
Copy link
Author

polarbearing commented Oct 25, 2017

Not sure anymore.
I remember my problem was with a space in the value, not in the key as in your example (for which there are zero occurences now).
Anyway, I tested now and successfully fixed a

Could not find a leading space in a key; or a key with an empty value, currently.

I found a CS removing an empty value 30s after this ticket was created. Maybe it worked in the end.
We should probably close as not reproducible for now.
don't remember what trick I used.

@polarbearing
Copy link
Author

polarbearing commented Oct 25, 2017

Found plenty keys with empty values now, overpass query [~"."~"^$"]
https://www.openstreetmap.org/way/32958037 has <tag k="source:width" v=""/>

Loading into level0 automatically strips this key.
"Upload to OSM" produces red "Nothing to upload."

Show osmChange displays:

OsmChange contents (this will be uploaded to the server)
<?xml version="1.0" encoding="UTF-8"?>
<osmChange version="0.6" generator="Level0 v1.2">
</osmChange>

Trying on a node as well (n5176220022), same result.

@polarbearing polarbearing reopened this Oct 25, 2017
@polarbearing polarbearing changed the title Fixing trailing spaces or empty values causes "Nothing to upload" Fixing empty values causes "Nothing to upload" Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants