MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android

Home Page:http://vespucci.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saving settings

mic140 opened this issue · comments

Please add a function for saving settings or at least saving custom layers. This is an extremely necessary function when the application crashes, when you have to configure everything again. This is especially true for custom layers, if there are more than two or three of them.

Duplicate of #1291

Couple of remarks anyway:

  • the app shouldn't crash, if it does (bad data and similar issues) the safe mode extensions that are coming in 19.3 should allow you to always recover: #2385
  • you can add any custom layers to a file in ELI format instead of configuring them via the UI as a workaround. The file needs to be named "imagery.geojson" and reside in the Vespucci directory.

Unfortunately, I'm not a programmer and don't know how to create such a file. Could you send me a sample of such a file so I could make my own?

See https://github.com/MarcusWolschon/osmeditor4android/blob/master/src/main/assets/imagery_vespucci.geojson (click on "code" if you are viewing it on github) the Thunderforest entry is likely a good one to use as a template. https://github.com/osmlab/editor-layer-index/blob/gh-pages/CONTRIBUTING.md explains what the values mean.