by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 15 10:50
    curiousaboutgis commented #283
  • Jul 15 10:49
    curiousaboutgis closed #283
  • Jul 15 10:42
    curiousaboutgis commented #283
  • Jul 15 10:41
    curiousaboutgis commented #283
  • Jul 15 10:41
    curiousaboutgis commented #283
  • Jul 15 09:23

    cayetanobv on master

    replace by a working version T… Merge pull request #280 from La… (compare)

  • Jul 15 09:23
    cayetanobv closed #280
  • Jul 15 09:21
    cayetanobv commented #283
  • Jul 15 09:10
    curiousaboutgis opened #283
  • Jul 15 02:51
    ellogram starred pgRouting/osm2pgrouting
  • Jul 08 07:20
    Doev commented #281
  • Jul 07 15:18
    dkastl commented #281
  • Jul 07 15:13
    dkastl commented #281
  • Jul 07 14:07
    Doev commented #276
  • Jul 07 13:27
    tssmits starred pgRouting/osm2pgrouting
  • Jul 07 13:16
    Doev opened #282
  • Jul 07 12:19
    Doev opened #281
  • Jul 06 18:14
    AlexandrosPlessias starred pgRouting/osm2pgrouting
  • Jul 01 14:20
    Langlaeufer commented #275
  • Jul 01 12:38
    dkastl commented #275
Isaac Boates
@iboates
super
i dont see the request though
Vicky Vergara
@cvvergara
request was sent by github,
mail
Isaac Boates
@iboates
there it is
ok, thank you
i will finish up the last things i want on this commit and then i will begin migrating it
Vicky Vergara
@cvvergara
ok, I will be here
are you subscribed to pgRouting-dev list?
Isaac Boates
@iboates
Hi Vicky
I am not
also, I need to have permission to create repositories in order to transfer the repository to the pgRouting organisation
Vicky Vergara
@cvvergara
@dkastl do you know how to do that?
Vicky Vergara
@cvvergara
Vicky Vergara
@cvvergara
@iboates trying to contact @dkastl again
Vicky Vergara
@cvvergara
@iboates dont forget to subscribe to pgrouting-dev & pgRouting-user list
Daniel Kastl
@dkastl
@iboates thanks for contributing to pgRouting! That's very much appreciated!
I just found a setting in Github to allow members of the organization to create repositories, so I enabled it.
You are already osm2pgrouting member, so could you try, if it works?
Isaac Boates
@iboates
all done
and you're welcome, thanks for the invitation
now i finally have a valid reason to put my pgrouting sticker on my laptop :)
Vicky Vergara
@cvvergara
Welcome :)
Debashish Nanda
@debashishnanda
hello mentors
Vicky Vergara
@cvvergara
Hello, if you are appliying please go to https://gitter.im/pgRouting/pgrouting
Debashish Nanda
@debashishnanda
ok
Tobias Werner
@Tobias-Werner
Hi! I have a question about processing multiple OSM files. I want to split up large areas in multiple smaller files which i want to import separately for building a topology. Does osm2pgrouting take into account already imported topology? My intention is to build a topology of germany by importing the states sequentially. I read the docs that if the --clean paramter is missing the new imported data will be appended to the existing data - but will the existing topology be considered?
Daniel Kastl
@dkastl
@Tobias-Werner , yes, this should work as expected. When you do not use the --clean flag, then missing data will be apppended.
Tobias Werner
@Tobias-Werner
@dkastl thank you!
Sergii
@curiousaboutgis
Hello! I am trying to start osm2pgrouting by loading osm data into it, but I get the following error message:

osm2pgrouting --f your-OSM-XML-File.osm --conf mapconfig.xml --dbname routing --username postgres --clean
Execution starts at: Tue Jul 14 15:40:48 2020


       COMMAND LINE CONFIGURATION             *

Filename = your-OSM-XML-File.osm
Configuration file = mapconfig.xml
host = localhost
port = 5432
dbname = routing
username = postgres
schema=
prefix =
suffix =
Drop tables
Don't create indexes
Don't add OSM nodes


Testing database connection: routing
fe_sendauth: no password supplied

What could be the problem?
Vicky Vergara
@cvvergara

@atene468

# work on the home folder
cd

# login to postgres
psql -U postgres

-- Create youruser
CREATE ROLE youruser SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN PASSWORD 'your_pass';

-- exit psql
\q

# Add the user to .pgpass
echo :5432:*:youruser:yourpass >> .pgpass

Then try with

osm2pgrouting --f your-OSM-XML-File.osm --conf mapconfig.xml --dbname routing \
     --username youruser \
     --clean
Sergii
@curiousaboutgis
error2.png
Thanks a lot for your quick answer. Unfortunately it doesnt work. Got the message like this
Vicky Vergara
@cvvergara
chmod 0600 ~/.pgpass
try again
Sergii
@curiousaboutgis
echo :5432:*routing:routing >> chmod 0600 ~/.pgpass
I did same and got the same error message.
Vicky Vergara
@cvvergara
I dont know you are using the same name everywhere
can you do createdb foo ?
Sergii
@curiousaboutgis
ok now I tried it with sudo, error about permission group/world access disappeared. but the problem stays same: fe_sendauth: no password supplied
oh ok, I will try
Vicky Vergara
@cvvergara
why sudo?
if you cant do createdb foo just like that without sudo is because you dont have in pgpass your name and password
Sergii
@curiousaboutgis
Thanks a lot for your instant answers! I tried it as you said: it still shows: fe_sendauth: no password supplied
Vicky Vergara
@cvvergara
that is postgres issue
why dont you google it and see what you find
Sergii
@curiousaboutgis
I have definitely searched about it a lot before landing here, but yes, will try to dig a bit more :)
Sergii
@curiousaboutgis
It finally worked. I added -W password. I mean I tried before, but my password for postgres contained symbols like !,1234, and the response was always: !,1234, event not recognized. I had to change my postgres password by choosing just letter symbols and it worked!
osm2pgrouting --f your-OSM-XML-File.osm --conf mapconfig.xml --dbname routing --username postgres -W yourpassword --clean
Vicky Vergara
@cvvergara
good you could solve it