Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unrecognised option '--postgis' #257

Open
ghost opened this issue Sep 9, 2019 · 5 comments
Open

unrecognised option '--postgis' #257

ghost opened this issue Sep 9, 2019 · 5 comments
Assignees

Comments

@ghost
Copy link

ghost commented Sep 9, 2019

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'.

image

@cayetanobv
Copy link
Member

Hi @mkamaludeen ,

What version of osm2pgrouting are you using? Could you paste here the output of osm2pgrouting -v?

Thanks,

@ghost
Copy link
Author

ghost commented Sep 10, 2019

This is osm2pgrouting Version 2.3.6

image

@cayetanobv
Copy link
Member

@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?):

@dkastl
Copy link
Member

dkastl commented Sep 11, 2019

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.

@cayetanobv
Copy link
Member

I agree @dkastl . I'm going to remove this flag from README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants