Questions tagged [mapnik]
Mapnik is an open source mapping toolkit, written in C++ and can be scripted using binding languages such as JavaScript (Node.js), Python, Ruby, and Java. Useful for both Desktop- and Server-based map rendering. It is used by Tilemill, OpenStreetMap, Mapbox, CartoDB, Stamen, MapQuest and Kosmtik.
400
questions
27
votes
5
answers
16k
views
Optimizing osm2pgsql imports for OSM data
I'm currently building an instance on EC2 on which to import the entire Planet.osm snapshot of the whole Earth's worth of data for some projects we're working on. I've spun up a large Ubuntu x64 ...
23
votes
3
answers
21k
views
Mapnik, Mapserver or Geoserver
I'm currently developing an ArcGIS based flex web viewer. ArcGIS is great for most of the things but there are some issues like performance and license costs.
That's why I'm looking into possible ...
13
votes
2
answers
3k
views
Waterman butterfly projection in Mapnik
Like the title says, how would someone configure Mapnik to use the Waterman butterfly projection ?
Otherwise, what other tools would be able to render using this projection ?
12
votes
3
answers
4k
views
Stack - Mapnik, TileMill, OpenLayers, GeoExt
Would this work as a stack for serving web maps with the basic GIS viewer functionality (pan, zoom, layer switching, info popups)?
Apache Web Server
Mapnik to serve the geo-data (TileMill to Style ...
12
votes
1
answer
3k
views
Setting up TileStache
I want to set up TileStache, but I'm new enough to the world of GIS to find the TileStache docs a bit impenetrable.
I've just about figured out that I need to run
tilestache-server.py -c ...
10
votes
2
answers
2k
views
Mapnik renders only "blank" tiles
I'm new to the fascinating GIS world, and I've been researching the whole topic for the past few days. My goal is to serve planet-wide maps with OSM data on my own servers.
My stack is:
Postgres + ...
10
votes
1
answer
6k
views
How to render Mapbox Vector Tiles from OSM data?
I'd like to render my own vector tiles in the Mapbox Vector Tile format (MVT) format using OpenStreetMap data (ultimately for use with Mapbox's hot Mapbox GL JS client renderer).
Is TileStache + ...
10
votes
2
answers
2k
views
Can Mapnik render spatial data from SQL Server?
This is a very simple question - I just want to know if anybody can confirm that they have successfully used Mapnik to render tiles directly from data held in SQL Server. (And, if so, what did you do ...
9
votes
1
answer
4k
views
OpenLayers with my own OSM data server
I've gone through the process of setting up my own OSM database / tile server by setting up PostGIS, importing the Planet.osm data snapshot (took a few days), and setup Mapnik / cascadenik, etc. I ...
8
votes
2
answers
3k
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 ...
8
votes
2
answers
4k
views
How do I rotate the OSM map before printing?
What is the simplest way to rotate and render Openstreetmap data, and still get a nice render? For example Toronto, would fit best rotated slightly on a page in landscape mode, so the northern ...
8
votes
1
answer
6k
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. ...
8
votes
1
answer
341
views
Mapnik failing through a webstack
I've inherited a pretty large / complex (internal) web portal (run under python 2.6.6), which has some mapping capabilities, using Mapnik 2.2.0. The web service has recently started throwing 500 ...
8
votes
1
answer
904
views
Generate static heat maps server side?
I've been searching for a way to generate server side static maps using Python (or any other languages, doesn't matter).
I can create the maps I want with QGIS (and they look really great) but I don'...
7
votes
2
answers
8k
views
Creating tiles in Mapnik
I have installed Mapnik and successfully tested it. Now I am facing the problem of creating my own customized tiles. I have googled it but everywhere it was telling about OSM tile generation.
My ...
7
votes
1
answer
32k
views
Clicking marker icon to open pop-up using OpenLayers
Background
I am looking to create a pop-up that performs an Ajax request when the user clicks a marker on an OpenLayers map. The markers, however, have different icons.
Problem
The following is ...
7
votes
1
answer
1k
views
Mapnik/Python Compatibility
Anyone know what versions of Python Mapnik is compatible with?
I'm having trouble getting Mapnik to work. I'm thinking it might be because I am on 64-bit Win 7 and installed the 64-bit Python (v2.7)
...
7
votes
1
answer
5k
views
Custom tile server - how to create a layer using Mapnik and mod_tile using POSTGIS db
I have created a Ubuntu 14.04 tile server.
I loaded an OSM base map into the POSTGIS database and created a slippy-map using OpenLayers 3.9.
Then I loaded data of an overlay into the POSTGIS database ...
7
votes
2
answers
4k
views
How to set up an OSM server with TileCache and Mapnik?
I have been trying for two and a half weeks so far to get a local copy of OpenStreetMap running on a server. I have downloaded the planet file and imported it into a PostGIS database called 'osm'. I ...
7
votes
2
answers
6k
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 ...
7
votes
1
answer
3k
views
Merging layers from two vector tiles with Mapnik
I'm using Mapnik + Mapbox NodeJS stack. Given two vector tiles (PBFs) for the same location/zoom, with some layers having the same name in both. How do I merge them into one PBF tile - replacing ...
7
votes
1
answer
3k
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 ...
7
votes
0
answers
2k
views
Configuring & debugging a new mapnik / tirex installation [closed]
I've a stack OpenLayers > Apache mod_tile > tirex working with the tirex test backend on a Ubuntu 10.04 virtual machine.
However, I now have troubles with the mapnik-example backend included with ...
6
votes
4
answers
14k
views
How to serve OSM Tiles on Windows?
Was hoping I could just extract tiles into a local file system, point IIS at it and be done but I guess that is not the reality of Open Street Map. I'm getting buried in all the possible ways of self-...
6
votes
2
answers
5k
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, ...
6
votes
3
answers
4k
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, ...
6
votes
1
answer
9k
views
Applying Mapnik style for OpenStreetMap data in ArcMap? [duplicate]
I am loading OpenStreetMap vector data into ArcMap (using the Download and Symbolize OSM Data tool of ArcGIS Editor for OpenStreetMap 1.1). I'm sure there must be a simple way to apply the style/...
6
votes
0
answers
784
views
Creating dynamically filtered layers using Tilestache/Mapnik?
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) dimensions,...
5
votes
2
answers
4k
views
Rendering PostGIS raster with Mapnik XML
I'm trying to manage raster files from PostGIS, which is to be rendered using Mapnik. I used raster2pgsql to load those GeoTIFF images to PostGIS, and I think the loading process turned out OK. The ...
5
votes
2
answers
7k
views
Mapnik style editor
Is there any tool or editor which can shorten the cycle for experimenting on different styles for mapnik.
It would be wonderful with something like cloudmade's editor, but with the possibility to ...
5
votes
1
answer
3k
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 srs(...
5
votes
3
answers
5k
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 ...
5
votes
1
answer
525
views
artifacts in SRTM contour layers processed with GDAL tools and rendered with mapnik?
Here is my workflow for importing individual SRTM tiles into postgis using the GDAL utils and rendering a png using mapnik:
gdal_fillnodata.py -srcnodata -32768
gdal_contour -i 10 -a ele -snodata -...
5
votes
2
answers
1k
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 ...
5
votes
2
answers
4k
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 ...
5
votes
1
answer
661
views
How to fix strange rendering behaviour of OSM Data in Mapnik?
My current setup so far is a running Apache webserver with tilecache.cgi script and a mapnik rendering engine connecting to my postgis database containing my OSM data.
The problem is very easy to ...
5
votes
1
answer
508
views
OSM2PGSQL - Openstreetmap Tiles showing no detail at certain levels
I recently built myself a Map server using this guide:
https://www.linuxbabe.com/linux-server/openstreetmap-tile-server-ubuntu-16-04
This has worked really well to an extent.
I have however noticed ...
5
votes
1
answer
702
views
Some characters in OpenStreetMap display as rectangles
I installed tileserver based on the instructions provided here for Ubuntu 14.04 using this approach . All fonts and Shapefiles were downloaded and installed from INSTALL.md.
The tileserver works ...
5
votes
1
answer
749
views
Exporting QGIS project to Mapnik XML?
Is it possible to export a QGIS project to Mapnik xml?
I'm using QGIS 2.4 and Quantumnik does not seem to work with that version.
5
votes
1
answer
549
views
Generating 1-18 simple worldmap with mapnik
I have PostgreSQL with PostGIS and mapnik, I need to generate a tiled world map with only country contours and country name that are displayed at all zoom levels, no extra info.
How can I do it ...
4
votes
2
answers
3k
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?
4
votes
1
answer
2k
views
Seeking hardware recommendations for Mapnik Server? [closed]
I'm looking for some suggestions for a Mapnik-TileCache server.
How much hardware is really necessary?
The dataset I use is about 380mb in osm raw format. My actual database is a bit more than 1GB. ...
4
votes
4
answers
1k
views
Permission Denied when installing openstreetmap server
I am installing a tile server from this link on my Ubuntu Machine 14.04. The problem I am facing is in this line :
./make.py
cd ../OSMBright/
carto project.mml > OSMBright.xml
Whenever I enter '...
4
votes
4
answers
2k
views
How to install everything "geo" in Ubuntu?
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 ...
4
votes
1
answer
7k
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 ...
4
votes
1
answer
2k
views
Mapnik Style Filter on River/Lakes Shapefile attributes (from Natural Earth Data)
As a followup to this question, I downloaded the vector data here:
http://www.naturalearthdata.com/downloads/10m-physical-vectors/
and I successfully created the rasterized water/land mask I wanted:
...
4
votes
1
answer
214
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 ...
4
votes
1
answer
1k
views
Rendering tm2 projects? [closed]
What are the options for rendering tm2 projects?
As far as I know the open source Mapbox tm2 projects have proprietary data sources (like OSM Bright 2), thus they are of little use, but some other ...
4
votes
2
answers
6k
views
renderd not rendering
I followed the instructions manually building a tile server and ran in some problems.
When entering http://localhost:8080/osm_tiles/0/0/0.png
renderd shows this:
renderd[263]: DEBUG: Got incoming ...
4
votes
2
answers
2k
views
using mod_tile in windows
I am trying to generate tiles on the fly in windows using mod_tile. I have followed the tutorial http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ on ubuntu and successfully ...