1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from May
2019</title>
5 <description>Entries from May
2019</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>MIME type
"text/vnd.sosi
" for SOSI map data
</title>
11 <link>http://people.skolelinux.org/pere/blog/MIME_type__text_vnd_sosi__for_SOSI_map_data.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/MIME_type__text_vnd_sosi__for_SOSI_map_data.html
</guid>
13 <pubDate>Mon,
20 May
2019 08:
35:
00 +
0200</pubDate>
14 <description><p
>As part of my involvement in the work to
15 <a href=
"https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard
">standardise
16 a REST based API for Noark
5</a
>, the Norwegian archiving standard, I
17 spent some time the last few months to try to register a
18 <a href=
"https://www.iana.org/assignments/media-types/
">MIME type
</a
>
19 and
<a href=
"https://www.nationalarchives.gov.uk/PRONOM/
">PRONOM
20 code
</a
> for the SOSI file format. The background is that there is a
21 set of formats approved for long term storage and archiving in Norway,
22 and among these formats, SOSI is the only format missing a MIME type
23 and PRONOM code.
</p
>
25 <p
>What is SOSI, you might ask? To quote Wikipedia: SOSI is short for
26 Samordnet Opplegg for Stedfestet Informasjon (literally
"Coordinated
27 Approach for Spatial Information
", but more commonly expanded in
28 English to Systematic Organization of Spatial Information). It is a
29 text based file format for geo-spatial vector information used in
30 Norway. Information about the SOSI format can be found in English
31 from
<a href=
"https://en.wikipedia.org/wiki/SOSI
">Wikipedia
</a
>. The
32 specification is available in Norwegian from
33 <a href=
"https://www.kartverket.no/geodataarbeid/Standarder/SOSI/
">the
34 Norwegian mapping authority
</a
>. The SOSI standard, which originated
35 in the beginning of nineteen eighties, was the inspiration and formed the
36 basis for the XML based
37 <a href=
"https://en.wikipedia.org/wiki/Geography_Markup_Language
">Geography
38 Markup Language
</a
>.
</p
>
40 <p
>I have so far written
41 <a href=
"https://github.com/file/file/pull/
67">a pattern matching
42 rule
</a
> for the file(
1) unix tool to recognize SOSI files, submitted
43 a request to the PRONOM project to have a PRONOM ID assigned to the
44 format (reference TNA1555078202S60), and today send a request to IANA
45 to register the
"text/vnd.sosi
" MIME type for this format (referanse
46 <a href=
"https://tools.iana.org/public-view/viewticket/
1143144">IANA
47 #
1143144</a
>). If all goes well, in a few months, anyone implementing
48 the Noark
5 Tjenestegrensesnitt API spesification should be able to
49 use an official MIME type and PRONOM code for SOSI files. In
50 addition, anyone using SOSI files on Linux should be able to
51 automatically recognise the format and web sites handing out SOSI
52 files can begin providing a more specific MIME type. So far, SOSI
53 files has been handed out from web sites using the
54 "application/octet-stream
" MIME type, which is just a nice way of
55 stating
"I do not know
". Soon, we will know. :)
</p
>
57 <p
>As usual, if you use Bitcoin and want to show your support of my
58 activities, please send Bitcoin donations to my address
59 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>