Custom renderer?
Custom renderer?
Posted Jul 2, 2025 19:03 UTC (Wed) by malmedal (subscriber, #56172)In reply to: Custom renderer? by Cyberax
Parent article: 15 Years of OsmAnd
Are you sure you are talking about tilemaker and not one of the others like e.g. tippecanoe?
I prefer tilemaker because you just give it the planet-latest.osm.pbf and out comes either a .mbtiles or .pmtiles file. This is what you serve, for serving .mbtiles, you need to know it is just a sqlite3 file so I just coded up a simple endpoint in jetty(Java webserver) that did select tile where zoom = ? and row = ? and column = ?; and returned that.
For .pmtiles it is even easier, you just put the file in just about any webserver and point the client to that. The client will use byte-range http requests to get the metadata and the data it needs.(As long as you're not using a pre http/1.1 server :) )
Was that clear enough? Happy to answer more of needed.