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

On Windows #40

Open
Abelon38 opened this issue Jun 23, 2023 · 4 comments
Open

On Windows #40

Abelon38 opened this issue Jun 23, 2023 · 4 comments

Comments

@Abelon38
Copy link

Hi!

Is that possible to install the plugin in a QGIS-server on a Windows machine or it will only work on Docker?

Thanks!
Abel

@pathmapper
Copy link

In general. this functionality is now part of the QGIS source code, for further information please see
-https://docs.qgis.org/3.28/en/docs/server_manual/catalog.html
-#6 (comment)

But you need a QGIS Server build with the flag WITH_SERVER_LANDINGPAGE_WEBAPP enabled.

@Abelon38
Copy link
Author

Do you mean I have to build QGIS server from scratch and enable WITH_SERVER_LANDINGPAGE_WEBAPP ? or is that possible to enable it on an existing installation?

Thanks for your support! :)
BR/Abel

@pathmapper
Copy link

Do you mean I have to build QGIS server from scratch and enable WITH_SERVER_LANDINGPAGE_WEBAPP ?

Yes, but only if your existing installation wasn't build with it. Unfortunately this seems sometimes the case, e.g. with Debian/Ubuntu builds.

Don't know about the Windows builds, maybe ask on the QGIS user mailing list -> https://lists.osgeo.org/mailman/listinfo/qgis-user

@Abelon38
Copy link
Author

Hi Alessandro!

I found the Landing installation under my QGIS-server installation "apps\qgis\resources\server\src" Then with npm installed all modules and with Yarn run Build. After that I got a build under apps\qgis\resources\server\api\ogc\static\landingpage. Next step, allowing variables like this:

FcgidInitialEnv QGIS_SERVER_LANDING_PAGE_PREFIX "landing"
FcgidInitialEnv WITH_SERVER_LANDINGPAGE_WEBAPP true
FcgidInitialEnv QGIS_SERVER_LANDING_PAGE_PROJECTS_DIRECTORIES "C:\qgisprojekt\bakgrunder2.qgz"

Still nothing happens. I am starting believe Landing-page will only work on linux environments.

Catalog seams to be a great impruvement to the QGIS-server but I think more information regarding installation and configuration should be writen and shared otherwise it may be difficult for the users to test and use it.

Is that possible for you to guide me in the installation of this plugin? Then I will write down a steps for steps for the QGIS public and share it. I could pay for one hour of your time if it's need it?

Thanks and I hope to hear from you.
email: abel.gonzalez.c@gmail.com

BR/Abel

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