Open ghost opened 5 years ago
Hi @mkamaludeen ,
What version of osm2pgrouting are you using? Could you paste here the output of osm2pgrouting -v
?
Thanks,
This is osm2pgrouting Version 2.3.6
@mkamaludeen postgis
flag was removed several versions ago but we forgot to remove from docs.
CC: @cvvergara I'm reviewing code and I found you left a comment (Can I remove this comment?):
I think --postgis
flag was never supposed to install PostGIS. It would always require PostGIS to be installed on the operating system already. But the idea was to add the PostGIS extension to the database when a new database is created. Maybe the flag --postgis
was misleading, so it was good to remove it.
I agree @dkastl . I'm going to remove this flag from README.
From documentation, I can see that the option "--postgis" will install postgis extension if not found in the database. But, when I run a simple osm2pgrouting command with "--postgis" argument included, it says the error unrecognised option '--postgis'.