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

contact at living-structures.de contact at living-structures.de
Fri Sep 12 16:12:49 BST 2008


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

contact at living-structures.de 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, contact at living-structures.de <mailto:contact at living-structures.de> <contact at living-structures.de> <mailto:contact at living-structures.de> 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 at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080912/780bd5d1/attachment.html>


More information about the talk mailing list