Questions tagged [mapnik]

Open Source C++ Map Rendering toolkit

214 questions
2
votes
1 answer

Mapnik python bindings installation error

I've install mapnik by this tutorial https://github.com/mapnik/mapnik/wiki/WindowsInstallation . I think installation over succeed becouse test on 6. step have not errors. Next I procceed by this…
Denis Stephanov
  • 4,563
  • 24
  • 78
  • 174
2
votes
0 answers

Mapnik renders map with datasource to empty vector tile

sorry if this a novice question. I am using node-mapnik to generate vector tiles from a database query, but the vector tiles always return empty, whereas I am pretty sure postgis actually returns data (tested the query separately on psql, with the…
Clouddie
  • 103
  • 2
  • 11
2
votes
1 answer

How to render OSM tiles

I would like to setup a tiles server. I found some documentation on the net and followed this tutorial. Now it seems like I have a well configured server with a small map (Guyana) in my database, that's cool ! But now, I still don't understand how…
Roozaay
  • 31
  • 7
2
votes
2 answers

mapnik vector tile vs raw geojson performance

I am experiencing > 2s processing time for converting a 120 MB geojson file to protobuf through Mapnik Vector Tile node bindings. On the other end serving the raw geosjon file takes under 200 ms. Is it normal ? If yes, what is the point of serving…
Clouddie
  • 103
  • 2
  • 11
2
votes
1 answer

Linking required header file during make

I am trying to make a sample binary against a project that I've already compiled. The compilation fails with $ make c++ -D_THREAD_SAFE -I/usr/local/Cellar/protobuf/2.6.1/include -L/usr/local/Cellar/protobuf/2.6.1/lib -lprotobuf-lite tileinfo.cpp…
Synesso
  • 37,610
  • 35
  • 136
  • 207
2
votes
1 answer

openlayers 3 with mapproxy Black area inside map

I have a problem when use Ol3 with Mapproxy and Mapnik to get the layers from OSM database. when I convert my work from Ol2 to Ol3 I see something wrong when I zoom in/out in map I get some black area and Thank you for help :) This is my code to…
2
votes
2 answers

Rendering OSM XML file with Mapnik and street names

I am rendering OSM XML tiles using Mapnik, but when I increase my font size for road names, some roads appear to show text twice in a row. Here is an image of what I mean: Note the unwanted repetition of: Stirling Street Atkins Street (on the…
Ken
  • 109
  • 5
2
votes
1 answer

Mapnik module not found

After upgrading my OS to Yosemite I also wanted to go with the newest version of Mapnik. I made a clean install of OS on a new hard drive and installed all the things I need using Homebrew. After installing successfully, when I try to import mapnik…
kaaos
  • 31
  • 3
2
votes
0 answers

Mapnik PostGIS GeoJSON/TopoJSON Rendering

I'm successfully rendering and serving up US county level .pbf tiles from a custom dynamic node-mapnik tile server using PostGIS, but now I want to also render and serve up topojson and/or geojson tiles from this same server. Is there a way to…
hotshotiguana
  • 1,520
  • 2
  • 26
  • 40
2
votes
1 answer

Tile-live mapnik returns blank image when i set tileSize : 1024

tilelive.load({ protocol: 'mapnik:', pathname: './styles/listingStyles2.xml', xml: xml, query:{ tileSize: 256, //scale:0.5, //metatile: 1, autoLoadFonts: false …
2
votes
1 answer

Using data from a dataset in styles with Mapnik

I've setup Mapnik to connect to a PostGIS database, and display geometry. I'd like to have a column in my database called opacity, and use it as the opacity for that row of geometry when Mapnik renders it. So far, I've only found information on how…
Alex King
  • 2,504
  • 23
  • 26
2
votes
1 answer

Getting Mapnik v2.2.0 for windows 32 bit to work with Pycairo

Have installed Mapnik and Python but on running the python demo get the message Pycairo not available...will render Cairo formats using alternative method. After that python crashes. I have installed Python 2.7 and it is working from both command…
2
votes
2 answers

Global name 'mapnik' not defined when using Tilestache

I set up a TileStache server on Redhat, installing Mapnik 2.2 from source. However, Tilestache is giving me the following error: Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/gevent/pywsgi.py", line 508, in…
user1816907
2
votes
2 answers

Tilemill error Could not create datasource for type: 'postgis' (searched for datasource plugins in '/usr/lib/mapnik/input')

Followed link OSM Quick start Had little bilt problems but i managed to perform all the steps. But when my opened my newly created project in tilemill we just mad it shows error Could not create datasource for type: 'postgis' (searched for…
Dhruv Pal
  • 849
  • 2
  • 10
  • 25
2
votes
2 answers

Any GoogleMap-like style for OpenStreetMap?

I have just built a tile server for OSM. I'm wondering if I could have a GoogleMap-like style shown in browser. If yes, how could I make it?
ShineSoleil
  • 115
  • 1
  • 1
  • 9
1 2
3
14 15