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

2
votes
1answer
138 views

Two questions about mapnik

I newbie have two newbie questions about Mapnik. Does Mapnik allow generation tiles with float zoom level? I have osm file for my region. I want generate images. Where i can download full xml file ...
0
votes
1answer
654 views

How to change projection for layer?

i use two seperate datasource for my layers: sql database for main map data, this is using EPSG:900913 osm file for some extra features, this data use EPSG:4326 projection tiles for both layers ...
1
vote
0answers
189 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 ...
5
votes
2answers
2k views

Mapnik style editor

Is there any tool or editor which can shorten the cycle for experimenting on different styles for mapnik. It would be wonderful with something like cloudmade's editor, but with the possibility to ...
1
vote
0answers
182 views

Mapnik: mapnik.has_pycairo() returns False. How to fix this on Windows for Python27?

I'm trying to modify rundemo.py (comes canned with Mapnik Windows binaries) to render output files at a higher resolution, but it seems I still have issues with my Mapnik-to-Cairo setup. I've got ...
3
votes
4answers
4k views

How to serve OSM Tiles on Windows?

Was hoping I could just extract tiles into a local file system, point IIS at it and be done but I guess that is not the reality of Open Street Map. I'm getting buried in all the possible ways of ...
5
votes
1answer
666 views

Mapnik Server - Hardware recommendations

I'm looking for some suggestions for a Mapnik-TileCache server. How much hardware is really necessary? The dataset I use is about 380mb in osm raw format. My actual database is a bit more than 1GB. ...
0
votes
1answer
249 views

What is the correct projection to use with tm_wgs84_sans_antarctica.shp?

I am using tm_wgs84_sans_antarctica.shp with mapnik to generate tiles. I am using the tiles with Google Maps Javascript API V3. But the projection is way off. Here is roughly what my code looks like: ...
3
votes
1answer
370 views

making choropleth maps using PostGIS Windows

i read an article on chicago tribune blog about making maps, it consist on "making choropleth maps using PostGIS, TileMill, Mapnik and Google Maps" on Mac environnement, my question is how we can ...
1
vote
2answers
138 views

How to prevent base layers from being edited?

I've made a local tile server (mapnik + postgis + tilecache). Now i need to make use of some editing tool so that only newly created layer can be edited: users of this tool shouldn't have rights to ...
1
vote
2answers
585 views

Tilecache and Mapnik problem

My configs: # Rendering OpenStreetMap data with Mapnik; should use metaTiling to # avoid labels across tile boundaries [osm-map] type=MapnikLayer mapfile=/usr/home/sergeev/osm_mapnik/osm.xml ...
5
votes
1answer
389 views

How to fix strange rendering behaviour of OSM Data in Mapnik?

My current setup so far is a running Apache webserver with tilecache.cgi script and a mapnik rendering engine connecting to my postgis database containing my OSM data. The problem is very easy to ...
1
vote
1answer
439 views

Enhance performance of a join query for mapnik using postgis

I use mapnik to render map with datasources from a postgis database. One query is a join on two table, one with a geometry (a polygon) and the other one with some fields I want to use for rendering. ...
1
vote
1answer
618 views

Overlapping map tiles with mapnik's generate_tiles.py script

I'm trying to generate map tiles using the mapnik's generate_tiles.py script, but the resulting tiles are overlapped. Example The tiles have the following directory structure: ...
1
vote
1answer
209 views

Problem with Mapnik and custom XML-File

I'm right now working with navteq data and building 'the XML-File' to generate the tiles! I started with an all original osm.xml, and set all the status' to "off". First I checked the dataset in my ...
1
vote
1answer
222 views

Mapnik server with Navteq Data

Is anyone here using navteq data for a GIS app? I'd like to work with navteq data and using mapnik-tilecache as a WMS server. The reason is, I use OSM data as well on my other server. And as the two ...
4
votes
1answer
276 views

generate 1-18 simple worldmap with mapnik

I have postgresql with postgis and mapnik, I need to generate a tiled world map with only country contours and country name that are displayed at all zoom levels, no extra info. How can I do it ...
1
vote
1answer
146 views

Possible to use same database for mapnik and pgRouting?

I am already running an OGCServer (mapnik) with an postgis database. I want to also run pgRouting on preferably the same database, so that I do not have to maintain two separate databases. I ...
2
votes
1answer
194 views

Which Opensource products to use for Maprendering/Hosting?

I'm trying to setup a server for hosting maps for a gis application. The path I have taken so far is using an UBUNTU 10.04LTS installation. I'm using PostgreSQL 8.4 and PostGIS 1.5. I already made a ...
10
votes
2answers
616 views

Waterman butterfly projection in Mapnik

Like the title says, how would someone configure Mapnik to use the Waterman butterfly projection ? Otherwise, what other tools would be able to render using this projection ?
1
vote
0answers
408 views

Tilecache + Mapnik + Apache generates incomplete tiles (missing layers)

I have TileCache + Mapnik working with a custom osm.xml stylesheet. When I run tilecache_http_server.py the tiles are served OK. But when I run TileCache under Apache (with mod_wsgi) I see incomplete ...
2
votes
1answer
826 views

Setting up TileCache to make use of Mapnik and OpenStreetMaps

First of all, I'd say that I'm completely newb at maps related stuff... I am trying to install TileCache and configure it to use Mapnik to render tiles from OpenStreetMaps. I managed to setup the ...
3
votes
1answer
366 views

Where can i find free mapnik map styles with focus on waterways?

I am using Google maps for my map tiles. These tiles are very road oriented. As i am making an application for waterways i would like to change my map so that its main focus is on waterways. I have a ...
6
votes
1answer
630 views

Mapnik/Python Compatibility

Anyone know what versions of Python Mapnik is compatible with? I'm having trouble getting Mapnik to work. I'm thinking it might be because I am on 64-bit Win 7 and installed the 64-bit Python (v2.7) ...
8
votes
1answer
2k views

Setting up TileStache

I want to set up TileStache, but I'm new enough to the world of GIS to find the TileStache docs a bit impenetrable. I've just about figured out that I need to run tilestache-server.py -c ...
6
votes
2answers
1k views

Can Mapnik render spatial data from SQL Server?

This is a very simple question - I just want to know if anybody can confirm that they have successfully used Mapnik to render tiles directly from data held in SQL Server. (And, if so, what did you do ...
3
votes
2answers
492 views

Tilemill (Carto) code for styling multiple features from a single layer

How can I more efficiently write this piece of code which aims to style two features in my streets layer (major roads and major road ramps) the exact same way. #tor_centreline [FCODE=201200] { ...
1
vote
1answer
309 views

Comparing GIS libraries

I am new to GIS. As a part of my research, I want to figure out among OSSIM, Saga API, Terralib and MApnik which one will best satisfy the following functionalities and why ( all for desktop GIS ...
2
votes
2answers
619 views

Mapnik TextSymbolizer showing nothing above OpenStreetMap base layer

I'm trying to use Python to create a TextSymbolizer to display a trail name above the trail LineSymbolizer. Below this layer is the OSM base layer which contains its own data for that trail. I can ...
5
votes
2answers
2k views

How to set up an OSM server with TileCache and Mapnik?

I have been trying for two and a half weeks so far to get a local copy of OpenStreetMap running on a server. I have downloaded the planet file and imported it into a PostGIS database called 'osm'. I ...
6
votes
1answer
3k views

How to apply Mapnik style for OSM data in ArcMAP?

I am loading OpenStreetMap vector data into ArcMAP (using the Download and Symbolize OSM Data tool of ArcGIS Editor for OpenStreetMap 1.1). I'm sure there must be a simple way to apply the ...
14
votes
3answers
8k views

Mapnik, Mapserver or Geoserver

I'm currently developping an ArcGIS based flex webviewer. ArcGIS is great for most of the things but there are some issues like performance and license costs. That's why I'm looking into possible ...
1
vote
2answers
132 views

How to install grid_renderer on Linux?

I'm having a hard time installing grid_renderer on Ubuntu Maverick (10.10). I've followed these instructions but when I compile the mapnik branch I always get this error ...
11
votes
3answers
3k views

Stack - Mapnik, TileMill, OpenLayers, GeoExt

Would this work as a stack for serving webmaps with the basic GIS viewer functionality (pan, zoom, layer switching, info popups)? Apache Web Server Mapnik to serve the geo-data (TileMill to Style ...
22
votes
5answers
7k views

Optimizing osm2pgsql imports for OSM data

I'm currently building an instance on EC2 on which to import the entire Planet.osm snapshot of the whole Earth's worth of data for some projects we're working on. I've spun up a large Ubuntu x64 ...
2
votes
1answer
467 views

How do I group layers in Mapnik?

I might be thinking about this all wrong, but right now I'm using Mapnik's OGC Server, and using that WMS with OpenLayers. How would I group multiple layers (say country, water, state borders) into ...
8
votes
2answers
540 views

How do I rotate the OSM map before printing?

What is the simplest way to rotate and render Openstreetmap data, and still get a nice render? For example Toronto, would fit best rotated slightly on a page in landscape mode, so the northern ...
7
votes
0answers
1k views

Configuring & debugging a new mapnik / tirex installation [closed]

I've a stack OpenLayers > Apache mod_tile > tirex working with the tirex test backend on a Ubuntu 10.04 virtual machine. However, I now have troubles with the mapnik-example backend included with ...
7
votes
1answer
3k views

OpenLayers with my own OSM data server

I've gone through the process of setting up my own OSM database / tile server by setting up PostGIS, importing the Planet.osm data snapshot (took a few days), and setup Mapnik / cascadenik, etc. I ...
4
votes
1answer
1k views

Mapnik Style Filter on River/Lakes Shapefile attributes (from Natural Earth Data)

As a followup to this question, I downloaded the vector data here: http://www.naturalearthdata.com/downloads/10m-physical-vectors/ and I successfully created the rasterized water/land mask I ...
1
vote
1answer
154 views

How do I resolve line outlines jutting into other lines in Mapnik/Cascadenik

We are designing a basemap, and I am trying to resolve a problem with outlines that comes up in roads. The idea is to have lighter colors roads, but they don't get pushed out far enough with our light ...