Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mod-tile]

mod_tile is a system to serve raster tiles. For example, to use within a slippy map.

0
votes
1answer
41 views

Build tile server manually with PostgreSQL db on a different server

I have set up my map tile server and have used the following components: Mod_tile osm2pgsql postgres Mapnik open street map carto In my configuration, postgres is on a different server. when I ...
0
votes
0answers
23 views

Building map tile sever on EC2 and Amazon RDS

I'm building my own tile server with database on Amazon RDS and rendering it on AWS EC2. I followed this https://github.com/s6o/aws-osm-rds to do so. When I access the link http://your-ec2-dashed-ip-...
1
vote
0answers
25 views

Why does mod_tile have a limit of 10 XML files?

I recently discovered that mod_tile does not, by default, allow more than 10 XML configs to be specified in renderd.conf. Upon closer inspection, I found that I could change that limit in here by ...
0
votes
1answer
398 views

Configuring mod_tile and renderd for memcache

I have my mod_tile.config set up like this # This is the Apache server configuration file for providing OSM tile support # through mod_tile LoadModule tile_module modules/mod_tile.so <...
1
vote
1answer
222 views

Serving OSM tiles - mod_tile/renderd/postgresql problem: I sometimes get 404 Not Found

When I request tiles I get sometimes 404 Not Found. Usually, if I request the same tile again it appears alright (with 200 OK). This is what I found in renderd logs: renderd[734]: An error occurred ...
3
votes
1answer
347 views

Adding a security layer to my tile server [closed]

I have a tile server (apache2 + mod_tile serving OpenStreetMap data) that I'm going to use via Leaflet. Everything's working fine but before putting this public, I have a big concern about the ...
1
vote
1answer
121 views

Dynamically change Mapnik XML without restarting renderd

I have multiple tables of data in my PostgreSQL database that have wkb_geometry columns used to generate layers. I would like to allow users to select which layers on a map they will see by accessing ...
0
votes
1answer
848 views

apache httpd mod_tile error: “Failed to create shared memory segment on file”

This question may seem out of place, but it appears it's coming from mod_tile, so thought I'd give it a shot here.. (I also haven't managed to get answers elsewhere..) Started getting this error once ...
3
votes
1answer
46 views

Disappearing borders after tile update

I have a problem with OSM rendering stack (mapnik, renderd, mod_tile) + osm_carto style and planet.osm loaded in Postgres. After the expiration period, tiles were updated and now, some of the ...
1
vote
2answers
451 views

What do the error messages from renderd mean?

I'm pre-rendering a small section of a map for offline use, and I'm getting errors from the output of render_list. I've set up a postgreSQL database with postGIS, and I'm using Mod Tile/Renderd to ...
4
votes
2answers
1k views

What is an appropriate tileLayer source for tiles served on an apache localhost through leaflet?

--I found a solution. Please, see answers below.-- I've been trying for about about 25 hours to get a working, locally hosted, tile server running, using this guide from switch2osm. I have a ...
1
vote
1answer
1k views

mod_tile not using all available threads

I'm setting up an OpenStreetMap server with mod_tile, renderd and mapnik. My problem its low performance. The machine is set up with 8 cores and 16GB RAM. I have 2 use cases: render_list -af -n 8 &...
1
vote
0answers
58 views

mod-tile: How to set up two independent tileservers?

Reading mod-tile and rendered documentation, especially the commented lines in the renderd.conf file, it seems to be possible, with the same renderd and mod-tile, to define two different style sheets ...
4
votes
2answers
2k views

How to convert non Web-Mercator coordinates to the tile Y, X, Z coordinates?

I just found that leafletjs and openlayers have two different conventions to convert coordinates from EPSG:4326 (WGS 84) to tile names ({Z}/{X}/{Y}). Thus I would like to have more information about ...
2
votes
1answer
199 views

Duplicated place names when rendering tiles with mapnik and mod_tile

So I am trying to render all the tiles for the state of Florida with the file generate_tiles.py that came with mapnik. The tiles are rendering, but erroneously including multiple city names (see below)...
5
votes
1answer
3k views

Custom tile server - how to create a layer using Mapnik and mod_tile using POSTGIS db

I have created a Ubuntu 14.04 tile server. I loaded an OSM base map into the POSTGIS database and created a slippy-map using OpenLayers 3.9. Then I loaded data of an overlay into the POSTGIS database ...
2
votes
2answers
3k views

pre-rendering for whole planet using render_list is very very slow

I'm trying to render tiles for the entire planet using 8 threads. It is taking weeks to render the whole planet is there any way to optimise the tile pre-rendering. Hardware in use is m4.2xlarge (32.0 ...
1
vote
0answers
78 views

Tile server stops working

I built my own tile server and when I try to prerender zoom level 10 or 13 modtile/renderd just stops working (like when I press Ctrl + C in the terminal). The other levels work fine. OS: Lubuntu 14....
3
votes
2answers
1k views

using mod_tile in windows

I am trying to generate tiles on the fly in windows using mod_tile. I have followed the tutorial http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ on ubuntu and successfully ...
0
votes
1answer
528 views

error while starting render on startup

i have configured a tile server by following the switch2osm in the last step for starting the render automatically on startup if i start the render as below vars.sh is missing $ sudo /etc/init.d/...
4
votes
3answers
3k views

mod_tile: how to avoid cache expiry during DB rebuild

I'm running an OSM tile server with the default stack (mapnik, tirex, mod_tile, apache). Since I need only specific areas, I usually pre-render all tiles. Now I want to rebuild the Postgres DB bcs of ...
2
votes
0answers
242 views

Mapnik change xml config on the fly

I have tile server running based on mapnik, mod_tile, and renderd. It was succesfully generate and serving tile using mapnik xml configuration which defined on renderd.conf. Something like this : [...
1
vote
0answers
274 views

Mapnik PGRaster Plugin creating 8x8 tiles with visible boundaries [closed]

I have used the latest addition to Mapnik PGRaster plugin (https://github.com/mapnik/mapnik/tree/2.3.x) by Strk(https://github.com/strk/mapnik/tree/2.3.x-pgraster) and merged recently. I am able to ...
1
vote
1answer
615 views

Render tiles in the sea

I installed a mapserver on my own server with mapnik, apache and mod_tile. I build an application with WorldWind and my map server. My problem is that there are blank tiles instead of blue tiles to ...
3
votes
1answer
2k views

Tiles taking too long to render

I've followed the tutorial available here. The installation worked alright, but opening the tile in a browser leads to a 404 error. The only error from the server is "Failed to read cmd on fd 10". ...
0
votes
1answer
4k views

Apache2 is missing conf.d file

I am following this tutorial about how to create my own tiles and got stuck on slide 20. I am trying to tell my web server about my mod_tile installation. However the folder /etc/apache2 doesn't have ...