Comments (3)
Hello @manisandro,
No idea about that one ?
Thanks again,
Rergards, Clément.
from qwc2-demo-app.
At a first glance I'd say this could be because QGIS Server internally recomputes the scale based on the geographic bounding box, the dpi and the rendering pixel size, and the result may be slightly different than the scale displayed in the web client.
from qwc2-demo-app.
Yes Qgis server seems to use bbox, height, width and dpi to compute the scale, but the thing is that in desktop the scale is rendered corectly using 96 dpi but not in the web client. The request I've linked above is the way the client call the Qgis server.
Maybe the bbox computed by the client is a bit off compared to the one computed by a Qgis Desktop.
Using 96.001 is not a problem using the webclient without print template, but when tyou try to print it'll print with a 96 like dpi and the scale will be off again.
It would be nice if the web client would render the wms the same way as a Qgis desktop regarding the scale.
I'll try to look into it as well.
from qwc2-demo-app.
Related Issues (20)
- Hide a layer from the public HOT 6
- Adding an ArcGIS Rest WFS HOT 2
- MapTip does not work on imported layers from other themes HOT 1
- Calling by URL: where is 'style' located? HOT 3
- Turkish translations HOT 1
- Example of geopackage as a test file?
- Crash in identifyViewer.jsx HOT 1
- Time manager crashes when enable a temporal layer HOT 1
- Remote Access to postgresql database HOT 4
- Routing plugin: Symbology of routes and reachability areas map viewer vs print/export HOT 6
- Layer tree plugin: allowMapTips vs. mapTipsEnabled HOT 1
- MapViewer Search - $TEXT$ replaced only once in GetFeatureInfo request HOT 2
- Layer does not exist or is not permitted while printing, if another theme is added to the current map via search box HOT 1
- GetMap timeout too short HOT 3
- Drop the "2" in QWC2 HOT 1
- Close redlining from another button HOT 2
- Data (Update) privileges HOT 4
- The Featureinfo Window Close button is hidden by the QWC2 header.
- The identify region tool is not aware of scale based layer visibility
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 qwc2-demo-app.