[OSM-talk] osm2pgsql.exe for win32 | Cinnection to (public) database failed ....

2008-09-12 Thread [EMAIL PROTECTED]

My PostgreSQL-Server is running on localhost port 5432
and i've set up a database called 'postgis' but when i try to
osm2pgsql -d:postgis planet.osm
i get this error:
   fe_sendauth: no password supplied

but the database is set to 'public' - so, why i get this password error ?

regards,
andrew

[EMAIL PROTECTED] schrieb:


Seems that there is more stuff out there people don't know about ( :

http://artem.dev.openstreetmap.org/files/osm2pgsql_latest.exe.zip
http://artem.dev.openstreetmap.org/files/osm2pgsql.exe

Andrew


Jan-Benedict Glaw schrieb:

On Fri, 2008-09-12 15:13:23 +0200, [EMAIL PROTECTED]  <[EMAIL 
PROTECTED]>  wrote:
  

My Source: http://wiki.openstreetmap.org/index.php/Mapnik

I have installed everything under Windows 2000 (SP4) and
the demo (with the 3 pictures) works fine. Now i've two questions:

*Question 1: How to convert the PLANET IN FILE on Windows/WIN32 *
I know i've to execute this Command ...
* ./osm2pgsql osm-U-m-d f: / osm/planet-080910.osm *


osm2pgsql is binary program written in C. It may compile eg. under
Cygwin, even easily. As an alternative, you'd run it on a Linux box
and use the PostGIS database on your Windows box, which should work
fine.

  

but where ... Python-Shell ... Windows-Command ... or do i have
to compile this command before i can use it on my win32-OS and
how does this compilation work ?


I cannot really help you with the compilation. Either run it on a
Linux box (Debian even has it as a package), or try to build it with
Cygwin. If that works, it's by far the easiest way to get it build for
Windows.

  

*Question 2: RENDERN TILES OF THE WORLD? *
I rendered the deom and it works fine, but what are all the other steps,
i've to do,  before i can use the generate_tiles.py srcript to generate the
world map level x (x=1-14)?
http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py 


Don't know, never did that :)

MfG, JBG

  




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
  


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] osm2pgsql.exe for win32 | Cinnection to (public) database failed ....

2008-09-12 Thread Jukka Rahkonen
contact  living-structures.de  living-structures.de> writes:

> 
> 
> My PostgreSQL-Server is running on localhost port 5432
> and i've set up a database called 'postgis' but when i try to
> osm2pgsql -d:postgis planet.osm
> i get this error:
>                         fe_sendauth: no password supplied
> but the database is set to 'public' - so, why i get this password error
> ?
> regards,
> andrewcontact  living-structures.de schrieb:

You need to change PosGIS settings in pg_hba.conf so that database does not
require password.  It means setting "method" to "trust".  This belongs to
restrictions of osm2pgsql for Windows: you cannot give db host, no port, no
username nor password but everything must be set up so that the defaults work.
 



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk