npm install
node example1.js
node example2.js
Source data: countries.geojson
from here
Converts the JSON file into XML intermediately and then renders it without any style information, uses the geojson-mapnikify
defaults which are specified in geojson-mapnikify/lib/defaults.js.
Output:
Source data: Same as above
Loads a stylesheet XML countries-stylesheet.xml
file, which then fetches its data from the same countries.geojson
. Specifies some filters, styling rules and the projection.
Output: