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

1
vote
1answer
92 views

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

I have created an OpenStreetMap server using the guide Manually building a tile server (12.04). It's very good and works like a charm. I have also been able to add a new theme using TileMill and ...
1
vote
1answer
88 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
2answers
113 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 ...
0
votes
0answers
21 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 ...
3
votes
2answers
120 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
2answers
132 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; ...
1
vote
1answer
231 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
0answers
70 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
1answer
32 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
37 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 ...
1
vote
2answers
95 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 ...
0
votes
1answer
349 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
328 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 ...
0
votes
0answers
121 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
1answer
155 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 ...
0
votes
1answer
150 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
1answer
102 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 ...
3
votes
2answers
138 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
0answers
119 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
111 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
1answer
293 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 ...
6
votes
1answer
874 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. ...
2
votes
1answer
37 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 ...
1
vote
0answers
104 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
187 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
1answer
73 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
116 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
35 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
1answer
305 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
48 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
261 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
95 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
86 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
271 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
105 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
146 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 ...
1
vote
1answer
261 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
45 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
1answer
179 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
379 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 ...
3
votes
3answers
216 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
299 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
2answers
275 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?
2
votes
0answers
173 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
555 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
850 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
212 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
245 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
297 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), ...