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

Can't open project - missing DB connection #3

Open
stalkerGH opened this issue Feb 26, 2023 · 4 comments
Open

Can't open project - missing DB connection #3

stalkerGH opened this issue Feb 26, 2023 · 4 comments

Comments

@stalkerGH
Copy link

Hi Manuel.

I'm trying to open your magnificently looking style in QGIS 3.28.3 but still getting messages about missing DB connection - see attached screenshots (first with error message, second with missing layers). How can I fix it?

Screenshot_20230226_151558

Screenshot_20230226_151625

@mclaeysb
Copy link
Owner

Hi

Thanks for trying it out. Did you download the OSM data and put it in a database named 'osm_be'? See https://github.com/mclaeysb/FerrarGIS#getting-started

@stalkerGH
Copy link
Author

Hi and thank you for reply. I've downloaded it but maybe format of data is other than expected (no DB). But I'd like to ask about this:

To set this project up yourself, download QGIS v3.20 or higher, and download the OSM data of Belgium to a Postgres database names osm_be (for example, using the osm2pgsql tool, as explained in this tutorial).

Is it possible to use custom area, not Belgium? Other country of even smaller administration area?

@mclaeysb
Copy link
Owner

You can use the data you want - there is no geographical restriction. The only obligation currently is the name and type of the db. The tutorial should help you set it up.

@stalkerGH
Copy link
Author

Thank you. I see I got to learn PostgreSQL first...

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