Comments (8)
-c, --conf
or only
--conf
from osm2pgrouting.
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.
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.
@robe2
Can you make similar tests on windows and post them, please.
from osm2pgrouting.
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.
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.
Instructions for windows users in wiki - https://github.com/pgRouting/osm2pgrouting/wiki/Configuration-File-In-Windows
from osm2pgrouting.
So, that now things are clear lets close the issue.
from osm2pgrouting.
Related Issues (20)
- How is the column "cost" and similars calculated? HOT 5
- mapconfig_for_cars.xml -> "unclassified" has wrong priority HOT 7
- Issue with data import: fe_sendauth: no password supplied HOT 3
- osm2pgrouting does not compile with libpqxx v 7.1.1, 7.2.0. Compiles okay with 6.4.7 HOT 8
- Remove "priority" and "max-speed"
- New release? HOT 4
- 2.3.7 compile error HOT 5
- Change 'gid' column in 'ways' table to id' HOT 15
- Move branch master to "main"
- Release v2.3.8 HOT 1
- Some way are not imported in the ways table HOT 2
- Too many edges HOT 4
- Error opening /usr/share/osm2pgrouting/mapconfig.xml HOT 1
- Problem creating topology on pgrouting HOT 2
- unable to open / parse config file HOT 3
- osm_relations table does not get populated
- unclosed token at line 51376846 Failed to open / parse data file
- Problem compiling on alpine linux (libpqxx) HOT 1
- Suggested addition to readme for building on mac with libpq installed from brew
- Bug in Relation::members_str
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm2pgrouting.