Skip to content

Instantly share code, notes, and snippets.

@mapsam
Created February 10, 2016 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mapsam/81419207e208291ac9c5 to your computer and use it in GitHub Desktop.
Save mapsam/81419207e208291ac9c5 to your computer and use it in GitHub Desktop.
Mapnik Debug

Mapnik and the Mapnik-related tools have a series of useful debugging tools built into their repositories. Since these live across repos, it can be difficult to remember where they exist or even if know if they exist. This lists out all of the useful bin commands that have been built for debugging purposes when working on Mapnik.

node-mapnik

located at: https://github.com/mapnik/node-mapnik/tree/master/bin

  • mapnik-index.js
  • mapnik-inspect.js
  • mapnik-render.js
  • mapnik-shapeindex.js

mapnik-vector-tile

These tools live in ./build/Release/

  • vtile-decode
  • vtile-encode
  • vtile-geometry-encode
  • vtile-transform
  • vtile-edit
  • vtileinfo

node-mapnik-bench

  • test.js: this is a suite used for testing high-level node-mapnik functions and recording the memory and time it takes based on different testcases that represent different geo data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment