You can check tool osmupdate which has option to clip data outside
boundaries.
http://wiki.openstreetmap.org/wiki/Osmupdate#Applying_Geographical_Borders

On 5 September 2012 16:06, Stéphane Henriod <[email protected]> wrote:

> thanks for your anwers!
>
> But it looks like I have a problem now...
>
>    1. I need to keep the tables ways, rels and nodes because of the diff
>    updates
>    2. Those 3 tables will continue growing up with each new diff, until I
>    reach the storage capacity of the server
>
> The only solution I see is a post-processing that will erase from PostGIS
> all the nodes lying outside my bounding box + all the ways using one of
> thses nodes + all the relations using one of thses nodes or one of these
> ways.
>
> Except if anyone else has a magical solution...
>
>
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to