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
4 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
20 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
50 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 ...
1
vote
0answers
7 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 ...
0
votes
0answers
19 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 ...
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 ...
0
votes
2answers
56 views

Can't install CartoDB on Ubuntu Lucid - mapnik dependency issue

Previously asked this question at askubuntu - but maybe here is the right place. I'm trying to install CartoDB, and have run into the dreaded "you may have requested an impossible situation" message: ...
1
vote
0answers
47 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 ...
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" ...
1
vote
1answer
64 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: ...
0
votes
0answers
31 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 . ...
2
votes
2answers
63 views

Is there a OSM data server that returns vector data based on a bounding box?

I would like to know if exist some OSM data server, not tiled, just data. I know it is possible to import OSM data in your own server, but because you need robust server architecture, it wont be ...
0
votes
0answers
94 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 = ...
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 ...
0
votes
2answers
122 views

Install node-mapnik on Windows

After successfully working with node-mapnik (and the gorgeous vector tiles) on Linux I'm trying to set them up on Windows too, but have come to a dead end. What I've done so far: Installed mapnik ...
2
votes
3answers
164 views

Can Mapnik 2.2 and Qgis 2.0.1 be installed together?

I'm using LM15 (== Ubuntu 13.04 Raring) with the Launchpad repos for Qgis Unstable 2.0.1 and Mapnik 2.2.0. Quantum wants libgdal1h; Mapnik wants libgdal1. As soon as I install one, the other gets ...
1
vote
1answer
132 views

How to draw bus routes on OpenStreetMap with mapnik

I have successfully set up Postgres with PostGIS and MapNik to serve map tiles. The database is populated with data from OpenStreetMap project. I can see that bus routes are in the data-set, but I ...
1
vote
1answer
93 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?
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" ...
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 ...
1
vote
1answer
225 views

Architecture for serving OSM-Mapnik Tiles

I am currently trying to set up a Mapping-Service for serving OSM-Mapnik Tiles. In my project we want to use the Mapnik-Layer as a BaseLayer for our GI-Application. I am quite new to Mapnik (only used ...
6
votes
1answer
343 views

Using Tilestache and Leaflet To Display Rasters In Native Projection

I have a collection of old Idaho state highway maps in GeoTiff format. The projection that these maps have been georeferenced in is a transverse mercator projection, called IDTM83 (Idaho Transverse ...
1
vote
1answer
95 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
2k views

Any experience with OSX and Mac OSX Maverics using OSGeo? [closed]

There is a new Apple Release of OSX called Mavericks and my questions are: Will GDAL run? Will QGIS run? Will Tilemill run? Will Mapnik run? Also are there any known issues? A similar question ...
3
votes
2answers
155 views

The fastest way of generating tiles from raster?

I have some MODIS imagery 250m resolution covering a large area which I generate tiles from using Mapnik and generate_tiles.py script. I need to run this script every day with new satellite images, ...
1
vote
1answer
136 views

basic question about mapnik

I am new in mapnik, and I found mapnik at OSM wiki page. And I am interested in it, but I have some question. 1 the mapnik work scope It seems that it is a library for map rendering(creation), ...
3
votes
1answer
115 views

Recommended specs for a single-country OSM tile server

What specs would you recommend for an OSM tile server dedicated to serving tiles for a single, small country (e.g., Portugal only)? Total server load is estimated to be no more than two/three users ...
2
votes
2answers
337 views

Generating MapQuest Style tiles for offline use

I need to create about a 9-level deep SLIPPY map of the world from OSM data (for offline use). So I cannot use the MapQuest, CloudMade, etc. servers). The projection must be EPSG4326 (LL84) which is ...
3
votes
1answer
97 views

Difficult style for the map

There is a task before me of generating images as shown below. The main problem is the signs which must be placed outside the polygon (if they do not fit in it), and the lines should connect the sign ...
3
votes
1answer
229 views

How to render area that crosses 180°?

The problem is that the Chukotka Peninsula is located in the Western Hemisphere. So it is on the left side of Natural Earth Datasets. It needs to be moved to the right. I tried to use following ...
2
votes
1answer
617 views

Manually building a tile server

I use this instruction http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/ I have the problem on the step "Starting your tileserver" sudo mkdir /var/run/renderd sudo chown ...
1
vote
1answer
457 views

Mapnik Initialization does not work

I create geodatabase "training" sudo su su postgres createdb -E UTF8 template_postgis2 createlang -d template_postgis2 plpgsql psql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE ...
2
votes
1answer
98 views

What the difference: mapnik and mapnik2?

I use Ubuntu 12.04 LTC, postgres 9.1, postgis 2.0. I install mapnik. $ sudo add-apt-repository ppa:mapnik/nightly-trunk $ sudo apt-get update $ sudo apt-get install libmapnik mapnik-utils ...
3
votes
1answer
491 views

Tile server with dynamic mapnik rendering, caching, and pre-emptive rendering

I've been making some pretty (but computationally expensive) tiles with TileMill and I'd like to serve them up. First, I served them straight from TileMill. Every tile gets rendered dynamically, ...
3
votes
0answers
107 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 ...
0
votes
2answers
69 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 ...
0
votes
0answers
42 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
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. ...
3
votes
1answer
81 views

Tilemill reversing land and water at high zoom levels

I tried asking this over at MapBox's support forum and got no help. I am trying to generate a map of Northern france using Tilemill and this set of land polygon data from openstreetmapdata.com (the ...
1
vote
1answer
189 views

Generate tiles with EPSG:4326 projection using Mapnik

I'm trying to generate tiles from a postgresql database that contain osm data in EPSG 4326. I used the scripts generate_xml.py and generate_tyles.py provided by mapnik-stylesheets. The final result is ...
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, ...
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 ...
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 ...
1
vote
0answers
116 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 │ ...
2
votes
1answer
47 views

How does Mapnik Map Similar Features to Images

General Problem I want to be able to select all nodes inside of a bounding box that have similar properties. A good example would be: Map features that represent vegetaion. In other words: Basically ...
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 ...