Polyline vs. MultiLineString #57348
Labels
API
API improvement only, no visible user interface changes
Documentation
Changes to Documentation, README, INSTALL, etc
PyQGIS
Related to the PyQGIS API
What is the issue about the documentation?
Whereas for geometry construction the term "polyline" is used (
fromPolyline()
), for layer construction the term "MultiLineString" is required (vl = QgsVectorLayer("MultiLineString", "temporary_points", "memory")
). This is confusing and should at least be reported in the documentation. This is the more important as no error or warning is thrown when attempting to add a polyline feature to a e.g. polygon layer.The text was updated successfully, but these errors were encountered: