[OSM-dev] osm2pgsql bbox filter when applying diffs?

Lars Lingner ml at lingner.eu
Fri Mar 26 07:15:30 GMT 2010


John Smith schrieb:
> On 25 March 2010 17:54, Frederik Ramm <frederik at remote.org> wrote:
>>    is the osm2pgsql bbox filter also usable for applying diffs  (in a
>> situation where somebody wants to keep a country extract in osm2pgsql
>> form up to date), or does it only work for full imports?
> 
> I think it only filters nodes, I haven't checked for a while but
> previously I had ways with no nodes in the database outside the area I
> was filtering...
> 

What would be the best way to keep an individual extent updated?

Fetching the planet, extracting the extent of the area of interest and
create my own diffs?

I could also apply the planet wide diffs and remove everything outside
of the extent afterwards. But I don't like this idea.

Is there a way to process the diff files in a way that the diff only
contains changes in my area of interest?

Thanks for any hints.


Lars




More information about the dev mailing list