Opened 18 years ago
Closed 18 years ago
#507 closed defect (fixed)
The path for waypoint links is composed erronously
| Reported by: | RaSchu | Owned by: | framm |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
If a gpx-file "abc.gpx" contains the following lines
<wpt lat="54.47613000" lon="9.78714500">
<ele>47.50000000</ele>
<name>Beginn des Trampelpfads</name>
<time>2007-11-11T11:25.06Z</time>
<link href="voice.wav"/>
</wpt>
JOSM composes a path like ".../abc.gpx/voice.wav" - which isn't (usually) a valid path.
Attachments (1)
Change History (6)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
| Version: | → latest |
|---|
I've just tried to use audio waypoints today, and hit the same problem.
It would be very nice to have a fix for this commited.
If you prefer patches, I just attach the above mentionned change as a
unified diff file.
comment:3 by , 18 years ago
this one is related to http://josm.openstreetmap.de/ticket/570, could it be fixed too
Thanx. Dodi
comment:4 by , 18 years ago
No it's not.
This bug is trivial to reproduce and trivial to fix.
It's sad that no one had a look at it in a month and a half.
comment:5 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Applied in r576.
I can't see how the code ever did work, which makes me slightly nervous, but it does appear to need fixing.



I edited my local copy of the josm sources to get a workaround for this situation.
I changed line 91 of .../gui.layer.markerlayer/Marker.java
from
to