<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
This tool should perhaps be compatible with linux, as i am one of
those that tries not to use windows.<br>
There is also a Python script here : <a class="moz-txt-link-freetext" href="http://pastebin.com/qUcH4mRe">http://pastebin.com/qUcH4mRe</a><br>
It looks like it checks/compares data against the Elveg database.<br>
There is also some challenge to include road blocks, the Elveg
segments must sometimes be splitted <br>
because they are in the same place as a existing node that can be
merged, even there is some nodes<br>
that have coordinates that are on a line between road nodes.<br>
I believe that Geir Ove Myhr can explain this better.<br>
<br>
At least, there is no good tools and example data that makes a
import from the Elveg database feasible.<br>
In my opinion this must have priority,because the address database
was recently imported via voluntary communal work.<br>
The status is available here:<br>
<a class="moz-txt-link-freetext" href="http://osm.beebeetle.com/addrnodeimportstatus.php">http://osm.beebeetle.com/addrnodeimportstatus.php</a><br>
<br>
<br>
On 11. jan. 2015 14:09, Gnonthgol wrote:<br>
<blockquote type="cite">Den 11. jan. 2015 13:45, Thomas Weidner
skreiv:<br>
> Yes, I totally plead guilty of NIH syndrome here. One thing I
did not seem to be possible with sosi2osm is collecting all roads
and road route numbers and output a corresponding relation at the
end. But then, at some point I stopped looking at it.<br>
<br>
This is not possible in sosi2osm. I thought about such cases and
figured it was better to just postprocess the osm files in good
tools rather then try to implement such tools myself. sosi2osm is
only converting objects directly and allows you to run the tags
through a lua script as the tags in SOSI is hiriarchical<br>
and even allows multiple values.<br>
<br>
> If sosi2osm is the project to go and you can maybe only copy
some SOSI->OSM tag mapping from my source this would also be
fine for me.<br>
<br>
Thank you.<br>
<br>
> Unfortunately Java has no nice way of switching the input
encoding while reading the file, so I put it on the TODO list, but
it should be fixed.<br>
<br>
The simple hack here would be to just reopen the file once the
charset is determined.<br>
<br>
>> You have probably seen the SOSI standard definitions over
at <a class="moz-txt-link-freetext" href="http://www.kartverket.no/en/SOSI-Standard-in-English/SOSI/">http://www.kartverket.no/en/SOSI-Standard-in-English/SOSI/</a><br>
> I read the Norwegian standard document about the SOSI format
(using google translate)<br>
<br>
These are the same files but translated manually.<br>
<br>
> The BNF is international ;). I think apart from the encoding
issue, there are two problems:<br>
<br>
> 1. The parser does not handle data values correctly, strings
("a quoted string") are not parsed correctly<br>
<br>
I have even seen SOSI documents containing strings that should be
quoted but are not.<br>
<br>
> 3. to correctly understand files you seem to have to read the
definition files. For example "..VNR X Y Z" is really shorthand
notation for "..VNR ...VEGKATEGORI X ...VEGSTATUS Y ...VEGNUMMER
Z"<br>
<br>
The FYBA library is also missing this feature.<br>
<br>
> The FYBA C library seems to be pretty complete, but also
pretty ancient. Maybe having an alternative is not that bad.<br>
<br>
If there were a nice modern alternative we could use I think even
the officials would prefer it. The problem with making parsers
though is that you have to handle a lot of almost standard
documents too. FYBA does a very good job at this at the moment but
it a pain to get to work. If I could get FYBA to work on<br>
windows I would have loved to publish a binary of sosi2osm for
windows.<br>
<br>
Gnonthgol<br>
</blockquote>
<span style="white-space: pre;">>
_______________________________________________<br>
> kart mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:kart@nuug.no">kart@nuug.no</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.nuug.no/mailman/listinfo/kart">http://lists.nuug.no/mailman/listinfo/kart</a><br>
><br>
><br>
></span><br>
<br>
-- <br>
Håken Hveem<br>
Gnup/PGP key ID: 45793A72<br>
<br>
</body>
</html>