Re: [osmosis-dev] Single node ways

2012-11-11 Thread Toby Murray
? I'm using 9.1/2.0.1 Thoughts? Toby On Thu, Nov 8, 2012 at 10:58 PM, Brett Henderson br...@bretth.com wrote: Hi Toby, On 5 November 2012 16:25, Toby Murray toby.mur...@gmail.com wrote: It seems osmosis intentionally drops ways with only one node in them when importing[1]. From another

Re: [osmosis-dev] Single node ways

2012-11-19 Thread Toby Murray
I have started playing with this in a branch: https://github.com/ToeBee/osmosis/tree/invalid_geometry So far I managed to add a new command line option keepInvalidWays to the write-pgsql(-dump) tasks. It defaults to false so that current functionality of dropping zero and single node ways is

Re: [osmosis-dev] Invalid ways, now with code

2012-12-12 Thread Toby Murray
On Wed, Dec 12, 2012 at 5:22 AM, Paweł Paprota ppa...@fastmail.fm wrote: Hi Toby, Anyway, thoughts? My changes are on github in the invalid_geometry branch: https://github.com/ToeBee/osmosis And a diff of all my changes: https://github.com/ToeBee/osmosis/compare/master...invalid_geometry

Re: [osmosis-dev] Invalid ways, now with code

2012-12-13 Thread Toby Murray
On Thu, Dec 13, 2012 at 4:48 AM, Brett Henderson br...@bretth.com wrote: PS. Minor nitpick. Can you delete the commented out code in WayGeometryBuilder? //int numValidNodes = 0; Done. This was actually some existing code that had no effect because of the node count check out in

Re: [osmosis-dev] Invalid ways, now with code

2012-12-20 Thread Toby Murray
On Sat, Dec 15, 2012 at 5:23 PM, Paweł Paprota ppa...@fastmail.fm wrote: Hi Toby, On 12/14/2012 03:40 AM, Toby Murray wrote: Sure but in this case I would suggest naming this option differently because setting keepInvalidWays to false implies that there will be no invalid ways

[osmosis-dev] Performance of pgsnapshot replication

2013-01-05 Thread Toby Murray
While waiting for a recent planet import to catch up using minutely diffs I started wondering what the slow parts of minutely processing were. So I took a look at my postgres log which is set to record slow queries. Turns out, the most frequent slow query during diff processing is the one that

Re: [osmosis-dev] Duplicate ways in pgsnapshot database

2013-01-31 Thread Toby Murray
I'll see what happens there. Toby On Wed, Jan 30, 2013 at 7:47 PM, Toby Murray toby.mur...@gmail.com wrote: Today my minutely replication started failing with a unique constraint violation error from postgres. Upon further investigation I found that there were *already* two copies of a way

Re: [osmosis-dev] Merge multiple files

2013-10-24 Thread Toby Murray
On Thu, Oct 24, 2013 at 3:56 PM, Jaromír Mikeš mira.mi...@seznam.cz wrote: but I still can't merge files because of this error: -- $ osmosis --rx 1.osm --rx 2.osm --rx 3.osm --merge --merge --wx merged.osm Oct 24, 2013 10:47:32 PM

Re: [osmosis-dev] Firewall traffic

2015-10-24 Thread Toby Murray
That netstat would seem to confirm that you are seeing traffic between osmosis and the mysql database as Michael mentioned. It's just on your loopback interface so it isn't actually going out over the external network. Toby On Sat, Oct 24, 2015 at 4:06 PM, Simon Nuttall