Modify

Opened 11 years ago

Closed 10 years ago

#2214 closed enhancement (fixed)

[PATCH] "Export to GPX" -> "Export options" presumes that osm-server.username is an E-Mail address

Reported by: avarab@… Owned by: team
Priority: trivial Milestone:
Component: Core Version: latest
Keywords: Cc: hampelratte

Description

When exporting OSM data "Export options" will pre-fill the E-Mail address field with the osm-server.username preference variable. That variable can contain either an E-Mail address or the "Real name" of the OSM user as set on the OSM website.

The form should check if osm-server.username contains @ and if so use it as the E-Mail address, and if not as the Real name.

Attachments (2)

ticket_2214.diff.gz (650 bytes) - added by hampelratte 10 years ago.
ticket_2214_v2.diff.gz (3.3 KB) - added by hampelratte 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by hampelratte

Attachment: ticket_2214.diff.gz added

comment:1 Changed 10 years ago by hampelratte

Cc: hampelratte added
Summary: "Export to GPX" -> "Export options" presumes that osm-server.username is an E-Mail address[PATCH] "Export to GPX" -> "Export options" presumes that osm-server.username is an E-Mail address
Type: defectenhancement

Here is a patch for the enhancement. Note, that the meta data is not written to the file, yet. That still has to be implemented.

Changed 10 years ago by hampelratte

Attachment: ticket_2214_v2.diff.gz added

comment:2 Changed 10 years ago by hampelratte

I have attached a second version of the patch, which includes read and write support for most gpx metadata elements.

comment:3 Changed 10 years ago by stoecker

Resolution: fixed
Status: newclosed

In r1574. I was pretty sure there was another report having the same issue (metadata not saved) but I can't find it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.