Re: [QGIS-Developer] [Beginner] - Need examples Qgis c++ with Qt

2018-01-05 Thread Công Nam Phạm
Thank you for your reply! I'm viewing your website

Re: [QGIS-Developer] [Beginner] - Need examples Qgis c++ with Qt

2018-01-05 Thread Tim Sutton
Hi > On 05 Jan 2018, at 10:05, Công Nam Phạm > wrote: > > I tried create own application with Qt create 3.5.0 and Qgis 2.14, but > unsuccess. I found some example from > https://github.com/qgis/QGIS-Code-Examples > and try, so it's fail. These e

Re: [QGIS-Developer] UbuntuGIS builds of QGIS

2018-01-05 Thread Jeremy Palmer
Hi Jürgen, > Because that's what the GDAL package provides. But why is that a problem? > > I think in theory the GDAL packages could have a patch release (e.g 2.2.2-> 2.2.3), but that upgrade wouldn't be allowed as it would break the QGIS packages hard dependency. If the GDAL c++ API is stable g

[QGIS-Developer] Geoprocessing Tools Fail with Memory Layers

2018-01-05 Thread C Hamilton
I've asked about this several time and have never gotten a real response. The following code creates two memory layer polygons that overlap. from qgis.core import (QgsFeature, QgsVectorLayer, QgsPoint, QgsFeature, QgsMapLayerRegistry) poly1 = QgsVectorLayer("Polygon?crs=epsg:4326", "Polyg

Re: [QGIS-Developer] QGis 3D performance

2018-01-05 Thread Vincent Habchi
Hi Martin, > Yes it is a known issue: https://issues.qgis.org/issues/17493 Thanks. I wasn’t aware a ticket had already been opened. Sorry for the noise, but then you know now it also plagues OS X and is not solved in Qt 5.10, apparently. Cheers, have a nice weekend! Vincent

Re: [QGIS-Developer] QGis 3D performance

2018-01-05 Thread Martin Dobias
Hi Vincent On Fri, Jan 5, 2018 at 4:39 PM, Vincent Habchi wrote: > > When I display a 3D view on OS X / Qt 5.10 with a reasonably recent MacBook > Pro 13" (i5-5257U CPU - integrated graphics), even when I don’t interact with > the view, the fan ramps up and top reports a CPU usage around 50% fo

[QGIS-Developer] Learning the node tool in 2.99

2018-01-05 Thread DelazJ
Hi, I'm sure we had this discussion in the past but couldn't find a discussion with outcomes. I'm doing some digitizing these days, using master and still fail to know how i should proceed for some actions: - how do I add a simple vertex on a line? with the click-click system, it wants me to move

[QGIS-Developer] QGis 3D performance

2018-01-05 Thread Vincent Habchi
Folks, sorry if I bug you with my multiple (scattershot) messages. When I display a 3D view on OS X / Qt 5.10 with a reasonably recent MacBook Pro 13" (i5-5257U CPU - integrated graphics), even when I don’t interact with the view, the fan ramps up and top reports a CPU usage around 50% for QGis

Re: [QGIS-Developer] QGIS 3D: Support for 3DM (x,y,z,m)

2018-01-05 Thread Jakob Lanstorp
>>M values are ignored as their meaning is application specific. How >>would you like to use M values in the 3D view? M values is not for rendering in 3D, but just residing as part of my existing 4D data. When the M value is present the Z value is reset to 0 - and not rendered correct. Right now

Re: [QGIS-Developer] QGIS 3D: Support for 3DM (x,y,z,m)

2018-01-05 Thread Martin Dobias
Hi Jakob On Fri, Jan 5, 2018 at 2:31 PM, Jakob Lanstorp wrote: > Is it correct that the 3D engine currently does not understand measurement > values in 3DM format. M values are ignored as their meaning is application specific. How would you like to use M values in the 3D view? > When having fou

[QGIS-Developer] QGIS 3D: Support for 3DM (x,y,z,m)

2018-01-05 Thread Jakob Lanstorp
Is it correct that the 3D engine currently does not understand measurement values in 3DM format. When having four numbers in a coordinate the z (and m) value is skipped rendering the geometry af terrain = 0 meter (any 2d layer in 3D map is default rendered at z=0). Example: /SELECT 1 AS

Re: [QGIS-Developer] UbuntuGIS builds of QGIS

2018-01-05 Thread Jürgen E . Fischer
Hi Jeremy, On Fri, 05. Jan 2018 at 14:26:11 +1300, Jeremy Palmer wrote: > Is there a reason for the QGIS 2.18.X builds of UbuntuGIS builds having a > dependency on GDAL ABI 2.2.2? Because that's what the GDAL package provides. But why is that a problem? Jürgen -- Jürgen E. Fischer n

Re: [QGIS-Developer] Processing plugin - Set style on resulting layer

2018-01-05 Thread Jakob Lanstorp
Yes, I would like to control the styling from my processing plugin code not by context menu. The end user is not to worry about where to find a qml style file. Jakob - Jakob Lanstorp -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html _

Re: [QGIS-Developer] [Beginner] - Need examples Qgis c++ with Qt

2018-01-05 Thread Denis Rouzaud
Hi, I started a QGIS C++ app some years ago and wrote a blog post about it https://3nids.wordpress.com/2014/02/27/build-and-deploy-c-qgis-app-on-windows/ Things have changed since, but I guess it's a good start. Best wishes, Denis Le ven. 5 janv. 2018 à 04:05, Công Nam Phạm a écrit : > I trie

Re: [QGIS-Developer] UbuntuGIS builds of QGIS

2018-01-05 Thread Sebastiaan Couwenberg
On 01/05/2018 09:13 AM, Jeremy Palmer wrote: >> Because the C++ ABI was not stable in the past, see: >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756867#40 > > Ok thanks Bas. > > So this is the ABI for the c++ and C API? Doesn't QGIS only use the C API? > If so should gdal-abi-2-2-2 e

Re: [QGIS-Developer] UbuntuGIS builds of QGIS

2018-01-05 Thread Jeremy Palmer
> > > Because the C++ ABI was not stable in the past, see: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756867#40 Ok thanks Bas. So this is the ABI for the c++ and C API? Doesn't QGIS only use the C API? If so should gdal-abi-2-2-2 even be a dependancy, or is libgdal20 (>= 2.2.0) enoug

[QGIS-Developer] [Beginner] - Need examples Qgis c++ with Qt

2018-01-05 Thread Công Nam Phạm
I tried create own application with Qt create 3.5.0 and Qgis 2.14, but unsuccess. I found some example from https://github.com/qgis/QGIS-Code-Examples and try, so it's fail. I need examples qgis with QtCreate. Thank for help! P/S: my project attached. I don't load layer to canvas TestQQGIS.rar D