Last change
on this file since 19066 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:
731 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <josm-session version="0.1">
|
---|
3 | <viewport>
|
---|
4 | <center lat="0.0" lon="0.0"/>
|
---|
5 | <scale meter-per-pixel="10.000000"/>
|
---|
6 | </viewport>
|
---|
7 | <projection>
|
---|
8 | <projection-choice>
|
---|
9 | <id>core:mercator</id>
|
---|
10 | <parameters/>
|
---|
11 | </projection-choice>
|
---|
12 | <code>EPSG:3857</code>
|
---|
13 | </projection>
|
---|
14 | <layers>
|
---|
15 | <layer index="1" name="GPX layer name" type="tracks" version="0.1" visible="true">
|
---|
16 | <file>layers/01/data.gpx</file>
|
---|
17 | </layer>
|
---|
18 | <layer index="2" name="Marker layer name" opacity="0.5" type="markers" version="0.1" visible="true">
|
---|
19 | <file>layers/02/data.gpx</file>
|
---|
20 | </layer>
|
---|
21 | </layers>
|
---|
22 | </josm-session>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.