Reputation: 2361
As stated in the title, is it possible for Mapnik to output png tiles from osm data let's say from http://download.geofabrik.de/ without the need of creating a stylesheet.xml?
Edit: Not just one png file but a while bunch of png files per tile and per zoom for each tile that make up the whole tile itself.
Upvotes: 3
Views: 6141
Reputation: 21509
(Regarding your comment) That's not how it works. OpenLayers, Leaflet and similar libraries need a tile server for fetching these tiles. They can't read directly from a database. The tile server instead needs a local database for creating (rendering) these tiles.
Thus your client will either have to run a tile server itself, or you will have to run a tile server for your client (see serving tiles on switch2osm), or your client will have to access a public tile server (see using tiles on switch2osm). The third solution requires to conform to the usage policy / terms of services of the tile server you have chosen. Note that there are also paid-for tile servers available.
Also note that there are alternative approaches for rendering smaller areas without the need of a full tile server installation, for example by using Maperitive or TileMill.
Upvotes: 2