Re: [OSM-dev] osm2pgsql.exe

2008-02-18 Thread Lauri Hahne
On 19/02/2008, Jon Burgess <[EMAIL PROTECTED]> wrote: > All the systems that I have used osm2pgsql on have utilised the "Ident > authentication over local sockets"[1]. The comments in the Postgres > description imply that you can not use this on Windows. I know some > people are definitely using os

Re: [OSM-dev] osm2pgsql.exe

2008-02-18 Thread Jon Burgess
On Mon, 2008-02-18 at 23:29 +0100, Björn Kaul wrote: > I have had the same message that Stefan described > and I have not found any solution yet. > > Is there any news on this issue? > > Best Regards > > Björn osm2pgsql tries to connect to the local database and if it gets rejected by Postgres

Re: [OSM-dev] osm2pgsql.exe

2008-02-18 Thread Milo van der Linden
Maybe I can help. I have good expertise on postgres/postgis security. I seem to have missed the posts from Stefan, could you please repost the original question? Björn Kaul schreef: > I have had the same message that Stefan described > and I have not found any solution yet. > > Is there any news

Re: [OSM-dev] osm2pgsql.exe

2008-02-18 Thread Björn Kaul
I have had the same message that Stefan described and I have not found any solution yet. Is there any news on this issue? Best Regards Björn Presumably you edited the pg_hba.conf, did you signal the postmaster to reload it (pg_ctl reload). Can you login normally? with psql... Hope this he

[OSM-dev] Slippy map - clickable POI

2008-02-18 Thread Gregory
Hi all, I've been trying to work on using OSM in cool/new ways, but only been able to dip into it now and then due to other commitments. I've created an openlayers slippy map here (the tiles are via kosmos): http://www.livingwithdragons.com/maps/slippytest.php And if you click on any of the pub

[OSM-dev] Another Osmo

2008-02-18 Thread Milo van der Linden
___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Re: [OSM-dev] OSM API

2008-02-18 Thread Martijn van Oosterhout
On Feb 18, 2008 7:32 PM, Jason Dent <[EMAIL PROTECTED]> wrote: > I am a bit new to working with the OSM data and api. So I am following the > Using curl to upload data example. > > This is the command line I used (I substituted my user name and password): > > curl -u user:password -i -o output.txt

[OSM-dev] OSM API

2008-02-18 Thread Jason Dent
I am a bit new to working with the OSM data and api. So I am following the Using curl to upload data example. This is the command line I used (I substituted my user name and password): curl -u user:password -i -o output.txt -T node.txt http://api.openstreetmap.org/api/0.5/node/create This is wh

Re: [OSM-dev] Data checks?

2008-02-18 Thread Martijn van Oosterhout
On Feb 18, 2008 9:42 AM, Tom Hughes <[EMAIL PROTECTED]> wrote: > That still has race conditions unless you can do the check in an > atomic fashion, which I'm not sure you can. It can work: For inserting/updating ways you're checking the nodes exist already, add a FOR SHARE to each query This stops

Re: [OSM-dev] Coastline viewer flooded :-)

2008-02-18 Thread Martijn van Oosterhout
On Feb 18, 2008 10:30 AM, Lauri Hahne <[EMAIL PROTECTED]> wrote: > It shouldn't be very hard to modify the api to remove all one and zero > node ways when it encounters them. Finding them is not the hard part, hell, I can give you the list generated as a side-effect of the coastline checker. I don

Re: [OSM-dev] Coastline viewer flooded :-)

2008-02-18 Thread Lauri Hahne
On 18/02/2008, Marcus Wolschon <[EMAIL PROTECTED]> wrote: > As they are not allowed to be created, > they should be removed from the database in > the first place instead of being filtered > out on every query done. As the database seems to be incredibly slow already, it sounds like a better idea

Re: [OSM-dev] {To Nick} hello! need expert to hand hold me with DB setup

2008-02-18 Thread Artem Pavlenko
On 18 Feb 2008, at 09:38, Nick Whitelegg wrote: >> Ah Very good! Yes, I am primarily on Windows, however certainly can > setup something in a Linux environment, though I am going to need > pretty > good >instructions. How does this PostGIS DB best run., I mean, in > terms > of a Linux distr

Re: [OSM-dev] {To Nick} hello! need expert to hand hold me with DB setup

2008-02-18 Thread Nick Whitelegg
>Ah Very good! Yes, I am primarily on Windows, however certainly can setup something in a Linux environment, though I am going to need pretty good >instructions. How does this PostGIS DB best run., I mean, in terms of a Linux distribution? What do you have? :-) You should be able to get Post

Re: [OSM-dev] Coastline viewer flooded :-)

2008-02-18 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Lauri Hahne <[EMAIL PROTECTED]> wrote: > It shouldn't be very hard to modify the api to remove all one and zero > node ways when it encounters them. A volunteer - excellent! I look forward to your patch. Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.co

Re: [OSM-dev] Coastline viewer flooded :-)

2008-02-18 Thread Lauri Hahne
On 18/02/2008, Martijn van Oosterhout <[EMAIL PROTECTED]> wrote: > On Feb 17, 2008 10:41 PM, Tom Hughes <[EMAIL PROTECTED]> wrote: > > In message <[EMAIL PROTECTED]> > > "Martijn van Oosterhout" <[EMAIL PROTECTED]> wrote: > > > > > Can we get the constraints in the database working alread

[OSM-dev] Ruby osmlib version 0.1.2 released

2008-02-18 Thread Jochen Topf
I have just released version 0.1.2 of the Ruby OSM library. There is now support for accessing the OSM API and the Name Finder and many bug fixes and smaller changes. Project web site: http://osmlib.rubyforge.org/ There are some interface changes, so if you have used osmlib before, you might have

Re: [OSM-dev] Data checks?

2008-02-18 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Martijn van Oosterhout <[EMAIL PROTECTED]> wrote: > Secondly, prevention is better than cure. It would be worthwhile going > over all the code that accesses the server database and determine if > it is "safe". The lack of transactions makes it more difficult,

Re: [OSM-dev] Data checks?

2008-02-18 Thread Martijn van Oosterhout
On Feb 15, 2008 11:38 PM, Tom Enterline (OSM) <[EMAIL PROTECTED]> wrote: > What has already been done on data checks, and is anyone else working on > it? What would be some good ideas to start with, and goals to work toward? A bit late to the party, but I have some comments: The comment about the