Re: [Qgis-user] Setting configuration of a field in a vector layer

2024-08-02 Thread Roland Berger via QGIS-User
Hi Etienne Thanks. Worked! Do you know of a good documentation explaining the Philosophie of the pyQgis API? I never know which approach I need to take to change/add information: Working directly on the object, when to use a data provider, when to call layer.startEditing() / layer.commitChange

[Qgis-user] Oriented points in Oracle Database

2024-08-02 Thread Huesmann, Michaela via QGIS-User
Hello all, in an Oracle DB I have a table with oriented points. In the GIS program GeoMedia and GeoMedia Smart Client the points are visualised correct with rotation but not so in QGIS. Is there a way in QGIS to use the rotation saved within the SDO_GEOMETRY? Also my points with rotation where

Re: [Qgis-user] Setting configuration of a field in a vector layer

2024-08-02 Thread Etienne Trimaille via QGIS-User
Hi, You should use the method in QgsVectorLayer, otherwise, you are updating a "copy" of the QgsField : for field in layer.fields(): layer.setFieldConfigurationFlag( layer.fields().indexFromName(field.name()), Qgis.FieldConfigurationFlag.HideFromWfs, True) On GitHub.com, I often sear