PS: it looks like only the tables - planet_osm_rels - planet_osm_ways
Get data from outside my bounding box and thus grow extremely quickly. Don't really know how to interpret this behavior! -- "Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux" -- Albert Einstein "A journey does not need reasons. Before long, it proves to be reason enough in itself. One thinks that one is going to make a journey, yet soon it is the journey that makes or unmakes you." -- Nicolas Bouvier Photos de voyages, photos de montagne: http://www.henriod.info On Wed, Sep 5, 2012 at 8:56 AM, Stéphane Henriod <[email protected]> wrote: > Dear all > > I now have a running process where I dowload the hourly diffs and those > are applied to the PostGIS database with osm2pgsql. > > My problem is that, despite the *osm2pgsql -b* option, it seems that my > bounding box is ignored and the full diff file is added to my database, As > a consequence, the database is growing very quickly and includes lots of > data outside of my area of interest. > > My question is thus: is it possible to cut out the bounding box from the > diff file before calling osm2pgsql? If I understand correctly, the > bounding-box task ( > http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#--bounding-box_.28--bb.29) > only works on planet files, not diff files. Correct? > > Is there a way to get the following process working: > > 1. Get the last hourly diff file > 2. Extract from the diff file all the objects within my bounding box > 3. Apply this to the PostGIS database with osm2pgsql > > Thanks in advance and best wishes > > Stéphane > -- > "Le mot progrès n'aura aucun sens tant qu'il y aura des enfants > malheureux" -- Albert Einstein > > "A journey does not need reasons. Before long, it proves to be reason > enough in itself. One thinks that one is going to make a journey, yet soon > it is the journey that makes or unmakes you." -- Nicolas Bouvier > > Photos de voyages, photos de montagne: http://www.henriod.info > >
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

