Thanks Stefan,<div>I think that is the answer I was looking for - I think your SQL is deleting ways etc. that do not refer to existing nodes in the db?</div><div>I will give it a go, and see if my poor little virtual machine can cope - it is certainly struggling now the database has got so big.</div>
<div><br></div><div>Would you mind if I added a link from the minutely Mapnik page to your solution?</div><div><br></div><div>Regards</div><div><br></div><div><br>Graham.<br><br><div class="gmail_quote">On 25 January 2011 20:46, Stephan Knauss <span dir="ltr"><<a href="mailto:osm@stephans-server.de">osm@stephans-server.de</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 25.01.2011 21:28, Graham Jones wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there a trick I am missing to do the bounding box extraction correctly?<br>
</blockquote>
<br></div>
applying only a bounding box is not supported. You have to clean out ways and relations from time to time.<br>
<br>
<a href="http://wiki.openstreetmap.org/wiki/User:Stephankn/knowledgebase#Cleanup_of_ways_outside_the_bounding_box" target="_blank">http://wiki.openstreetmap.org/wiki/User:Stephankn/knowledgebase#Cleanup_of_ways_outside_the_bounding_box</a><br>

<br>
Without this your DB will grow over a GB per week.<br>
<br>
Stephan<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Graham Jones<div>Hartlepool, UK.</div><br>
</div>