On Thu, Nov 6, 2008 at 10:15 AM, Milenko <span dir="ltr"><<a href="mailto:milenko@king-nerd.com">milenko@king-nerd.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>Hey all,</p>
<p> </p>
<pre> I've been trying to get a local ROMA server working and I've run into an issue with getting osmosis working. I've patched osmosis as per the instructions on the wiki (<a href="http://wiki.openstreetmap.org/index.php/Read_Only_Map_API" target="_blank">http://wiki.openstreetmap.org/index.php/Read_Only_Map_API</a>), but when I import data into the pgsql database, I'm still seeing statements in the db log files that reference commands taken out by the patch. One specific command is "UPDATE ways SET bbox = (SELECT Envelope(Collect(geom)) FROM nodes JOIN way_nodes ON way_nodes.node_id = <a href="http://nodes.id" target="_blank">nodes.id</a> WHERE way_nodes.way_id = <a href="http://ways.id" target="_blank">ways.id</a>)", seen in PostgreSqlWriter.java. I've verified that it's removed from that file but it still runs when I try to import data. This command takes days when trying to import the full planet.</pre>
<pre> </pre><pre> Anyone have any idea how this is happening? I've searched every file in the osmosis directory and can't find that command, and yet it still somehow gets run during the import.</pre><pre> </pre><pre>
Any help would be greatly appreciated.</pre><pre> </pre><pre>-Jeremy</pre></div></div></blockquote></div>Are you sure you're actually executing your patched version and not an unpatched version that's somewhere on your path?