Open Source C++ Map Rendering toolkit
Questions tagged [mapnik]
214 questions
32
votes
4 answers
Homebrew + Python on mac os x 10.8: Fatal Python error: PyThreadState_Get: no current thread importing mapnik
I have 2 pythons on my mac (10.8.3): The default, and 2.7 version from homebrew.
So far, I could install modules and use them with my brew python. I installed mapnik with brew install mapnik (mapnik-2.1.0) and it compiled correctly. But, if I open…

otmezger
- 10,410
- 21
- 64
- 90
15
votes
5 answers
Using Mapnik in .net environment
Has anybody used Mapnik for rendering Maps from .net c# environment? I would like to use it to render maps in a desktop application developed under .net4. I found it the best open source map renderer tool, much more better, than the well known…

Tom
- 3,899
- 22
- 78
- 137
10
votes
5 answers
I get an error saying socket bind failed for: /var/run/renderd/renderd.sock if i am a regular user else everything works fine?
I am trying to manually build a map server as per instructions on switch2osm.org. I have configured everything. I have a database mayank owned by user mayank and I am trying to use renderd but i get this error socket bind failed for:…

user1615664
- 591
- 2
- 11
- 24
8
votes
3 answers
How to clear all osm tiles cache on my own server
I'm currently working on a map project, based on OpenStreetMap, using Mapnik, renderd and mod_tile (like osm do on their website).
I've built an osm tiles server, following some tutorials, on my personal computer (Ubuntu 12.04).
It works well, and…

GeoffreyB
- 1,791
- 4
- 20
- 36
7
votes
0 answers
Ubuntu 16.04 and mapnik - Python argument types in did not match C++ signature
I have to install mapnik/mapnik-python on Ubuntu 16.04 (existing server)
Both libraries compiled without any problem but python mapnik module doesn't work. After importing mapnik module i get error:
/home/user# python
Python 2.7.11+ (default, Apr 17…

Alexandr Shutko
- 1,857
- 2
- 20
- 27
6
votes
1 answer
Python + Mapnik: Example on how to render a map with a gps track on it
I'm trying to render a map using mapnik and python from a GPS track recorded. I get the gps data from a Database, so it is just an array (lat, long).
Does anyone knows an example for doing that? I know I need to create a shape file first, but I'm…

otmezger
- 10,410
- 21
- 64
- 90
5
votes
2 answers
R bindings for Mapnik?
I frequently find myself doing some analysis in R and then wanting to make a quick map. The standard plot() function does a reasonable job of quick, but I quickly find that I need to go to ggplot2 when I want to make something that looks nice or has…

Peter
- 4,219
- 4
- 28
- 40
5
votes
3 answers
Installing Mapnik 2.2.0 in windows 7 with Python 2.7
I've been trying to install mapnik on my computer for hours but what i always get when I import mapnik is ImportError: DLL load failed: The specified procedure could not be found.
I'm using Windows 7. The currently installed software is Geoserver…

Joan Natalie
- 330
- 4
- 14
4
votes
1 answer
Self hosted Vector Tiles for MapboxGL Client rendered incorrectly
I am trying to set up a web server in Node.js that serves vector tiles to be displayed in a browser using MapboxGL JS. The data for the vector tiles is stored in a PostGIS database.
My current set up seems to going in the right direction, as I can…

forrert
- 4,109
- 1
- 26
- 38
4
votes
1 answer
Error: cannot find module 'mime'
I am trying to install cartodb on ubuntu 12.04. I have done all the steps mentioned on https://github.com/danseely/cartodb-install/blob/master/DEV-INSTALLATION.md and I am stuck at the Install Windshaft-cartodb Step. The following steps worked…

harinish
- 261
- 3
- 5
- 17
4
votes
0 answers
Create Vector-Tiles with Node-Mapnik + PostGIS (500 (Internal Server Error))
I'm trying to create web maps with vector-tile in google map. I'm using :
mapnik
node.js
node-mapnik
postGIS
i use port 8000 (127.0.0.1:8000) to appear the map-tile
var mapTiles = {
tilejson: '1.0.0',
scheme: 'xyz',
tiles:…

Bhazk
- 182
- 1
- 21
4
votes
1 answer
How can I use a Mapnik-Backgroundlayer with lat-lon layers in one map with OpenLayers?
I have an application with a map-client using OpenLayers. I want to use Mapnik-data as background-layer, as provided with the class OpenLayers.Layer.OSM.Mapnik. For that I have to switch to the projection EPSG:900913. But I also want to display some…

Mnementh
- 50,487
- 48
- 148
- 202
4
votes
0 answers
Mapnik installation error on openSUSE 12.3
When trying to install mapnik on openSuse 12.3, ./configure command throws this error:
Checking if compiler (g++) supports -std=c++11 flag... (cached) no
C++ compiler does not support C++11 standard, which is required. Please use Mapnik 2.x instead…

Yurkol
- 1,414
- 1
- 19
- 28
4
votes
1 answer
How to download osmdroid tiles on user end?
I already successful to load map tiles from SD Card of osmdroid (Mapnik)
But now i want to give a option in my android app to download map tile that user want to use
mean map show online user select a specific area and cashes it for his use
i…

user2433098
- 41
- 3
4
votes
0 answers
Using nginx to serve meta tiles
Is there an nginx extension that can serve pre-renderd mod_tile metatiles? Alternatively, is there any performance hit from using nginx to serve non-meta map tiles?
Thank you for any help.
Cheers.

drew miller
- 43
- 4