Re: [OSM-dev] Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-06 Thread Stéphane Henriod
-server.dewrote: Stéphane Henriod writes: 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

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-06 Thread Stéphane Henriod
That would make sense indeed. But then if this is confirmed to be a wanted behavior, then we should document it explicitely somewhere Thanks to all for your help and advice! Stéphane -- Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux -- Albert Einstein A journey does

[OSM-dev] Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
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,

Re: [OSM-dev] Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
:56 AM, Stéphane Henriod s...@henriod.info 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

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
-- From: Jais Pedersen j...@pedersens.net Date: Wed, Sep 5, 2012 at 3:15 PM Subject: Re: [OSM-dev] Osmosis - Cutting out a bounding box from a diff file (.osc) To: Stéphane Henriod s...@henriod.info I setup a Vietnam tile server just for fun and I made a script that worked like this: 1

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
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 10:22 AM, Stéphane Henriod s...@henriod.info wrote: Thanks Jais I actually thought of such a solution as well, but it's not ideal, as you need

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
, photos de montagne: http://www.henriod.info On Wed, Sep 5, 2012 at 2:29 PM, sly (sylvain letuffe) li...@letuffe.orgwrote: On mercredi 5 septembre 2012, Stéphane Henriod wrote: Hi again yo, again, Does this mean that I can simply empty them regularly? You can, but then applying diffs

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
I think I will go for your second option: remove every way with no node in the bbox. Increasing the storage capacity is unfortunately not possible for now (mutualized server) and, anyway, it wouldn't make so much sense: I want to have only data for one region in my database and, like this, I will

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
On Wed, Sep 5, 2012 at 3:42 PM, sly (sylvain letuffe) li...@letuffe.orgwrote: I will end up with the full planet (as every single node in OSM might be modified one day or the other...) Well, My guess is that it will take a lng time, so long before that you might need to re-import

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
wrote: 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 s...@henriod.info wrote: thanks for your anwers! But it looks like I have a problem now

Re: [OSM-dev] Fwd: Osmosis - Cutting out a bounding box from a diff file (.osc)

2012-09-05 Thread Stéphane Henriod
#Applying_Geographical_Borders On 5 September 2012 16:06, Stéphane Henriod s...@henriod.info 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

Re: [OSM-dev] Osmosis exception

2012-09-03 Thread Stéphane Henriod
voyages, photos de montagne: http://www.henriod.info On Sun, Sep 2, 2012 at 7:10 AM, Brett Henderson br...@bretth.com wrote: On 2 September 2012 04:26, Stéphane Henriod s...@henriod.info wrote: Hi Brett Thanks for your answer! Yes I have compiled the source with the command ant build

Re: [OSM-dev] Osmosis exception

2012-09-03 Thread Stéphane Henriod
or unmakes you. -- Nicolas Bouvier Photos de voyages, photos de montagne: http://www.henriod.info On Mon, Sep 3, 2012 at 2:56 PM, Stephan Knauss o...@stephans-server.dewrote: Stéphane Henriod writes: This error message talks about a config file $WORKDIR_OSM/configuration.txt but I don't

Re: [OSM-dev] Broken Daily Replication Diffs

2012-09-03 Thread Stéphane Henriod
Hi Brett Is this problem only for the daily diffs, or also for the minutes and hours? I am trying to get the minutely diffs working and get some strange error messages *Unable to read the changeset file on the server* Actually, I can't even make a wget on the files in the minute-replicate: wget

Re: [OSM-dev] Osmosis exception

2012-09-01 Thread Stéphane Henriod
java library or something. Does it make a difference that osmosis is installed in my home and not in a higher level directory? Cheers Stéphane Sent from Android On Sep 1, 2012 5:17 PM, Brett Henderson br...@bretth.com wrote: Hi Stéphane, On 31 August 2012 23:11, Stéphane Henriod s

[OSM-dev] Osmosis exception

2012-08-31 Thread Stéphane Henriod
Hello it's the first time I post on this list, so I hope it's the right place to ask this question! I want to use Osmosis to keep a PostGIS database up-to-date (for use with Mapnik), as explained here http://wiki.openstreetmap.org/wiki/Minutely_Mapnik I have installed osmosis via git clone this