X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/b35223fbfcd661f798aed490bf9a08c1e886acb5..f03a349f945608d664fc3c74de0b8ef06f9f68ea:/blog/archive/2011/04/index.html diff --git a/blog/archive/2011/04/index.html b/blog/archive/2011/04/index.html index 49b1f80010..0dd26c98a0 100644 --- a/blog/archive/2011/04/index.html +++ b/blog/archive/2011/04/index.html @@ -292,8 +292,8 @@ Linux og Ubuntu, og på Ubuntu programene Firefox, Thunderbird, Chromium, Pidgin, Digikam, OpenOffice, Wireshark, git og irssi. Telefonen min er en Android, og der bruker jeg programmene K-9 Mail, OI Shopping list, Shuffle, ZXing, OI Notepad og ADW Desktop. På jobb -bruker jeg JBoss, Eclipse, uCLinux for Blackfin, RCF, Qt, Maven, og -boost-bibliotekene for C++.

+bruker jeg JBoss, Eclipse, uCLinux for Blackfin, RCF-CPP, Qt, Maven, +og boost-bibliotekene for C++.

Hvilken strategi tror du er den rette å bruke for å få skoler til å ta i bruk fri programvare?

@@ -321,6 +321,197 @@ av.

+
+
+ FiksGataMi - fylkesoversikt på kart +
+
+ 2011-04-15 13:15 +
+ +
+ +

Det er morsomt å følge med hvordan bruken av FiksGataMi sprer seg +over det ganske land. Her er lenkene til fylkesoversikt på kart over +de (for tiden) 200 siste problemene. Bruker her GeoRSS-kilden i +FiksGataMi og presenterer enten via Google Maps eller en +GeoRSS-fremviser jeg fant for OpenStreetmap.

+ + + +

Antall problemer returnert i GeoRSS-kildene justeres over tid etter +hvert som vi får mer erfaring med hvilken belastning det gir på +tjenesten.

+ +

Oppdatering 2011-04-27: Endret URL til fylker med mellomrom i +navnene fra %20 til %2B, slik at de fungerer i flere nettlesere.

+ +
+
+ + + + Tags: fiksgatami, kart, norsk. + +
+
+
+ +
+
+ Initial notes on adding Open311 server API on FixMyStreet +
+
+ 2011-04-29 10:00 +
+ +
+ +

The last few days I have spent some time trying to add support for +the Open311 API in the +Norwegian FixMyStreet service. +Earlier I believed Open311 would be a useful API to use to submit +reports to the municipalities, but when I noticed that the +New Zealand version of +FixMyStreet had implemented Open311 on the server side, it occurred to +me that this was a nice way to allow the public, press and +municipalities to do data mining directly in the FixMyStreet service. +Thus I went to work implementing the Open311 specification for +FixMyStreet. The implementation is not yet ready, but I am starting +to get a draft limping along. In the process, I have discovered a few +issues with the Open311 specification.

+ +

One obvious missing feature is the lack of natural language +handling in the specification. The specification seem to assume all +reports will be written in English, and do not provide a way for the +receiving end to specify which languages are understood there. To be +able to use the same client and submit to several Open311 receivers, +it would be useful to know which language to use when writing reports. +I believe the specification should be extended to allow the receivers +of problem reports to specify which language they accept, and the +submitter to specify which language the report is written in. +Language of a text can also be automatically guessed using statistical +methods, but for multi-lingual persons like myself, it is useful to +know which language to use when writing a problem report. I suspect +some lang=nb,nn kind of attribute would solve it.

+ +

A key part of the Open311 API is the list of services provided, +which is similar to the categories used by FixMyStreet. One issue I +run into is the need to specify both name and unique identifier for +each category. The specification do not state that the identifier +should be numeric, but all example implementations have used numbers +here. In FixMyStreet, there is no number associated with each +category. As the specification do not forbid it, I will use the name +as the unique identifier for now and see how open311 clients handle +it.

+ +

The report format in open311 and the report format in FixMyStreet +differ in a key part. FixMyStreet have a title and a description, +while Open311 only have a description and lack the title. I'm not +quite sure how to best handle this yet. When asking for a FixMyStreet +report in Open311 format, I just merge title an description into the +open311 description, but this is not going to work if the open311 API +should be used for submitting new reports to FixMyStreet.

+ +

The search feature in Open311 is missing a way to ask for problems +near a geographic location. I believe this is important if one is to +use Open311 as the query language for mobile units. The specification +should be extended to handle this, probably using some new lat=, lon= +and range= options.

+ +

The final challenge I see is that the FixMyStreet code handle +several administrations in one interface, while the Open311 API seem +to assume only one administration. For FixMyStreet, this mean a +report can be sent to several administrations, and the categories +available depend on the location of the problem. Not quite sure how +to best handle this. I've noticed +SeeClickFix added +latitude and longitude options to the services request, but it do not +solve the problem of what to return when no location is specified. +Will have to investigate this a bit more.

+ +

My distaste for web forums have kept me from bringing these issues +up with the open311 developer group. I really wish they had a email +list available via Gmane to use for +discussions instead of only +a forum. Oh, +well. That will probably resolve itself, one way or another. I've +also tried visiting the IRC channel #open311 on FreeNode, but no-one +seem to reply to my questions there. This make me wonder if I just +fail to understand how the open311 community work. It sure do not +work like the free software project communities I am used to.

+ +
+
+ + + + Tags: english, fiksgatami, open311. + +
+
+
+ +
+
+ Experimental Open311 API for the mySociety fixmystreet system +
+
+ 2011-04-30 17:20 +
+ +
+ +

Today, the first draft implementation of an +Open311 API for the Norwegian +service FiksGataMi started to +work. It is only available on the developer server for now, and I +have not tested it using any existing Open311 client (I lack the +platforms needed to run the clients I have found so far), but it is +able to query the database and extract a list of open and closed +requests within a given category and reported to a given municipality. +I believe that is a good start to create a useful service for those +that want to do data mining on the requests submitted so far.

+ +

Where is it? Visit +http://fiksgatami-dev.nuug.no/open311.cgi/v2/ +to have a look. Please send feedback to the +fiksgatami +(at) nuug.no mailing list.

+ +
+
+ + + + Tags: english, fiksgatami, open311. + +
+
+
+

RSS Feed

@@ -339,7 +530,11 @@ av.

  • March (6)
  • -
  • April (4)
  • +
  • April (7)
  • + +
  • May (3)
  • + +
  • June (2)
  • @@ -433,15 +628,15 @@ av.

  • digistan (7)
  • -
  • english (88)
  • +
  • english (91)
  • -
  • fiksgatami (7)
  • +
  • fiksgatami (11)
  • fildeling (11)
  • intervju (9)
  • -
  • kart (13)
  • +
  • kart (15)
  • ldap (8)
  • @@ -451,11 +646,13 @@ av.

  • multimedia (12)
  • -
  • norsk (120)
  • +
  • norsk (125)
  • -
  • nuug (116)
  • +
  • nuug (117)
  • -
  • opphavsrett (20)
  • +
  • open311 (2)
  • + +
  • opphavsrett (21)
  • personvern (38)
  • @@ -475,6 +672,8 @@ av.

  • stavekontroll (1)
  • +
  • stortinget (1)
  • +
  • surveillance (8)
  • video (20)