Get the latest tech news
Writing a tile server in Python
Another dictated post111, but heavily edited. Buyer beware. I developed a tileset based on OpenStreetMap data and style and elevation information, but I don't have a render server. What I have been do
75% of the planet's surface is water, and with Mercator projection and the Antartic Ocean, the percent of tiles could be bigger, so this optimization cuts a lot of useless rendering time. The current style file is 6MiB+ and takes mapnik 4s+ to load it and generate all its structures, which means these threads have to be created once per service lifetime. A current batch implementation uses 2 queues to send and retrieve computations to a pool of subprocesses; my idea is to "just" add a web frontend to this.
Or read this on Hacker News