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/
19
votes
5answers
5k 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 ...
13
votes
3answers
6k 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 ...
10
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 ...
9
votes
1answer
462 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 ?
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 ...
7
votes
2answers
426 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
875 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 ...
6
votes
1answer
533 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)
...
6
votes
2answers
988 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 ...
6
votes
1answer
2k 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 ...
5
votes
2answers
1k 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 ...
5
votes
1answer
498 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. ...
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 ...
5
votes
1answer
336 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 ...
5
votes
1answer
1k 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 ...
5
votes
0answers
124 views
How to rotate polygon to find best fit in Mapnik? [closed]
I have a quite simple problem but somehow I just fail to solve it.
There is a polygon and a range xsize and ysize. The x and y size determines the mapnik generated image.
The polygon should now be ...
4
votes
2answers
247 views
How to generate Tiles with QuantumGIS or Mapnik
I would like to know how to generate Map Tiles using QGis. I have heard that it is possible to create tiles using QGis, only, I don't know how to do that. Googling did not work for me since I am not ...
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 ...
4
votes
1answer
448 views
Generating tiles for osm/esri shapefiles
I've generated tiles for OpenStreetMap .OSM files using Maperitive and quickly consumed them with leaflet (with no tile cache yet).
I'm now looking for the right and simple way to to that also with ...
4
votes
1answer
211 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 ...
4
votes
1answer
244 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 ...
4
votes
1answer
172 views
Stamen toner postgis setup
I'm trying to render Stamen's toner map with Landez which uses Mapnik. The style I'm rendering is from Stamen's toner project. I'm using the one which only renders labels (no lines). I imported the ...
3
votes
4answers
2k 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 ...
3
votes
2answers
174 views
OSM Python Utils: Modifying generate_tiles.py to create 512 x 512 tiles?
[Edited to include example image outputs]
SE folks, I'm wanting to modify generate_tiles.py to create 512 x 512 tiles.
At om_henners' recommendation, I tried replacing 12 of the 13 instances of 256 ...
3
votes
1answer
293 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 ...
3
votes
1answer
69 views
OpenLayers or OGCServer request optimization
I have an OpenLayers-OGCServer-Mapnik setup through a WMS layer. I noticed when i use the openlayers UI in a quick manner (fast zoom with mouse scroll, a couple of consecutive pans with mouse) the ...
3
votes
1answer
324 views
Calculate bounding box + buffer for rendering a map tile with mapnik library
Mapnik library has a Projection object (I'm using Python bindings):
spherical_mercator = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null ...
3
votes
1answer
262 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 ...
2
votes
2answers
65 views
How do I detect solid fill tiles in mapnik?
I'm using mapnik (python api) to render a very simple map where land polygons are black and water is white. There are no other features on the map. I'd like to detect if my tile is completely solid ...
2
votes
2answers
394 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] {
...
2
votes
2answers
451 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 ...
2
votes
1answer
406 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 ...
2
votes
2answers
555 views
Creating tiles in Mapnik
I have installed mapnik and successfully tested it. Now I am facing problem to create my own customized tiles. I have google it but everywhere it was telling about osm tile generation. My vision is ...
2
votes
1answer
177 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 ...
2
votes
1answer
616 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 ...
2
votes
0answers
41 views
Mod Tiles configuring probelem
I have installed all most every requirements to configure Mod Tiles. When I am trying to install it by ./autogen.sh its not installing. Its replying
./autogen.sh: 2: ./autogen.sh: autoreconf: not ...
2
votes
0answers
43 views
Open Street Map “no map for: default”
I'm hitting my head off a wall!
I Have installed renderd and mapnik on Debain squeeze v6.0.5. Renderd(version 0.7.1) is starting without error. But when I request the /osm_tiles2/0/0/0.png . The ...
2
votes
1answer
366 views
How to render PostGIS raster with Mapnik XML?
I'm trying to manage raster files from PostGIS, which to be rendered using Mapnik. I used raster2pgsql to load those GeoTIFF images to PostGIS, and I think the loading process turned out OK. The ...
2
votes
1answer
126 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 ...
1
vote
1answer
102 views
TileMill shows black lines around raster layers
I've taken a large number of raster images and added them to TileMill. Everything has worked great. The problem that I am seeing is that TileMill adds a small black line around each layer. I know that ...
1
vote
2answers
442 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
...
1
vote
1answer
456 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
69 views
TileStache + OpenLayers TMS - Tiles are rendered disorderly
I newly turned to TileStache to render Mapnik tiles because of the caching option. Before, I was using Mapnik python bindings only and it was working perfectly. Now that I use TileStache, the tiles ...
1
vote
1answer
79 views
Missing function ST_Extent in PostGIS db
I hope you can help as I am tearing my hair out here. Do any of you elite geo peeps have any idea why some specific functions could be missing from my PostGIS install?
I am trying to use Mapnik with ...
1
vote
1answer
141 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 ...
1
vote
1answer
46 views
Styling map elements based on their properties
I am currently generating tiles based on OSM data using Mapnik and Python and am quite happy using the XML styling but I am at a loss as to how to vary the styling on an element by element basis.
I ...
1
vote
1answer
290 views
Displaying UTFGrids with Mapnik and TileStache
I'm new to using Mapnik and TileStache. The reason i wanted to use these two pieces of software was to understand the UTFGrid specification i've seen used all over the place ( examples here, here, ...
1
vote
2answers
384 views
How to render from Mapnik at a specific scale?
I'm trying to render a map to paper using Mapnik at a specific scale (such as 1:50k), but can't yet figure out how. So far I'm just using map.zoom_to_box:
map.zoom_to_box (mapnik.Envelope ...
1
vote
1answer
243 views
OSM Map projection doesn't seem to change
I have the following OpenLayers map:
Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel ...
1
vote
2answers
133 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 ...



