Comments (3)
I have just released version 3.20.0, which fixes the issues discussed in this thread. Shortly, the update will be available within the QGIS plugin repository.
Thank you for using the plugin.
Best regards.
from qgis2web.
thanks, can you provide me with an example file to test with and which now gives the error?
from qgis2web.
@andreaordonselli, the function writeAsVectorFormat is deprecated since QGIS 3.10. To avoid the warning message, the writeAsVectorFormatV2 function should be used since QGIS 3.10 and the writeAsVectorFormatV3 function should be used since QGIS 3.20.
https://qgis.org/pyqgis/master/core/QgsVectorFileWriter.html#qgis.core.QgsVectorFileWriter.writeAsVectorFormat
To spot the warning, just use a project with any vector layer, e.g. the World Map layer (type the word "world" in the map coordinate widget), and create an OpenLayer web map using default settings: see the warning in the Log Messages panel.
Some ways to avoid the warning:
https://github.com/semiautomaticgit/SemiAutomaticClassificationPlugin/blob/9ab5dd5c91349f0f5496d7d015b59fb4bec5cd81/core/util_qgis.py#L82
https://github.com/foursquare/qgis-plugin/blob/a74a9aee94fe281e49914a84ab9c2f3384151903/Unfolded/core/processing/layer2dataset.py#L233
https://github.com/gem/oq-irmt-qgis/blob/ba3a577ea2cd22026ebf2eb555ea41a716b74dbf/svir/utilities/utils.py#L867
https://github.com/GeoCat/qgis-bridge-plugin/blob/e492e33800c6690c09f5ea675ebd5609e97e15ce/geocatbridge/publish/export.py#L54
from qgis2web.
Related Issues (20)
- Nested layer groups are still not supported HOT 1
- Learning how to contribute HOT 1
- UKHab Style Sets Not Working HOT 9
- The export contains malware HOT 4
- max-height of popup-content HOT 2
- Python error HOT 1
- Unable to export with openlayers HOT 12
- Blank preview and map HOT 5
- Python error HOT 4
- WMS Map from geoportale.regione.lazio.it not showed HOT 8
- Incorrect translation from Dutch names (look like English) in the Dutch language again. HOT 2
- popup join data - popup link - popup video HOT 4
- qgis2web plugin produces a webmap with an 'image' icon instead of the attached image. HOT 13
- Layer Search not working with Geopackage fid HOT 6
- Popup boxes appear vertically elongated with lots of content rather than wide enough to accommodate the information HOT 7
- Diagrams are not supported - Do not use apostrophe in fields HOT 9
- export page is blank HOT 3
- TypeError: Exporting to FTP HOT 1
- XYZ tiles exporting to overlaysTree not baseMaps HOT 4
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 qgis2web.