Comments (5)
There is also custom function in qgis profile folder.
Make sure that the environment variable QGIS_OPTIONS_PATH is correctly set when running the server.
See https://docs.qgis.org/3.22/en/docs/server_manual/config.html#environment-variables
from py-qgis-server.
I use default options path.
from py-qgis-server.
I use default options path.
This may be undefined: that depends how you start the server (if you use Docker then there is no such thing as default options path
and you must bind mount the profile directory explicitely)
To make sure that your are using the correct profile provide a QGIS_OPTIONS_PATH environment variable that hold the path to the profile folder. Remember that the server is expected to run in its own environment (no qgis desktop around) and doesn't known about your Qgis desktop settings.
from py-qgis-server.
I've another question related to getfeatureinfo. Actual external wms layers shows no info onclick. It could be implented by js by identifying lizMap.layers .. url does not include lizMap.map.baseURI. For performance issues we actually clone projects and embed "internal" WMS layer so that all CPU cores are used. To overcome the issue that third party can see the "internal" wms link and probably can embed project layers into their own projects we create xml files with gdal_translate command and embed them instead of wms source layers. But now per js we cannot see then what layer is embedded externally (by url). What would be a better approach? Use internal wms without xml (gdal_wmts because gdal_wms dont respect layer transparency) and set credentials/auth? I made researches but it seems to be difficult to set auth for a qgis project. Another question is why it is not documented/worked on that using internal wms layer can use all CPU cores? I know its all about simplification (make no sense display 10 k features). But I think with project caching function of pyqgisserver big projects with 100+ layers will load in time the focus of multiprocessing will be rising. I like to have a big project rather than 3-4 small ones.
from py-qgis-server.
I've another question related to getfeatureinfo. Actual external wms layers shows no info onclick...
Sorry, but I dont see how that relates to the actual issue: It seems to to me that it is more a Qgis issue/question since py-qgis-server is a wrapper around Qgis server and that is related how Qgis handle external wms.
from py-qgis-server.
Related Issues (20)
- Is it necessary QGIS to use this server? HOT 3
- Abort request to PostgreSQL if the connection pool is full HOT 3
- Missing documentation about new environment variables
- Improve how to use a symlink for a QGIS plugin HOT 2
- implement multiprocessing by adding php proxy/wrapper HOT 4
- Can we have the form UI design in QGIS as HTML in the response in GetFeatureInfo ? HOT 1
- Add a QuickStart mode HOT 2
- Running proxy and workers separately with docker image show argument error HOT 1
- QGSRV_SERVER_ALLOW_HEADERS config does not appear in documentation HOT 1
- Default user when running under k8s is now 9001 breaking volume mounts HOT 5
- How to force py-qgis-server to not use cache for GetCapabilities request ? HOT 9
- Is there a problem in the refresh_cache method ? HOT 8
- customize SVG search path? HOT 3
- We need a docker image with Qgis 3.22 HOT 2
- Qgis: WMS: Download of capabilities failed: SSL handshake failed HOT 2
- Feature request: preload cache ready healcheck HOT 2
- Workers update sequentially HOT 9
- Cannot use WFS3 ogc api HOT 9
- Test with -w in docker-entrypoint.sh gives error HOT 13
- Capabilities to change port HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-qgis-server.