Modify

Opened 14 years ago

Closed 14 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 14 years ago.
Crossing.png (166 bytes ) - added by Nakor 14 years ago.
Bridge.png (147 bytes ) - added by Nakor 14 years ago.
patch_5238_2.txt (1.8 KB ) - added by Nakor 14 years ago.
New patch

Download all attachments as: .zip

Change History (11)

by Nakor, 14 years ago

Attachment: patch.txt added

by Nakor, 14 years ago

Attachment: Crossing.png added

by Nakor, 14 years ago

Attachment: Bridge.png added

comment:1 by stoecker, 14 years ago

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 by anonymous, 14 years ago

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

by Nakor, 14 years ago

Attachment: patch_5238_2.txt added

New patch

comment:3 by bastiK, 14 years ago

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

comment:4 by bastiK, 14 years ago

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 by anonymous, 14 years ago

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 by bastiK, 14 years ago

Then it is fine.

comment:7 by bastiK, 14 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.