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

2
votes
0answers
160 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
382 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
510 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
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 ...
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
202 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
206 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
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 ...
2
votes
2answers
526 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
104 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
304 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
958 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
703 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
125 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
721 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
120 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
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 ...
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 ...
0
votes
0answers
58 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
122 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
135 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
253 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 ...
1
vote
0answers
316 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
138 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
57 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
133 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 ...
1
vote
1answer
396 views

TileStache + OpenLayers TMS - Tiles are rendered disorderly

I newly turned to TileStache to render Mapnik tiles because of the caching option. Before, I was using Mapnik python bindings only and it was working perfectly. Now that I use TileStache, the tiles ...
0
votes
1answer
79 views

mapnik verbose?

I've got a PostGIS NHD layer thats not rendering in mapnik (using toposm code scripts) and I don't know why. I've confirmed that the table data is there, positioned correctly and has the proper ...
0
votes
1answer
217 views

Does tile server renders every request?

I am trying to understand how tile server handle requests. I red about Mapnik which "creates" the map using OSM, Does "creates" means that every request is rendered and returned? If yes what is the ...
0
votes
2answers
538 views

Tile script (Mapnik) with OpenLayers - Problem with projection (900913)

I use Mapnik python bindings in a geodjango application to render tiles in openlayers with datasource stored in postGIS in 900913 projection. The feature seems to be rendered correctly in the ...
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
0answers
170 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
74 views

What is the main benefit and drawback of: GeoServer, MapServer, Mapnik? [duplicate]

For the purpose of creating a comparison table, please recommend a couple of feature fields that would apply to each FOSS GIS server. And, perhaps answer the question of which desktop GIS System, ...
1
vote
1answer
239 views

Mapnik - Weird tiles rendering when used with spatialite

I use Mapnik in an GeoDjango App with Spatialite 4.0 as backend. There is something weird with the tiles that I suspect might be related with a bad handling of mbr with spatialite. If you look at ...
0
votes
1answer
136 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
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 ...
0
votes
0answers
187 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 ...
1
vote
0answers
62 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
1answer
326 views

Missing function ST_Extent in PostGIS db

I hope you can help as I am tearing my hair out here. Do any of you elite geo peeps have any idea why some specific functions could be missing from my PostGIS install? I am trying to use Mapnik with ...
3
votes
2answers
135 views

How do I detect solid fill tiles in mapnik?

I'm using mapnik (python api) to render a very simple map where land polygons are black and water is white. There are no other features on the map. I'd like to detect if my tile is completely solid ...
1
vote
2answers
449 views

how can i use openlayers to use my locally rendered tiles

I've been stuck on how to use my local tiles which i rendered with mapnik's generate_tiles.py and all the data is on postgresql. I'm kinda confused on what i should do to "feed" the tiles to ...
0
votes
0answers
105 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
156 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 ...
2
votes
1answer
121 views

Mapnik TextSymbolizer value as integer

I'm working with TextSymbolizer in Mapnik. I have a shape file with a attribute which is a real. I wish to print the value of this attribute as integer and I don't find how I can do it in Mapnik. I ...
1
vote
1answer
65 views

Styling map elements based on their properties

I am currently generating tiles based on OSM data using Mapnik and Python and am quite happy using the XML styling but I am at a loss as to how to vary the styling on an element by element basis. I ...
4
votes
2answers
818 views

How to generate Tiles with QuantumGIS or Mapnik

I would like to know how to generate Map Tiles using QGis. I have heard that it is possible to create tiles using QGis, only, I don't know how to do that. Googling did not work for me since I am not ...
3
votes
2answers
385 views

OSM Python Utils: Modifying generate_tiles.py to create 512 x 512 tiles?

[Edited to include example image outputs] SE folks, I'm wanting to modify generate_tiles.py to create 512 x 512 tiles. At om_henners' recommendation, I tried replacing 12 of the 13 instances of 256 ...
3
votes
1answer
139 views

OpenLayers or OGCServer request optimization

I have an OpenLayers-OGCServer-Mapnik setup through a WMS layer. I noticed when i use the openlayers UI in a quick manner (fast zoom with mouse scroll, a couple of consecutive pans with mouse) the ...
0
votes
1answer
139 views

Open Source GIS Problem [closed]

I am new at open source GIS platform. I am using Ubuntu 12.10. I have tried to install the followings but without 2-3 tools I could not install anyone. Can any body help me how can I install the ...
2
votes
0answers
56 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 ...