OpenSeaMap-dev:Trip Planner

Aus OpenSeaMap-dev
Version vom 5. Oktober 2019, 11:00 Uhr von Wschildbach (Diskussion | Beiträge) (Werkzeug "Orthodrome / great circle")
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
Deutsch English
measuring course and distance

This tool is meant to measure distances and courses for in OpenSeaMap charts.

The tool shall:

  1. draw a line on the map with mouse clicks
  2. From the line, course and distance shall be calculated and shown in a window
    1. from start to finish
    2. for each segment
    3. as orthodrome and loxodrome
  3. 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.


Phase 1

Tool "Course/Distance" Ok.png

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
Ok.png Show line from start to target resp. to mouse pointer
Ok.png live display of course and distance (hover with mouse pointer?)
Ok.png 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
Ok.png start coordinate
Ok.png target coordinate
Ok.png course loxodrome
Ok.png distance loxodrome ("vergrösserte Breite"?)
Nok.png 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.
Ok.png 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
Ok.png show line from start through waypoints to target or mouse pointer
live display of course/distance with mousepointer
Ok.png display window with computed data
Display in window

title block/line

Name for start (optional)
Name for target (optional)
Ok.png start coordinates
Ok.png target coordinates
Ok.png course loxodrome
Ok.png total distance loxodrome (vergrösserte Breite)
Total distance orthodrome
Difference orthodrome-loxodrome

Table (Line for every vector)

Ok.png vector-Nr.
Ok.png vector-course
Ok.png vector-distance loxodrome (vergrösserte Breite)
Ok.png 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, CSVOk.png, GMLOk.png, KLMOk.png, 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?)
data window

Title block / -line

Name for Start (optional)
Name for target (optional)
Start coordinates
target coordinates
coordinates of point of highest latitude
course loxodrome
total distance loxodrome ("vergrösserte Breite")
total distance orthodrome
difference orthodrom-loxodrom
"Etmal" (data entry!)
trip duration

Table (every vector is one line)

Name for start (optional)
Name for target (optional)
start coordinates
targt coordinates
coordinates of point of highest latitude
course loxodrome
total distance loxodrome ("vergrösserte Breite")
total distance orthodrome
difference orthodrom-loxodrom
"Etmal" (data entry!)
trip duration

Tabelle (Zeile für jeden einzelnen Vektor)

Vektor-Nr.
Vektor-Kurs
Vektor-Distanz loxodrom (vergrösserte Breite)
Vektor-Zielkoordinate

The great circle is divided into n segments. For every segment, the loxodrome vector is calculated. n = 10, or enter n manually (optionally, can later be automatically computed)

Possibly later, we can draw the great circle additionally to the loxodrome? This could be approximated as a list of short segments.

trip duration = distance.orthodrome / "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).