diff --git a/stolpersteine.geojson b/stolpersteine.geojson new file mode 100644 index 0000000..99e6ece --- /dev/null +++ b/stolpersteine.geojson @@ -0,0 +1,26 @@ +--- +--- +{ + "type": "FeatureCollection", + "features": [ +{% for item in site.list %} +{ + "type": "Feature", + "geometry":{ + "type": "Point", + "coordinates": [{{ item.x }}, {{ item.y }}] + }, + "properties": { + "name": "{{ item.title }}", + "address": "{{ item.address }}", + "names": [ + {% for s in item.steine %} + "{{ s[1] }}{% assign l = s[2].size %}{% if l > 0 %} {{ s[2] }}{% endif %}" + {% if forloop.last %}{% else %},{% endif %} + {% endfor %} + ] + } +} {% if forloop.last %}{% else %},{% endif %} +{% endfor %} + ] +} \ No newline at end of file