Modify

Opened 13 years ago

Closed 13 years ago

#5238 closed defect (fixed)

[PATCH] Add custom icon to GPX marker

Reported by: Nakor Owned by: Nakor
Priority: normal Milestone:
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 13 years ago.
Crossing.png (166 bytes) - added by Nakor 13 years ago.
Bridge.png (147 bytes) - added by Nakor 13 years ago.
patch_5238_2.txt (1.8 KB) - added by Nakor 13 years ago.
New patch

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by Nakor

Attachment: patch.txt added

Changed 13 years ago by Nakor

Attachment: Crossing.png added

Changed 13 years ago by Nakor

Attachment: Bridge.png added

comment:1 Changed 13 years ago by stoecker

Owner: changed from team to Nakor
Status: newneedinfo

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

comment:2 Changed 13 years ago by anonymous

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

Changed 13 years ago by Nakor

Attachment: patch_5238_2.txt added

New patch

comment:3 Changed 13 years ago by bastiK

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

comment:4 Changed 13 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 13 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 13 years ago by bastiK

Then it is fine.

comment:7 Changed 13 years ago by bastiK

Resolution: fixed
Status: needinfoclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Nakor.
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.