Show Menu

Kartograph Cheat Sheet by

Kartograph is a simple and lightweight framework for building interactive map applications without Google Maps or any other mapping service.
python     javascript     framework     kartograph     maps

Structure

{
....proj: {
........id,
........lon0,
........lat0
....},
....la­yers: {
........l­ayer1: {
............src,
............f­ilter,
............a­tt­rib­utes,
............j­oin,
............s­im­plify
........}
....},
....ex­port: {
........w­idth,
........round
....},
....bo­unds: {
........mode,
........data: {
............l­ayer
........}
....}
}
 

Command Line

kartograph config.json --preview
kartograph config.json -o mymap.svg

Attributes

"­all­"
["IS­O3", "­NAM­E"]
"­iso­": "­ISO­3"

Join

all
true
auto group
"­gro­up-­by": "­CON­T"
define group
"­gro­ups­": { "­1": ["a", "­b", "­c"], "­2": ["x", "­y", "­z"]}
 
"­gro­up-­as": "­id"
buffer
"­buf­fer­": 0.0000001
 

Filter

is / =
["IS­O3", "­is", "­FRA­"]
 
["IS­O3", "­=", "­FRA­"]
 
{ "­ISO­3": "­FRA­" }
like
["NU­TS", "­lik­e", "­FR%­"]
regex
["NU­TS", "­mat­che­s", "­^FR­\d"]
list
["IS­O", "­in", ["FR­A", "­DEU­", "­ESP­", "­GBR­"]]
 
{ "­ISO­": ["FR­A", "­DEU­", "­ESP­", "­GBR­"] }
>
["AR­EA", "­gre­ate­r", 100000]
<
["AR­EA", "­les­s", 100000]
not
["IS­O", "is not", "­FRA­"]
 
["IS­O", "not like", "­F%"]
and / or
"­and­": [filter_1, filter_2]
nesting
"­or": [ {expre­ssion}, {expre­ssion}]

Download the Kartograph Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/bwaldmann_kartograph.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          AngularJS Cheat Sheet
          Selenium WebDriver Cheat Sheet Cheat Sheet