Structure
{
....proj: {
........id,
........lon0,
........lat0
....},
....layers: {
........layer1: {
............src,
............filter,
............attributes,
............join,
............simplify
........}
....},
....export: {
........width,
........round
....},
....bounds: {
........mode,
........data: {
............layer
........}
....}
} |
|
|
Command Line
kartograph config.json --preview |
kartograph config.json -o mymap.svg |
Attributes
"all" |
["ISO3", "NAME"] |
"iso": "ISO3" |
Join
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 |
|
|
Filter
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}] |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets