[Qgis-developer] Qgis-developer Digest, Vol 119, Issue 65

Owhologbo Daniel Emekene dkene2009 at gmail.com
Sat Sep 26 11:24:29 PDT 2015


Qaqa
On Sep 26, 2015 2:05 PM, <qgis-developer-request at lists.osgeo.org> wrote:

> Send Qgis-developer mailing list submissions to
>         qgis-developer at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/mailman/listinfo/qgis-developer
> or, via email, send a message with subject or body 'help' to
>         qgis-developer-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         qgis-developer-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qgis-developer digest..."
>
>
> Today's Topics:
>
>    1. Re: Compilation error with geosextra (Tim Sutton)
>    2. Re: Kriging interpolation functionality in QGIS?
>       (Barry Rowlingson)
>    3. Re: New authentication system ready (Larry Shaffer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 26 Sep 2015 16:51:55 +0200
> From: Tim Sutton <tim at kartoza.com>
> To: Matthias Kuhn <matthias at opengis.ch>
> Cc: QGIS Developer Mailing List <qgis-developer at lists.osgeo.org>
> Subject: Re: [Qgis-developer] Compilation error with geosextra
> Message-ID:
>         <CAES-DZQHt1307j5T-iffnAMD+L_YB3ks3SH6t1CR=+
> crT_F0xw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Thanks Matthias!
>
> Regards
>
> Tim
> On Sep 26, 2015 4:13 PM, "Matthias Kuhn" <matthias at opengis.ch> wrote:
>
> > Hi Tim,
> >
> > * Edit CMacheCache.txt in your build directory and remove any line
> > starting with GEOS_
> > * Or start from a clean build directory
> >
> > Matthias
> >
> > On 09/26/2015 04:10 PM, Tim Sutton wrote:
> >
> > Hi All
> >
> > Compiling here on Fedora 22, git checkout
> > from 9df1a08d46229a92aa122eb06278dfbd273da54d
> >
> > Linking CXX shared library ../../output/lib/libqgis_core.so
> > CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
> > `GEOSPrecisionModel_create':
> > /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:25:
> > undefined reference to
> >
> `geos::geom::PrecisionModel::PrecisionModel(geos::geom::PrecisionModel::Type)'
> > CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
> > `GEOSPrecisionModel_createFixed':
> > /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:30:
> > undefined reference to
> `geos::geom::PrecisionModel::PrecisionModel(double)'
> > CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
> > `GEOSPrecisionModel_destroy':
> > /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:35:
> > undefined reference to `geos::geom::PrecisionModel::~PrecisionModel()'
> > CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
> > `GEOSGeometryPrecisionReducer_reduce':
> > /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:47:
> > undefined reference to
> > `geos::precision::GeometryPrecisionReducer::reduce(geos::geom::Geometry
> > const&)'
> > collect2: error: ld returned 1 exit status
> > src/core/CMakeFiles/qgis_core.dir/build.make:10986: recipe for target
> > 'output/lib/libqgis_core.so.2.11.0' failed
> > make[2]: *** [output/lib/libqgis_core.so.2.11.0] Error 1
> > CMakeFiles/Makefile2:1119: recipe for target
> > 'src/core/CMakeFiles/qgis_core.dir/all' failed
> > make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
> > Makefile:146: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> >
> > Does anyone else get this?
> >
> > Regards
> >
> > Tim
> >
> > ?
> >
> >
> >
> >
> > Tim Sutton
> >
> > Visit http://kartoza.com to find out about open source:
> >
> > * Desktop GIS programming services
> > * Geospatial web development
> > * GIS Training
> > * Consulting Services
> >
> > Skype: timlinux Irc: timlinux on #qgis at freenode.net
> > Tim is a member of the QGIS Project Steering Committee
> >
> > Kartoza is a merger between Linfiniti and Afrispatial
> >
> >
> >
> > _______________________________________________
> > Qgis-developer mailing listQgis-developer at lists.osgeo.orghttp://
> lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150926/1a3f8348/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: image/png
> Size: 9324 bytes
> Desc: not available
> URL: <
> http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150926/1a3f8348/attachment-0001.png
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 26 Sep 2015 18:43:12 +0100
> From: Barry Rowlingson <b.rowlingson at lancaster.ac.uk>
> To: Stefan Keller <sfkeller at gmail.com>
> Cc: "qgis-developer at lists.osgeo.org" <qgis-developer at lists.osgeo.org>
> Subject: Re: [Qgis-developer] Kriging interpolation functionality in
>         QGIS?
> Message-ID:
>         <
> CANVKczNYM-KqiT6Gi3ZU8u88hfFbfMJZ+DjyVCGABcmtV4WLuA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Fri, Sep 25, 2015 at 6:46 PM, Stefan Keller <sfkeller at gmail.com> wrote:
> > Hi Barry
> >
> > Many thanks for your explanations and hints.
> > So from a pragmatic point-of-view ("80/20 pareto rule"):
> > Do you think Inverse Distance Weighting (IDW) would do the job as well,
> > since Kriging has so many parameters to fiddle around and to understand?
>
>  Depends on what "the job" is. To get an impression of the overall
> trend of a set of samples - IDW is probably fine. But to get a
> *principled* (ie based on a statistical model) set of estimates over a
> grid *with honest estimates of uncertainty* so you can answer
> probabilistic questions (like "what's the chance that the soil over
> there will contain 1ug gold/tonne?") you need something like kriging.
>
>  Barry
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 26 Sep 2015 12:04:49 -0600
> From: Larry Shaffer <larrys at dakotacarto.com>
> To: Tim Sutton <tim at kartoza.com>
> Cc: QGIS Developer Mailing List <qgis-developer at lists.osgeo.org>
> Subject: Re: [Qgis-developer] New authentication system ready
> Message-ID:
>         <
> CA+nQOR9dVFZKbvymYObyzmNMmP58UyyMYLrMXXxEtDAao0gw7A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Tim,
>
> On Sat, Sep 26, 2015 at 2:33 AM, Tim Sutton <tim at kartoza.com> wrote:
>
> > Hi Larry
> >
> >
> > Great to see this new feature make its way into QGIS. One thing I am
> > curious about is what happens when we want to publish a project in QGIS
> > server. What is the standard workflow for that or similar situations
> (e.g.
> > shared project stored on a network drive?
> >
>
> For shared project scenarios, including the network drive setup, you can
> edit the authentication configuration ID to something that is shared across
> users. (Thanks to Nyall for pointing out that this, and the Handle Bad
> Layers dialog, needed solved before feature freeze. [0])
>
> Since the authcfg ID is embedded in the project file, each user just needs
> to make an auth config that has their specific credentials for that
> resource, then edit the ID (upon creation or config or after) to the same
> ID in the project file. Then, when when the resource loads, the same
> configuration will be queried on everyone's QGIS, just with their
> respective credentials for the authentication method used.
>
> With the very last feature I added, for the Handle Bad Layers dialog, users
> can Add/Edit/Remove auth configs within the dialog and have the data source
> URI updated to match. So, in the scenario of a shared project, the user
> could immediately add an appropriate new auth config (and see exactly what
> shared authcfg ID should be used) upon project loading .
>
> Also, see the discussion in the PR about other sharing scenarios, and how
> the unimplemented Resource URL could help here  [1].
>
> Regarding the QGIS Server launch, I think a good fix would be to add
> support for passing the master password as an environment variable to a
> password file, like is done with Postgres and other setups. For example, an
> env var like QGIS_AUTH_PASSWORD_PATH could be set to a filepath. In
> QgsAuthManager::instance()->init() the variable could be read, password
> loaded, then the variable unset in the env. This would also make a great
> way to allow using Desktop without having to enter your master password
> every session.
>
> Similarly, the master password could be in an OS's keychain or keyring and
> be auto-input in the background on launch if that user's OS key cache is
> unlocked. See Matthias's suggestion for that [2].
>
> Currently, the master password auto-set can be set via Python, or by way of
> a custom C++ plugin, on launch setups using a call to
> QgsAuthManager::instance()->setMasterPassword( "mypassword", true ).
> However, I think many of the Python bindings should be blocked for the
> initial release. So, setting an env variable to a password file path seems
> like a good start, especially for QGIS Server.
>
> Note: for Server, you can also use QGIS_AUTH_DB_DIR_PATH to set the path to
> a qgis-auth.db dir on the server.
>
> [0] https://github.com/qgis/QGIS/pull/2330#issuecomment-142252072
> [1] https://github.com/qgis/QGIS/pull/2330#issuecomment-142673812
> [2] https://github.com/qgis/QGIS/pull/1838#issuecomment-70845116
> [3]
>
> https://github.com/qgis/QGIS/blob/master/src/core/auth/qgsauthmanager.h#L105-L110
>
> Regards,
>
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
>
>
> > Regards
> >
> > Tim
> >
> > On 25 Sep 2015, at 14:59, Larry Shaffer <larrys at dakotacarto.com> wrote:
> >
> > Hi devs,
> >
> > As you can see in the PR [0], I've fixed up some things, including adding
> > the ability to edit an authentication ID, which will help with workflows
> > where users need to share projects. I've also cleaned up the interface
> and
> > moved most PKI-related dialogs out of the main Options view.
> >
> > I am working on another widget that can be used for the Handle Bad Layers
> > and the Layers Properties dialogs. That should work for most issues
> > occurring when sharing projects and when users open projects with missing
> > authentication IDs. I've also added feedback in the selector widget when
> it
> > tries to load a config ID that is missing.
> >
> > I should have those bits done today, then it's mostly work on finishing
> > the unit test migration to C++.
> >
> > **However, I would like to merge this now, since it is in a very good
> > state for doing so. Does anyone have objections with me merging this?**
> >
> >
> > [0] https://github.com/qgis/QGIS/pull/2330
> >
> > Regards,
> >
> > Larry Shaffer
> > Dakota Cartography
> > Black Hills, South Dakota
> >
> >
> > On Wed, Sep 23, 2015 at 4:38 AM, Luca Manganelli <luca76 at gmail.com>
> wrote:
> >
> >> On Tue, Sep 22, 2015 at 10:02 PM, R?gis Haubourg
> >> <regis.haubourg at eau-adour-garonne.fr> wrote:
> >> > Wooooh. that's huge work Larry. Will need quite some time to inspect
> >> all that
> >> > and give some feedback. Any way , bravo!
> >> > R?gis
> >>
> >> +1. The documentation is a MASSIVE job. Compliments!
> >> _______________________________________________
> >> Qgis-developer mailing list
> >> Qgis-developer at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >>
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> > ?
> >
> >
> >
> >
> > Tim Sutton
> >
> > Visit http://kartoza.com to find out about open source:
> >
> > * Desktop GIS programming services
> > * Geospatial web development
> > * GIS Training
> > * Consulting Services
> >
> > Skype: timlinux Irc: timlinux on #qgis at freenode.net
> > Tim is a member of the QGIS Project Steering Committee
> >
> > Kartoza is a merger between Linfiniti and Afrispatial
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150926/0ac33769/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> End of Qgis-developer Digest, Vol 119, Issue 65
> ***********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150926/ccaabc45/attachment-0001.html>


More information about the Qgis-developer mailing list