Hello, I'm starting to work on Vector Tiles creation from OSM data stored in my PostgreSQL database. And I'm curious to know:
I know there are many ways (and tools) of creating vector tiles (mapbox/awesome-vector-tiles) but I would really like to conform to the way OSM does it for its own website. Thanks a lot for your answers. asked 25 Sep '20, 10:38 Flo Sophia |
answered 25 Sep '20, 11:10 kocio Thanks for your answer. But maybe my questions were not properly phrased. What I'm actually after is to know which tools are used by OSM to create and then render the vector tiles: t-rex? Tegola? etc. and then Mapnik? OpenLayers?
(25 Sep '20, 16:30)
Flo Sophia
3
To reiterate - it's raster tiles, not vector tiles. The software stack is similar to what you get via https://switch2osm.org/serving-tiles/manually-building-a-tile-server-20-04-lts/ (except much more complicated, as there are different servers serving different parts of the world). The final "display" bit is using Leaflet, not OpenLayers.
(25 Sep '20, 16:35)
SomeoneElse ♦
2
The base question is what do you mean by "OSM". Please be more specific. In general sense (1) it's a broad community, which uses multiple tools for different needs, including raster or vector tiles. If you mean (2) OSM.org website, than the answer is "they don't use vector tiles there". When it comes to OSM.org standard map layer, it uses OSM Carto style, which is rendered by Mapnik. But that is not the end of the road - the tiles are simply just a bunch of raster square images, nothing more. Than something like Leaflet library is used to serve the tiles in a consistent way as a map you can drag and zoom in a browser. You can read more about it here: https://wiki.openstreetmap.org/wiki/Slippy_Map#OpenStreetMap_.22Standard.22_tile_server I'm not sure what do you ask exactly, so please give more details.
(25 Sep '20, 17:16)
kocio
Thanks a lot for those details. @SomeoneElse: The link you provided will help me, thanks! @kocio: Sorry, I was indeed not clear at all. When I said "OSM" I was actually talking about the website and the technology behind, which serves the maps. And I also thought that the server used "vector" tiles and not "raster" tiles. Thanks again to both of you. The information you provided really makes things clearer for me.
(25 Sep '20, 18:06)
Flo Sophia
|