Last change
on this file since 18826 was 18287, checked in by Don-vip, 3 years ago |
fix #20913 - fix handling of GPX files in sessions (patch by Bjoeni)
- revert r17659 (except for unit tests) - see #20233
- don't save GPX track and marker colors in session file anymore, but in the GPX files as extensions (like before)
- don't ask to save unmodified GPX file
- don't override global color settings when individual track doesn't have a color
- ask user to save changes to GPX file when any drawing settings or marker colors have changed (currently only happens for track colors)
- save marker color values to session even when corresponding GPX layer has already been deleted
- save alpha values for GPX marker colors
- added explanation to the "overwrite GPX file" dialog
- inform user if not all files referenced by the session file are saved yet
- allow user to save all files that are not included in the *.jos/*.joz but are only referenced in the session file
- display * next to GPX layers that need to be saved (move isDirty() logic from OsmDataLayer to AbstractModifiableLayer)
|
File size:
955 bytes
|
Line | |
---|
1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <gpx version="1.1" creator="JOSM GPX export" xmlns="http://www.topografix.com/GPX/1/1"
|
---|
3 | xmlns:josm="http://josm.openstreetmap.de/gpx-extensions-1.1"
|
---|
4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
5 | xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://josm.openstreetmap.de/gpx-extensions-1.1 http://josm.openstreetmap.de/gpx-extensions-1.1.xsd">
|
---|
6 | <metadata>
|
---|
7 | <desc>exported JOSM marker layer</desc>
|
---|
8 | <time>2021-10-16T18:27:12.351Z</time>
|
---|
9 | <bounds minlat="42.72659" minlon="-0.00749" maxlat="42.72665" maxlon="-0.00747"/>
|
---|
10 | <extensions>
|
---|
11 | <josm:layerPreferences>
|
---|
12 | <josm:entry key="markers.color" value="#34567812"/>
|
---|
13 | </josm:layerPreferences>
|
---|
14 | </extensions>
|
---|
15 | </metadata>
|
---|
16 | <wpt lat="42.72665" lon="-0.00747">
|
---|
17 | <time>2021-01-01T10:15:30Z</time>
|
---|
18 | </wpt>
|
---|
19 | <wpt lat="42.72659" lon="-0.00749"/>
|
---|
20 | </gpx>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.