NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Does anyone know of a free tile server that returns a png tile combining two (or more) layer tiles from different base and layer tile servers in one layer? For instance, I want to combine (without any coding by me please) the following base and layer tiles: https://a.tile.openstreetmap.org/${z}/${x}/${y}.png http://tiles.openseamap.org/seamark/${z}/${x}/${y}.png

It would be great if I could query a server like this: I specify on this ‘flattening meta tile server’ the two or Maybe more tile servers (in the right order of the layers), in return the server issues some unique identifier, for instance ‘12345’, and after that I can get my tiles using: https://flattened.tiles.openstreetmap.org/12345/${z}/${x}/${y}.png

Kind regards, Jasper

This question is marked "community wiki".

asked 03 May '20, 14:27

jjddgg's gravatar image

jjddgg
11112
accept rate: 0%

2

There ain't no such things as a free lunch - someone, somewhere, is going to have to may hosting and bandwidth costs, and these are going to be significant since every time you make a tile request it's going to have to hit this third-party server, which is then going to have to query two other tile servers.

Why not just overlay seamarks over other tiles using leaflet?

There are lots of examples on the leaflet site. If you want to see an example, have a look at the overlays here. The code for that is simple - not 0 lines of code, but only about 6 - 3 to define a map layer used as an overlay and 3 to use it.

(03 May '20, 17:27) SomeoneElse ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×42
×6
×4
×1
×1

question asked: 03 May '20, 14:27

question was seen: 1,834 times

last updated: 03 May '20, 17:27

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum