[OSM-dev] [GSoC] Improvements to Vespucci

Jan Schejbal jan.mailinglisten at googlemail.com
Mon May 21 13:17:23 BST 2012


Am 2012-04-26 22:51, schrieb Jan Schejbal:
> b) allowing the user to select the API URL to use.

Sorry for not reporting in for so long. My biometry project for
university is finished and will be handed in today, so from now on, I
will have enough time for GSoC.

For the API selection UI, I plan to implement the following:

In "Server settings", add another menu item "API URL", with a
description text "You can set an alternate API URL here. Usually should
not be changed." Clicking it will open a selection menu, where you can
select the server to use from a list (by default: only the official OSM
server). There will be a menu item to add additional URLs to the list,
long-pressing an existing item will allow the user to edit/delete it.

Selecting the item will automatically set the username/password/preset
assigned to it, to allow easy switching between profiles.

In addition to OSM username and OSM password, there will be another item
for OSM preset URL. It will work like the API selection, but the user
will be able to enter URLs to XML files with JOSM presets. The preset
will be downloaded and cached. A non-deletable "default" option will be
provided for the preset that will be delivered together with Vespucci.

To allow users to easily add items, a vespucci: URL handler will be
created, allowing something like vespucci:?api=<APIURL>&preset=<XMLURL>

If you have suggestions regarding this, please let me know. Thanks!

Kind regards,
Jan



More information about the dev mailing list