OpenSeaMap-dev Diskussion:Downloadable Raster Charts: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Kannix (Diskussion | Beiträge) K →Reason |
Kannix (Diskussion | Beiträge) web-frontend added |
||
| Zeile 1: | Zeile 1: | ||
== ideas == | |||
=== web frontend === | |||
* die INT-chart Grenzen (als Basis fuer ein download-tool) bekomme ich inzwischen auf den Schirm: http://kap.grade.de/int-chart-ol2.html , sicherlich verbesserungsbeduerftig | |||
* workflow | |||
** INT-Chart durch klick auf die Karte waehlen | |||
** download iniziieren | |||
*** Weiterleitung auf neue Seite | |||
*** pruefen, ob und in welchem Format vorhanden | |||
*** wenn ja und nicht zu alt, downloadlinks anbieten | |||
*** wenn nein Job in queue-db schreiben | |||
**** number, name, bbox, scale, sessionid, ip-address, email, microtime, status=open, ... | |||
* das ganze garnieren mit | |||
** Pruefung, ob das script fuer diese karte schon in der Warteschlange ist | |||
** Limitierung auf x downloads/jobs pro session ... | |||
** email notifier | |||
** captcha | |||
=== tile server === | |||
* cronjob checkt queue-db alle x Minuten | |||
* waehlt aeltesten job aus queue-db mit status=open | |||
* sinnvolles zoom-level anhand bbox errechnen (max. 10MB/chart) | |||
* tiledownload ueber proxy | |||
* tiles mit imagemagick stitchen | |||
* tiles in mbtiles file packen | |||
* ... | |||
* status=done, zoom-level, date, ... in queue-db setzen | |||
* temp-dir bereinigen und results in charts-dir kopieren | |||
== Reason for ChartBundler == | == Reason for ChartBundler == | ||
* Lets talk a bit about amounts here and not low stress or high stress. Using the charts offline on a mobile device. Lets say the display is about 1024x1024 Pixel, then we will need at least 16 tiles per map. If we start on zoom level 8 with the bounding box and continue to zoom level 16 for the harbours, we need around 2 Mio tiles. This 16 tiles on zoom level 8 is about the northern Adria. If we want the Channel just skipping Lands End up to the belgian coast, this would be 6 by 5 on zoom level 8. | * Lets talk a bit about amounts here and not low stress or high stress. Using the charts offline on a mobile device. Lets say the display is about 1024x1024 Pixel, then we will need at least 16 tiles per map. If we start on zoom level 8 with the bounding box and continue to zoom level 16 for the harbours, we need around 2 Mio tiles. This 16 tiles on zoom level 8 is about the northern Adria. If we want the Channel just skipping Lands End up to the belgian coast, this would be 6 by 5 on zoom level 8. | ||
Version vom 6. Februar 2015, 10:13 Uhr
ideas
web frontend
- die INT-chart Grenzen (als Basis fuer ein download-tool) bekomme ich inzwischen auf den Schirm: http://kap.grade.de/int-chart-ol2.html , sicherlich verbesserungsbeduerftig
- workflow
- INT-Chart durch klick auf die Karte waehlen
- download iniziieren
- Weiterleitung auf neue Seite
- pruefen, ob und in welchem Format vorhanden
- wenn ja und nicht zu alt, downloadlinks anbieten
- wenn nein Job in queue-db schreiben
- number, name, bbox, scale, sessionid, ip-address, email, microtime, status=open, ...
- das ganze garnieren mit
- Pruefung, ob das script fuer diese karte schon in der Warteschlange ist
- Limitierung auf x downloads/jobs pro session ...
- email notifier
- captcha
tile server
- cronjob checkt queue-db alle x Minuten
- waehlt aeltesten job aus queue-db mit status=open
- sinnvolles zoom-level anhand bbox errechnen (max. 10MB/chart)
- tiledownload ueber proxy
- tiles mit imagemagick stitchen
- tiles in mbtiles file packen
- ...
- status=done, zoom-level, date, ... in queue-db setzen
- temp-dir bereinigen und results in charts-dir kopieren
Reason for ChartBundler
- Lets talk a bit about amounts here and not low stress or high stress. Using the charts offline on a mobile device. Lets say the display is about 1024x1024 Pixel, then we will need at least 16 tiles per map. If we start on zoom level 8 with the bounding box and continue to zoom level 16 for the harbours, we need around 2 Mio tiles. This 16 tiles on zoom level 8 is about the northern Adria. If we want the Channel just skipping Lands End up to the belgian coast, this would be 6 by 5 on zoom level 8.
- Hi Alexej, do not understand this paragraph!? 2 test datasets of mine:
- --Kannix (Diskussion) 16:22, 29. Jan. 2015 (UTC)