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

5
votes
1answer
594 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. ...
3
votes
1answer
305 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
1answer
57 views

Is it possible to export a QGIS project to Mapnik XML?

Is it possible to export a QGIS project to Mapnik xml? I'm using QGIS 2.4 and Quantumnik does not seem to work with that version.
3
votes
0answers
151 views

Ubuntu Newbie I am frustrated trying to install (all things GEOS) WEB-GIS

I am new to ubuntu SAUCY and I must confess the transition from windows has not been really easy for me. on windows everything seems pretty much straight forward but I am getting frustrated because It ...
3
votes
0answers
136 views

How to create a Typographic Map with Mapnik

So i am trying to make a typographic map using mapnik. I want the street names along a particular street not to overlap, but I want an intersection between two streets to over lap. Currently some ...
3
votes
0answers
409 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 ...
2
votes
0answers
28 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 : ...
2
votes
0answers
171 views

Styling river charts with TileMill - issue with filling a polygon made of disjoint line segments

I am trying to style inland river charts produced by the Army Corps of Engineers. I imported the vectors into Postgres, and I’m using TileMill to style the data. I am having trouble correctly filling ...
2
votes
0answers
203 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) ...
2
votes
0answers
57 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 ...
1
vote
0answers
13 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
0answers
47 views

Mapnik PGRaster Plugin creating 8x8 tiles with visible boundaries

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
0answers
56 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
105 views

Generating full planet tiles from OpenStreetMap data?

i am tested using two scenarios, 1) First, i am used switch2osm for tile rendering. its good it handles many things. But it takes long days to pre-render all tiles and it takes huge memory ...
1
vote
0answers
64 views

Configuring Mapproxy + Mapnik for using Getfeatureinfo

This is probably a duplicate of this question: How to configure mapproxy and mapnik for getfeatureinfo requests, however, that one is old and still unanswered. I'm trying to configure a Mapproxy ...
1
vote
0answers
33 views

Avoid text/shields from being too close using Mapnik xml

I'm having the problem of text/shields from different layers appear too close to each other on the map generated from Mapnik xml. The screenshot below shows the problem I have three layers in this ...
1
vote
0answers
85 views

How to optimize color ramp for terrain

I'm working on a project to highlight LiDAR terrain on the web and part of the idea is to show the detail of the data at large scales. I've already read through the excellent Mapbox guide and I've got ...
1
vote
0answers
340 views

Mapserver and Tilecache configuration issue

Currently I am using mapnik2 with tilecache for map generation. As there is shift in some of the tiles generated,I am trying to configure mapserver with tilecache for caching tiles. I have installed ...
1
vote
0answers
160 views

Map with custom tiles having uncommon EPSG

I've produced with mapnik my own tiles with EPSG:31256 on a shapefile. I've structured the tiles in a OSM-like tree: zoom/x/y.png, with zoom from 0 to 2 and, x y starting from 1: tiles ├── 0 │ ...
1
vote
0answers
62 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
0answers
102 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 ...
1
vote
0answers
145 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
0answers
207 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 ...
1
vote
0answers
446 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 ...
0
votes
0answers
16 views

mapnik xml and carto css

I have a large mapnik xml file that I would like to convert to carto css to manage with tile-mill. What tools should I use on Ubuntu 14.04. I have tried to compile the cartogenerator from Dane but it ...
0
votes
0answers
19 views

Mod Tile Cache Size

I am using Mod Tile, Renderd and Mapnik to creat a Tile Server. My question here is, does mod_tile have specific limits for the cache size? If yes, where can it be configured. And what mechanism it ...
0
votes
0answers
25 views

UTFGrid from raster source

Is it possible to make utfgrids from a raster source (e.g. GeoTIFF)? I am trying to get utfgrids from a .tif with mapnik.xml and TileStache but it seems not to be working. As a workaround I am ...
0
votes
0answers
47 views

How to generate map tiles with TileStache and a custom projection

I would like to generate my own map tiles using TileStache and a custom projection. I have been struggling with this for quite some time and am hoping I can get some advice to get the tiles to ...
0
votes
0answers
24 views

How to generate tiles for EPSG:3413 from shapefiles

I want to make tiles at EPSG:3413 projection from coastline shapefiles provided by naturalearthdata. How to do it? I converted shapefiles to 3413 via ogr2ogr, imported it to mapnik, set ...
0
votes
0answers
24 views

tilestache wms layer in qgis and open layer rendered layer

I have setup tilestache and styled a map for using mapnik xml and I can call on the url in a web browser, how can I call the url for a wms layer in QGIS or is there a way to view mapnik xml in qgis. I ...
0
votes
0answers
39 views

Adding another style to an OpenStreetMap server using Mapnik and PostGIS etc

I have created an OpenStreetMap server using this guide: switch to osm it's very good and works like a charm. I have also been able to add a new theme using TileMill and osm-bright However, I now ...
0
votes
0answers
18 views

Tilemill logs - Is there a way to remove [tilemill] prefix

In the Tilemill logs, is there a way to remove the [tilemill] prefix of every line? I'm trying to add the timestamp of each log line in the tilemill logs. I can easily do it with log-prefix module. I ...
0
votes
0answers
59 views

Tilemill reversing inner and outer in multipolygon relations

Tilemill renders multipolygon relation (a middle part of a big lake (ID 2101875)) incorrectly: Multipolygon relations (inner/outer) seems to render mirror-like, compare: an island in OpenStreetMap ...
0
votes
0answers
30 views

Mapnik projection for rectangular coordinates

I am trying to use mapnik to render indoor floorplans and am having a little trouble figuring out the SRS projection. I have geoJSON that represents the floorplan. The coordinates are just cartesian ...
0
votes
0answers
77 views

Geojson not rendered with Mapnik

I am trying to generate a tile with Mapnik with a GeoJSON. The stylesheet.xml with the part to render the GeoJSON is the following: <Style name="cities" filter-mode="first"> <Rule> ...
0
votes
0answers
68 views

Mapnik XML Stylesheet in QGIS

Is it possible to use a Mapnik XML Stylesheet to style/render data in QGIS? I know there is Quantumnik to generate Mapnik XML Stylesheets. Yet I am wondering if it is possible to import a Mapnik XML ...
0
votes
0answers
86 views

OGCServer as WMS application in Apache

I'm a really new in Mapnik OGC Server. Could you please help me with configuring OGCServer as WMS Server on Apache2? I use Windows platform and have already configured Mapnik,Python27. I've also ...
0
votes
0answers
162 views

Mapnik: GeoTIFF flipped (mirrored vertically)

I generated a GeoTiff using the QGIS HeatMap plugin and want to render it on top of some OSM data. The problem is that the raster gets rendered upside-down in the output. Can someone point me in the ...
0
votes
0answers
33 views

Cannot install node-mapnik on Windows 2008 x64

I have been spending the last few days trying to get node-mapnik running but with no success. Initially inspired by Wilhelm Berg's demo (https://www.youtube.com/watch?v=GlTaRpg3CbQ) which renders ...
0
votes
0answers
102 views

How to convert .shp file to zip file with mapnik?

I am creating android application for campus indoor map. I research so much think.I decide use osmdroid. I write here what I have done 1) I draw indoor map with JOSM. 2) I convert file.osm file to ...
0
votes
0answers
46 views

Insert a Mapnik Tile Between Google Base Map and Label Image

I'm currently using Mapnik to create choropleth tiles of regions in Brazil via node-mapnik by using the g.connector from Wax as in the code below and it works well. var map = new ...
0
votes
0answers
68 views

tilecache config for generation mapnik tile

i have a xml stylesheet like below map: <Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" ...
0
votes
0answers
93 views

command line alternates for softwares like tilemill, maptiler

tilemill works just fine for my needs but , i want to do the whole process on command line . since new geotiff files are going to be added in my project, and i need to automate this whole process . ...
0
votes
0answers
39 views

Mapnik TextSymbolizer not randomly missing out text

I have an issue with mapnik 2.1.0-pre. Mapnik skips labeling polygons with the TextSymbolizer attribute. Is there any particular reason this could happen? text_symbolizer = ...
0
votes
0answers
51 views

Separate tilestache cache for each mapnik

I'm using tilestache with mapnik source and redis cache. I'm wondering if there is a possibility for defining seperate cache for each layer? I want to have unique "key prefix" for each layer, ...
0
votes
0answers
24 views

are math operations in the osm.xml file possible

Is it possible to do math operations in the osm.xml file? Specifically, I have tried scaling all the peaks elevations like this: <TextSymbolizer size="9" fill="brown" dy="6" ...
0
votes
0answers
155 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 ...
0
votes
0answers
204 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 ...
0
votes
0answers
110 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
165 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 ...