Open Source C++ Map Rendering toolkit
Questions tagged [mapnik]
214 questions
1
vote
1 answer
Add mapnik library to eclipseC++
I downloaded and built mapnik library with vcpkg after that I tried add the mapnik to eclipse.For GCC C++ compiler Include :"/home/ubuntuc/vcpkg/packages/mapnik_x64-linux/include" and for GCC C++ linker…

Ozan Ozan
- 11
- 2
1
vote
0 answers
How to properly set up an OpenLayers application using a local offline mapping server (mod_tile & Mapnik)?
I'm trying to develop a fully offline mapping solution using OpenLayers and this very useful guide. With it, was able to successfully build a map server. I set it up on a virtual machine, running Ubuntu Server 20.04. By following the "second part"…

Aziel Freitas
- 11
- 1
1
vote
0 answers
install of mapnik on windows python
for my master thesis, I have to render some maps from OpenStreetMap information. Unfortunately, I'm not able to install mapnik.
In the manual (https://github.com/mapnik/mapnik/wiki/WindowsInstallation) it said I should Add ";C:\mapnik-v2.2.0\lib" to…

RoKa
- 105
- 6
1
vote
0 answers
Using Mapnik to render tiles with a uint16 RGB GeoTIFF as the data source
I have an RGB GeoTIFF with 16-bits for each channel. When I try to use Mapnik with it to render a PNG (or a tileset), I end up with all values (clipped to?) white. Transparency is working, so I know its parsed the data in the file, but the style…

Seth
- 2,712
- 3
- 25
- 41
1
vote
0 answers
How Install Mapnik on Ubuntu
I dont understand what is wrong.
I've created a vector tile server to render tile layers using express.js
I'm trying to install mapnik on ubuntu (using a version of osboxes.org --> Ubuntu Studio 19.10 (64bit)…

Javier
- 1,975
- 3
- 24
- 46
1
vote
1 answer
Vector Tiles for MapboxGL Client doesnt return properties
I am trying to set up a web server in Node.js that serves vector tiles to be displayed in a browser using MapboxGL JS. The data for the vector tiles is stored in a PostGIS database.
this is my database scheme: CREATE TABLE IF NOT EXISTS…

Javier
- 1,975
- 3
- 24
- 46
1
vote
1 answer
How can I prevent Mapnik from mixing tile sources in my OSMdroid based app
I have made a map app for personal use, in which I can choose one of three map sources: OpenTopo, Mapnik or HikeBike. It is primarily intended for off-line use, and to that end I have downloaded a complete set of OpenTopo bitmap tiles (.png),…

moof-moof
- 21
- 6
1
vote
0 answers
Mapnik Vector Tiles styles
I'm trying to build my own vector tile server using Mapnik. Now I've created a XML style using Tilemill and exported this to include in the Mapnik node server.
Below the code of the server to render te .mvt tiles.
app.get('/tiles/:z/:x/:y.mvt',…

Camille Sébastien Niessen
- 1,282
- 14
- 28
1
vote
1 answer
How to install mapnik python3 wrapper in conda?
I have installed mapnik 3.0.12 with conda install -c mrterry mapnik, but why I can`t import it in my code?
import mapnik
ModuleNotFoundError: No module named 'mapnik'
I looked in anaconda3/pkgs/mapnik-3.0.12-0/lib and there is no python3.7 folder…

balezz
- 788
- 5
- 15
1
vote
0 answers
Rendering roads with mapnik
I wrote a little Python script script which, given a GPS position and a radius, draw an image with the help of mapnik, with all the roads contained in the bounding box centered in the GPS position with the given radius. Now, all the street have the…

Federico Vaccaro
- 13
- 4
1
vote
1 answer
Is there a good way to display map tiles dynamic and real time?
Ⅰ using python-mapnik(linux)+postgis
I've tried using mapnik to show big data(aboult more than 600,0000 polygon features with much points in postgis),I display it real time from python service without cache. but i meet the problem:
1.At the…

Happy Young
- 95
- 1
- 9
1
vote
1 answer
Cannot start renderd service for mod_tile
I am building an OSM tile server as per directions available here: https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/ on an Amazon EC2 instance with Ubuntu 16-04 LTS.
Everything is working well until the step of starting renderd as…

ssast
- 779
- 1
- 8
- 17
1
vote
1 answer
How can I check what version of mapnik I am using in python?
I am using Python 3.5 and the mapnik library bindings available through the python-mapnik project. I have multiple versions of the mapnik library on my machine, how can I do a sanity check to see which version of mapnik the is being used by the…

Pocketsand
- 1,261
- 10
- 15
1
vote
0 answers
Modifying tilestache.cfg file does reflect in the api calls (Suspected cache issues)
i have setup my tilestache server and serving my tilemill xml files.
I have followed this tutorial for serving own tilemill files.
https://go.yuri.at/running-a-map-server-with-mapnik-and-tilestache-on-ubuntu-16-04/
There are problems which i am…

erathina
- 53
- 1
- 7
1
vote
1 answer
Mapnik not -85.0511º to 85.0511º shape issue
I have a shape that boundaries goes from -180º to 180º on longitude, but on latitude, It goes from -90º to 83.64513º. In a front-end application using leaflet, when It asks for mapnik server the image of the tiles, I convert tile positions to…

João Paulo
- 6,300
- 4
- 51
- 80