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
2answers
70 views

Labelling a multipoygon scattered in different areas

I am using mapnik and tilecache to generate tiles and openlayers to view map in the browser. In one of my shapefiles(multipolygon) with administrative boundaries, I found that more than one records ...
3
votes
1answer
167 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
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 ...
1
vote
1answer
65 views

Can't run node-mapnik-sample-code

I'm using ubuntu 12.04. I installed mapnik from packages as described here: https://github.com/mapnik/mapnik/wiki/UbuntuInstallation now I want to run node-mapnik-sample-code from here: ...
1
vote
1answer
94 views

Serving multiple styles from tile server

I installed an OSM Mapnik tile server (according to the switch2osm documentation). Now, i'd like to serve tiles in different styles from the same server. Is this somehow possible?
1
vote
1answer
96 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 ...
1
vote
1answer
212 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 ...
0
votes
1answer
100 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. ...
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: ...
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
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 ...
3
votes
0answers
78 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
108 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 ...
2
votes
0answers
143 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
51 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
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
0answers
8 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
14 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 ...
1
vote
0answers
48 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
290 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
117 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
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
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
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 ...
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
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 ...
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 ...
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 ...
0
votes
0answers
6 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 ...
0
votes
0answers
21 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
6 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
52 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
23 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
18 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
32 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
98 views

Mapnik render Error : Could not create datasource for type 'postgis'

I try to use mapnik render for a tile server. During the initialization 'renderd -f -c /usr/local/etc/renderd.conf', the following error message is displayed : An error occurred while loading the map ...
0
votes
0answers
21 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
41 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
19 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
43 views

Problem importing mapnik in python

I have brew installed Mapnik bust still can't import it with Python (version 2.7.5 on Mac 10.8.4). I have been browsing for solutions but still couldn't find any that worked for me. In particular I ...
0
votes
0answers
59 views

Uploading user defined geoTIFFs/editing tilestache configuration dynamically

I'm writing a small application that allows user to upload geoTIFFs and display them on a Leaflet instance. I understand the process of preparing a geoTIFF using gdal tools, defining a mapnik XML, ...
0
votes
0answers
29 views

Tiles caching - Best process to update part of cached tiles

I use Mapnik and TileStache to create and cache tiles. I wonder what is the best process to recreate part of the tiles collection when some features of a dataset are updated. How to recreate the tiles ...
0
votes
0answers
73 views

Tilecache and Fastcgi configuration

I am working on GIS based web application using Mapnik and Tilecache with backend python. Currently I am rendering tiles using tilecache's cgi mechanism. As the number of layers increased, the speed ...
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 ...
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 ...
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 ...