]> pere.pagekite.me Git - homepage.git/blob - blog/tags/open311/index.html
60ace8dcd3480c4010eed8cec56ba9083780cb8c
[homepage.git] / blog / tags / open311 / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen: Entries Tagged open311</title>
7 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel="alternate" title="RSS Feed" href="open311.rss" type="application/rss+xml" />
10 </head>
11 <body>
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20
21 <h3>Entries tagged "open311".</h3>
22
23 <div class="entry">
24 <div class="title">
25 <a href="http://people.skolelinux.org/pere/blog/Initial_notes_on_adding_Open311_server_API_on_FixMyStreet.html">Initial notes on adding Open311 server API on FixMyStreet</a>
26 </div>
27 <div class="date">
28 29th April 2011
29 </div>
30 <div class="body">
31 <p>The last few days I have spent some time trying to add support for
32 the <a href="http://www.open311.org/">Open311 API</a> in the
33 <a href="http://www.fiksgatami.no/">Norwegian FixMyStreet service</a>.
34 Earlier I believed Open311 would be a useful API to use to submit
35 reports to the municipalities, but when I noticed that the
36 <a href="http://fixmystreet.org.nz/">New Zealand version</a> of
37 FixMyStreet had implemented Open311 on the server side, it occurred to
38 me that this was a nice way to allow the public, press and
39 municipalities to do data mining directly in the FixMyStreet service.
40 Thus I went to work implementing the Open311 specification for
41 FixMyStreet. The implementation is not yet ready, but I am starting
42 to get a draft limping along. In the process, I have discovered a few
43 issues with the Open311 specification.</p>
44
45 <p>One obvious missing feature is the lack of natural language
46 handling in the specification. The specification seem to assume all
47 reports will be written in English, and do not provide a way for the
48 receiving end to specify which languages are understood there. To be
49 able to use the same client and submit to several Open311 receivers,
50 it would be useful to know which language to use when writing reports.
51 I believe the specification should be extended to allow the receivers
52 of problem reports to specify which language they accept, and the
53 submitter to specify which language the report is written in.
54 Language of a text can also be automatically guessed using statistical
55 methods, but for multi-lingual persons like myself, it is useful to
56 know which language to use when writing a problem report. I suspect
57 some lang=nb,nn kind of attribute would solve it.</p>
58
59 <p>A key part of the Open311 API is the list of services provided,
60 which is similar to the categories used by FixMyStreet. One issue I
61 run into is the need to specify both name and unique identifier for
62 each category. The specification do not state that the identifier
63 should be numeric, but all example implementations have used numbers
64 here. In FixMyStreet, there is no number associated with each
65 category. As the specification do not forbid it, I will use the name
66 as the unique identifier for now and see how open311 clients handle
67 it.</p>
68
69 <p>The report format in open311 and the report format in FixMyStreet
70 differ in a key part. FixMyStreet have a title and a description,
71 while Open311 only have a description and lack the title. I'm not
72 quite sure how to best handle this yet. When asking for a FixMyStreet
73 report in Open311 format, I just merge title an description into the
74 open311 description, but this is not going to work if the open311 API
75 should be used for submitting new reports to FixMyStreet.</p>
76
77 <p>The search feature in Open311 is missing a way to ask for problems
78 near a geographic location. I believe this is important if one is to
79 use Open311 as the query language for mobile units. The specification
80 should be extended to handle this, probably using some new lat=, lon=
81 and range= options.</p>
82
83 <p>The final challenge I see is that the FixMyStreet code handle
84 several administrations in one interface, while the Open311 API seem
85 to assume only one administration. For FixMyStreet, this mean a
86 report can be sent to several administrations, and the categories
87 available depend on the location of the problem. Not quite sure how
88 to best handle this. I've noticed
89 <a href="http://seeclickfix.com/open311/">SeeClickFix</a> added
90 latitude and longitude options to the services request, but it do not
91 solve the problem of what to return when no location is specified.
92 Will have to investigate this a bit more.</p>
93
94 <p>My distaste for web forums have kept me from bringing these issues
95 up with the open311 developer group. I really wish they had a email
96 list available via <a href="http://www.gmane.org/">Gmane</a> to use for
97 discussions instead of only
98 <a href="http://lists.open311.org/groups/discuss">a forum<a/>. Oh,
99 well. That will probably resolve itself, one way or another. I've
100 also tried visiting the IRC channel #open311 on FreeNode, but no-one
101 seem to reply to my questions there. This make me wonder if I just
102 fail to understand how the open311 community work. It sure do not
103 work like the free software project communities I am used to.</p>
104
105 </div>
106 <div class="tags">
107
108
109 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami</a>, <a href="http://people.skolelinux.org/pere/blog/tags/open311">open311</a>.
110
111
112 </div>
113 </div>
114 <div class="padding"></div>
115
116 <div class="entry">
117 <div class="title">
118 <a href="http://people.skolelinux.org/pere/blog/Experimental_Open311_API_for_the_mySociety_fixmystreet_system.html">Experimental Open311 API for the mySociety fixmystreet system</a>
119 </div>
120 <div class="date">
121 30th April 2011
122 </div>
123 <div class="body">
124 <p>Today, the first draft implementation of an
125 <a href="http://www.open311.org/">Open311 API</a> for the Norwegian
126 service <a href="http://www.fiksgatami.no/">FiksGataMi</a> started to
127 work. It is only available on the developer server for now, and I
128 have not tested it using any existing Open311 client (I lack the
129 platforms needed to run the clients I have found so far), but it is
130 able to query the database and extract a list of open and closed
131 requests within a given category and reported to a given municipality.
132 I believe that is a good start to create a useful service for those
133 that want to do data mining on the requests submitted so far.</p>
134
135 <p>Where is it? Visit
136 <a href="http://fiksgatami-dev.nuug.no/open311.cgi/v2/">http://fiksgatami-dev.nuug.no/open311.cgi/v2/</a>
137 to have a look. Please send feedback to the
138 <a href="http://lists.nuug.no/mailman/listinfo/fiksgatami">fiksgatami
139 (at) nuug.no</a> mailing list.</p>
140
141 </div>
142 <div class="tags">
143
144
145 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami</a>, <a href="http://people.skolelinux.org/pere/blog/tags/open311">open311</a>.
146
147
148 </div>
149 </div>
150 <div class="padding"></div>
151
152 <p style="text-align: right;"><a href="open311.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS Feed" width="36" height="14" /></a></p>
153 <div id="sidebar">
154
155
156
157 <h2>Archive</h2>
158 <ul>
159
160 <li>2012
161 <ul>
162
163 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/01/">January (7)</a></li>
164
165 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/02/">February (10)</a></li>
166
167 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/03/">March (17)</a></li>
168
169 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/04/">April (12)</a></li>
170
171 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/05/">May (12)</a></li>
172
173 </ul></li>
174
175 <li>2011
176 <ul>
177
178 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/01/">January (16)</a></li>
179
180 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/02/">February (6)</a></li>
181
182 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/03/">March (6)</a></li>
183
184 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/04/">April (7)</a></li>
185
186 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/05/">May (3)</a></li>
187
188 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/06/">June (2)</a></li>
189
190 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/07/">July (7)</a></li>
191
192 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/08/">August (6)</a></li>
193
194 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/09/">September (4)</a></li>
195
196 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
197
198 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (3)</a></li>
199
200 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/12/">December (1)</a></li>
201
202 </ul></li>
203
204 <li>2010
205 <ul>
206
207 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
208
209 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
210
211 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
212
213 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
214
215 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
216
217 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
218
219 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
220
221 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
222
223 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
224
225 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
226
227 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
228
229 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (12)</a></li>
230
231 </ul></li>
232
233 <li>2009
234 <ul>
235
236 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
237
238 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
239
240 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
241
242 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
243
244 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
245
246 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
247
248 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
249
250 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
251
252 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
253
254 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
255
256 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
257
258 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
259
260 </ul></li>
261
262 <li>2008
263 <ul>
264
265 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
266
267 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
268
269 </ul></li>
270
271 </ul>
272
273
274
275 <h2>Tags</h2>
276 <ul>
277
278 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (13)</a></li>
279
280 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
281
282 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
283
284 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (2)</a></li>
285
286 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (12)</a></li>
287
288 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
289
290 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (54)</a></li>
291
292 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (102)</a></li>
293
294 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (8)</a></li>
295
296 <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (3)</a></li>
297
298 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (130)</a></li>
299
300 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (15)</a></li>
301
302 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (12)</a></li>
303
304 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (26)</a></li>
305
306 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (16)</a></li>
307
308 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (8)</a></li>
309
310 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (4)</a></li>
311
312 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
313
314 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (16)</a></li>
315
316 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (167)</a></li>
317
318 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (127)</a></li>
319
320 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
321
322 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (24)</a></li>
323
324 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (47)</a></li>
325
326 <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (1)</a></li>
327
328 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
329
330 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (2)</a></li>
331
332 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (4)</a></li>
333
334 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
335
336 <li><a href="http://people.skolelinux.org/pere/blog/tags/ruter">ruter (4)</a></li>
337
338 <li><a href="http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (1)</a></li>
339
340 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (23)</a></li>
341
342 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (4)</a></li>
343
344 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (29)</a></li>
345
346 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (1)</a></li>
347
348 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (4)</a></li>
349
350 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (9)</a></li>
351
352 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (6)</a></li>
353
354 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (25)</a></li>
355
356 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
357
358 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (19)</a></li>
359
360 </ul>
361
362
363 </div>
364 <p style="text-align: right">
365 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v4.4</a>
366 </p>
367
368 </body>
369 </html>