NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×3

question asked: 14 Jan '18, 06:42

question was seen: 1,159 times

last updated: 14 Jan '18, 12:25

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum