Re: [QGIS-Developer] [Qgis-user] New Features in Shape Tools 3.2.0

2018-10-01 Thread Nyall Dawson
On Mon, 1 Oct 2018 at 23:01, Helmut Kudrnovsky  wrote:
>
> Helmut Kudrnovsky wrote
> >>[...]
> >>Caris LOTS: 14.737 km^2
> >>ArcMap: 14.727,446 km^2
> >>MapInfo:14.727,352 km^2
> >>GeoMedia:   14.726,443 km^2
> >>Planimeter: 14.722,522 km^2
> >>QGIS 3.2:   14.652,181 km^2
> >>QGIS 2.8:   14.652,181 km^2
> >>[...]
> >>My suspicion is that the geodesic algorithm used by QGIS (and apparently
> > GRASS) is to blame here.
> >
> > a quick check in GRASS 7.7.svn shows :-)
> >
> > |m2|km2|
> > |14718097678,673|14.718,097679|

Ok, with https://github.com/qgis/QGIS/pull/8090 QGIS now exactly
matches GRASS' value (14.718 km2).

(For reference -- not a regression, this bug has been around since
ellipsoidal calculations were introduced to QGIS!)

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] [Qgis-user] New Features in Shape Tools 3.2.0

2018-10-01 Thread Nyall Dawson
On Mon, 1 Oct 2018 at 23:09, Helmut Kudrnovsky  wrote:
>
> >I'm struggling to work out where the difference lies between the code
> >paths. Do you mind sharing the values from the st state struct when
> >G_ellipsoid_polygon_area is called for this polygon?
> >
> >Nyall
>
> delivered by Markus Metz, GRASS dev:
>
> st->AE: 40408299984661.4
> st->QA: 0.00446291999342754
> st->QB: 2.6340714427e-05
> st->QC: 1.71432450253425e-07
> st->QbarA: -1.00448998025995
> st->QbarB: 0.0015057373196404
> st->QbarC: -5.48062628444059e-06
> st->QbarD: 2.44903500362035e-08
> st->Qp: 1.00448998025995
> st->E: 510065621153775
>
> precision: %.15g
>
> by adding a debug message in GRASS: in lib/gis/area_poly1.c add debug
> messages in G_begin_ellipsoid_polygon_area().

Thanks so much -- found the error now!

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

[QGIS-Developer] Plugin [1540] Geo2Local approval notification.

2018-10-01 Thread noreply

Plugin Geo2Local approval by pcav.
The plugin version "[1540] Geo2Local 0.1 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/geo2local-master/
___
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] [Qgis-user] New Features in Shape Tools 3.2.0

2018-10-01 Thread Helmut Kudrnovsky
>I'm struggling to work out where the difference lies between the code
>paths. Do you mind sharing the values from the st state struct when
>G_ellipsoid_polygon_area is called for this polygon?
>
>Nyall 

delivered by Markus Metz, GRASS dev:

st->AE: 40408299984661.4
st->QA: 0.00446291999342754
st->QB: 2.6340714427e-05
st->QC: 1.71432450253425e-07
st->QbarA: -1.00448998025995
st->QbarB: 0.0015057373196404
st->QbarC: -5.48062628444059e-06
st->QbarD: 2.44903500362035e-08
st->Qp: 1.00448998025995
st->E: 510065621153775

precision: %.15g

by adding a debug message in GRASS: in lib/gis/area_poly1.c add debug
messages in G_begin_ellipsoid_polygon_area().





-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
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] [Qgis-user] New Features in Shape Tools 3.2.0

2018-10-01 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote
>>[...]
>>Caris LOTS: 14.737 km^2
>>ArcMap: 14.727,446 km^2
>>MapInfo:14.727,352 km^2
>>GeoMedia:   14.726,443 km^2
>>Planimeter: 14.722,522 km^2
>>QGIS 3.2:   14.652,181 km^2
>>QGIS 2.8:   14.652,181 km^2
>>[...]
>>My suspicion is that the geodesic algorithm used by QGIS (and apparently
> GRASS) is to blame here.
> 
> a quick check in GRASS 7.7.svn shows :-)
> 
> |m2|km2|
> |14718097678,673|14.718,097679|
> 
> 
> 
> -
> best regards
> Helmut
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> ___
> QGIS-Developer mailing list

> QGIS-Developer@.osgeo

> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

forwarding from the GRASS GIS dev ML:
[https://lists.osgeo.org/pipermail/grass-dev/2018-October/090080.html]

--
On Tue, Sep 25, 2018 at 7:38 PM Helmut Kudrnovsky wrote:
>
> fyi see
>
https://lists.osgeo.org/pipermail/qgis-developer/2018-September/054644.html
>
> with GRASS mentioned
> --
> Kristian Evers:
>
> Right, here are the calculated areas as returned by a number of different
> GIS applications and the planimeter app of GeographicLib for reference:
>
> Caris LOTS: 14.737 km^2
> ArcMap: 14.727,446 km^2
> MapInfo:14.727,352 km^2
> GeoMedia:   14.726,443 km^2
> Planimeter: 14.722,522 km^2
> QGIS 3.2:   14.652,181 km^2
> QGIS 2.8:   14.652,181 km^2

adding to the confusion:

I used the geographiclib API as included in PROJ 5.2.0 following the
example for geod_polygonarea() in geodesic.h and get
geographiclib: 14,737.935 km^2
quite different from
Planimeter: 14,722.522 km^2

GRASS native gives 14,718.097679
as also reported by Helmut and Stefan

Markus M
--



-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
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] Error with hdf5.dll on Windows build.

2018-10-01 Thread Nathan Woodrow
Hey,

This is on 32bit but really I should setup a 64bit build and that might fix
the issue, plus I really should do that anyway.

For now I will just override the path in cmake like Martin said just so I
can finish this task off while I setup my 64bit build.

- Nathan

On Mon, Oct 1, 2018 at 7:42 PM Jürgen E. Fischer  wrote:

> Hi Nathan,
>
> On Mon, 01. Oct 2018 at 12:13:21 +1000, Nathan Woodrow wrote:
> > Do you have this issue with the nightly builds?  Maybe something missing
> > local here?
>
> No, sorry.  And it doesn't ring a bell.
>
>
> > > C:\OSGeo4W\bin\hdf5.dll : fatal error LNK1107: invalid or corrupt file:
> > > cannot read at 0x2B0
>
> Is that 32 or 64 bit?   Did you perhaps install 64bit to C:\OSGeo4W?
> Looks like c:/OSGeo4W64/share/cmake/hdf5/hdf5-targets-release.cmake has
> OSGeo4W64 in it.
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> http://www.norbit.de
> ___
> 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] Error with hdf5.dll on Windows build.

2018-10-01 Thread Jürgen E . Fischer
Hi Nathan,

On Mon, 01. Oct 2018 at 12:13:21 +1000, Nathan Woodrow wrote:
> Do you have this issue with the nightly builds?  Maybe something missing
> local here?

No, sorry.  And it doesn't ring a bell.


> > C:\OSGeo4W\bin\hdf5.dll : fatal error LNK1107: invalid or corrupt file:
> > cannot read at 0x2B0

Is that 32 or 64 bit?   Did you perhaps install 64bit to C:\OSGeo4W?
Looks like c:/OSGeo4W64/share/cmake/hdf5/hdf5-targets-release.cmake has
OSGeo4W64 in it.

Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
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] Error with hdf5.dll on Windows build.

2018-10-01 Thread Martin Dobias
Hi Nathan

It looks like the CMake module to find HDF library is picking hdf5.dll
instead of hdf5.lib import library for some reason. Maybe as a
workaround you can manually set the HDF5_C_LIBRARIES variable to the
correct .lib file. We are using the standard CMake module to find HDF,
so if this issue persists, we may need to replace that cmake module
with our own version for windows. Or maybe Jurgen has some trick how
to make it work on Windows :-)

Cheers
Martin

On Sat, Sep 29, 2018 at 6:56 AM Nathan Woodrow  wrote:
>
> Hi,
>
> Trying to build on Windows for master I'm getting the following:
>
> C:\OSGeo4W\bin\hdf5.dll : fatal error LNK1107: invalid or corrupt file: 
> cannot read at 0x2B0
>
> It looks like cmake is trying to use that in the scripts and not the lib file 
> but I can't see why it wants to do that.
>
> Any thoughts?
>
>
>
> - Nathan
> ___
> 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] Plugin [1350] Mascaret approval notification.

2018-10-01 Thread noreply

Plugin Mascaret approval by pcav.
The plugin version "[1350] Mascaret 0.1.7 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/Mascaret/
___
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] Linux users: wanna flatpak?

2018-10-01 Thread Richard Duivenvoorde
On 10/01/2018 08:10 AM, Paolo Cavallini wrote:
> Right, an annoying issue. Could other flatpacks be used, or should py
> libs be bundled?
> 
> Otherwise, a nice a quick way to install, thanks a lot!

I think flatpak is in the same boat as Windows (non osgeo4w-users) and
Mac users: different python(path) for QGIS.

Best solution I heard earlier (Ale?) is to (re)use pip. From [0]: "pip
is the preferred installer program. Starting with Python 3.4, it is
included by default with the Python binary installers."

Any Python guru's willing to dive into a plan?
Maybe a small interface to run pip from withing QGIS?
Or include a partial pip string in the metadata.txt of installers?
Taking into account already configured proxy/certs?

Regards,

Richard Duivenvoorde

[0] https://docs.python.org/3/installing/index.html
___
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] Linux users: wanna flatpak?

2018-10-01 Thread Paolo Cavallini
Right, an annoying issue. Could other flatpacks be used, or should py
libs be bundled?

Otherwise, a nice a quick way to install, thanks a lot!

All the best.


Il 09/30/2018 11:39 AM, Daniele Viganò ha scritto:
> Thanks Aleix and the other devs for the excellent work!
>
> I confirm that it's working well, at least on my Fedora 28 and 29beta.
>
> I had only issues with plugins that are requiring extra Python
> dependencies which are not available in the flatpak image (like scipy
> and matplotlib).
> I was able to find a workaround which is to extract the corresponding
> python wheels (for the proper python version, cp35) in the python
> folder under the application user storage (which is located under
> $HOME/.var/); that path is already part of sys.path.
>
> There's any better way to address that?
>
> Cheers,
> Daniele
>
> ---
> Daniele Viganò
> http://daniele.vigano.me
>
> On mobile, please excuse my brevity.
>
> On Sat, Sep 29, 2018, 18:12 Richard Duivenvoorde  > wrote:
>
> Hi,
>
> Thanks to some devs and Aleix Pol @aleixpol in particular, there is a
> (for me working!) flatpak available for QGIS 3.2.x on flathub:
>
> https://flathub.org/apps/details/org.qgis.qgis
>
> Short intro:
> https://qgis.org/en/site/forusers/alldownloads.html#flatpak
>
> Try test and create issues here
> https://github.com/flathub/org.qgis.qgis
> if you encounter some flathub related issues..
>
> I think it is a nice addition for fresh Linux users to easily install
> and try out QGIS, independent of lib/qt/gdal/whatever versions
>
> Regards,
>
> Richard Duivenvoorde
> ___
> 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

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/

___
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 [566] SVG2ColoR approval notification.

2018-10-01 Thread noreply

Plugin SVG2ColoR approval by pcav.
The plugin version "[566] SVG2ColoR 1.0" is now approved
Link: http://plugins.qgis.org/plugins/SVG2ColoR/
___
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 [1491] GIS4WRF approval notification.

2018-10-01 Thread noreply

Plugin GIS4WRF approval by pcav.
The plugin version "[1491] GIS4WRF 0.13.0" is now approved
Link: http://plugins.qgis.org/plugins/gis4wrf/
___
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 [121] SoilTexture approval notification.

2018-10-01 Thread noreply

Plugin SoilTexture approval by pcav.
The plugin version "[121] SoilTexture 2.99 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/SoilTexture/
___
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