osmedit for Tasking Manager
Map HOT Tasking Manager tasks in osmedit, a fast OpenStreetMap editor, right where iD would open. iD stays one pick away in Tasking Manager's editor list.
Firefox: it is not in Mozilla's store yet. This file is the same extension, signed by Mozilla; Firefox asks once whether to add it. Once Mozilla approves the store listing, Firefox updates it to the store's version by itself.
Firefox for Android (and Fennec): download the file, then in Settings, About, tap the logo five times; Settings now has Install extension from file. Pick the file. The extension then opens a page asking you to allow it on its sites: tap Allow. Missed it? Firefox's Extensions, reperfect osmedit, Settings opens it again, or turn the sites on under Permissions.
What it does
- It adds osmedit to Tasking Manager's editor list, beside iD and JOSM. With osmedit chosen, a task's mapping or validation page on
tasks.hotosm.org(and HOT's staging site) opens osmedit in iD's place. Picking iD Editor in that list gives iD back. - osmedit opens on your locked task: its outline drawn, the project's imagery, its changeset comment, and the feature types of its mapping types. The building tool is ready for building projects: two corners of a wall, then its depth.
- Tasking Manager's own sidebar stays: the instructions, and Submit when you are done. Leaving the page with changes you have not saved in osmedit asks you first.
Strava heatmap in osmedit
- With the extension, osmedit's Background menu offers Strava's global heatmap as an overlay, drawn from your own Strava account: sign in at strava.com in the same browser and turn it on there. Without the extension, osmedit cannot show it, as Strava gives the full heatmap only to a signed-in account.
- Strava's heatmap sign-in lasts about a day. The extension renews it from your Strava sign-in when it runs out; if that does not work, osmedit says so and links to Strava's heatmap, which renews it when opened once.
- osmedit's Heat trace (a plugin, off until you turn it on) traces a path from the heatmap with one click, or refits a line you drew onto it ("Slide to heatmap", the Strava Slide of julcnx's Strava Heatmap extension, MIT licence: its notice).
- On a phone, the extension works in Firefox for Android; Chrome for Android has no extensions.
Privacy
The extension runs on Tasking Manager's pages and on osmedit.reperfect.it. On Tasking Manager it reads, in your browser:
- the project and your locked tasks, from Tasking Manager's API, with your Tasking Manager sign-in;
- the OpenStreetMap sign-in that Tasking Manager keeps, so osmedit can save your edits to OpenStreetMap without a second sign-in.
For the Strava heatmap it reads, in your browser, the cookies Strava keeps for your sign-in on strava.com: whether you are signed in (_strava4_session) and the four that open the heatmap (_strava_idcf and three CloudFront-*). It puts those four only on osmedit's requests for heatmap tiles to content-a.strava.com; osmedit's page never sees them, only whether the heatmap can show. To renew them it opens strava.com/maps in the background, at most once in 10 minutes, as your browser would. Nothing of your Strava account goes anywhere but Strava.
It hands what it reads on Tasking Manager to the osmedit page it opens inside Tasking Manager (osmedit.reperfect.it), in your browser, and to no other site. osmedit uses the OpenStreetMap sign-in only to talk to openstreetmap.org: to save your changes and to ask who you are. Neither the extension nor osmedit sends your sign-ins, your edits or anything about you to reperfect's servers, and neither collects usage data or tracks you. osmedit's page and its files come from osmedit.reperfect.it; map data, imagery and place names come from the services credited on the map.
Source
The extension is one readable script, published with osmedit: codeberg.org/reperfect/osmedit. Problems and ideas: the issue tracker.