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">
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" />
14 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
21 <h3>Entries tagged "open311".
</h3>
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>
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>
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>
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
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>
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>
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>
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>
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>.
114 <div class=
"padding"></div>
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>
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>
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>
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>.
150 <div class=
"padding"></div>
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>
163 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/01/">January (
7)
</a></li>
165 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/02/">February (
10)
</a></li>
167 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/03/">March (
17)
</a></li>
169 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/04/">April (
12)
</a></li>
171 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/05/">May (
12)
</a></li>
178 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/01/">January (
16)
</a></li>
180 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/02/">February (
6)
</a></li>
182 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/03/">March (
6)
</a></li>
184 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/04/">April (
7)
</a></li>
186 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/05/">May (
3)
</a></li>
188 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/06/">June (
2)
</a></li>
190 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/07/">July (
7)
</a></li>
192 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/08/">August (
6)
</a></li>
194 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/09/">September (
4)
</a></li>
196 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/10/">October (
2)
</a></li>
198 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/11/">November (
3)
</a></li>
200 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/12/">December (
1)
</a></li>
207 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
209 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
211 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
213 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
215 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
217 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
219 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
221 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
223 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
225 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
227 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
229 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
12)
</a></li>
236 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
238 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
240 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
242 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
244 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
246 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
248 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
250 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
252 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
254 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
256 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
258 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
265 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
267 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
278 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li>
280 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
282 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
284 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
2)
</a></li>
286 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
12)
</a></li>
288 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bsa">bsa (
2)
</a></li>
290 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
54)
</a></li>
292 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
102)
</a></li>
294 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/digistan">digistan (
8)
</a></li>
296 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (
3)
</a></li>
298 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
130)
</a></li>
300 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
15)
</a></li>
302 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
12)
</a></li>
304 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju (
26)
</a></li>
306 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
16)
</a></li>
308 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
8)
</a></li>
310 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
4)
</a></li>
312 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
314 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
16)
</a></li>
316 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
167)
</a></li>
318 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
127)
</a></li>
320 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/open311">open311 (
2)
</a></li>
322 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
24)
</a></li>
324 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
47)
</a></li>
326 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/raid">raid (
1)
</a></li>
328 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
330 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rfid">rfid (
2)
</a></li>
332 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
4)
</a></li>
334 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
336 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ruter">ruter (
4)
</a></li>
338 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (
1)
</a></li>
340 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
23)
</a></li>
342 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
4)
</a></li>
344 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
29)
</a></li>
346 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
1)
</a></li>
348 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (
4)
</a></li>
350 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (
9)
</a></li>
352 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/valg">valg (
6)
</a></li>
354 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
25)
</a></li>
356 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
1)
</a></li>
358 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
19)
</a></li>
364 <p style=
"text-align: right">
365 Created by
<a href=
"http://steve.org.uk/Software/chronicle">Chronicle v4.4
</a>