[OSM-dev] problem with mapnik
Ruggero
giurrero at gmail.com
Sun Mar 28 21:38:32 BST 2010
2010/3/28 Lennard <ldp at xs4all.nl>:
> Ruggero wrote:
>
> Replying to reply which went direct to me instead of dev@
>
>>> Update your stylesheet. You haven't done that in at least 7 months[1].
>>> Be aware that osm.xml has changed substantially since that time, so be
>>> sure to read the documentation again.
>>>
>>> [1] http://trac.openstreetmap.org/changeset/17301
>>
>> thanks, now an other problem:
>>
>> MAPNIK_MAP_FILE="osm.xml" MAPNIK_TILE_DIR="tiles/" ./generate_tiles.py
>> RuntimeError: PSQL error:
>> FATAL: Ident authentication failed for user "ruggero" (encountered
>> during parsing of layer 'leisure')
>
> Did you run generate_xml.py or manually edit
> inc/datasource-settings.xml.inc ? Is your username and password in that
> file?
I ran:
./generate_xml.py --host localhost --user ruggero --dbname gis
--symbols ./symbols/ --world_boundaries ./world_boundaries/ --port
5432 --password xyz
I triyed to change ruggero to 'ruggero', and so on, I changed ruggero
with root, postgres, but nothing change. In
inc/datasource-settings.xml.inc there are all my data:
<Parameter name="type">postgis</Parameter>
<Parameter name="password">xyz</Parameter>
<Parameter name="host">localhost</Parameter>
<Parameter name="port">5432</Parameter>
<Parameter name="user">ruggero</Parameter>
<Parameter name="dbname">gis</Parameter>
<!-- this should be 'false' if you are manually providing the 'extent' -->
<Parameter name="estimate_extent">false</Parameter>
<!-- manually provided extent in epsg 900913 for whole globe -->
<!-- providing this speeds up Mapnik database queries -->
<Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
thank you very much for help
More information about the dev
mailing list