SimonPoole
(Simon Poole)
September 28, 2016, 8:09am
1
Last week we released vesrion 0.9.8 of Vespucci, see http://vespucci.io/help/en/0.9.8%20Release%20notes/ for what is new.
This was a bit earlier than expected and does not yet include the opening hours editor (but does include a form editor for conditional restrictions) because we couldn’t update the 0.9.7 version on googles play store any more.
The versions available from google and amazon have been updated, we are in contact with the person responsible for the F-DROID build but we cannot provide an ETA for release there yet.
tbsprs
November 7, 2016, 11:12pm
2
I saw a few typos in the changelog on Google Play. You might want to fix them.
● sortcuts to add common tags // shortcuts
● export osn format // not sure if this should be osm
SimonPoole
(Simon Poole)
November 9, 2016, 11:06am
3
Thats a typo (I’ll see if I can get it fixed). Thanks
The osn format is used by the notes dump and can be read by JOSM, it is not really documented, but it is “osn”,
Simon
PS: BTW it seems as if at last the F-Droid build has been fixed and is producing APKs based on the most recent release.
tbsprs
November 9, 2016, 8:06pm
4
Thanks for the clarification. Nice to hear they fixed it. Seems to be promising for future releases (hopefully).
fatuus
February 9, 2017, 10:20am
5
It would be great if you could add custom background tiles.
fatuus
March 13, 2017, 6:09am
6
I tried to add a file called imagery.json in vespucci dir.
Including:
{“type”: “Feature”, “properties”: {“name”: “Mapbox Satellite”, “url”: “http://{switch:a,b,c}.tiles.mapbox.com/v4/openstreetmap.map-inh7ifmo/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJncjlmd0t3In0.DmZsIeOW-3x-C5eX-wAqTw”, “max_zoom”: 19, “default”: true,
“type”: “tms”, “id”: “Mapbox2”},“geometry”: null}
Just to test.
Then the app crashes every time.
SimonPoole
(Simon Poole)
March 17, 2017, 12:25pm
7
Have you sent a crash report?
The facility works in principle, for example
[
{
“attribution”: {
“required”: true,
“text”: “\u00a9 Michael Spreng, CC by-SA 3.0, map data OpenStreetMap contributors, ODbL 1.0”,
“url”: “http://slopes.waymarkedtrails.org/en/help/legal ”
},
“extent”: {
“max_zoom”: 17
},
“icon”: “http://static.waymarkedtrails.org/img/map_slopes.png ”,
“id”: “Waymarked_Trails-Winter_Sports_2”,
“name”: “Waymarked Trails: Winter Sports 2”,
“overlay”: true,
“type”: “tms”,
“url”: “http://tile.waymarkedtrails.org/slopes/{zoom}/{x}/{y}.png ”
}
]
However it requires the old format entries not the new geojson ones (naturally it shouldn’t crash in any case),
Simon
fatuus
March 17, 2017, 1:26pm
8
I tried your example. It did not show up in background or overlay.
You need to restart Vespucci (aka exit with the back button).
fatuus
March 17, 2017, 3:05pm
10
Tried that. Tried also clear cache.
SimonPoole
(Simon Poole)
March 17, 2017, 3:07pm
11
Could you give us the version you are using?
SimonPoole
(Simon Poole)
March 21, 2017, 1:46pm
13
fatuus:
Vespucci 0.9.8r1242
No reason why it shouldn’t work, unluckily without the device at hand it is difficult to debug. In any case there is potential for a GSOC project that among other things would re-factor the imagery configuration code and would add a UI for manually adding tile servers.
Simon
fatuus
March 22, 2017, 5:55pm
14
Should the file only contain:
[
{
"attribution": {
"required": true,
"text": "\u00a9 Michael Spreng, CC by-SA 3.0, map data OpenStreetMap contributors, ODbL 1.0",
"url": "http://slopes.waymarkedtrails.org/en/help/legal"
},
"extent": {
"max_zoom": 17
},
"icon": "http://static.waymarkedtrails.org/img/map_slopes.png",
"id": "Waymarked_Trails-Winter_Sports_2",
"name": "Waymarked Trails: Winter Sports 2",
"overlay": true,
"type": "tms",
"url": "http://tile.waymarkedtrails.org/slopes/{zoom}/{x}/{y}.png"
}
]
utf-8 / ascii ??
fatuus
September 11, 2017, 7:25am
15
Finally i got it to work.
But I have a new question:
I have some tiles that are dubbel scale. Each tile is 512 pixels.
Is there any way that you could use them and add a setting in the json file?
SimonPoole
(Simon Poole)
September 11, 2017, 2:03pm
16
Currently the configuration file format doesn’t support any other tile size than 256x256 see https://github.com/osmlab/editor-layer-index/blob/gh-pages/schema.json
Outside of that fundamental issue, internally different size tiles are supported.