Thank you all for you warm responses. To be exact, I want to extract close ways and stand-alone nodes within a specific region and other geospatial information. Let me try Osmosis jars first.<br><br>Regards,<br>Zhijie<br><br>
<div class="gmail_quote">On Tue, Feb 22, 2011 at 2:24 AM, Tobias Knerr <span dir="ltr"><<a href="mailto:osm@tobias-knerr.de">osm@tobias-knerr.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On <a href="tel:21.02.2011%2017">21.02.2011 17</a>:41, Zhijie Shen wrote:<br>
> Osmosis is command line based application. However, I want to integrate<br>
> the data processing into my codes. Therefore, is there any other java<br>
> programmable library for osm file processing except Osmosis? Or can I<br>
> use some of Osmosis jars to integrate into my codes?<br>
<br>
</div>It's possible to use Osmosis jars as a library in other Java programs.<br>
I'm using the --read-xml task in this manner myself, and I assume that<br>
it should be possible to do something similar with the other tasks.<br>
<br>
It works well for me. And the fact that Osmosis itself has even been<br>
placed in to the public domain makes it even more attractive.<br>
<font color="#888888"><br>
Tobias Knerr<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zhijie Shen<br>School of Computing<br>National University of Singapore<br><a href="http://www.comp.nus.edu.sg/%7Ez-shen/" target="_blank"></a><br>