From 65f6997791dc0fdc3a84d947b357d14e7a3761c2 Mon Sep 17 00:00:00 2001 From: Artemy Date: Sat, 10 Jun 2023 20:36:07 +0300 Subject: [PATCH] feat: file templates --- file_templates/config.yaml | 11 +++++++++++ file_templates/countries.json | 11 +++++++++++ file_templates/geojson.geojson | 4 ++++ file_templates/layers.yaml | 3 +++ file_templates/properties.yaml | 6 ++++++ file_templates/roadSizes.json | 5 +++++ 6 files changed, 40 insertions(+) create mode 100644 file_templates/config.yaml create mode 100644 file_templates/countries.json create mode 100644 file_templates/geojson.geojson create mode 100644 file_templates/layers.yaml create mode 100644 file_templates/properties.yaml create mode 100644 file_templates/roadSizes.json diff --git a/file_templates/config.yaml b/file_templates/config.yaml new file mode 100644 index 0000000..c0e1122 --- /dev/null +++ b/file_templates/config.yaml @@ -0,0 +1,11 @@ +# config is optional +# --- +# tags: +# - tags +# - for +# - polygon +# - selection +# reProperty: +# new: "Properties" +# for: "Polygons" +# cities: false diff --git a/file_templates/countries.json b/file_templates/countries.json new file mode 100644 index 0000000..bd27aec --- /dev/null +++ b/file_templates/countries.json @@ -0,0 +1,11 @@ +// example: +// [ +// { +// "idc": "usa", +// "description": "strong country", +// "name": "United States of America", +// "date": "January 2, 1776", +// "img": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Flag_of_the_United_States_%28DoS_ECA_Color_Standard%29.svg/125px-Flag_of_the_United_States_%28DoS_ECA_Color_Standard%29.svg.png", +// "about": "https://en.wikipedia.org/wiki/United_States" +// } +// ] diff --git a/file_templates/geojson.geojson b/file_templates/geojson.geojson new file mode 100644 index 0000000..8b3698f --- /dev/null +++ b/file_templates/geojson.geojson @@ -0,0 +1,4 @@ +{ + "type": "FeatureCollection", + "features": [] +} diff --git a/file_templates/layers.yaml b/file_templates/layers.yaml new file mode 100644 index 0000000..32d63b5 --- /dev/null +++ b/file_templates/layers.yaml @@ -0,0 +1,3 @@ +# ids of countries +# - usa +# - china diff --git a/file_templates/properties.yaml b/file_templates/properties.yaml new file mode 100644 index 0000000..db1e9bd --- /dev/null +++ b/file_templates/properties.yaml @@ -0,0 +1,6 @@ +# --- +# usa: +# fill: "#09aa1c" +# stroke: "#09aa1c" +# tags: +# - nato diff --git a/file_templates/roadSizes.json b/file_templates/roadSizes.json new file mode 100644 index 0000000..95c88fd --- /dev/null +++ b/file_templates/roadSizes.json @@ -0,0 +1,5 @@ +{ + "small": 0.006, + "middle": 0.014, + "big": 0.028 +}