-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata.html
166 lines (137 loc) · 7.18 KB
/
data.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
title: PAThs data repository & documentation
layout: default
permalink: /data/
---
<p>This is the unified entry point and index for all the statically available data of PAThs projects.
These are typically dumps from the main database, serving several purposes, and GIS ready datasets
created and maintaind by the PAThs team.</p>
<p>If you are loking for our API, please refer to the
<a href="https://atlas.paths-erc.eu/api" target="_blank">dedicated page of the Atlas</a>.</p>
<p>For each dataset a detailed description of the sources, working process, spatial coverage, persons involved,
file formats and protocols available, and licensed are provided.</p>
<p>If not otherwise stated PAThs is the copyright holder. Usage licenses and availability may vary from dataset to dataset.</p>
{% include data-menu.html %}
<div class="row my-5 py-5 border-top border-bottom bg-light">
<div class="col-md-6 mx-auto">
<input type="search" id="search-dataset" class="form-control form-control-lg" placeholder="Search dataset">
<small class="form-text text-muted">
Start typing to search for a dataset or digit t: to filter by dataset typology,
e.g. t:map, t:raster t:multi_format, t:rfd, t:table, etc.
</small>
</div>
</div>
<h2>Available datasets (tot: {{ site.dataset | size }})</h2>
<ul class="list-group mt-5" id="datasets">
{% for item in site.dataset %}
{% assign id = item.slug %}
<li class="list-group-item my-1" id ="{{ id }}" data-type="{{ item.type }}">
<h5 class="mt-3">
<a href="#{{ id }}" class="btn btn-light">
{% if item.type == 'raster_map' %}<i class="far fa-map"></i>
{% elsif item.type == 'vector_map' %}<i class="fas fa-map-marker-alt"></i>
{% elsif item.type == 'multi_format_map' %}<i class="fas fa-map-marked"></i>
{% elsif item.type == 'table' %}<i class="fas fa-table"></i>
{% elsif item.type == 'rdf' %}<i class="fas fa-project-diagram"></i>
{% endif %}</a>
{{ item.name }}</h5>
{% if item.preview %}
<button class="btn btn-warning modalMap float-right"
{% if item.availability.xyz %}
data-xyz="{{ item.availability.xyz }}"
{% else %}
data-seriesname="{{ item.name }}"
{% endif %}
>
<i class="far fa-eye"></i> Preview
</button>
{% endif %}
{% if item.year %} Year: {{ item.year }} <br> {% endif %}
{% if item.scale %} Scale: {{ item.scale }} <br> {% endif %}
{% if item.source %} Source: {{ item.source }} <br> {% endif %}
{% if item.copyright %} Copyright: {{ item.copyright }} <br> {% endif %}
{% if item.license %} License: {{ item.license }} <br> {% endif %}
<button class="btn btn-outline-info btn-sm toggle my-3" data-toggletarget="more{{ forloop.index }}">More <i class="fas fa-xs fa-chevron-down"></i></button>
<div id="more{{ forloop.index }}" class="d-none bg-light p-3 mx-5">
{% if item.rs %}RS: <a href="http://epsg.io/{{ item.rs | replace: "EPSG:", '' }}" target="_blank" rel="nooper">{{ item.rs }}</a><br /> {% endif %}
{% if item.date_created %}Created on: {{ item.date_created }}<br /> {% endif %}
{% if item.lang %}Language: {{ item.lang }}<br /> {% endif %}
<h5 class="mt-3 border-bottom">Availability</h5>
<dl>
{% if item.availability.wms %}
<dt>
WMS
<span class="float-right">[<a href="https://en.wikipedia.org/wiki/Web_Map_Service" target="_blank" rel="noopener noreferrer">What is WMS?</a>]</span>
</dt>
<dd>
<code>https://wms.paths-erc.eu/{{ item.availability.wms }}</code>
[<a href="https://wms.paths-erc.eu/{{ item.availability.wms }}?service=WMS&request=GetCapabilities" target="_blank" rel="noopener noreferrer">Capabilities</a>]
</dd>
{% endif %}
{% if item.availability.xyz %}
<dt>
Tiled web map
<span class="float-right">[<a href="https://en.wikipedia.org/wiki/Tiled_web_map" target="_blank" rel="noopener noreferrer">What is Tiled web map?</a>]</span>
</dt>
<dd>
<code>{{ item.availability.xyz }}/{z}/{x}/{y}.png</code>
</dd>
{% endif %}
{% if item.availability.csv %}
<dt>CSV
<span class="float-right">[<a href="https://en.wikipedia.org/wiki/Comma-separated_values" target="_blank" rel="noopener noreferrer">What is CSV?</a>]</span>
</dt>
<dd><a href="{{ item.availability.csv }}" target="_blank" rel="noopener noreferrer">Open CSV file</a></dd>
{% endif %}
{% if item.availability.json %}
<dt>JSON
<span class="float-right">[<a href="https://en.wikipedia.org/wiki/JSON" target="_blank" rel="noopener noreferrer">What is JSON?</a>]</span>
</dt>
<dd><a href="{{ item.availability.json }}" target="_blank" rel="noopener noreferrer">Open JSON file</a></dd>
{% endif %}
{% if item.availability.geojson %}
<dt>GeoJSON
<span class="float-right">[<a href="https://en.wikipedia.org/wiki/GeoJSON" target="_blank" rel="noopener noreferrer">What is GeoJSON?</a>]</span>
</dt>
<dd><a href="{{ item.availability.geojson }}" target="_blank" rel="noopener noreferrer">Open GeoJSON file</a></dd>
{% endif %}
{% if item.availability.rdf %}
<dt>RDF
<span class="float-right">[<a href="https://en.wikipedia.org/wiki/Resource_Description_Framework" target="_blank" rel="noopener noreferrer">What is RDF?</a>]</span>
</dt>
<dd><a href="{{ item.availability.rdf }}" target="_blank" rel="noopener noreferrer">Open RDF file</a></dd>
{% endif %}
{% if item.availability.webservice %}
<dt>WebService</dt>
{% if item.availability.webservice[0] %}
{% for ws in item.availability.webservice %}
<dd>
<a href="{{ ws.url }}" target="_blank" rel="noopener noreferrer">{{ ws.info }}</a>
</dd>
{% endfor %}
{% else %}
<dd><a href="{{ item.availability.webservice }}" target="_blank" rel="noopener noreferrer">Open Web service</a></dd>
{% endif %}
{% endif %}
{% if item.availability.other %}
<dt>Other</dt>
<dd>{{ item.availability.other }}</dd>
{% endif %}
</dl>
<h5 class="mt-3 border-bottom">Credits</h5>
<dl>
{% for c in item.credits %}
<dt> {{ c.role }}</dt>
<dd>
{{ c.name }} {% if c.email %} <<a href="mailto:{{ c.email }}">{{ c.email }}</a>>{% endif %}
{% if c.web %}<br>Web: <a href="{{ c.web }}" target="_blank" rel="noopener noreferrer">{{ c.web }}</a>{% endif %}
</dd>
{% endfor %}
</dl>
<div>
{{ item.content }}
</div>
</div>
</li>
{% endfor %}
</ul>