Re: [QGIS-Developer] PYQGIS - OpenGL in QgsPluginLayer

2021-03-04 Thread Eric Younkin - NOAA Federal
This is great, thanks for the info. I believe we will be working through the GUI to do the symbolization. Thanks, Eric On Thu, Mar 4, 2021 at 8:50 AM Martin Dobias wrote: > Hi Eric > > I don't know about the S57 driver, best to ask on the gdal mailing list > about that... > > As for QML

[QGIS-Developer] QGIS does not recognize the CRS when the data is provided by SQLServer Database with Esri SDE

2021-03-04 Thread Stefan Giese
We have a MS SQL Server: Microsoft SQL Server 2016 database with SDE from Esri on Windows Server 2012 R2. Loading data into QGIS results in the QGIS unkown CRS dialog. If we don't select one CRS the layer is displayed with the questionmark for the unknown CRS. But in the layer properties the

Re: [QGIS-Developer] [PyQGIS] Unexpected crash using: QgsFeatureRenderer.symbolForFeature()

2021-03-04 Thread Janvier Thomas
urldefense.com/v3/__https://hu-berlin.de/eo-lab__;!!KbSiYrE!z9gWU7RU0cugBA6s2KKJdTYVU2pQZuWdUTNDxYT8jc3nDd_XZbNJv6Ac6i6RSCvm$ -- next part -- An HTML attachment was scrubbed... URL: <https://urldefense.com/v3/__http://lists.osgeo.org/pipermail/qgis-developer/attachments/20

Re: [QGIS-Developer] Filter by expression in Report(s)

2021-03-04 Thread matteo
Thanks Bernd for pointing this out, let's see if there are some takers :) Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe:

Re: [QGIS-Developer] PYQGIS - OpenGL in QgsPluginLayer

2021-03-04 Thread Martin Dobias
Hi Eric I don't know about the S57 driver, best to ask on the gdal mailing list about that... As for QML format... you should not try to read/write raw XML data of QML files: although that happens rarely, the format may change between versions of QGIS as the schema is not guaranteed to be stable

Re: [QGIS-Developer] [PyQGIS] Unexpected crash using: QgsFeatureRenderer.symbolForFeature()

2021-03-04 Thread Benjamin Jakimow
Hi Janvier, maybee you need to use it within a startRender and stopRender section: renderContext = QgsRenderContext() renderContext.setExtent(layer.extent()) renderer = layer.renderer().clone() renderer.startRender(renderContext, layer.fields()) features = layer.getFeatures(fids) for i,

Re: [QGIS-Developer] [PyQGIS] Unexpected crash using: QgsFeatureRenderer.symbolForFeature()

2021-03-04 Thread Richard Duivenvoorde
On 3/4/21 11:46 AM, Janvier Thomas wrote: >   > I opened an Issue here (not sure this is relevant): > Unexpected crash using: QgsFeatureRenderer.symbolForFeature() · Issue #68 · > qgis/pyqgis (github.com) Hi Janvier, FYI: that issue tracker is for the

[QGIS-Developer] [PyQGIS] Unexpected crash using: QgsFeatureRenderer.symbolForFeature()

2021-03-04 Thread Janvier Thomas
Hi, I got an issue with SIP python bindings... I'm looking to loop over QgsVectorLayer features to convert geometries to mesh primitives (cells) ... I had a first problem with the non-const (unexpected crash about SIP methods) for part in feature.geometry().parts(): that I solved using the