-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
71 lines (69 loc) · 2.52 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Experimental p-coding site</title>
<meta charset="UTF-8" />
</head>
<body>
<h1>Experimental p-coding site</h1>
<p>This site contains GeoJSON files with names matching
humanitarian <dfn>p-codes</dfn> (place codes).</p>
<section id="usage">
<h2>Usage</h2>
<p>The files use the following naming scheme:</p>
<blockquote>
<code>https://hxlstandard.github.io/p-codes/{COUNTRY}/{P-CODE}/{TYPE}.json</code>
</blockquote>
<section id="parameters">
<h3>Parameters</h3>
<dl>
<dt>{COUNTRY}</dt>
<dd>An ISO 3166-1 alpha3 code for the country, e.g. "MLI" for
Mali.</dd>
<dt>{P-CODE}</dt>
<dd>The humanitarian p-code, e.g. "MLI001002" for the
Bafoulabé Cercle (ADM2) of the Kayes Region (ADM1) of Mali.</dd>
<dt>{TYPE}</dt>
<dd>Currently only "shape" is present (for the boundary
[multi]polygon), but the site will eventually support other
feature types.</dd>
</dl>
</section>
</section>
<section id="example">
<h2>Example</h2>
<p>Download the GeoJSON polygon for the bounds of the Bafoulabé
Cercle of the Kayes Region of Mali (p-code "MLI001002"):</p>
<blockquote>
<code><a href="http://hxlstandard.github.io/p-codes/MLI/MLI001002/shape.json">http://hxlstandard.github.io/p-codes/MLI/MLI001002/shape.json</a></code>
</blockquote>
</section>
<section id="coverage">
<h2>Current coverage</h2>
<dl>
<dt><a href="BDI/">BDI</a></dt>
<dd>Burundi (ADM0, ADM1, ADM2, ADM3, ADM4)</dd>
<dt><a href="CMR/">CMR</a></dt>
<dd>Cameroon (ADM0, ADM1, ADM2)</dd>
<dt><a href="ECU/">ECU</a></dt>
<dd>Ecuador (ADM0, ADM1, ADM2, ADM3)</dd>
<dt><a href="GIN/">GIN</a></dt>
<dd>Guinea (ADM0, ADM1, ADM2, ADM3)</dd>
<dt><a href="MLI/">MLI</a></dt>
<dd>Mali (ADM0, ADM1, ADM2, ADM3)</dd>
<dt><a href="NER/">NER</a></dt>
<dd>Niger (ADM0, ADM1, ADM2)</dd>
<dt><a href="NGA/">NGA</a></dt>
<dd>Nigeria (ADM0, ADM1, ADM2)</dd>
<dt><a href="NPL/">NPL</a></dt>
<dd>Nepal (ADM0, ADM1, ADM2, ADM3, ADM4)</dd>
<dt><a href="SOM/">SOM</a></dt>
<dd>Philippines (ADM1, ADM2, ADM3)</dd>
<dt><a href="PHL/">PHL</a></dt>
<dd>Somalia (ADM1)</dd>
<dt><a href="TCD/">TCD</a></dt>
<dd>Chad (ADM0, ADM1, ADM2)</dd>
</dl>
</section>
</body>
</html>