OpenSeaMap-dev:Trip Planner: Unterschied zwischen den Versionen
(→translater Problems) |
(→started translation of great circle tool) |
||
Zeile 55: | Zeile 55: | ||
<br>better: scrollbar only for segment list | <br>better: scrollbar only for segment list | ||
− | == | + | == Stage 2 == |
− | === | + | === Tool "course/distance" with list of waypoints === |
− | ; | + | ; Data entry |
− | : | + | : Draw line with several clicks (possibly interrupted by zooming/moving the map) |
− | ( | ||
− | ; | + | ; Display in chart |
− | |||
− | |||
− | |||
+ | : {{ok}} show line from start through waypoints to target or mouse pointer | ||
+ | : live display of course/distance with mousepointer | ||
+ | : {{ok}} display window with computed data | ||
− | ; | + | ; Display in window |
− | + | title block/line | |
− | : Name | + | |
− | : Name | + | : Name for start (optional) |
− | : {{ok}} | + | : Name for target (optional) |
− | : {{ok}} | + | : {{ok}} start coordinates |
− | : {{ok}} | + | : {{ok}} target coordinates |
− | : {{ok}} | + | : {{ok}} course loxodrome |
− | : | + | : {{ok}} total distance loxodrome (vergrösserte Breite) |
− | : | + | : Total distance orthodrome |
+ | : Difference orthodrome-loxodrome | ||
+ | |||
+ | Table (Line for every vector) | ||
− | + | : {{ok}} vector-Nr. | |
− | : {{ok}} | + | : {{ok}} vector-course |
− | : {{ok}} | + | : {{ok}} vector-distance loxodrome (vergrösserte Breite) |
− | : {{ok}} | + | : {{ok}} vector-target coordinate |
− | : {{ok}} | + | : Name for vector-target coordinate (optional) |
− | : Name | ||
− | + | Check special cases: equator transition, across poles, parallel to equator, parallel to meridians, parallel to lines of equal latitude | |
− | |||
− | |||
; Export | ; Export | ||
Zeile 96: | Zeile 95: | ||
; Import | ; Import | ||
TXT, XLS, CSV, GML, KML, OSM, GPX | TXT, XLS, CSV, GML, KML, OSM, GPX | ||
− | + | including the following fields: | |
− | : Name | + | : Name for start |
− | : Name | + | : Name for target |
− | : Name | + | : Name for vektor-target coordinates |
− | + | === Werkzeug "Orthodrome / great circle" === | |
− | === Werkzeug " | ||
− | ; | + | ; Data entry |
− | + | : draw line with two clicks | |
− | |||
− | |||
− | |||
− | |||
− | : | ||
+ | ; plot in chart | ||
+ | : draw line from start to target resp. mouse pointer | ||
+ | : Display window with computed data | ||
+ | : draw orthografic connection from start to target (phase 3?) | ||
; Ausgabe in Fenster: | ; Ausgabe in Fenster: | ||
Zeile 144: | Zeile 141: | ||
: TXT, XLS, CSV, GML, KLM, OSM, GPX | : TXT, XLS, CSV, GML, KLM, OSM, GPX | ||
− | |||
− | |||
== Formeln == | == Formeln == | ||
Version vom 5. Oktober 2019, 10:52 Uhr
Deutsch | English |
---|
- measuring course and distance
This tool is meant to measure distances and courses for in OpenSeaMap charts.
The tool shall:
- draw a line on the map with mouse clicks
- From the line, course and distance shall be calculated and shown in a window
- from start to finish
- for each segment
- as orthodrome and loxodrome
- and be able to export and import trip planning data for potential further editing
The tool is called up through an icon or pop up menu upon right mouse click; it is disabled the same way or through choosing another tool.
Inhaltsverzeichnis
Phase 1
Tool "Course/Distance"
- Data entry
- Click on Start
- Move cursor
- Click on Target
- Data processing
- Read start coordinate, cursor coordinate and target coordinate
- Compute course and distance (loxodrome and orthodrome)
- Plot into chart
- Show line from start to target resp. to mouse pointer
- live display of course and distance (hover with mouse pointer?)
- Display in window with data computed
Ideally, the vector displays as rubber band and course/distance beside it; second click fixes rubber band
- Display in window
- start coordinate
- target coordinate
- course loxodrome
- distance loxodrome ("vergrösserte Breite"?)
- distance orthodrome
All data shall be shown live (i.e. during editing)
When computing with the algorithm of "vergrösserte Breite" , note that courses of 90° and 270° shall not cause a division by zero.
Problems
When more segments are entered as can be displayed in the window, the buttons "download" "clear" "close" disappear.
Workaround: Use a scrollbar for everything in the window
better: scrollbar only for segment list
Stage 2
Tool "course/distance" with list of waypoints
- Data entry
- Draw line with several clicks (possibly interrupted by zooming/moving the map)
- Display in chart
- show line from start through waypoints to target or mouse pointer
- live display of course/distance with mousepointer
- display window with computed data
- Display in window
title block/line
- Name for start (optional)
- Name for target (optional)
- start coordinates
- target coordinates
- course loxodrome
- total distance loxodrome (vergrösserte Breite)
- Total distance orthodrome
- Difference orthodrome-loxodrome
Table (Line for every vector)
- vector-Nr.
- vector-course
- vector-distance loxodrome (vergrösserte Breite)
- vector-target coordinate
- Name for vector-target coordinate (optional)
Check special cases: equator transition, across poles, parallel to equator, parallel to meridians, parallel to lines of equal latitude
- Export
TXT, XLS, CSV, GML, KLM, OSM, GPX
- Import
TXT, XLS, CSV, GML, KML, OSM, GPX including the following fields:
- Name for start
- Name for target
- Name for vektor-target coordinates
Werkzeug "Orthodrome / great circle"
- Data entry
- draw line with two clicks
- plot in chart
- draw line from start to target resp. mouse pointer
- Display window with computed data
- draw orthografic connection from start to target (phase 3?)
- Ausgabe in Fenster
Titelblock/-zeile
- Name für Start (optional)
- Name für Ziel (optional)
- Startkoordinate
- Zielkoordinate
- Scheitelpunkt-Koordinate
- Kurs loxodrom
- Gesamtdistanz loxodrom (vergrösserte Breite)
- Gesamtdistanz orthodrom
- Differenz orthodrom-loxodrom
- Etmal (Eingabefeld!)
- Reisezeit
Tabelle (Zeile für jeden einzelnen Vektor)
- Vektor-Nr.
- Vektor-Kurs
- Vektor-Distanz loxodrom (vergrösserte Breite)
- Vektor-Zielkoordinate
Der Grosskreis wird in n Segmente geteilt. Für jedes Segment wird der loxodrome Vektor berechnet. n = 10, oder n in Feld eingeben (später auch aus Distanz bzw Anfangs- und Endkurs abgeleitet)
Daraus kann man vielleicht zusätzlich zur geraden Verbindungslinie zwischen Start und Ziel den Grosskreis als Bogen zeichnen? Berechnung vieler kurzer loxodromer Bogensehnen, die optisch den richtigen Bogen ergeben. Man müsste also zwischen Start- und Zielkoordinate für jede Kursänderung mit X° einen Wegpunkt bestimmen und diese zu einer WP-Liste zusammenführen, die dann als Punktereihe angezeigt wird und so die Kurve darstellt.
Reisezeit = Distanz.orth / Etmal
- Export
- TXT, XLS, CSV, GML, KLM, OSM, GPX
Formeln
vergrösserte Breite loxodrom
exakte Methode f. Kurse ohne Kursänderung (längerer Weg)
- Ziel
aus Start, Kurs und Distanz (Distanz in Seemeilen)
auch B?
auch B?
Korrekturen:
wenn Kurs = 90° Kurs = 90,001° wenn Kurs = 270° Kurs = 270,001°
- Kurs und Distanz
aus Start und Ziel
(Distanz in Seemeilen) Korrekturen:
wenn ...
orthodrom
Kurse auf dem Grosskreis (kürzester Weg)
- Distanz orthodrom
- (Distanz in Seemeilen)
- Kurs orthodrom
- (Distanz jeweils in Seemeilen)
- Scheitelpunkt
also ?
- Breite
auf dem Grosskreis an einer bestimmten Länge(Li) zwischen Start und Ziel
Ausgabefenster
Werkzeug "Kurs und Distanz"
- Start ##°##,#’ N/S ###°##.#’ E/W
- Ziel ##°##,#’ N/S ###°##.#’ E/W
- Kurs ###°
- Distanz lox #####,# sm
- Distanz orth #####,# sm Diff ####,# sm
Werkzeug "Kurs und Distanz mit Wegpunktliste"
- Start ##°##,#’ N/S ###°##.#’ E/W
- Ziel ##°##,#’ N/S ###°##.#’ E/W
- Kurs ###°
- Distanz lox #####,# sm
- Distanz orth #####,# sm Diff ####,# sm
- WP Kurs Distanz Koordinate
- 1 ###° ####,# sm ##°##,#’ N/S ###°##.#’ E/W
- 2 ###° ####,# sm ##°##,#’ N/S ###°##.#’ E/W
- ### ###° ####,# sm ##°##,#’ N/S ###°##.#’ E/W
Werkzeug "Grosskreis"
- Start ##°##,#’ N/S ###°##.# E/W
- Ziel ##°##,#’ N/S ###°##.#’ E/W
- Scheitelpunkt ##°##,#’ N/S ###°##.#’ E/W
- Kurs lox ###°
- Distanz lox #####,# sm
- Distanz orth #####,# sm Diff ####,# sm
- Reisezeit ## T ## H Etmal ### sm
- WP Kurs Distanz Koordinate
- ### ###° ####,# sm ##°##,#’ N/S ###°##.#’ E/W
- ### ###° ####,# sm ##°##,#’ N/S ###°##.#’ E/W
- ### ###° ####,# sm ##°##,#’ N/S ###°##.#’ E/W
Etmal ist ein Eingabefeld
Doku
Gibt's bei Markus (Kurs und Distanz messen: Formeln, Skizzen, Tabellen).