[osmosis-dev] Will write-pgsql-change update lines from LinestringBuilder?

2014-10-10 Thread Christoph Heer
Hi everyone,

first of all I would like to say thanks for this great tool. I did my import 
with osmosis in a pgsnapshot schema with '--write-pgsql-dump’ and used the 
enableLinestringBuilder feature. Now I want keep my database up-to-date with 
change files over '--write-pgsql-change’ but will this also updates the 
linestring in the ways table? I didn’t found any comment or note to this topic. 
I hope someone can answer my question. =)

Best regards
Christoph
___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] Supplying postgres port to osmosis commands

2014-10-10 Thread Justin Palmer
Fantastic!  Thanks.  



On Friday, October 10, 2014 at 3:21 PM, Frederik Ramm wrote:

> Hi,
>  
> On 10/10/2014 10:49 PM, Walter Nordmann wrote:
> > just call osmosis with host=localhost:15432
>  
>  
> Oh dear, that was probably the reason the "port" thing was never
> implemented - because it is so simple to embed it in the host. Should
> have thought about that sooner ;)
>  
> Bye
> Frederik
>  
> --  
> Frederik Ramm ## eMail frede...@remote.org (mailto:frede...@remote.org) ## 
> N49°00'09" E008°23'33"
>  
> ___
> osmosis-dev mailing list
> osmosis-dev@openstreetmap.org (mailto:osmosis-dev@openstreetmap.org)
> https://lists.openstreetmap.org/listinfo/osmosis-dev
>  
>  


___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] Supplying postgres port to osmosis commands

2014-10-10 Thread Frederik Ramm
Hi,

On 10/10/2014 10:49 PM, Walter Nordmann wrote:
> just call osmosis with  host=localhost:15432

Oh dear, that was probably the reason the "port" thing was never
implemented - because it is so simple to embed it in the host. Should
have thought about that sooner ;)

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] Supplying postgres port to osmosis commands

2014-10-10 Thread Walter Nordmann
just call osmosis with  host=localhost:15432

regards

walter



-
[url=http://osm.wno-edv-service.de/residentials] Missing Residentials Map 
1.17[/url] [url=http://osm.wno-edv-service.de/plz] Postcode Map 2.0.2[/url]
--
View this message in context: 
http://gis.19327.n5.nabble.com/osmosis-dev-Supplying-postgres-port-to-osmosis-commands-tp5820003p5820010.html
Sent from the Osmosis Development mailing list archive at Nabble.com.

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] Supplying postgres port to osmosis commands

2014-10-10 Thread Frederik Ramm
Hi,

On 10/10/2014 09:05 PM, Justin Palmer wrote:
> I have Postgres running on a non-default port and unfortunately it
> doesn't look like osmosis will accept a custom port 

Indeed it doesn't.

If you have nothing else on your port 5432, you can of course redirect
that port ("ssh localhost -L
5432:localhost:whereever-your-postgres-listens"). Else here's a patched
version of Osmosis that does support a "port" argument on all database
tasks:

https://github.com/woodpeck/osmosis/tree/database_port_support

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev


[osmosis-dev] Supplying postgres port to osmosis commands

2014-10-10 Thread Justin Palmer
Hi,

I have Postgres running on a non-default port and unfortunately it doesn't look 
like osmosis will accept a custom port according to the detailed usage wiki 
page 
(http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.44#--write-pgsql_.28--wp.29).
  Is this a correct assumption or is there a way to supply the postgres port to 
osmosis?

Here is the error I get while running osmosis without supplying a port:  
https://gist.github.com/Caged/0c701eddfaa4b93ee172#file-osmosis-log

Here's the error I get when attempting to supply a port:
https://gist.github.com/Caged/0c701eddfaa4b93ee172#file-osmosis-port-log


Thanks,
  -Justin

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev