Kartograph is a simple and lightweight framework for building interactive map applications without Google Maps or any other mapping service.
|
kartograph config.json --preview
|
|
kartograph config.json -o mymap.svg
|
|
"all"
|
|
["ISO3", "NAME"]
|
|
"iso": "ISO3"
|
|
all
|
true
|
|
auto group
|
"group-by": "CONT"
|
|
define group
|
"groups": { "1": ["a", "b", "c"], "2": ["x", "y", "z"]}
|
|
"group-as": "id"
|
|
|
buffer
|
"buffer": 0.0000001
|
|
is / =
|
["ISO3", "is", "FRA"]
|
|
["ISO3", "=", "FRA"]
|
|
|
{ "ISO3": "FRA" }
|
|
|
like
|
["NUTS", "like", "FR%"]
|
|
regex
|
["NUTS", "matches", "^FR\d"]
|
|
list
|
["ISO", "in", ["FRA", "DEU", "ESP", "GBR"]]
|
|
{ "ISO": ["FRA", "DEU", "ESP", "GBR"] }
|
|
|
>
|
["AREA", "greater", 100000]
|
|
<
|
["AREA", "less", 100000]
|
|
not
|
["ISO", "is not", "FRA"]
|
|
["ISO", "not like", "F%"]
|
|
|
and / or
|
"and": [filter_1, filter_2]
|
|
nesting
|
"or": [ {expression}, {expression}]
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.