Skip to content

Commit

Permalink
Merge branch 'main' into feature/141-format-and-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
koebi committed Dec 6, 2023
2 parents 3a40120 + 1718570 commit 9824eca
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ RELEASING:
12. Upload the package to https://plugins.qgis.org/plugins/ORStools/ (Manage > Add Version)
13. Create new release in GitHub with tag version and release title of `vX.X.X`
-->

## Unreleased

### Added
- Mention omission of configuration options when using traveling salesman

## [1.6.0] - 2023-07-25

### Added
Expand Down
2 changes: 1 addition & 1 deletion ORStools/gui/ORStoolsDialogUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def retranslateUi(self, ORStoolsDialogBase):
self.routing_fromline_clear.setToolTip(_translate("ORStoolsDialogBase", "<html><head/><body><p>If waypoints are selected in the list, only these will be deleted. Else all waypoints will be deleted.</p></body></html>"))
self.routing_fromline_list.setToolTip(_translate("ORStoolsDialogBase", "Select waypoints from the map!"))
self.advances_group.setTitle(_translate("ORStoolsDialogBase", "Advanced Configuration"))
self.optimization_group.setToolTip(_translate("ORStoolsDialogBase", "<html><head/><body><p>Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be <span style=\" font-weight:600;\">fastest</span>.</p></body></html>"))
self.optimization_group.setToolTip(_translate("ORStoolsDialogBase", "<html><head/><body><p>Enabling Traveling Salesman will omit all other advanced configuration and assume the preference to be <span style=\" font-weight:600;\">fastest</span>.</p></body></html>"))
self.optimization_group.setTitle(_translate("ORStoolsDialogBase", "Traveling Salesman"))
self.label_4.setText(_translate("ORStoolsDialogBase", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
Expand Down
2 changes: 1 addition & 1 deletion ORStools/gui/ORStoolsDialogUI.ui
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be &lt;span style=&quot; font-weight:600;&quot;&gt;fastest&lt;/span&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enabling Traveling Salesman will omit all other advanced configuration and assume the preference to be &lt;span style=&quot; font-weight:600;&quot;&gt;fastest&lt;/span&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="title">
<string>Traveling Salesman</string>
Expand Down
2 changes: 2 additions & 0 deletions ORStools/help/directions_from_points_1_layer.help
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ group features afterwards.

You can optionally perform a <a href="https://en.wikipedia.org/wiki/Travelling_salesman_problem">Traveling Salesman Optimization</a> on the waypoints of each (Multi)Point feature.

Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be <b>fastest</b>

<i>Advanced Parameters</i>: see <a href="https://giscience.github.io/openrouteservice/documentation/routing-options/Routing-Options.html">the documentation</a> for descriptions.

<i>Output layer</i>: a LineString layer with multiple route attributes.
4 changes: 3 additions & 1 deletion ORStools/help/directions_from_points_1_layer_de.help
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Ein gültiger API-Key ('Web'-Menü > 'Dienst-Einstellungen') oder Registrierung

<i>Routenpräferenz</i>: Setzt das Optimierungskriterium (schnellste/kürzeste Route). Bei langen Routen kann "kürzeste" zu Leistungseinbrüchen führen.

Optional kann eine <a href="https://de.wikipedia.org/wiki/Problem_des_Handlungsreisenden">Rundreise-Optimierung</a> mit den Wegpunkten der (Multi)Punkt-Layer durchgeführt werden.
Optional kann eine <a href="https://de.wikipedia.org/wiki/Problem_des_Handlungsreisenden">Wegpunktoptimierung</a> mit den Wegpunkten der (Multi)Punkt-Layer durchgeführt werden.

Die Aktivierung der Wegpunktoptimierung löscht alle anderen erweiterten Konfigurationen und setzt die Routenpräferenz auf <b>fastest</b>

<i>Zusätzliche Parameter</i>: Beschreibung in der <a href="https://giscience.github.io/openrouteservice/documentation/routing-options/Routing-Options.html">Dokumentation</a>.

Expand Down
2 changes: 2 additions & 0 deletions ORStools/help/directions_from_polylines_layer.help
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Current <a href="https://openrouteservice.org/restrictions/">restriction limits<

You can optionally perform a <a href="https://en.wikipedia.org/wiki/Travelling_salesman_problem">Traveling Salesman</a> on the waypoints of each MultiPoint feature.

Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be <b>fastest</b>

<i>Advanced Parameters</i>: see <a href="https://giscience.github.io/openrouteservice/documentation/routing-options/Routing-Options.html">the documentation</a> for descriptions.

<i>Output layer</i>: a LineStringZ layer with multiple route attributes and <b>z dimension</b> set.
4 changes: 3 additions & 1 deletion ORStools/help/directions_from_polylines_layer_de.help
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Ein gültiger API-Key ('Web'-Menü > 'Dienst-Einstellungen') oder Registrierung

<i>Routenpräferenz</i>: Setzt das Optimierungskriterium (schnellste/kürzeste Route). Bei langen Routen kann "kürzeste" zu Leistungseinbrüchen führen.

Optional kann eine <a href="https://de.wikipedia.org/wiki/Problem_des_Handlungsreisenden">Rundreise-Optimierung</a> mit den Wegpunkten der (Multi)Punkt-Layer durchgeführt werden.
Optional kann eine <a href="https://de.wikipedia.org/wiki/Problem_des_Handlungsreisenden">Wegpunktoptimierung</a> mit den Wegpunkten der (Multi)Punkt-Layer durchgeführt werden.

Die Aktivierung der Wegpunktoptimierung löscht alle anderen erweiterten Konfigurationen und setzt die Routenpräferenz auf <b>fastest</b>

<i>Zusätzliche Parameter</i>: Beschreibung in der <a href="https://giscience.github.io/openrouteservice/documentation/routing-options/Routing-Options.html">Dokumentation</a>.

Expand Down
Binary file modified ORStools/i18n/orstools_de.qm
Binary file not shown.
16 changes: 8 additions & 8 deletions ORStools/i18n/orstools_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
</message>
<message>
<location filename="../proc/directions_lines_proc.py" line="76"/>
<source>Traveling Salesman</source>
<translation>Wegpunktoptimierung</translation>
<source>Traveling Salesman (omits other configurations)</source>
<translation>Wegpunktoptimierung (sonstige Konfiguration wird nicht berücksichtigt)</translation>
</message>
<message>
<location filename="../proc/directions_lines_proc.py" line="196"/>
Expand Down Expand Up @@ -105,8 +105,8 @@
</message>
<message>
<location filename="../proc/directions_points_layer_proc.py" line="85"/>
<source>Traveling Salesman</source>
<translation>Wegpunktoptimierung</translation>
<source>Traveling Salesman (omits other configurations)</source>
<translation>Wegpunktoptimierung (sonstige Konfiguration wird nicht berücksichtigt)</translation>
</message>
<message>
<location filename="../proc/directions_points_layer_proc.py" line="197"/>
Expand Down Expand Up @@ -244,12 +244,12 @@
<context>
<name>ORStoolsDialog</name>
<message>
<location filename="../gui/ORStoolsDialog.py" line="386"/>
<location filename="../gui/ORStoolsDialog.py" line="385"/>
<source>Apply</source>
<translation>Anwenden</translation>
</message>
<message>
<location filename="../gui/ORStoolsDialog.py" line="387"/>
<location filename="../gui/ORStoolsDialog.py" line="386"/>
<source>Close</source>
<translation>Schließen</translation>
</message>
Expand Down Expand Up @@ -338,8 +338,8 @@
</message>
<message>
<location filename="../gui/ORStoolsDialogUI.ui" line="398"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be &lt;span style=&quot; font-weight:600;&quot;&gt;fastest&lt;/span&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Wegpunktoptimierung entfernt alle anderen weitrgehenden Einstellungen und nimmt als Präferenz &lt;span style=&quot; font-weight:600;&quot;&gt;schnellste&lt;/span&gt; an.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enabling Traveling Salesman will omit all other advanced configuration and assume the preference to be &lt;span style=&quot; font-weight:600;&quot;&gt;fastest&lt;/span&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Wegpunktoptimierung entfernt alle anderen weitergehenden Einstellungen und nutzt als Präferenz &lt;span style=&quot; font-weight:600;&quot;&gt;schnellste&lt;/span&gt; an.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../gui/ORStoolsDialogUI.ui" line="401"/>
Expand Down
2 changes: 1 addition & 1 deletion ORStools/proc/directions_lines_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self):
),
QgsProcessingParameterEnum(
self.IN_OPTIMIZE,
self.tr("Traveling Salesman"),
self.tr("Traveling Salesman (omits other configurations)"),
OPTIMIZATION_MODES,
defaultValue=None,
optional=True,
Expand Down
2 changes: 1 addition & 1 deletion ORStools/proc/directions_points_layer_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(self):
),
QgsProcessingParameterEnum(
self.IN_OPTIMIZE,
self.tr("Traveling Salesman"),
self.tr("Traveling Salesman (omits other configurations)"),
OPTIMIZATION_MODES,
defaultValue=None,
optional=True,
Expand Down

0 comments on commit 9824eca

Please sign in to comment.