OpenSeaMap-dev:Renderer: Unterschied zwischen den Versionen

Aus OpenSeaMap-dev
Wechseln zu: Navigation, Suche
(Datamodel: added inland waterways)
(Base-Renderer)
 
(11 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{|border="0" cellpadding="6" cellspacing="0" width="100%"
 
{|border="0" cellpadding="6" cellspacing="0" width="100%"
 
!style="background:#E3E3E3;" | Languages:
 
!style="background:#E3E3E3;" | Languages:
!style="background:#E3E3E3;" | [[De:Renderer-dev|Deutsch]]
+
!style="background:#E3E3E3;" | [[OpenSeaMap-dev:De:Renderer|Deutsch]]
 
!style="background:#E3E3E3;" | English
 
!style="background:#E3E3E3;" | English
 
!style="background:#E3E3E3; width:100%;" |  
 
!style="background:#E3E3E3; width:100%;" |  
 
|}
 
|}
  
At the moment we are using a modified or/p rendering engine.
+
== Base-Renderer ==
 +
Base map renderer is [https://wiki.openstreetmap.org/wiki/Mapnik Mapnik].
  
==Datamodel==
+
ToDo
* [http://wiki.openstreetmap.org/wiki/Buoy_Data_Model Buoys]
+
: [[OpenSeaMap-dev:Names]]
* [http://wiki.openstreetmap.org/wiki/Beacon_Data_Model Beacons]
 
* [http://wiki.openstreetmap.org/wiki/Lighthouse_Datamodel Lights]
 
* [[Waterway-tags| Inland waterways]]
 
  
==Source-code==
+
== Seamark- and Sport Renderer ==
* [http://openseamap.svn.sourceforge.net/viewvc/openseamap/renderer/osmarender/styleshheets/SeaMapStyles/ Osmarender Stylesheets]
+
* [https://github.com/OpenSeaMap/renderer current Seamark layer renderer] is purpose-written C program
* [http://openseamap.svn.sourceforge.net/viewvc/openseamap/renderer/osmarender/styleshheets/SeaMapSymbols/ SVG Symbols]
 
  
==Links==
+
The Seamark layer renderer work flow is as follows:<br>
 +
<br>
 +
1. A local instance of Overpass maintains a minutely updated version of the Planet DB.<br>
 +
2. A shell script makes repeated queries to Overpass to extract all nodes, ways and relations that have a "seamark:type" tag.<br>
 +
3. Another shell script compares the new extract with the previous extract to determine the changes made since the last pass.<br>
 +
4. The script extracts 3x3 zoom12 tile areas from the new OSM file where changes have been made.<br>
 +
5. These 3x3 OSM files are processed by the Searender program to generate SVG image files for each zoom level.<br>
 +
6. The SVG image files are processed by the Apache Batik software to generate the PNG tiles.<br>
 +
7. The PNG tiles are uploaded to the tile server.<br>
 +
 
 +
=== Tagging Scheme ===
 +
* [http://http://wiki.openstreetmap.org/wiki/OpenSeaMap/Seamark_Tag_Values OpenSeaMap Tag Values]
 +
 
 +
=== Source-code ===
 +
* [http://openseamap.svn.sourceforge.net/viewvc/openseamap/renderer/searender/ Code & Symbols]
 +
 
 +
=== Links ===
 
* [http://www.caris.com/S-57/frames/S57catalog.htm IHO-S-57-Object-Catalogue]
 
* [http://www.caris.com/S-57/frames/S57catalog.htm IHO-S-57-Object-Catalogue]
* [http://commons.wikimedia.org/wiki/Category:Nautical_Chart_Icons Free SVG-Icons]
+
* [http://http://registry.iho.int/s100_gi_registry/home.php IHO S-100 Registry]
 
+
* [[OpenSeaMap-dev:Vector_chart|Vector chart]]
 
[[Kategorie:Develop]]
 
[[Kategorie:Develop]]
 
[[Kategorie:Renderer]]
 
[[Kategorie:Renderer]]

Aktuelle Version vom 23. April 2016, 12:13 Uhr

Languages: Deutsch English

Base-Renderer

Base map renderer is Mapnik.

ToDo

OpenSeaMap-dev:Names

Seamark- and Sport Renderer

The Seamark layer renderer work flow is as follows:

1. A local instance of Overpass maintains a minutely updated version of the Planet DB.
2. A shell script makes repeated queries to Overpass to extract all nodes, ways and relations that have a "seamark:type" tag.
3. Another shell script compares the new extract with the previous extract to determine the changes made since the last pass.
4. The script extracts 3x3 zoom12 tile areas from the new OSM file where changes have been made.
5. These 3x3 OSM files are processed by the Searender program to generate SVG image files for each zoom level.
6. The SVG image files are processed by the Apache Batik software to generate the PNG tiles.
7. The PNG tiles are uploaded to the tile server.

Tagging Scheme

Source-code

Links