Modify

Opened 4 years ago

Closed 4 years ago

#2214 closed enhancement (fixed)

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

Reported by: avar Owned by: team
Priority: trivial Component: Core
Version: latest Keywords:
Cc: henrik.niehaus@…

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 Henrik Niehaus <henrik.niehaus@…> 4 years ago.
ticket_2214_v2.diff.gz (3.3 KB) - added by Henrik Niehaus <henrik.niehaus@…> 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by Henrik Niehaus <henrik.niehaus@…>

comment:1 Changed 4 years ago by Henrik Niehaus <henrik.niehaus@…>

  • Cc henrik.niehaus@… added
  • Summary changed from "Export to GPX" -> "Export options" presumes that osm-server.username is an E-Mail address to [PATCH] "Export to GPX" -> "Export options" presumes that osm-server.username is an E-Mail address
  • Type changed from defect to enhancement

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 4 years ago by Henrik Niehaus <henrik.niehaus@…>

comment:2 Changed 4 years ago by Henrik Niehaus <henrik.niehaus@…>

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

comment:3 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.