Giter Club home page Giter Club logo

Comments (8)

cvvergara avatar cvvergara commented on July 19, 2024

-c, --conf
or only
--conf

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

When dont want the default

osm2pgrouting -f small.osm -d inputdatatest -s 0 --conf mymapconfig.xml 
Execution starts at: Fri Dec  4 10:27:25 2015

***************************************************
           COMMAND LINE CONFIGURATION             *
***************************************************
Filename = small.osm
Configuration file = mymapconfig.xml

if no -c --conf is placed grabs a hard coded configuration file that its not documented in the help

osm2pgrouting -f small.osm -d inputdatatest -s 0 
Execution starts at: Fri Dec  4 10:30:21 2015

***************************************************
           COMMAND LINE CONFIGURATION             *
***************************************************
Filename = small.osm
Configuration file = /usr/share/osm2pgrouting/mapconfig.xml

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

When I am not in the folder:

osm2pgrouting -f data/small.osm -d inputdatatest -s 0 -c data/mymapconfig.xml 
Execution starts at: Fri Dec  4 10:35:13 2015

***************************************************
           COMMAND LINE CONFIGURATION             *
***************************************************
Filename = data/small.osm
Configuration file = data/mymapconfig.xml

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

@robe2
Can you make similar tests on windows and post them, please.

from osm2pgrouting.

robe2 avatar robe2 commented on July 19, 2024
C:\ming64gcc48\projects\osm2pgrouting\rel>osm2pgrouting -f C:\ming64gcc48\projects\osm2pgrouting\rel\\data\small.osm -d pgr -p 5444 -s 0  -c data\mymapconfig.xml
Execution starts at: Fri Dec 04 11:40:31 2015

***************************************************
           COMMAND LINE CONFIGURATION             *
***************************************************
Filename = C:\ming64gcc48\projects\osm2pgrouting\rel\\data\small.osm
Configuration file = data\mymapconfig.xml
host = localhost
db_port = 5444
dbname = pgr
user = postgres
passwd =
schema=
prefix =
suffix =
Don't clean tables
Include node table
***************************************************
Connecting to the database
host=localhost user=postgres dbname=pgr port=5444
connection success
Opening configuration file: data\mymapconfig.xml
    Parsing configuration

Opening data file: C:\ming64gcc48\projects\osm2pgrouting\rel\\data\small.osm
    Parsing data

Spliting ways

Creating tables...
Creating 'ways_vertices_pgr': OK
   Adding Geometry:  Exists: 'ways': OK
 Exists: 'relations_ways': OK
 Exists: 'osm_nodes': OK
 Exists: 'osm_relations': OK
 Exists: 'osm_way_tags': OK
 Exists: 'osm_way_types': OK
 Exists: 'osm_way_classes': OK
Adding auxiliary tables to database...
    Processing 70498 nodes:  Inserted:
    Processing 4 way types:  Inserted 0 way types
    Processing way's classes:  Inserted 0 way's classes
    Processing way's relations:  Inserted: 0way's relations
    Processing way's tags:  Inserted 0 way's tags
    Processing 3381 ways:
Vertices inserted     Ways inserted: 3381
Creating topology...
#########################
size of streets: 1802
size of splitted ways : 3381
Execution started at: Fri Dec 04 11:40:31 2015
Execution ended at:   Fri Dec 04 11:40:32 2015
Elapsed time: 1.067 Seconds.
User CPU time: -> 1.067 seconds
#########################

from osm2pgrouting.

robe2 avatar robe2 commented on July 19, 2024

If I don't specify -c I get this

osm2pgrouting -f C:\ming64gcc48\projects\osm2pgrouting\rel\\data\small.osm -d pgr -p 5444 -s 0
Execution starts at: Fri Dec 04 11:42:15 2015

***************************************************
           COMMAND LINE CONFIGURATION             *
***************************************************
Filename = C:\ming64gcc48\projects\osm2pgrouting\rel\\data\small.osm
Configuration file = /usr/share/osm2pgrouting/mapconfig.xml
host = localhost
db_port = 5444
dbname = pgr
user = postgres
passwd =
schema=
prefix =
suffix =
Don't clean tables
Include node table
***************************************************
Connecting to the database
host=localhost user=postgres dbname=pgr port=5444
connection success
Opening configuration file: /usr/share/osm2pgrouting/mapconfig.xml
    Parsing configuration

from osm2pgrouting.

robe2 avatar robe2 commented on July 19, 2024

Instructions for windows users in wiki - https://github.com/pgRouting/osm2pgrouting/wiki/Configuration-File-In-Windows

from osm2pgrouting.

cvvergara avatar cvvergara commented on July 19, 2024

So, that now things are clear lets close the issue.

from osm2pgrouting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.