Hi Brian,<br><br>Yes, you should definitely use the built-in box builder functionality. I've never tried to use the database to do it on a complete planet. I have no idea how long it will take.<br><br>Brett<br><br><div class="gmail_quote">
On Sun, Apr 17, 2011 at 4:34 AM, Brian DeRocher <span dir="ltr"><<a href="mailto:brian@derocher.org">brian@derocher.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Saturday 09 April 2011 22:27:31 you wrote:<br>
> I started a full planet import on the 29th, 11 days ago. I'm trying to get an idea how long this will take. I just want to know if this will take about 20 days or more like 40 days.<br>
<br>
</div>I think i found my answer, thanks to Toby:<br>
<br>
"enableBboxBuilder=yes: This tells the write-pgsql-dump task to calculate a bounding box for each way. This is stored in a "geometry" type column in postgres that can be used in spatial queries. This can be done in the database but you may not live to see it finish if you are processing the entire planet. Seriously."<br>
<br>
<a href="http://weait.com/content/build-your-own-openstreetmap-server" target="_blank">http://weait.com/content/build-your-own-openstreetmap-server</a><br>
<br>
Also i was using Osmosis 0.34 from Debian 6. I'll upgrade to the stable or devel release, or try svn.<br>
<br>
For the record this import is on day 17.5 and it's currently running this query for 15 days.<br>
<div class="im"><br>
UPDATE ways SET bbox = (<br>
SELECT Envelope(Collect(geom)) FROM nodes JOIN way_nodes ON way_nodes.node_id = <a href="http://nodes.id" target="_blank">nodes.id</a><br>
WHERE way_nodes.way_id = <a href="http://ways.id" target="_blank">ways.id</a><br>
)<br>
<br>
</div><div><div></div><div class="h5">Brian<br>
<br>
--<br>
Brian DeRocher<br>
<a href="http://brian.derocher.org" target="_blank">http://brian.derocher.org</a><br>
</div></div><br>_______________________________________________<br>
osmosis-dev mailing list<br>
<a href="mailto:osmosis-dev@openstreetmap.org">osmosis-dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/osmosis-dev" target="_blank">http://lists.openstreetmap.org/listinfo/osmosis-dev</a><br>
<br></blockquote></div><br>