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

0
votes
0answers
89 views

Mapnik and Tilecache performance issue

I am working on GIS based web application using Mapnik and Tilecache with backend python. To display map in the browser, openlayers is used. Maps are generated by calling tilecache cgi url. I am ...
0
votes
0answers
111 views

Dynamically generating data for map tiles from Python function

I'm brand-new to GIS and relatively new to web services. I've found a ton of great resources on the web, but I'm having trouble addressing one specific issue: One of the data layers on my planned map ...
1
vote
1answer
333 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 ...
0
votes
1answer
66 views

mapnik verbose?

I've got a PostGIS NHD layer thats not rendering in mapnik (using toposm code scripts) and I don't know why. I've confirmed that the table data is there, positioned correctly and has the proper ...
0
votes
1answer
181 views

Does tile server renders every request?

I am trying to understand how tile server handle requests. I red about Mapnik which "creates" the map using OSM, Does "creates" means that every request is rendered and returned? If yes what is the ...
0
votes
2answers
429 views

Tile script (Mapnik) with OpenLayers - Problem with projection (900913)

I use Mapnik python bindings in a geodjango application to render tiles in openlayers with datasource stored in postGIS in 900913 projection. The feature seems to be rendered correctly in the ...
0
votes
1answer
142 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: ...
1
vote
0answers
138 views

Tilestache/Mapnik: Is it possible to create dynamically filtered layers?

I'm using Tilestache to generate two layers with the mapnik and mapnik grid providers, and it's working great! However, I want users to be able to filter the data over many (more than ten) ...
1
vote
0answers
70 views

What is the main benefit and drawback of: GeoServer, MapServer, Mapnik? [duplicate]

For the purpose of creating a comparison table, please recommend a couple of feature fields that would apply to each FOSS GIS server. And, perhaps answer the question of which desktop GIS System, ...
1
vote
1answer
206 views

Mapnik - Weird tiles rendering when used with spatialite

I use Mapnik in an GeoDjango App with Spatialite 4.0 as backend. There is something weird with the tiles that I suspect might be related with a bad handling of mbr with spatialite. If you look at ...
0
votes
1answer
112 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 ...
0
votes
1answer
84 views

Error on rendering linestring

I am using Mapnik 2.0.1rc0 on a Windows 7 with python 2.7 32bits inside a GeoDjango App using xml. The datasource come from spatialite 4.0. My tiling script can render polygon and point features ...
0
votes
0answers
149 views

mapnik error - fatal flex scanner internal error--end of buffer missed

I am using Mapnik 2.0.1rc0 on a Windows 7 with python 2.7 32bits inside a GeoDjango App. I often got this error: fatal flex scanner internal error--end of buffer missed that makes python to crash ...
1
vote
0answers
59 views

New geographical point won't show on map

I did recently ask a question about how to add a new point to a PostGIS table. Now when I've got the new point in the table it should be visible on my map, but it isn't. I'm using Mapnik together ...
1
vote
1answer
279 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 ...
3
votes
2answers
120 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 ...
1
vote
2answers
359 views

how can i use openlayers to use my locally rendered tiles

I've been stuck on how to use my local tiles which i rendered with mapnik's generate_tiles.py and all the data is on postgresql. I'm kinda confused on what i should do to "feed" the tiles to ...
0
votes
0answers
93 views

Missing tiles when django application is hosted on an apache server

I'm building a GIS application using Django as my web framework and OpenLayers to implement a slippy map interface. I was initially using the django runserver for development and everything was ...
0
votes
0answers
145 views

using mapnik xml file to render tiles in python

Is it possible to use an xml file in python? without using the bindings for python for mapnik. basically i'm using django/geodjango, postgis and well i decided i'd try and design the map on tilemill ...
2
votes
1answer
109 views

Mapnik TextSymbolizer value as integer

I'm working with TextSymbolizer in Mapnik. I have a shape file with a attribute which is a real. I wish to print the value of this attribute as integer and I don't find how I can do it in Mapnik. I ...
1
vote
1answer
61 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 ...
4
votes
2answers
652 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 ...
3
votes
2answers
327 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
126 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 ...
0
votes
1answer
125 views

Open Source GIS Problem [closed]

I am new at open source GIS platform. I am using Ubuntu 12.10. I have tried to install the followings but without 2-3 tools I could not install anyone. Can any body help me how can I install the ...
2
votes
0answers
52 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
2answers
2k 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 ...
0
votes
1answer
345 views

How to get Mapnik running on Win?

I have installed Mapnik-2.0.1rc0 in windows 7 32bit machine. I then tested the installation by import mapnik from * and it did not return any error. But when I tried to input the config version ...
2
votes
1answer
448 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, ...
2
votes
1answer
74 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 ...
0
votes
1answer
154 views

How to make Mapnik render Erdas images in RGB instead of grayscale?

I have some orthophoto files (Erdas Imagine format) enclosed in a vrt file. When I view it in any desktop GIS it has proper RGB colors, but when I use the vrt in Mapnik to render some tiles, I get ...
1
vote
0answers
75 views

Mapnik OGCServer doesn't work if theres no active internet connection

Didn't find anything similar so: I have a mapnik OGCServer on an ubuntu 12.04 virtual machine (vmware player) which works fine. The problem occurs when i disconnect all network connections, when ogc ...
5
votes
1answer
821 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
229 views

How to reproduce Stamen's 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 ...
4
votes
1answer
438 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 ...
3
votes
1answer
606 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 ...
1
vote
2answers
839 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 ...
2
votes
0answers
334 views

Get tile URL with projection different than 900913

I have the following code, which should display a slippy map showing tiles producted by me with mapnik: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 ...
1
vote
1answer
427 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 ...
0
votes
1answer
336 views

Vector layer shifted on OSM map: why?

I've defined the following 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
1answer
311 views

Mapnik WKT rendering problem

I have a rendering problem with the mapnik GEOS plugin. I try to input a polygon WKT definition containing floats with around 16 digits. Mapnik however does not render these. When I decrease the ...
1
vote
1answer
146 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 ...
0
votes
1answer
725 views

socket connect failed for: /tmp/osm-renderd

I have installed Mapnik and have a functioning PostGIS database (I can access data through QGIS with no problems). When I try to run render_list to generate tiles it fails with socket connect failed ...
0
votes
1answer
570 views

Could not create datasource

I'm fighting with an error I can't figure out where it is coming from. Tried to compile all the things and used the latest unstable/stable ppa repositories as well, can't find the issue where it is ...
3
votes
1answer
481 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 ...
1
vote
0answers
132 views

produce images with shapefiles and OpenStreetMap

I have a python file http://pastebin.com/jzwE6c6P which iterates over the features of a shapefile and renders a simple image by zooming to the bounding box of each feature. What I need is ...
1
vote
2answers
4k views

Click a marker icon to open a pop-up, using OpenLayers

Background Looking to create a pop-up that performs an Ajax request when the user clicks a marker on an OpenLayers map. The markers, however, have different icons. The following is working code that ...
0
votes
2answers
923 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 ...
5
votes
0answers
155 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 ...
0
votes
1answer
424 views

Empty preview map Tilestache Mbtiles

So, I generated a map on tilemill and exported the mbtiles file. I've setup Tilestache, and all required dependencies. I tried the OSM preview provided by default which worked fine. When I tried to ...