Closed mhubrich closed 5 years ago
Hi @mhubrich ,
Are you sure your user has permissions? Why don't you supply password? Are you sure you are using version 2.3.6?
Thanks,
Hi @cayetanobv, Thanks for your reply.
That's the version output I get:
>> osm2pgrouting --version
This is osm2pgrouting Version 2.3.6
Here is information about the user:
>> psql -U postgres -c "\du"
List of roles
Role name | Attributes | Member of
-------------+------------------------------------------------------------+-----------
postgres | Superuser, Create DB | {}
I didn't supply a password because this user doesn't have one. I think there are no problems of this user accessing the database. The output in my initial post says:
Testing database connection: routing
database connection successful: routing
Connecting to the database
connection success
Tables inside the DB routing
were even created:
>> psql -U postgres -d routing -c "\d"
List of relations
Schema | Name | Type | Owner
--------+--------------------------+----------+----------
public | configuration | table | postgres
public | configuration_id_seq | sequence | postgres
public | geography_columns | view | postgres
public | geometry_columns | view | postgres
public | pointsofinterest | table | postgres
public | pointsofinterest_pid_seq | sequence | postgres
public | raster_columns | view | postgres
public | raster_overviews | view | postgres
public | spatial_ref_sys | table | postgres
public | ways | table | postgres
public | ways_gid_seq | sequence | postgres
public | ways_vertices_pgr | table | postgres
public | ways_vertices_pgr_id_seq | sequence | postgres
However, all tables are empty (except of configuration
).
Ok, thanks. It seems is a dataset issue. Could you upload your osm dataset to test it?
Thanks a lot! Here is the file I used: export.osm.zip I didn't find any detailed information on how the osm file should look like. I used Overpass-Turbo to create the file.
Do you have an example file for me I could try on my machine?
Hi @mhubrich ,
I tried to use your dataset but I see very strange issues in your geometries. You can see this screenshot from QGIS of your OSM dataset:
I downloaded your area and it is working fine with osm2pgrouting (screenshot of OSM dataset):
I think there is something strange in your downloaded dataset. You can try to download with another tools:
Thanks,
Thank you so much, @cayetanobv. That explains a lot!
You were a good help here, thanks for your time :)
Thanks to you @mhubrich !
Hi all,
I have problems executing
osm2pgrouting
. I get error messages right at the beginning when the tables are created. Here is what I do:Next, I run:
And get the following output:
Does anyone know what's going wrong?
Here some information about my system:
postgres
exists and has superuser role