-
Notifications
You must be signed in to change notification settings - Fork 0
/
survey_papers.php
147 lines (141 loc) · 2.57 KB
/
survey_papers.php
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
<?php
function cell()
{
?>
<table class='card'>
<tr>
<td class='column_1'>point</td>
<td class='column_2'><input type='text' /></td>
</tr>
<tr>
<td>name</td>
<td><input type='text' /></td>
</tr>
<tr>
<td><input type='checkbox' /></td>
<td>POI is entire building</td>
</tr>
<tr>
<td valign='top'>address</td>
<td>
<input type='text' /><br/>
<input type='text' /><br/>
<input type='text' />
</td>
</tr>
<tr>
<td>type</td>
<td><input type='text' /></td>
</tr>
<tr>
<td>attribute 1</td>
<td><input type='text' /></td>
</tr>
<tr>
<td>attribute 2</td>
<td><input type='text' /></td>
</tr>
<tr>
<td>attribute 3</td>
<td><input type='text' /></td>
</tr>
<tr>
<td valign='top'>notes</td>
<td><textarea></textarea></td>
</tr>
</table>
<?php
}
?>
<html>
<head>
<title>Survey Papers</title>
<style>
* { box-sizing: border-box }
body { background-color: #EEE; }
table { width: 100% }
table.p > tbody > tr > td { border: 1px solid black; background-color: white; padding: 10px; width: 50%; }
input[type='text'] { border: none; border-bottom: 1px solid #888; width: 100% }
textarea { width: 100%; height: 60px; border: solid 1px #888; }
.card input { height: 30px; }
.column_1 { width: 30%; }
.column_2 { width: 70%; }
</style>
</head>
<body>
<form>
<table class='p'>
<tr>
<td>
<?php cell(); ?>
</td>
<td>
<?php cell(); ?>
</td>
</tr>
<tr>
<td colspan='2'>
<p>
Use this guide to help you capture all attributes a POI can have.
</p>
<dl>
<dt>types:</dt>
<dd>building, restaurant, cafe, shop/store, bank, post office, bar, house, apartment, hotel, office, fire hydrant, bench, post box</dd>
</dl>
<table border='1'>
<tr>
<th>type</th>
<th>attributes</th>
</tr>
<tr>
<td>restaruant</td>
<td>cuisine, hours open, website, phone, wheelchair</td>
</tr>
<tr>
<td>cafe</td>
<td>hours open, website, phone, internet access/fee</td>
</tr>
<tr>
<td>place of worship</td>
<td>religion, denomination</td>
</tr>
<tr>
<td>parking</td>
<td>access, fee, capacity, surface</td>
</tr>
<tr>
<td>shop</td>
<td>what do they sell? convience, supermarket, alcohol, hair dresser, car repair, dry cleaning, laundromat</td>
</tr>
<tr>
<td>leisure</td>
<td>park, swimming pool, playground, court, sport</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
from: http://taginfo.openstreetmap.org
</td>
</tr>
<tr>
<td>
<?php cell() ?>
</td>
<td>
<?php cell() ?>
</td>
</tr>
<tr>
<td>
<?php cell() ?>
</td>
<td>
<?php cell() ?>
</td>
</tr>
</table>
</form>
</body>
</html>