Re: [QGIS-Developer] We need mentors for Google Code-In

2017-10-06 Thread Jeff McKenna
Thanks Werner.  Please note that if you are interested to be a mentor, 
it is important that you fill out the Google form mentioned at 
https://wiki.osgeo.org/wiki/Google_Code_In_2017_Mentors   thanks all!  -jeff




On 2017-10-06 1:35 PM, Werner Macho wrote:

Hi Developers and Users (Sorry for crossposting, but there is not much
time left)

Google starts a new competition for Students. Google Code in.

GCI is a competition addressed to high-school students aged 13-17, as an
introduction to the open source world. They are supposed to complete as
much tasks as possible to win the contest. These tasks should be short
simple stuff (3-5 hours) from beginner stuff such as installing the
software and displaying a map to more advanced things such as proposing
a patch of code to fix a bug. However, since the students have to
complete several tasks to win, we need to plan lots of them and be
available to review what the students submit rather quickly, so they can
start with a new one. For that reason, it is better if we are more
mentors. Since the tasks do not involve only code stuff, everyone
interested is invited to propose tasks and join as mentor!

Extra info about GCI and examples of tasks might be found in the
dedicated OSGeo wikis:
- https://wiki.osgeo.org/wiki/Google_Code_In_2017
- https://wiki.osgeo.org/wiki/Google_Code_In_2017_Tasks

Kind regards
Werner
_

___
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] Custom CRS broken in master?

2017-10-06 Thread Anita Graser
Hi,

I'm experiencing a couple of issues related to custom / generated CRS in
master (tested using OSGeo4W):

1. In Processing: If the input layer uses a generated / custom CRS, the
output layer is loaded in a wrong CRS. In my case, the layers were wrongly
assigned WGS84. (Note that, in settings, I've configured that QGIS should
"prompt for CRS" if a layer without CRS info is loaded.) --> Reported
https://issues.qgis.org/issues/17254

2. I have a project with a custom CRS used as the project CRS. It was
created with 2.14. When I open it in master, a different CRS is assigned.
Could be the one with the same random generated ID that custom CRS get.

3. The Custom CRS Definition dialog is a mess. Most of the time, I cannot
make it save the new CRS I'm trying to add. At the same time, existing
entries are duplicated on opening & closing the dialog.

Anyone else having these issues? Or is my local install just really broken?

Regards
Anita
___
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] We need mentors for Google Code-In

2017-10-06 Thread Werner Macho
Hi Developers and Users (Sorry for crossposting, but there is not much
time left)

Google starts a new competition for Students. Google Code in.

GCI is a competition addressed to high-school students aged 13-17, as an
introduction to the open source world. They are supposed to complete as
much tasks as possible to win the contest. These tasks should be short
simple stuff (3-5 hours) from beginner stuff such as installing the
software and displaying a map to more advanced things such as proposing
a patch of code to fix a bug. However, since the students have to
complete several tasks to win, we need to plan lots of them and be
available to review what the students submit rather quickly, so they can
start with a new one. For that reason, it is better if we are more
mentors. Since the tasks do not involve only code stuff, everyone
interested is invited to propose tasks and join as mentor!

Extra info about GCI and examples of tasks might be found in the
dedicated OSGeo wikis:
- https://wiki.osgeo.org/wiki/Google_Code_In_2017
- https://wiki.osgeo.org/wiki/Google_Code_In_2017_Tasks

Kind regards
Werner
___
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] Processing random extract within subset

2017-10-06 Thread matteo
Hi guys,

I'm working with 2.18.3 and with the Processing algorithm "random
extract within subset". It seems that something is broken here.

The algorithm stops at the first subset found.

Same layer, same field and same algorithm in QGIS master works perfectly.

Should I open an issue for that?

Thanks

Cheers

Matteo
___
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 master branch fails make install on macOS 10.12.6

2017-10-06 Thread David Marteau
Hi

Try to define the environment variable 
QT_QPA_PLATFORM_PLUGIN_PATH=/opt/local/libexec/qt5/plugins/platforms (it may 
depends on how is your qt5 installation - this path is ok for Macport 
installation)

According to my experience (see 
https://www.3liz.com/blog/rldhont/index.php?post/2017/06/01/How-to-build-qgis-on-OSX-with-MacPort)
 : If this variable is not defined then QGIS will crash at startup. 


> Le 6 oct. 2017 à 09:46, Joel Buckley  a écrit :
> 
> Hi,
> 
> I am having some difficulty running `make install`, and compiling QGIS into a 
> single standalone application on macOS. I can successfully run configuration 
> and `make`, and can launch the `make`-d code from build/output/bin with no 
> problem.
> 
> `make install` runs without complaint and returns 0 (success), but when I try 
> to launch the newly create QGIS.app, it immediately crashes, and produces a 
> crash report (attached for brevity).
> 
> I have googled and attempted to parse the crash log, but the errors it 
> reports are beyond my capability. I'm hoping someone on the list might have 
> some input on how to remedy this?
> 
> Configuration information:
> QGIS version: current master branch
> QT5, python 3
> macOS 10.12.6
> 
> Regards,
> 
> -- 
> Joel Buckley
> 
> ___
> 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] QGIS master branch fails make install on macOS 10.12.6

2017-10-06 Thread Etienne Trimaille
Hi Joel,

I'm far away able to answer your problem. But I can compile perfectly using
brew with https://github.com/qgis/homebrew-qgisdev

My 2 cents,
Etienne

2017-10-06 9:46 GMT+02:00 Joel Buckley :

> Hi,
>
> I am having some difficulty running `make install`, and compiling QGIS
> into a single standalone application on macOS. I can successfully run
> configuration and `make`, and can launch the `make`-d code from
> build/output/bin with no problem.
>
> `make install` runs without complaint and returns 0 (success), but when I
> try to launch the newly create QGIS.app, it immediately crashes, and
> produces a crash report (attached for brevity).
>
> I have googled and attempted to parse the crash log, but the errors it
> reports are beyond my capability. I'm hoping someone on the list might have
> some input on how to remedy this?
>
> Configuration information:
> QGIS version: current master branch
> QT5, python 3
> macOS 10.12.6
>
> Regards,
>
> --
> Joel Buckley
>
>
> ___
> 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] QGIS 3 vertex editor problems

2017-10-06 Thread Giovanni Manghi
Hi Martin,


>> And of course, expose and allow editing z and m values.
>
> Editing of Z/M values should be already supported - or am I wrong?

yes, but is broken in 2.18 (changing the value does not stick, works
in 2.14 and master) and broken is as well moving nodes/features of
postgis 3d lines and polygons.

The problem of editing z values in master is the following:

when selecting a vertex the vertex editor panel does not open
automatically and when you open it manually the focus is not on the
select vertex (as it happens in 2.14 and 2.18).

cheers!

-- G --
___
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] Question over capability of adding to or editing a filtered shapefile

2017-10-06 Thread Patrick Dunford

Good evening

It seems there may be some point of contention over whether a shapefile 
that is filtered should be capable of having new features added.


I have recently begun filtering my shapefiles (to enable me to produce 
different views of the same map) and did not understand there might be a 
question over adding new features to a table that is filtered for 
display. To me this is like a discussion about live queries as opposed 
to static views of database queries, and whether the dataset should be 
capable of being updated for display when changes are made to it. It 
would seem the case is the same for editing filtered shapefile data, 
since this also involves a change to the source dataset.


There seems to be a design assumption that it shouldn't be possible to 
edit filtered shapefiles. Nevertheless, it is possible. I would like to 
ask for the rationale to be justified that it shouldn't be possible to 
edit a filtered shapefile. This seems to revolve around the question of 
whether the filtered view is meant to be read only or updateable.


In some of my maps I use filtering to present different (historical 
eras) views of the same geographical location, by filtering on a 
specific field, but this is also useful when editing the map, and this 
is what I am using at present with some maps I am working on. Currently 
the software appears to be geared around attempting to block edits or 
updates to a filtered shapefile dataset, but if present, this feature 
has only been introduced this year in Qgis 3.0.


___
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 [1305] Calidad-CAR approval notification.

2017-10-06 Thread noreply

Plugin Calidad-CAR approval by zimbogisgeek.
The plugin version "[1305] Calidad-CAR 0.9" is now approved
Link: http://plugins.qgis.org/plugins/CalidadCAR/
___
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 [92] Midvatten approval notification.

2017-10-06 Thread noreply

Plugin Midvatten approval by zimbogisgeek.
The plugin version "[92] Midvatten 1.4.6" is now approved
Link: http://plugins.qgis.org/plugins/midvatten/
___
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 [1163] Plugin Load Times approval notification.

2017-10-06 Thread noreply

Plugin Plugin Load Times approval by zimbogisgeek.
The plugin version "[1163] Plugin Load Times 2.0.2" is now approved
Link: http://plugins.qgis.org/plugins/PluginLoadTimes/
___
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] QGIS master branch fails make install on macOS 10.12.6

2017-10-06 Thread Joel Buckley

Hi,

I am having some difficulty running `make install`, and compiling QGIS 
into a single standalone application on macOS. I can successfully run 
configuration and `make`, and can launch the `make`-d code from 
build/output/bin with no problem.


`make install` runs without complaint and returns 0 (success), but when 
I try to launch the newly create QGIS.app, it immediately crashes, and 
produces a crash report (attached for brevity).


I have googled and attempted to parse the crash log, but the errors it 
reports are beyond my capability. I'm hoping someone on the list might 
have some input on how to remedy this?


Configuration information:
QGIS version: current master branch
QT5, python 3
macOS 10.12.6

Regards,

--
Joel Buckley

Process:   QGIS [75912]
Path:  /Users/USER/*/QGIS.app/Contents/MacOS/QGIS
Identifier:org.qgis.qgis3
Version:   2.99.0 (2.99.0 [])
Code Type: X86-64 (Native)
Parent Process:??? [1]
Responsible:   QGIS [75912]
User ID:   501

Date/Time: 2017-10-06 12:38:15.486 +1100
OS Version:Mac OS X 10.12.6 (16G29)
Report Version:12
Anonymous UUID:5ADE1850-A814-40D9-A36C-EF1658CD1D5C

Sleep/Wake UUID:   707C3E84-EE82-47DC-B097-58797D72EF82

Time Awake Since Boot: 57000 seconds
Time Since Wake:   11000 seconds

System Integrity Protection: enabled

Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_CRASH (SIGABRT)
Exception Codes:   0x, 0x
Exception Note:EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib0x7fffa7865d42 __pthread_kill + 10
1   libsystem_pthread.dylib   0x7fffa7953457 pthread_kill + 90
2   libsystem_c.dylib 0x7fffa77cb420 abort + 129
3   org.qgis.qgis30x0001089e5b6a 
myMessageOutput(QtMsgType, char const*) + 314
4   org.qt-project.QtCore 0x00010f15d086 0x10f141000 + 114822
5   org.qt-project.QtCore 0x00010f15725a 0x10f141000 + 90714
6   org.qt-project.QtCore 0x00010f158bdf 
QMessageLogger::fatal(char const*, ...) const + 159
7   org.qt-project.QtGui  0x00010d5649db 
QGuiApplicationPrivate::createPlatformIntegration() + 5387
8   org.qt-project.QtGui  0x00010d5649fb 
QGuiApplicationPrivate::createEventDispatcher() + 27
9   org.qt-project.QtCore 0x00010f328a76 
QCoreApplicationPrivate::init() + 1734
10  org.qt-project.QtGui  0x00010d560a99 
QGuiApplicationPrivate::init() + 57
11  org.qt-project.QtWidgets  0x00010cf9b3da 
QApplicationPrivate::init() + 26
12  org.qgis.qgis3_core   0x00010a812cef 
QgsApplication::QgsApplication(int&, char**, bool, QString const&, QString 
const&) + 31
13  org.qgis.qgis30x0001089e7eeb main + 8955
14  libdyld.dylib 0x7fffa7737235 start + 1

Thread 1:
0   libsystem_kernel.dylib0x7fffa786644e __workq_kernreturn + 10
1   libsystem_pthread.dylib   0x7fffa7950621 _pthread_wqthread + 
1426
2   libsystem_pthread.dylib   0x7fffa795007d start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib0x7fffa786644e __workq_kernreturn + 10
1   libsystem_pthread.dylib   0x7fffa795048e _pthread_wqthread + 
1023
2   libsystem_pthread.dylib   0x7fffa795007d start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib0x7fffa786644e __workq_kernreturn + 10
1   libsystem_pthread.dylib   0x7fffa7950621 _pthread_wqthread + 
1426
2   libsystem_pthread.dylib   0x7fffa795007d start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x  rbx: 0x0006  rcx: 0x7fff572261e8  
rdx: 0x
  rdi: 0x0307  rsi: 0x0006  rbp: 0x7fff57226210  
rsp: 0x7fff572261e8
   r8: 0x0040   r9: 0x7fffb0638040  r10: 0x0800  
r11: 0x0206
  r12: 0x00010f6175d0  r13: 0x7f9baa504900  r14: 0x7fffb06543c0  
r15: 0x7fff572263b0
  rip: 0x7fffa7865d42  rfl: 0x0206  cr2: 0x7fffb0636128

Logical CPU: 0
Error Code:  0x02000148
Trap Number: 133

Binary Images:
   0x1089d9000 -0x108d23ffb +org.qgis.qgis3 (2.99.0 - 2.99.0 []) 
<44E32055-07C1-3B10-AA9B-329360917A67> 
/Users/USER/*/QGIS.app/Contents/MacOS/QGIS
   0x108d31000 -0x10942effb +libqgis_app.2.99.0.dylib (0) 
 
/Users/USER/*/QGIS.app/Contents/MacOS/lib/libqgis_app.2.99.0.dylib
   0x109746000 -0x109d58ff3 +org.qgis.qgis3_gui (2.99.0 - qgis_gui 
2.99.0)  
/Users/USER/*/QGIS.app/Contents/Frameworks/qgis_gui.framework/Versions/2.99/qgis_gui
   0x10a0f9000 

[QGIS-Developer] Plugin [1338] Select by radius plus approval notification.

2017-10-06 Thread noreply

Plugin Select by radius plus approval by zimbogisgeek.
The plugin version "[1338] Select by radius plus 0.2" is now approved
Link: http://plugins.qgis.org/plugins/qgis-select-by-radius-plus-plugin/
___
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 [796] Catalog Planet Labs approval notification.

2017-10-06 Thread noreply

Plugin Catalog Planet Labs approval by zimbogisgeek.
The plugin version "[796] Catalog Planet Labs 1.5 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/catalogpl_plugin/
___
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] Qt Model-View updates blocked when Python console not open

2017-10-06 Thread Richard Duivenvoorde

And to make things easier, use

https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py

which should be core class in QGIS if you ask me. So we can get rid of
all other different blocking/nonproxying etc ways to connect QGIS to http...

Regards,

Richard Duivenvoorde

On 05-10-17 22:01, Ricardo Filipe Soares Garcia da wrote:
> Hi Peter
> 
> In addition to Matthias' advice perhaps try using
> QNetworkAccessManager[1] and related classes in order to deal with your
> http requests asynchronously. This should fix the UI blocking issues.
> 
> Best regards
> 
> 
> [1]
> - http://pyqt.sourceforge.net/Docs/PyQt4/qnetworkaccessmanager.html#details
> 
> 
> Em 05/10/2017 15:18, "Matthias Kuhn"  > escreveu:
> 
> Hi Peter,
> 
> Have a look at this answer here, which explains how you can trigger
> the same behavior without using the print and relying on
> side-effects of the console open.
> 
> It also outlines the risks involved in using this kind of approach.
> 
> https://gis.stackexchange.com/a/257016
> 
> 
> Cheers
> Matthias
> 
> 
> On 10/05/2017 03:25 PM, Peter Devoy wrote:
> 
> Just a little update; it is the fact I am using print() to output
> debug information upon each request which is allowing the UI to
> repaint.  Also, it seems that opening and closing the Python console
> once is enough.
> 
> Peter
> 
> 3XE
> P: 01326 567155
> M: 07770 693662
> A: 3XE Ltd
> Tremough Innovation Centre
> PENRYN
> TR10 9TA
> 3XE Ltd · Registered in England and Wales · 9356871
> 
> 
> On 4 October 2017 at 20:53, Peter Devoy  > wrote:
> 
> Hi all
> 
> In my plugin I have extended QAbstractListModel to create a
> list of
> objects; each object in the list has a 'url' property
> containing the
> URL of an API resource.  When the user selects a feature in
> main QGIS
> interface, each object in the list makes a HTTP request to
> its URL and
> updates its properties from the response data.
> 
> Changes in the objects' properties are reflected in a
> QListView.  E.g.
> a  property 'status'  is set to 'WARN' if the HTTP request
> fails --
> this is reflected in the QListView by the respective list
> item's icon
> turning yellow.
> 
> If I have the Python console open in QGIS the QListView
> items update
> as the ListModel's objects update. However, if the Python
> console is
> not open, the plugin's UI thread appears to be blocked until
> each item
> in the list has completed its changes and all the items
> update at
> once; please can anyone recommend a way to avoid this?
> 
> I have been developing on QGIS 2.1X.
> 
> Kind regards
> 
> 
> Peter
> 
> ___
> 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
> 

___
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