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

Add extension when saving files #2589

Open
felagund opened this issue Jun 25, 2024 · 3 comments
Open

Add extension when saving files #2589

felagund opened this issue Jun 25, 2024 · 3 comments

Comments

@felagund
Copy link

File... > Export changes to OSC file or Save to JOSM file saves files without the appropriate extensions (.osm for JOSM and .osc for OSC). JOSM seems to be unable to read the files without proper extensions, so it would be handy if they were added automatically.

@simonpoole
Copy link
Collaborator

The problem is that Android has no way to do that (or else we would have done so from day one) without using a custom filepicker which in turn causes pain because of SAF (and general inconsistent UI).

@felagund
Copy link
Author

Oh, I would not have imagined that something like that can be a missing functionallity. Is there a way to somehow hint what the correct extension is? I am bound to forget. Though it is not so hard to rename it later on the computer.

By the way, is my understanding correct that if I want to add to an existing file, I need to download an area first, then load the file, do my changes and then save the file again, right?

@simonpoole
Copy link
Collaborator

It might be possible to rename the file after the data has been saved (I need to check that), which has the downside that the user wouldn't see the actual file name in the file picker.

By the way, is my understanding correct that if I want to add to an existing file, I need to download an area first, then load the file, do my changes and then save the file again, right?

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants