Il giorno lun 12 nov 2018 alle ore 11:28 Guillaume Lederrey glederrey@wikimedia.org ha scritto:
It looks like this was a fail :) But I think you removed private infos. Please double check.
Yes, i've removed private infos before sending. :)
One of the problem is that we already apply some style based decisions when generating our vector tiles. For example, we already filter out features that will not be rendered at some zoom levels. So basing a style on our vector tiles will limit you in what you can render. Overall, those vector tiles are an implementation detail, coupled to our style and not meant to be reused. The format is likely to change without warning, which would break whatever integration you might have.
If you need your own style, are limited on resources and don't want to rely on our raster tiles, I'm not sure what the solution could be. There are a few maps provider that will take care of the infrastructure for you and let you provide your own style. But that's not really our mission. We provide maps with the goal of having them integrate into the various Wikipedia projects. You are very welcomed to reuse those maps if they work for you. But we're not a general purpose maps provider.
Currently, I'm able to put the whole osm dump to a postgis database, by using a desktop computer (we don't have that computing power on our cloud).
But, as we don't have the ability to use the postgis database on our frontend server (they are cloud located and tons of GB ram needed for the import are too expensive), we have to convert from postgis to mbtiles. We don't know how to do that. mbtiles are usefull, it's a single small-size file comparted to tons of pre computed png tiles.
What I would like to do is to "dump" the whole pgsql database to an mbtiles file, from a command line (this has to be scripted and automated) so that our tile server will fetch and serve tiles directly from that.
Any hint or suggestions ?