Skip to content

Commit 6a9e2f6

Browse files
committed
Merge branch 'release-0.6.8' into release-0.6-maintenance
Closes #838. Not meant to be merged to release.
2 parents c2b69ea + 6a2bfbe commit 6a9e2f6

23 files changed

+134
-37
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright 2012, 2013, 2014 Thomas Schöps
3-
# Copyright 2012-2016 Kai Pastor
3+
# Copyright 2012-2017 Kai Pastor
44
#
55
# This file is part of OpenOrienteering.
66
#
@@ -31,15 +31,15 @@ include(FeatureSummary)
3131

3232
project(Mapper)
3333

34-
set(Mapper_COPYRIGHT "(C) 2012-2016 OpenOrienteering developers")
34+
set(Mapper_COPYRIGHT "(C) 2012-2017 The OpenOrienteering developers")
3535

3636
# All version components must be integers.
3737
# We use Mapper_VERSION_PATCH >= 99 to mark development builds.
3838
set(Mapper_VERSION_MAJOR 0)
3939
set(Mapper_VERSION_MINOR 6)
4040
if(NOT Mapper_VERSION_PATCH)
4141
# This can be configured when running cmake
42-
set(Mapper_VERSION_PATCH 7)
42+
set(Mapper_VERSION_PATCH 8)
4343
endif()
4444

4545
set(MAPPER_VERSION_PRI "${PROJECT_SOURCE_DIR}/oo-mapper-version.pri")
@@ -316,7 +316,7 @@ else()
316316
add_subdirectory("test")
317317
endif()
318318

319-
foreach(qt5_module Core Gui Network PrintSupport Test Widgets Xml)
319+
foreach(qt5_module Core Gui Network PrintSupport Test Widgets)
320320
if (TARGET Qt5::${qt5_module} AND TARGET Qt5)
321321
add_dependencies(Qt5::${qt5_module} Qt5)
322322
endif()

android/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.6.7" android:versionCode="607" package="org.openorienteering.mapper" android:installLocation="auto">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.6.8" android:versionCode="608" package="org.openorienteering.mapper" android:installLocation="auto">
33
<application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/long_app_name" android:icon="@drawable/icon">
44
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation"
55
android:name="org.openorienteering.mapper.MapperActivity"

doc/manual/pages/faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ The .omap format is OpenOrienteering Mapper's native format. It is XML-based, wh
4545

4646
### What is the difference between .xmap and .omap format?
4747
The .xmap format is nearly identical but more verbose, even suitable for direct manual editing. The .omap format is tuned towards minimum size and fast processing.
48+
If you want to keep you data in a line-based version control system such as git, you must use the .xmap format.
4849

4950
### Can Mapper read and write .ocd files?
50-
Yes, Mapper reads .ocd files from different version (8 .. 11). But currently only version 8 .ocd files can be written. Beware that some details are neither loaded from nor saved to .ocd files, and some additional inaccuracies might occur.
51+
Yes, Mapper reads .ocd files from different version (8 .. 12). But currently only version 8 .ocd files can be written. Beware that some details are neither loaded from nor saved to .ocd files, and some additional inaccuracies might occur.
5152

5253

5354
## Mobile devices
9.37 KB
Loading

doc/manual/pages/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: User Manual
3-
edited: 26 November 2015
3+
edited: 4 January 2017
44
redirect_from:
55
- /
66
- /Home
@@ -40,6 +40,9 @@ Organizing objects in maps
4040
[Tag Editor](tag_editor.md){: .subpage} <br/>
4141
Attaching arbitrary key-value pairs to objects
4242

43+
[Tag Selector](tag_selector.md){: .subpage} <br/>
44+
Selecting objects based on their tags
45+
4346
[Settings](settings.md){: .subpage} <br/>
4447
Adjusting the program to your preferences.
4548

doc/manual/pages/tag_editor.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ authors:
44
- Thomas Schoeps
55
- Fraser Mills
66
keywords: Tagging
7-
edited: 12 December 2015
7+
edited: 4 January 2017
88
---
99

10+
[Tag Selector]: tag_selector.md
11+
1012
Add arbitrary key-value pairs to objects, just like in OpenStreetMap. This way, additional information can be stored, for example the height of certain features (for control descriptions).
1113

1214
Tags will be imported from OSM and DXF files.
1315

14-
An object selection method based on tags is planned for future versions.
16+
Objects can be selected based on their tags using the [Tag Selector].

doc/manual/pages/tag_selector.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Tag Selector
3+
authors:
4+
- Mitchell Krome
5+
keywords: Tagging
6+
edited: 6 January 2017
7+
---
8+
9+
The tag selector is opened from the View menu.
10+
It allows the selection of objects based on their tags.
11+
12+
![ ](images/tag_selector.png)
13+
14+
# Editor Layout
15+
16+
Each row in the editor represents a single condition in the query and its relation to the other conditions.
17+
18+
## Relation
19+
20+
The relation column specifies a logical operator describing how this row is related to the row above.
21+
Therefore the first row has no relation.
22+
23+
There are two possible relations: **and** or **or**.
24+
**and** relations take precedence over **or** relations. Within the editor the **and** relation is indented slightly to show this precedence.
25+
26+
Taking the precedence into account, the query in the screenshot above would be interpreted as:
27+
28+
```
29+
("highway" is "residential" and "source" contains "bing") or ("highway" is "primary" and "source" contains "bing")
30+
```
31+
32+
## Key
33+
34+
The key is the name of the tag which this condition applies to.
35+
This field cannot be left empty.
36+
37+
## Value
38+
39+
This field specifies a value that the actual tag's value is compared to.
40+
It can be left empty.
41+
42+
## Comparison
43+
44+
The comparison defines how the actual value of the tag is compared to the value that was specified in the editor.
45+
46+
| Comparison | Description |
47+
| ---------- | ----------- |
48+
| is | The tag specified must exist for the object, and that tag's value must exactly match the specified value. |
49+
| is not | If the tag specified exists for the object, then its value must not much the specified value. If the tag doesn't exist, the condition is true. |
50+
| contains | The tag specified must exist for the object, and its value must contain the specified value. If an empty value is specified, any value of the tag will match. This can be used to test for the existence of a particular tag. |
51+
52+
## Buttons
53+
54+
The ![ ](../mapper-images/plus.png) and ![ ](../mapper-images/minus.png) buttons are used to add or delete a row.
55+
Added rows appear below the currently selected row.
56+
57+
The ![ ](../mapper-images/arrow-up.png) and ![ ](../mapper-images/arrow-down.png) buttons move the selected row up or down.
58+
59+
The Select button evaluates the query on all objects in the current part, and selects those which match.
60+
The status information displays how many objects were selected.
61+
If any conditions contain an empty key, the query is invalid and no objects are selected.

doc/manual/pages/toolbars.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,19 @@ todo:
1313

1414
<!-- Note: Each item needs an ID. This ID is used to open the context-sensitive help. -->
1515

16+
* [Toolbar positions and visibility](#toolbar-visibility)
1617
* [General toolbar](#general-toolbar)
1718
* [View toolbar](#view-toolbar)
1819
* [Map parts toolbar](#map-parts-toolbar)
1920
* [Drawing toolbar](#drawing-toolbar)
2021
* [Editing toolbar](#editing-toolbar)
2122
* [Advanced drawing](#advanced-drawing-toolbar)
2223

23-
*Note:* Toolbars may be moved to a more convenient position. To detach and move, pick the handle (the vertical line of dots) at the left end and drag the toolbar to your preferred position. The resulting order of your tools may thus be different from this page.
24+
## Toolbar positions and visibility
25+
26+
Toolbars may be moved to a more convenient position. To detach and move, pick the handle at the left end and drag the toolbar to your preferred position. The resulting order of your toolbars may thus be different from this page.
27+
28+
You may hide toolbars you don't use. To close or open a toolbar right click on any open toolbar or docked window. This will open a small window where you can disable or enable toolbars and docked windows.
2429

2530

2631
## General toolbar {#general-toolbar}

doc/manual/pages/view_menu.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ Note that key F6 starts panning immediately.</td></tr>
4545
<tr><td></td><td><a name="fullscreen"><h4>Toggle fullscreen mode</h4></a></td><td><h4>F11</h4></td><td>
4646
<p>This toggle switches the display to full-screen mode and back.</p></td></tr>
4747

48+
<tr><td><img class="small" src="../mapper-images/tag-selector.png" width="32" height="32" border="0" alt="" /></td><td><h4>Tag selector</h4></td><td><h4>Ctrl+Shift+5</h4></td><td>
49+
<p>This toggle shows or hides the <a href="tag_selector.md">tag selector</a>.</p></td></tr>
50+
4851
<tr><td><img class="small" src="../mapper-images/window-new.png" width="32" height="32" border="0" alt="" /></td><td><h4>Tag editor</h4></td><td><h4>Ctrl+Shift+6</h4></td><td>
4952
<p>This toggle shows or hides the <a href="tag_editor.md">tag editor</a>.</p></td></tr>
5053

oo-mapper-version.pri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Generated in CMakeLists.txt, do not edit here.
22
Mapper_VERSION_MAJOR = 0
33
Mapper_VERSION_MINOR = 6
4-
Mapper_VERSION_PATCH = 7
4+
Mapper_VERSION_PATCH = 8

0 commit comments

Comments
 (0)