Seamark layer tile renderer
The tile generation process is as follows:
- A local instance of the OverPass server is searched for all objects that have a “seamark:type” tag.
- The output from the search is compared with the previous search results to detect any changes.
- For each object that has changed or has been created or deleted, all the nodes are extracted from both datasets.
- The positions of those nodes is used to determine which tiles need to be re-rendered.
- The Java program Jrender creates new tiles and deletes old tiles.
- The tile server is updated.
The renderer is a Java program to be found here: https://josm.openstreetmap.de/osmsvn/applications/editors/josm/plugins/seachart/jrender
The bash script requires that jrender.jar & jsearch.jar are in the "work" directory together with a link to a local instance of Overpass