Thursday, 17 March 2016

Configuring pgRouting on Win7


I'm installing pgrouting (ver 1.03_pg-8.4.2) on my windows machine. I installed PostgreSQL and postgis without any problem, then I downloaded the binary package of pgrouting and I installed it (copy and Paste in postgresql dir). Now I'm trying to configure my first database following the instructions of http://genuchten.blogspot.com/2008/04/untitled.html but I get some errors:


1)


psql -U postgres -f ../share/contrib/lwpostgis.sql routing
ERROR: ../share/contrib/lwpostgis.sql No such file or directory

2)



psql -U postgres -f ../share/contrib/spatial_ref_sys.sql routing
ERROR: ../share/contrib/spatial_ref_sys.sql No such file or directory

3)


psql -U postgres -f ../share/contrib/routing_core.sql routing
ERROR: incompatible library: librouting.dll: verion mismatch

4)


psql -U postgres -f ../share/contrib/routing_core_wrappers.sql routing
ERROR: Type "geoms" does not exist


Can anyone help me? Thanks Laura




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...