Modify

Opened 3 years ago

Closed 3 years ago

#5238 closed defect (fixed)

[PATCH] Add custom icon to GPX marker

Reported by: Nakor Owned by: Nakor
Priority: normal Component: Core
Version: latest Keywords:
Cc:

Description

When I survey with my GPS I use waypoints to help me. I modified the JOSM code to display the markers I use for those waypoints directly in JOSM (so that I do not have to find the type used by looking into the GPS file or my GPS). I only created the actual icon for the two kinds I mostly use but others can be added. Patch and files are attached.

Attachments (4)

patch.txt (1.6 KB) - added by Nakor 3 years ago.
Crossing.png (166 bytes) - added by Nakor 3 years ago.
Bridge.png (147 bytes) - added by Nakor 3 years ago.
patch_5238_2.txt (1.8 KB) - added by Nakor 3 years ago.
New patch

Download all attachments as: .zip

Change History (11)

Changed 3 years ago by Nakor

Changed 3 years ago by Nakor

Changed 3 years ago by Nakor

comment:1 Changed 3 years ago by stoecker

  • Owner changed from team to Nakor
  • Status changed from new to needinfo

Removing "symbol" and replacing it with "sym" will break other systems. Please fix it to correctly support both.

comment:2 Changed 3 years ago by anonymous

I was not sure about that. I'll look into it.

Changed 3 years ago by Nakor

New patch

comment:3 Changed 3 years ago by bastiK

(In [3374]) see #5238 - Add custom icon to GPX marker (patch by Nakor)

comment:4 Changed 3 years ago by bastiK

The images shouldn't be added for everyone if they are used by yourself, only.

@All: Isn't there a generic way to make images available to JOSM? I think there isn't, but it would be useful, e.g. as command line option:

java -jar josm --images /path/to/dir
java -jar josm --images /path/to/image-archive.zip

comment:5 Changed 3 years ago by anonymous

Thanks for the commit. Regarding the images they are named per standard POI names in Garmin eTrex devices. Anyways I would be interested in a way those images if they are not packaged with JOSM.

comment:6 Changed 3 years ago by bastiK

Then it is fine.

comment:7 Changed 3 years ago by bastiK

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

(In [3375]) fixed #5238 - Add custom icon to GPX marker (Patch by Nakor) - Images for default waypoint markers for Garmin eTrex devices

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.