Monday, 8 June 2015

Mapnik render Error : Could not create datasource for type 'postgis'



I try to use mapnik render for a tile server. During the initialization 'renderd -f -c /usr/local/etc/renderd.conf', the following error message is displayed :


An error occurred while loading the map layer 'xxx': Could not create 
datasource for type: 'postgis' encountered during parsing of layer
'line features' in Layer at line 19 of 'XXX/test.xml'

There is no "No plugin found for type ' postgis '" displayed.


The file XXX/test.xml is the following :





%entities;
]>





all_roads

postgis
XXX
localhost
5432

XXX
XXX
(select way from planet_osm_line where highway is not null) as roads
false
-20037508,-19929239,20037508,19929239




Can you help me? Thanks





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...