Mapnik is an open source mapping toolkit, written in C++ and useful for both desktop- and server-based map rendering. It is used by Tilemill and openstreetmap. Learn more at http://mapnik.org/

learn more… | top users | synonyms

3
votes
1answer
465 views

How to configure tilecache on nginx

I am running a geodjango application with mapnik and tilecache. Currently tilecache is run on another server to decrease the load on the application server. The application server has nginx as the ...
2
votes
2answers
169 views

Using custom styles with Mapnik

I'm setting up a custom tile server using OpenstreetMaps and Mapnik. I've been able to successfully setup the server and serve tiles using it. I'm using the OSM-Bright style right now. I would like ...
7
votes
1answer
2k views

Generating Interactive Tiles using Nodejs, Mapnik, and PostGIS for Leaflet

I am looking to do something like this but where I have all the data on the same server. I've been following through the set of tutorials @ sparkgeo.com/labs/big/ and I'm having some difficulty. ...
0
votes
0answers
52 views

Using custom mapbox studio styles with mapnik

I created my own tile server according to this instruction and my own layout/style with Mapbox Studio. Following the mentioned instruction I currently use OSM Bright as layout/style. Question: How ...
0
votes
0answers
23 views

Export Mapbox-Studio project to Mapnik XML

Tilemill had a feature to export the project to Mapnik XML (see here). Is there an equivalent functionality in Mapbox Studio? Some background: I'm trying to use a style like OSM Bright, edit it a ...
0
votes
1answer
337 views

Orthographic reprojection with mapnik

I am trying to create a google earth like wep application. My problem is that I can't get to render a full view of the earth. The zoom_all() function generates the following error : RuntimeError: ...
0
votes
1answer
212 views

Wrong size when use Mapproxy to serve Mapnik tiles as ESPG: 900913

I have been stuck at this problem for a whole day. Really would like to ask for some help. Problem: In MapProxy Demo TMS page, EPSG:4326 looks fine, except the map is tilted and I don't want that. ...
1
vote
0answers
22 views

Quantumnik plugin replacement?

I am looking for export QGIS Style in MapNik (so, his .xml format) I see that Quantumnik plugin can do that, but is not supported anymore (and cannot be installed at all) . Is there any alternative ...
2
votes
1answer
343 views

font error when using mapnik generate_tiles.py

generate_tiles.py has worked fine throughout the transition from mapnik 0.7 to mapnik 2.x in gentoo linux. Now I have switched to debian (wheezy) and I am getting the following error when I run ...
1
vote
3answers
44 views

Permission Denied when installing openstreetmap server

I am installing a tile server from this link on my Ubuntu Machine 14.04. The problem I am facing is in this line : ./make.py cd ../OSMBright/ carto project.mml > OSMBright.xml Whenever I enter ...
1
vote
1answer
93 views

CartoCSS: labels along inside of polygon boundary

I'm using CartoCSS to render maps that include large polygons (like national parks). At higher zoom levels I want labels along the inside of the polygon boundaries, like in OpenStreetMap: I ...
4
votes
1answer
845 views

USGS Topographic Map Online API?

I am creating a website for a non-profit organization and would like to plot points on a map similar to this: http://www.arcgis.com/home/item.html?id=931d892ac7a843d7ba29d085e0433465 I am currently ...
1
vote
0answers
29 views

How to merge layers from two vector tiles with Mapnik?

I'm using Mapnik + Mapbox nodejs stack. Given two vector tiles (PBFs) for the same location/zoom, with some layers having the same name in both. How do I merge them into one PBF tile - replacing ...
0
votes
2answers
253 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
279 views

How to configure mapproxy and mapnik for getfeatureinfo requests

I'm wondering if its possible to configure mapproxy and mapnik for getfeatureinfo requests. I've made this combination work for getmap requests, but when I request getfeatureinfo I receive layer xxx ...
1
vote
2answers
212 views

How to style ways with CartoCSS depending on a relation property (OSM)

I'm using CartoCSS together with an OSM Postgres DB (hstore on). I want to set the line color depending on the operator tag of relations (routes). How can I do that? Update Thanks to Paul Norman for ...
0
votes
0answers
41 views

Rendering OpenStreetMaps with GeoServer

My target is to have the whole planet to be available in the map client[leaflet.js/openlayers.js] but only a specific country loaded with roads etc. I have followed the steps below to setup my ...
1
vote
1answer
609 views

Renderd outputs “failed to initialize projection 4326”

I'm setting up a tile server using the guide provided here. I have everything set up. proj4 is installed in version 4.8.0. The espg file is existant, I ran an xmllint over my xml style file without ...
0
votes
0answers
29 views

Rendering Problem: OpenStreetMap Server CentOS 7

The Problem I'm trying to install an OpenStreetMap server on CentOS 7. I'm using mapnik 2.2.0 and PostGis 2.0. When I try to render the tiles for the server I get the following error: ...
2
votes
1answer
394 views

gdal2tiles doesn't use resampling method correct?

I'm using gdal2tiles to create tiles from MODIS satellite imagery (250 m resolution) and I have noticed that I get the same bad result if I use -r near or -r bilinear (or lanczos for that matter). See ...
0
votes
0answers
59 views

ImportError: No module named mapnik on CentOS 7

The problem: I've installed mapnik 3.0.1 successfully by running the typical source code install: ./configure make && make install ldconfig -v However.... When I import mapnik into ...
1
vote
0answers
19 views

Indexing PostGIS table by tile boundaries

I have a PostGIS table with 2M rows, all Points. I'm creating tiles from the data, but it's quite slow. Although I have the normal geometry indexes enabled on the table, I wonder if it's possible to ...
1
vote
1answer
250 views

Mapnik not generating tiles for tilecatche

imported data by using Osm2pgsql, to get rid off all problems related to data conversion, i stored this as latlong (-l parameter).I created stylesheet, and i tested with python script and it was ...
0
votes
0answers
33 views

Scons error of Mapnik: Boost version 1.47 or greater is required

I've tried to compile mapnik from src on RedHat 6.2. I've updated a boost library to boost148 and gcc to gcc-4.7.2. When I start python scons/scons.py install I'm still getting mistakes like: ...
1
vote
3answers
2k views

Using render_list to render only map extract

I am trying to render an area where I have added an extract from the planet file with render_list. The command I am using is render_list -x 159 -X 179 -y 160 -Y 410 -n 2 ...
0
votes
1answer
29 views

OpenStreetMaps Local Server: Mapnik not Rendering Tiles

Introduction: I've built a local OSM server following this guide https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/. I've gotten through the guide just fine, and the server ...
1
vote
1answer
73 views

Using OpenStreetMaps (*.pbf) data with Mapnik?

I am using mapnik to directly render a map using xml sheet. I downloaded world boundaries, created the mapnik stylesheet from wiki page, and ran the python code which created a world image : Now ...
0
votes
1answer
88 views

Starting Tile Sever Rendering Error: OSMBright.xml

I was following the entire process found here: https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ I have an error though on Testing your tileserver part where i run the ...
3
votes
0answers
42 views

How can I show timezone in TileMill?

I downloaded data from Natural Earth Data and added it to TileMill (git revision 8044976 on Mac) I downloaded raster data, borders, cities, airports and timezones. However, the timezones show only a ...
1
vote
1answer
40 views

Rendered tiles look stretched

I've setup a tile rendering system based on Mapnik + PostGIS. When I open the data with QGis directly from PostGIS it looks fine; but when I attempt to generate tiles with Mapnik they look stretched ...
3
votes
2answers
4k views

Creating tiles in Mapnik

I have installed mapnik and successfully tested it. Now I am facing the problem to create my own customized tiles. I have googled it but everywhere it was telling about osm tile generation. My ...
0
votes
0answers
25 views

Updating OSM TileServer

I built an OSM TileServer using the entire planet OSM data about a year. I wold like to update the database of my TileServer by using the new planet OSM data. Given that the original planet OSM data ...
1
vote
1answer
42 views

Styling map and generating tiles for Mapnik and/or GeoServer?

I have almost 5 shapefile layers(contains point,line,polygon), now I want to style different layers, for example, different layers, different attributes of the same layer will rendered with different ...
0
votes
0answers
32 views

Error in osm.xml while generating the output xml for tile server using generate_xml.py

I'm setting up my own tile server using PostGreSQL, PostGIS extension, mapnik and osm2pgsql. While trying to generate the xml by using the command: E:\>python generate_xml.py download_osm.xml ...
0
votes
1answer
85 views

Create offline map for android

I am using mapsforge but I have problem with street names.I would like to develop an offline vector map for a city like osmAnd offline map or an offline vector map in mapnik format.Could you please ...
0
votes
0answers
44 views

Windshaft + Postgres to read geojson

I am using Windshaft and trying to figure out how I can take a geojson text object from Postgres and have it rendered as a tile layer. I have tried the following query: sql: "select ...
0
votes
1answer
71 views

renderd not rendering

I followed the instructions manually building a tile server and ran in some problems. When entering http://localhost:8080/osm_tiles/0/0/0.png renderd shows this: renderd[263]: DEBUG: Got incoming ...
0
votes
1answer
54 views

Displaying raster tiles from OSM data stored in a postgis server

I have been recently tasked with setting up a raster tile server that serves tiles from data pulled from a postgis store. I have managed to get a vector tile server up and running but I'm stuck on ...
0
votes
0answers
12 views

More Mapnik Servers for serving a large area?

As you may recall, I had some problem with the Mapnik toolchain about serving the whole planet. I was thinking about this idea: if I divide the world in 4 macro-areas (like Cartesian quadrants on ...
0
votes
0answers
97 views

Mapnik / Renderd / mod_tile rendering too slow

I've a little problem showing map tiles. My website during development/testing was using OSM, but we will going to production, and we want to serve the tiles without using OSM server no more. Using ...
1
vote
1answer
34 views

Building political world wall map for print? [closed]

I'm trying to create a political wall map. I've settled on the Natural Earth projection and thus have had problems with quite a few tools that don't support the projection (Tilemill, QGIS, Maperitive ...
0
votes
0answers
26 views

OpenStreetMaps openstreetmap-carto XML error or Missing Data from osm2pgsql

I've successfully built a tile server using the documentation provided here: https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ For my data, I obtained the north american ...
1
vote
2answers
247 views

Rendering points and polygons with Mapnik

I've tried to render a few maps in Mapnik and I have a little problem. I want to render a map that contains two layers: point and polygon. I've used this script: import mapnik rule = mapnik.Rule() ...
1
vote
0answers
21 views

Mapnik: Non-Image Polygon fill (e.g., diagonals)

Some of the output produced by our team - primarily on updates for 'legacy' projects - is styled with diagonal line fills (an example appears below). In mapnik, this can be achieved using ...
2
votes
1answer
86 views

Max Zoom Level in Mapnik

A question regarding mapnik: Is it possible to configure a custom max. zoom level? I am trying to find a way to get mapnik to render tiles for zoom levels 20+ (till 28 would be nice). PS: The ...
1
vote
0answers
96 views

Serving Dynamic Tiles

I want to display data (tiles and utfgrid info) inside MSSQL on top of google maps using Mapnik. I have looked into mapnik and setup a small prototype both with tilestache and also with node-mapnik ...
0
votes
0answers
16 views

Draw only the portion of a border shared by two features?

I need to draw two countries' shared border in a style distinct from the other borders on my map. I've come up with some very hacky ways that kind of work, but is there a right way to do this? I'm ...
2
votes
1answer
227 views

GeoServer WMS / WMTS with Mapnik rendering backend

I am going to migrate our current TileCache WMS-T server to a current and up to date GeoServer / GeoWebCache product. We use Mapnik as our rendering back end and I would love to keep it this way. I ...
1
vote
1answer
41 views

Removing Dashed Borders of CartoDB Polygons

I've created a CartoDB map with a bunch of different multipolygons and it is displayed with a CartoCSS color ramp I created. However I've noticed that I cannot rid my map of the dashed lines that ...
0
votes
0answers
35 views

Keeping file paths when converting cartocss to mapnik style

I am using Tilemill to edit a map style (mss) which is then exported for mapnik (xml). The problem is that although I specify the full path to my layer sources (e.g. shapefiles) when I export the ...