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
1answer
135 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
29 views

Mapnik + OpenStreetMap + Shapefile with Raster Images + Mod Tile + PostGIS

I am new to GIS. I have a Shapefile (.shp, .shx and .pbf). The .pbf file contains path to PNG files located on my machine only. I was able to save the Shp data to PostGis via Shape2Gis tool. Now ...
3
votes
3answers
68 views

Offline Map Service with Mapnik and Leaflet

I'm relatively new to GIS, so I hope my asking doesn't appear to be ignorant in any way. I currently work on an offline map service solution for usage in areas without internet connection. For that ...
0
votes
2answers
98 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 ...
1
vote
1answer
41 views

How to render tiles from kml file

I'm trying to render tiles out of a KML file. Normally, I'd render tiles out of an planet.osm extract. For example, I'd select a tag using osmosis and then process it with osm2pgsql. Then I'd ...
0
votes
1answer
121 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
0answers
16 views

Custom projection with mapnik

I would like to superimpose openstreetmap data over a raster image, using mapnik. My problem is that this image is not in a projection being defined by a SRS, I have some non-linear algorithm to run ...
5
votes
1answer
251 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. ...
0
votes
1answer
175 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
1answer
130 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
2answers
35 views

OpenStreetMap Tile Server with Custom Projection Systems

I am trying to install the OSM tile server on a local machine with a custom projection system like epsg:3573. For the server installation I followed this tutorial ...
1
vote
2answers
138 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
10 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
20 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 ...
3
votes
1answer
234 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 ...
1
vote
1answer
39 views

Render tiles in the sea

I installed a mapserver on my own server with mapnik, apache and mod_tile. I build an application with WorldWind and my map server. My problem is that there are blank tiles instead of blue tiles to ...
1
vote
1answer
174 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: ...
3
votes
2answers
92 views

Custom OSM, styling points

I have my own OSM file, which is created by some application which I written. You can see some of nodes in my OSM file bottom of the post. I want to fill +/-0.0001 latitude, +/-0.0001 longitude ...
1
vote
1answer
144 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 ...
0
votes
0answers
10 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 ...
1
vote
2answers
50 views

Carto-CSS/ Mapnik XML Text background color

I want to add a background color to my labels. How do I do that with Carto-CSS in Tilemill or with Mapnik? Carto-CSS #marker_labels { text-name: "[name]"; text-face-name:@sans; text-size: 20; ...
0
votes
1answer
95 views

Difference between 2 projections?

I have osm.xml file where projection is defined as follows: Map background-color="grey" srs="&srs900913;" minimum-version="2.0.0"> n settings.xml file projection is also set there as: <!ENTITY ...
0
votes
0answers
38 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
49 views

Tiles taking too long to render

I've followed the tutorial available here. The installation worked alright, but opening the tile in a browser leads to a 404 error. The only error from the server is "Failed to read cmd on fd 10". ...
0
votes
1answer
13 views

polytiles error

when I run a polytiles.py script for mapnik rendering. It worked just fine until the error: Process Process-1: Traceback (most recent call last): File ...
0
votes
0answers
17 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
43 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> ...
1
vote
2answers
36 views

How to style ways with CartoCSS depending on a relation property (OSM)

I'm using CartoCSS together with an OSM Postgres DB (hstore on). I want to set the line color depending on the operator tag of relations (routes). How can I do that? Update Thanks to Paul Norman for ...
2
votes
1answer
84 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
84 views

mapnik rendering with OSM Carto style

When I want to make png tiles that look like ones in osm tile server what I need to do? Do I need to import data to postGIS db somehow WITH osm Carto style or I can just import it "normally" w/o ...
1
vote
1answer
79 views

How to use OSM Bright with Mapnik Renderd

I have set up an OSM tile server using instructions at this blog - http://seshagiriprabhu.wordpress.com/2013/07/21/building-an-openstreetmap-tile-server-on-ubuntu-12-04-lts/ The slippymap renders ...
6
votes
1answer
999 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 do that also with ...
1
vote
2answers
240 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 ...
1
vote
1answer
60 views

mapnik generate_tiles.py error using .xml from TileMill

I wanted to render png tiles (like form tile server of osm). I made postGIS db, succesfully run TileMill with OSMBright style. I read that I need now export mapnik xml from TileMill. I checked Mapnik ...
3
votes
2answers
86 views

Use Mapnik tiles in QGIS

I want to use the QGIS Map Composer with Python to automatically generate maps. As a base map of these maps I want to use tiles generated with Mapnik. Currently I am serving the tiles with mod_tile ...
0
votes
1answer
58 views

PostGis geometry name lookup failed for table

I have a table name erpAssets which has column name Region of type polygon. it contains entries of points also like (-79.4609576808001,43.9726680183837)). I have written query which convert these ...
0
votes
0answers
35 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
33 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 ...
3
votes
1answer
160 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 ...
0
votes
1answer
58 views

Apache2 is missing conf.d file

I am following this tutorial about how to create my own tiles and got stuck on slide 20. I am trying to tell my web server about my mod_tile installation. However the folder /etc/apache2 doesn't have ...
0
votes
1answer
90 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 ...
2
votes
1answer
29 views

Only Draw Geometric Objects Above 8th Parallel North

I have many geometric objects (in both SRID:4326 - the_geom - and SRID:3857 - the_web_geom - in PostGIS extension tables of PostgreSQL), including country boundaries, for the country of Ghana and I ...
0
votes
1answer
168 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 ...
0
votes
0answers
38 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
2answers
157 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: ...
0
votes
0answers
93 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
12 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
83 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
25 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
38 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 ...