Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
0
votes
Undefined reference to mapnik::hit_grid from C++ compile?
Searching through the mapnik code base, brought me to the file include/mapnik/value/types.hpp, which had this code:
#ifdef BIGINT
//using value_integer = boost::long_long_type;
//using value_integer = …
1
vote
Map tile not rendered on node-mapnik?
The problem was with the last line
process.exit(0);
map.render is a non-blocking function call. Callback given as a parameter to that function will be invoked only when the render is complete. But, …
0
votes
1
answer
414
views
Map tile not rendered on node-mapnik?
const mapnik = require('mapnik');
const sphericalmercator = require('@mapbox/sphericalmercator');
mapnik.register_default_fonts();
mapnik.register_default_input_plugins();
const TILE_HEIGHT = 256;
const … I am assuming that I am missing a very simple but important part due to my lack of experience with node and mapnik.
Apart from the console.log output, there is no response from the program. …
1
vote
1
answer
334
views
Undefined reference to mapnik::hit_grid from C++ compile?
I am trying to compile a c++ mapnik program with code in question being:
mapnik::grid my_grid(256, 256, "id");
and the command to compile being:
g++ grid_gen.cpp -std=c++11 -lmapnik -lcairo -lfreetype … -lpng -licuuc -lz -ldl -Wall -o grid_gen
which ends up throwing this error:
grid_gen.cpp:(.text+0x744): undefined reference to
`mapnik::hit_grid<mapnik::gray32s_t>::hit_grid(unsigned long, unsigned …