<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Announcing the initial version of libosm - the C++ OSM library, available from OSM SVN under the "libs" directory, or at<span> <a rel="nofollow" target="_blank" href="http://nick.dev.openstreetmap.org/downloads/libosm.tar.bz2">http://nick.dev.openstreetmap.org/downloads/libosm/libosm.tar.bz2</a>. </span><br><br>It's fairly basic at the moment, but provides classes for Object (a generic OSM object), Node, Segment and Way. There is also a Components class to manage collections of OSM data, a Parser class for parsing OSM XML, and, in the separate libosmnet library, a
Client class for reading data from, and putting data to, OSM itself.<br><br>I've tried to keep dependencies to a minimum - for XML parsing I use the lightweight expat library, and for communication with the server, libcurl. Neither have secondary
dependencies.<br><br>This will form the first step, I hope, in an OSM to shapefile and OSM-to-IMG tool, as it would be good to remove the postgresql dependency on mapnik. I also hope (time permitting, which is a big if!) to work on a .img generation library.<br><br>Any desired features / bugs, please let me know. BTW I hope also to produce a Java version, probably using JOSM code as a base.<br><br>Nick</div></div><br> </div><br></div></div><br>
<hr size=1><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.messenger.yahoo.com
">Yahoo! Messenger</a>
<font color="red">NEW</font> - crystal clear PC to PC
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.messenger.yahoo.com
">calling worldwide with voicemail
</a></font></body></html>