[OSM-dev] mapnik and windows
Damian Proksch
damian.proksch at gmx.de
Fri Jan 2 22:49:54 GMT 2009
Frederik,
ok, a small mistake of mine....
I'd done a search and replace because the "customize...." script don't
work under windows.
UserWarning: PSQL error:
could not translate host name "%DBHOST%" to address: Unknown host in layer 'leis
ure'
In my opinion this is not an error, only a warning.
I try to run mapnik local.
My problem is that nothing happens and the lines
C:\mapnik-0_5_1>generate_tiles.py
render_tiles( (9.4913900000000009, 47.618609999999997, 9.7411100000000008, 47.72
6390000000002) I:/OSM_Karten/mapnik/xml/osm.xml I:/OSM_Karten/mapnik/Tiles/ 10 1
4 test )
Traceback (most recent call last):
File "C:\mapnik-0_5_1\generate_tiles.py", line 171, in <module>
render_tiles(bbox, mapfile, tile_dir, 10, 14 , "test")
File "C:\mapnik-0_5_1\generate_tiles.py", line 53, in render_tiles
load_map(m,mapfile)
say, maybe, that something goes wrong, but I don't know what, because
I don't know nothing about Python.
by
Damian
am Freitag, 2. Januar 2009 um 23:26 schrieben Sie:
> Hi,
> Damian Proksch wrote:
>> UserWarning: PSQL error:
>> could not translate host name "%DBHOST%" to address: Unknown host in layer 'leis
>> ure'
> It looks like you're using the unmodified config template as a config
> file. The template has variables like %DBHOST% and some others which
> need to be replaced by proper values. There's a script that does this
> but I am not sure wheter this runs under Windows; if not you'll have to
> do a search-and-replace using your editor of choice.
> Bye
> Frederik
--
Mit freundlichen Grüßen
Damian Proksch
mailto:damian.proksch at gmx.de
More information about the dev
mailing list