This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Error when importing osm data into postgresql

0

Hi I am trying to import OSM data into my PostgreSQL database. I have already created database called city_routing in my prostgresql database. When I try to import data using folloeing command I am getting mapconfig.xml notfound error. Please help me. Thanks

Command

alt text

Error

alt text

asked 14 Jan '18, 06:42

swiftDroid's gravatar image

swiftDroid
21337
accept rate: 0%

edited 14 Jan '18, 11:34

Have you checked if the configuration file that it is complaining about actually exists?

(14 Jan '18, 11:11) SimonPoole ♦

yeas its already there in C:\Program Files\PostgreSQL\10\bin

(14 Jan '18, 11:28) swiftDroid

But I don't know how to find this /usr/share path. How can I check this place?

(14 Jan '18, 11:31) swiftDroid
1

ah windows ....

You can specify where the config file is with -c see https://github.com/pgRouting/osm2pgrouting/wiki/Documentation-for-osm2pgrouting-v2.2

(14 Jan '18, 12:25) SimonPoole ♦