Re: [Qgis-developer] Area calculation issues

2017-02-03 Thread Nyall Dawson
On 3 February 2017 at 16:54, Neumann, Andreas  wrote:
> Dear Nyall,
>
> Thank you so much for analyzing the issue and also thank you in advance for
> porting the fix to 2.18!

Done now. I also added one of those polygons to the reference geometry
test to ensure that all other stats (perimeter, centroid, etc) match
PostGIS' results.

Nyall


>
> I opened the sample project with 2.14 and I can confirm that the area values
> of both planimetric and ellipsoidic area calculations are very close for all
> features.
>
> It is very much appreciated!
>
> Thanks,
>
> Andreas
>
> On 2017-02-03 01:36, Nyall Dawson wrote:
>
> On 1 February 2017 at 19:55, Neumann, Andreas  wrote:
>
>
> Hi Nyall,
>
> Thanks for the explanations. I should have read the explanations of the help
> text more closely. It explains it all.
>
> However, there still seem to be issues. Consider the following results
> below. First column is the result of $area, second column is
> area($geometry).
>
> Sometimes the results are very close, in other cases the difference is
> massive. Like in the very first row. 32'087 vs 190'605'589 square meters.
> This can't be explained with ellipsoidical vs. planimetric. In this first
> row, the result of area($geometry) (planimetric) seems correct, while the
> ellipsoidical result ($area) is massively wrong.
>
> How can this huge difference be explained?
>
>
> Ok - I've looked into this. It's not an issue in 2.14 or 3.0, just 2.18.
>
> It was most likely fixed by:
> https://github.com/qgis/QGIS/commit/abc0919 "Fix area calculation of
> compoundcurve rings if they contain a 2-vertex linestring"
>
> Committed to 2.14 (with unit tests), I forward ported to 3.0, but it
> hasn't been applied to 2.18. I'll do this.
>
> Nyall
>
>
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Building for Windows 10

2017-02-03 Thread Matthias Kuhn
Hi Andrew,

Compiling with Qt 5 (and therefore compiling master) on Windows is still
very experimental. The libraries are not yet available on osgeo4w and
I'm not sure if they are available elsewhere (QCA, QWT, QtWebKit,
PyQt5-Python3 etc.).

Depending on what you need, compile the release-2_18 branch with the
dependencies on osgeo4w, wait a little longer until the dependencies
become available (or use linux or mac or if you really want you can also
try to compile all the dependencies yourself as well).

Matthias


On 03/02/2017 18:18, Andrew Gillett wrote:
>
> Any particular version of QT? It turns out it can't be higher than QT
> 5.5 because QTWebKit was removed in later versions. But QTScript is
> not present in 5.5. Now I'm trying 5.3 but I get:
>
> CMake Error at cmake/FindQCA.cmake:59 (message):
> Could not find QCA
> Call Stack (most recent call first):
> CMakeLists.txt:292 (FIND_PACKAGE)
>
> Went back to OSGeo4W setup, installed QCA-libs and QCA-devel - no
> difference.
>
>
> On 03/02/2017 14:16, Luigi Pirelli wrote:
>> for master (eg. QGIS3.x) is a prerequisite
>> Luigi Pirelli
>>
>> **
>> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
>> * LinkedIn: https://www.linkedin.com/in/luigipirelli
>> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
>> * GitHub: https://github.com/luipir
>> * Mastering QGIS 2nd Edition:
>> * 
>> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
>> **
>>
>>
>> On 3 February 2017 at 14:12, Andrew Gillett  wrote:
>>> I get the following error during the configure stage in CMake:
>>>
>>>
>>> CMake Error at CMakeLists.txt:248 (FIND_PACKAGE):
>>>   By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
>>>   asked CMake to find a package configuration file provided by "Qt5Gui", but
>>>   CMake did not find one.
>>>
>>>   Could not find a package configuration file provided by "Qt5Gui" with any
>>>   of the following names:
>>>
>>> Qt5GuiConfig.cmake
>>> qt5gui-config.cmake
>>>
>>>   Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
>>>   "Qt5Gui_DIR" to a directory containing one of the above files.  If
>>> "Qt5Gui"
>>>   provides a separate development package or SDK, be sure it has been
>>>   installed.
>>>
>>>
>>> QT5 is not mentioned in the docs as a prerequisite, am I meant to get it
>>> from www.qt.io (installer wants me to create an account) or is it meant to
>>> come from somewhere else?
>>>
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Building for Windows 10

2017-02-03 Thread Andrew Gillett
Any particular version of QT? It turns out it can't be higher than QT 
5.5 because QTWebKit was removed in later versions. But QTScript is not 
present in 5.5. Now I'm trying 5.3 but I get:


CMake Error at cmake/FindQCA.cmake:59 (message):
Could not find QCA
Call Stack (most recent call first):
CMakeLists.txt:292 (FIND_PACKAGE)

Went back to OSGeo4W setup, installed QCA-libs and QCA-devel - no 
difference.



On 03/02/2017 14:16, Luigi Pirelli wrote:

for master (eg. QGIS3.x) is a prerequisite
Luigi Pirelli

**
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* 
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
**


On 3 February 2017 at 14:12, Andrew Gillett  wrote:

I get the following error during the configure stage in CMake:


CMake Error at CMakeLists.txt:248 (FIND_PACKAGE):
   By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
   asked CMake to find a package configuration file provided by "Qt5Gui", but
   CMake did not find one.

   Could not find a package configuration file provided by "Qt5Gui" with any
   of the following names:

 Qt5GuiConfig.cmake
 qt5gui-config.cmake

   Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
   "Qt5Gui_DIR" to a directory containing one of the above files.  If
"Qt5Gui"
   provides a separate development package or SDK, be sure it has been
   installed.


QT5 is not mentioned in the docs as a prerequisite, am I meant to get it
from www.qt.io (installer wants me to create an account) or is it meant to
come from somewhere else?

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Min Qt version

2017-02-03 Thread Radim Blazek
Hi,

I am trying to compile master and it fails with 'no member named
AppDataLocation in QStandardPaths', which was added in Qt 5.4.

INSTALL says in requirements Qt >= 5.3.0, Debian stable has 5.3.2.

So what is now minimum required Qt version?

Radim
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [829] d3 Map Renderer approval notification.

2017-02-03 Thread noreply

Plugin d3 Map Renderer approval by pcav.
The plugin version "[829] d3 Map Renderer 0.10.3 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/d3MapRenderer/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Building for Windows 10

2017-02-03 Thread Luigi Pirelli
for master (eg. QGIS3.x) is a prerequisite
Luigi Pirelli

**
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* 
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
**


On 3 February 2017 at 14:12, Andrew Gillett  wrote:
> I get the following error during the configure stage in CMake:
>
>
> CMake Error at CMakeLists.txt:248 (FIND_PACKAGE):
>   By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
>   asked CMake to find a package configuration file provided by "Qt5Gui", but
>   CMake did not find one.
>
>   Could not find a package configuration file provided by "Qt5Gui" with any
>   of the following names:
>
> Qt5GuiConfig.cmake
> qt5gui-config.cmake
>
>   Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
>   "Qt5Gui_DIR" to a directory containing one of the above files.  If
> "Qt5Gui"
>   provides a separate development package or SDK, be sure it has been
>   installed.
>
>
> QT5 is not mentioned in the docs as a prerequisite, am I meant to get it
> from www.qt.io (installer wants me to create an account) or is it meant to
> come from somewhere else?
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Building for Windows 10

2017-02-03 Thread Andrew Gillett

I get the following error during the configure stage in CMake:


CMake Error at CMakeLists.txt:248 (FIND_PACKAGE):
  By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by 
"Qt5Gui", but

  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Gui" with any
  of the following names:

Qt5GuiConfig.cmake
qt5gui-config.cmake

  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
  "Qt5Gui_DIR" to a directory containing one of the above files.  If 
"Qt5Gui"

  provides a separate development package or SDK, be sure it has been
  installed.


QT5 is not mentioned in the docs as a prerequisite, am I meant to get it 
from www.qt.io (installer wants me to create an account) or is it meant 
to come from somewhere else?


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Application jmp_buf size changed

2017-02-03 Thread Luigi Pirelli
whi not:
1) compile with Debug to have more execution detail
2) run under a debugger as gdb and be informed where exactly the core happen

regards
Luigi Pirelli

**
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* 
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
**


On 2 February 2017 at 17:16, Spencer Gardner  wrote:
> Yesterday I built the latest 2.18 code on a Virtualbox with Ubuntu GNOME
> guest. Compilation went fine but when I try to run QGIS it fails immediately
> with the following error:
>
>> libpng warning: Application jmp_buf size changed
>> Segmentation fault (core dumped)
>
>
> Can someone give me ideas for how to resolve this? Some Googling around
> leads me to believe it may be related to GRASS in some way. I installed
> 7.2.0 and 6.4.6 from source without any problems before compiling QGIS.
>
> Thanks,
> Spencer
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer