stevo01 / SeaMarkRenderer

dockerfile for sea mark render application from malcolmh
0 stars 0 forks source link

user guide renderer

status: this project is under development and not usable at the moment (just for test purposes)

build docker container

./docker-service.sh build

get seamarks extract from overpass api

You can use local installation of overpass-api or online service of overpass api to get an extract of the seamarks.

overpass-api query

the query for overpass api

[timeout:3600];(rel['seamark:type'];>;way['seamark:type'];>;node['seamark:type'];);out meta;

get osm extract from local overpass-api instance

echo "[timeout:3600];(rel['seamark:type'];>;way['seamark:type'];>;node['seamark:type'];);out meta;" | ./Overpass/osm3s_query > /volumes/osm/xapi.osm

get osm extract from overpass-api server

the following sample shows how to send query to online service:

wget -O osm/xapi-planet.osm --timeout=600 --post-file=./query/overpass-api-planet.ql   "http://overpass-api.de/api/interpreter"

start jsearch application

you need to

and start the renderer with following command:

docker-service update

after that you can find the generated tiles in directory volumes/tiles/z/x/y.png

Files and folders

img

bookmarks