Re: [QGIS-Developer] QGIS3 plugin migration issue

2018-04-03 Thread Nyall Dawson
On 4 April 2018 at 05:29, André William  wrote:
> Thank you Nyall, I understand.
> The reason I needed to resize the window was to better fit some image
> content in my HTML help.

My thinking here is whether this needs to be supported officially -
e.g. by making the panel wider by default. Alternatively we could add
a method to QgsProcessingAlgorithmDialogBase to handle resizing of
this panel.

> Taking the opportunity, I'm a C++ and Python developer and I would love to
> contribute on the project. Is there any need for help in the Processing
> Framework (since I'm already a bit familiar with it) or in others areas?

Heck yes! There's a TON of work which processing would greatly benefit
from. Here's a very short brain-dump of potential high-value projects:

- if you're a user of any of the 3rd party providers (GDAL, GRASS,
SAGA), these need a lot of love. There's lots of open tickets against
them, some of which would be quick fixes for someone more familiar
with the underlying provider library. Similarly if you're on Win or
OSX there's quite a few open tickets against these providers (most
testing is done on Linux)

- if you're a model user, a nice project would be improving the inputs
panel in the modeler dialog. It's been discussed (somewhere, can't
find it now) that this panel should be reworked to be a list of inputs
used within the model, with + / - buttons to add a new input and
remove a selected input. And then we could add up/down buttons to
allow inputs to be reordered for models, since they are currently just
shown in a semi-random order and there's no way for users to
reorganize them logically. All the API stuff should be in place for
this, it's just Python GUI work that's needed.

- another high value task is porting the QGIS algorithms from Python
to c++ (for speed and stability). At the same time we do this we
upgrade each algorithm to support "data defined" parameter values
(e.g. buffer width based on expressions!). The goal here is to move
all the QGIS algorithms across to c++, EXCEPT those which have
dependencies on Python libraries.

- there's rough notes on
https://github.com/nyalldawson/QGIS/wiki/Processing-Algorithm-Bugs-and-Enhancements
concerning improvements we can make to existing algorithms which would
be fantastic to see explored

- Or, the funnest processing job, adding more algorithms! There's a
rough wish-list at
https://github.com/nyalldawson/QGIS/wiki/Algorithm-hit-list , some of
which are just a matter of exposing existing QgsGeometry methods as
processing algorithms (e.g. exposing QgsGeometry::transform(
QTransform  ) as an algorithm to allow rotate/shear/scale
transforms), and some of which require adding wrappers to GEOS
functions to QgsGeometry (GEOSMinimumWidth_r,
GEOSMinimumClearanceLine_r, GEOSNode_r, GEOSSharedPaths_r) and then
exposing as processing algorithms. Others need javascript->c++ ports
of functionality from turf/mapbox js libraries, if that kind of thing
interests you.

> I would probably need some guidance at first but I've been using QGIS and
> developing plugins for some time now, so I guess it wouldn't be too big a
> learning curve.

I'm happy to mentor. Just let me know.

Nyall


>
> André
>
> 2018-04-03 0:29 GMT-03:00 Nyall Dawson :
>>
>> On 31 March 2018 at 14:06, André William  wrote:
>> > After some digging, I found that while the textShortHelp object is not
>> > directly available in the AlgorithmDialog class anymore, i was able to
>> > access it like this:
>> >>
>> >> shortHelpObj = dlg.findChild(QTextBrowser, 'textShortHelp')
>> >
>> > Is this the expected behavior?
>>
>> None of this is in stable API, so can change between QGIS versions
>> (including within minor versions/patch releases).
>>
>> Stable API for processing is:
>> - the classes within the core library (unless they are explicitly
>> marked as non-stable, e.g.  the modeler related classes)
>> - the base GUI "WidgetWrapper" class (NOT any of its subclasses)
>> - some methods from the processing namespace:
>> - processing.algorithmHelp()
>> - processing.run()
>> - processing.runAndLoadResults()
>> - processing.createAlgorithmDialog()
>> - processing.execAlgorithmDialog()
>>
>> So, in short, unfortunately this approach is always going to be
>> fragile. Better wrap it in a big try block! ;)
>>
>> I gather you're trying to force the "help" panel to resize when the
>> dialog is opened. Is there a particular reason why you need to do
>> this?
>>
>> Nyall
>>
>>
>> >
>> > André W.
>> >
>> > 2018-03-30 18:54 GMT-03:00 André William :
>> >>
>> >> Hi all,
>> >>
>> >> I'm porting an existing Geoprocessing Algorithm plugin to QGIS 3 and
>> >> I'm
>> >> having some trouble customizing the default dialog.
>> >> On QGIS 2.x the following code worked:
>> >>
>> >>> class TestAlgorithm(GeoAlgorithm):
>> >>> INPUT = 'INPUT'
>> >>> OUTPUT = 'OUTPUT'
>> >>>
>> >>>
>> >>>
>> >>> def getCustomParametersDialog(self):
>> >>> customDialog = AlgorithmDialog(self)
>> 

Re: [QGIS-Developer] QGIS3 plugin migration issue

2018-04-03 Thread André William
Thank you Nyall, I understand.
The reason I needed to resize the window was to better fit some image
content in my HTML help.

Taking the opportunity, I'm a C++ and Python developer and I would love to
contribute on the project. Is there any need for help in the Processing
Framework (since I'm already a bit familiar with it) or in others areas? I
would probably need some guidance at first but I've been using QGIS and
developing plugins for some time now, so I guess it wouldn't be too big a
learning curve.

André

2018-04-03 0:29 GMT-03:00 Nyall Dawson :

> On 31 March 2018 at 14:06, André William  wrote:
> > After some digging, I found that while the textShortHelp object is not
> > directly available in the AlgorithmDialog class anymore, i was able to
> > access it like this:
> >>
> >> shortHelpObj = dlg.findChild(QTextBrowser, 'textShortHelp')
> >
> > Is this the expected behavior?
>
> None of this is in stable API, so can change between QGIS versions
> (including within minor versions/patch releases).
>
> Stable API for processing is:
> - the classes within the core library (unless they are explicitly
> marked as non-stable, e.g.  the modeler related classes)
> - the base GUI "WidgetWrapper" class (NOT any of its subclasses)
> - some methods from the processing namespace:
> - processing.algorithmHelp()
> - processing.run()
> - processing.runAndLoadResults()
> - processing.createAlgorithmDialog()
> - processing.execAlgorithmDialog()
>
> So, in short, unfortunately this approach is always going to be
> fragile. Better wrap it in a big try block! ;)
>
> I gather you're trying to force the "help" panel to resize when the
> dialog is opened. Is there a particular reason why you need to do
> this?
>
> Nyall
>
>
> >
> > André W.
> >
> > 2018-03-30 18:54 GMT-03:00 André William :
> >>
> >> Hi all,
> >>
> >> I'm porting an existing Geoprocessing Algorithm plugin to QGIS 3 and I'm
> >> having some trouble customizing the default dialog.
> >> On QGIS 2.x the following code worked:
> >>
> >>> class TestAlgorithm(GeoAlgorithm):
> >>> INPUT = 'INPUT'
> >>> OUTPUT = 'OUTPUT'
> >>>
> >>>
> >>>
> >>> def getCustomParametersDialog(self):
> >>> customDialog = AlgorithmDialog(self)
> >>> customDialog.textShortHelp.setFixedWidth(450)
> >>> return customDialog
> >>
> >>
> >> On QGIS 3 however, the getCustomParametersDialog() method is gone. I
> >> assumed it was replaced by the new createCustomParametersWidget(), but
> >> unfortunately this method doesn't seem to get called by the parent
> class:
> >>
> >>> def createCustomParametersWidget(self, parent):
> >>> customDialog = AlgorithmDialog(self)
> >>> customDialog.textShortHelp.setFixedWidth(450)
> >>> return customDialog
> >>
> >>
> >> I also tried manually creating the dialog, but I get a message saying
> that
> >> the 'AlgorithmDialog' object has no attribute 'textShortHelp'.
> >>
> >>> alg =
> >>> QgsApplication.processingRegistry().algorithmById('test:
> testAlgorithm')
> >>> dlg = AlgorithmDialog(alg)
> >>> dlg.textShortHelp.setFixedWidth(450)
> >>> dlg.show()
> >>
> >>
> >> Any thoughts?
> >>
> >> Thanks in advance!
> >> André
> >
> >
> >
> > ___
> > 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 [1436] NatusferaQGIS 3 approval notification.

2018-04-03 Thread noreply

Plugin NatusferaQGIS 3 approval by zimbogisgeek.
The plugin version "[1436] NatusferaQGIS 3 1.0" is now approved
Link: http://plugins.qgis.org/plugins/natusferaqgis3/
___
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] Custom widgets and Qt Designer 4 and 5

2018-04-03 Thread Etienne Trimaille
Hi Matteo,

I'm finally trying to use custom widgets from QT Creator instead of using
promoted widgets.
I'm facing the same issue with the generated path. It's not using
"qgis.gui" so it's failing during the import in QGIS.

Did you fix this issue?
I can manually fix these imports, but I'm asking if there is a fix for
that. Thanks

2018-03-20 14:33 GMT+01:00 matteo :

> Hi Matthias,
>
>
> >> * not being able to see the QGS widgets in QT Designer 5 is related with
> >> GDAL version, isn't it? If copying in the
> >> /usr/./pyqt5/plugin/designer the libqgiscustomwidget not compiled
> >> against gdal >= 2.20 won't work
> > That's what I was talking about. It doesn't matter which gdal version
> > you link against.
>
> ok so technically one I have the file libqgiscustomwidget.so and I've
> copied it into the folder I can even clean the directory of QGIS
> (compiled against gdal 2.20)?
>
> Thanks for the patience ;)
>
> 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
>
___
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] GDAL 2.2.4 Python 3.6.4 Install error in Mac OS X El Capitan (10.11.6) and QGIS3.0 : setup.py and gdal-config errors

2018-04-03 Thread William Kyngesburye
Well, you shouldn't be installing GDAL-python from pip if you're using my GDAL 
framework and QGIS3.  My GDAL framework has the python module linked into the 
python site-packages.

But, I can see a problem that I should fix - pip doesn't see my gdal-python, so 
other modules that need GDAL will want to install GDAL from pip (this may be 
why you were doing this).  I ran into this with the proj module, so I created a 
wheel for that so pip sees it.  I need to do the same for GDAL, and Shapely 
(GEOS).

> On Apr 3, 2018, at 3:41 AM, Noli Sicad  wrote:
> 
> Disregard this error.
> 
> The processing plugin loads now properly.
> 
> I think downloaded and installed the wrong version (32bit / 10.6) of
> the python3.6.x. instead of 64bit / 10.9). It seems that python 3.6.5
> is properly installed now.
> 
> Noli
> 
> 
> 
> On Mon, Apr 2, 2018 at 5:08 PM, Noli Sicad  wrote:
>> Hi William,
>> 
>> I am trying python GDAL (GDAL2.2.4 and Python 3.6.4) in Mac OS X El
>> Capitan (10.11.6) and QGIS3.0.
>> 
>> sudo pip3 install gdal
>> 
>> I got this error:
>> 
>> File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138, in 
>> fetch_config
>>raise gdal_config_error(e)
>>__main__.gdal_config_error: [Errno 2] No such file or directory:
>> 'gdal-config': 'gdal-config'
>> 
>> I tried several suggestions in the net however, the error getting
>> worst that this.
>> 
>> Any suggestion how to fix this?
>> 
>> Here's the log below.
>> 
>> 
>> Thanks.
>> 
>> Noli
>> 
>> ~~~
>> 
>> Nolis-MBP:AA_QGIS nolisicad$ sudo pip3 install gdal
>> Password:
>> The directory '/Users/nolisicad/Library/Caches/pip/http' or its parent
>> directory is not owned by the current user and the cache has been
>> disabled. Please check the permissions and owner of that directory. If
>> executing pip with sudo, you may want sudo's -H flag.
>> The directory '/Users/nolisicad/Library/Caches/pip' or its parent
>> directory is not owned by the current user and caching wheels has been
>> disabled. check the permissions and owner of that directory. If
>> executing pip with sudo, you may want sudo's -H flag.
>> Collecting gdal
>>  Downloading GDAL-2.2.4.tar.gz (475kB)
>>100% || 481kB 733kB/s
>>Complete output from command python setup.py egg_info:
>>running egg_info
>>creating pip-egg-info/GDAL.egg-info
>>writing pip-egg-info/GDAL.egg-info/PKG-INFO
>>writing dependency_links to 
>> pip-egg-info/GDAL.egg-info/dependency_links.txt
>>writing top-level names to pip-egg-info/GDAL.egg-info/top_level.txt
>>writing manifest file 'pip-egg-info/GDAL.egg-info/SOURCES.txt'
>>warning: manifest_maker: standard file '-c' not found
>> 
>>Traceback (most recent call last):
>>  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,
>> in fetch_config
>>p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
>> line 709, in __init__
>>restore_signals, start_new_session)
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
>> line 1344, in _execute_child
>>raise child_exception_type(errno_num, err_msg, err_filename)
>>FileNotFoundError: [Errno 2] No such file or directory:
>> '../../apps/gdal-config': '../../apps/gdal-config'
>> 
>>During handling of the above exception, another exception occurred:
>> 
>>Traceback (most recent call last):
>>  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 182,
>> in get_gdal_config
>>return fetch_config(option, gdal_config = self.gdal_config)
>>  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138,
>> in fetch_config
>>raise gdal_config_error(e)
>>__main__.gdal_config_error: [Errno 2] No such file or directory:
>> '../../apps/gdal-config': '../../apps/gdal-config'
>> 
>>During handling of the above exception, another exception occurred:
>> 
>>Traceback (most recent call last):
>>  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,
>> in fetch_config
>>p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
>> line 709, in __init__
>>restore_signals, start_new_session)
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
>> line 1344, in _execute_child
>>raise child_exception_type(errno_num, err_msg, err_filename)
>>FileNotFoundError: [Errno 2] No such file or directory:
>> 'gdal-config': 'gdal-config'
>> 
>>During handling of the above exception, another exception occurred:
>> 
>>Traceback (most recent call last):
>>  File "", line 1, in 
>>  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 342,
>> in 
>>**extra )
>>  File 
>> "/Library/Frameworks/Python.framework/Versions/3.

Re: [QGIS-Developer] only read name and group name of processing algorithms during startup

2018-04-03 Thread Rashad Kanavath
Hello Nyall,


On Tue, Mar 20, 2018 at 10:55 PM, Nyall Dawson 
wrote:

> On 19 March 2018 at 18:39, Rashad Kanavath  wrote:
> > Nyall,
> >
> > could we have defineCharacteristicsFromFile method in
> > QgsProcessingAlgorithm ?.
> > the diff with canExecute is more of a working draft.
>
>
> Hi Rashad,
>
> Can you open a PR? I'm having trouble following the change as the
> whitespace is messed up in the email.
>

Here we go..
https://github.com/qgis/QGIS/pull/6739

>
> Thanks!
> Nyall
>
> >
> >
> >
> > On Thu, Mar 15, 2018 at 03:27:50PM +0100, Rashad Kanavath wrote:
> >> Hello,
> >>
> >> On Wed, Mar 14, 2018 at 4:38 AM, Nyall Dawson 
> >> wrote:
> >>
> >> > On 13 March 2018 at 20:56, Rashad Kanavath 
> wrote:
> >> > > if a provier is enabled then qgis reads all algorithm's during
> >> > > startup. This involves reading descriptor files and doing all
> parsing
> >> > > required to make gui when user actually open algorithm (click on
> >> > > treeitem).
> >> > > So If I have like three provider enabled it takes more time to start
> >> > qgis than
> >> > > usual. Even though, I might open one or two later at some point.
> >> > >
> >> > > It is not necessary here to parse "all" data during startup.  name
> and
> >> > > group name is only needed to fill provider-algorithm tree. This is
> >> > > true for any provider which uses descriptor files (OTB, GRASS, SAGA
> >> > etc..).
> >> >
> >> > Actually it's a bit trickier here -- models make things more complex
> >> > as they self-validate on creation, and need full knowledge of the
> >> > dependent algorithm's parameters and outputs.
> >> >
> >>
> >> Yes. there are different cases like modeler, standard, batch, scripts.
> >> I tried to utilize canExecute() in otb and seems to be working.
> >> You already have a very flexible, strong API in qgis processing such
> >> trickier feature like this one has become too easy!!.
> >>
> >> I had to call alg.canExecute() in two places and that's it.
> >> diff attached below. With this loading time will be hopefully improved
> for
> >> OTB, SAGA, GRASS GIS.
> >>
> >> index f5bdc40dc5..1cca57769a 100644
> >> --- a/python/plugins/processing/modeler/ModelerParametersDialog.py
> >> +++ b/python/plugins/processing/modeler/ModelerParametersDialog.py
> >> @@ -70,6 +70,7 @@ class ModelerParametersDialog(QDialog):
> >>  QDialog.__init__(self)
> >>  self.setModal(True)
> >>  # The algorithm to define in this dialog. It is an instance of
> >> QgsProcessingModelAlgorithm
> >> +alg.canExecute()
> >>  self._alg = alg
> >>  # The model this algorithm is going to be added to
> >>  self.model = model
> >> @@ -80,6 +81,9 @@ class ModelerParametersDialog(QDialog):
> >>  settings = QgsSettings()
> >>  self.restoreGeometry(settings.value("/Processing/
> >> modelParametersDialogGeometry", QByteArray()))
> >>
> >> +def algorithm(self):
> >> +return self._alg
> >> +
> >>  def closeEvent(self, event):
> >>  settings = QgsSettings()
> >>  settings.setValue("/Processing/modelParametersDialogGeometry",
> >> self.saveGeometry())
> >> @@ -242,7 +246,6 @@ class ModelerParametersDialog(QDialog):
> >>  outTypes = []
> >>  elif not isinstance(outTypes, (tuple, list)):
> >>  outTypes = [outTypes]
> >> -
> >>  return self.model.availableSourcesForChild(self.childId,
> >> [p.typeName() for p in paramType if
> >>
> >>  issubclass(p, QgsProcessingParameterDefinition)],
> >> [o.typeName() for o
> in
> >> outTypes if
> >> diff --git a/src/core/processing/models/qgsprocessingmodelchildalgorit
> hm.cpp
> >> b/src/core/processing/models/qgsprocessingmodelchildalgorithm.cpp
> >> index f5f8074c88..01906a7f62 100644
> >> --- a/src/core/processing/models/qgsprocessingmodelchildalgorithm.cpp
> >> +++ b/src/core/processing/models/qgsprocessingmodelchildalgorithm.cpp
> >> @@ -58,7 +58,7 @@ QgsProcessingModelChildAlgorithm &
> >> QgsProcessingModelChildAlgorithm::operator=( c
> >>
> >>  const QgsProcessingAlgorithm *QgsProcessingModelChildAlgorit
> hm::algorithm()
> >> const
> >>  {
> >> -  return mAlgorithm.get();
> >> +  return mAlgorithm && mAlgorithm->canExecute() ? mAlgorithm.get():
> >> nullptr;
> >>  }
> >>
> >>  void QgsProcessingModelChildAlgorithm::setModelOutputs( const
> >> QMap &modelOutputs )
> >>
> >> test code for otb provider:
> >> https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin
> >> I can add modification to SAGA and GRASS if you are okay to move this
> to PR.
> >>
> >>
> >> > > Issue is more about calling defineDescriptorFile() in Algorithm's
> >> > > __init__ method. And ofcourse, one cannot avoid init when adding
> >> > > algorithm and tree need to add an instance of algorithm. what can be
> >> > > done?
> >> >
> >> > What I've been thinking/planning is to take advantage of task manager
> >> > here. So basically:
> >> >
> >> > - on processing startup, the

Re: [QGIS-Developer] Awating plugin review...

2018-04-03 Thread Germán Carrillo
Thank you Paolo!

Regards,

Germán

2018-04-03 6:04 GMT-05:00 Tim Sutton :

> Admire can you please check the plugin review queue at least once a day?
>
> Thanks!
>
> Tim
>
> On 03 Apr 2018, at 12:57, Paolo Cavallini  wrote:
>
> Hi all.
> Sorry, I asked Admire from Kartoza to help me in this period, he might
> have overlooked this one.
> Done now.
> Thanks for your patience.
>
> Il 3 aprile 2018 00:30:02 GMT-04:00, "Germán Carrillo" <
> carrillo.ger...@gmail.com> ha scritto:
>>
>> It seems it's not Paolo who is approving plugins lately, but
>> zimbogisgeek.
>>
>> 2018-04-02 23:11 GMT-05:00 Nyall Dawson :
>>
>>> On 3 April 2018 at 13:40, Germán Carrillo 
>>> wrote:
>>> >
>>> > And it's a great work he does!
>>> >
>>> > I've seen other plugin approvals recently, so i guess the whole
>>> process doesn't stop if a person is on holiday.
>>>
>>> Heh... it's open source work -- nobody ever really FULLY tunes-out
>>> unless we're forced to by going camping in a forest or somewhere
>>> there's no mobile reception!
>>>
>>> Nyall
>>>
>>
>>
>>
>> --
>> ---
>>|\__
>> (:>__)(
>>|/
>> Soluciones Geoinformáticas Libres
>> http://geotux.tuxfamily.org/
>> http://twitter.com/GeoTux2
>> http://about.me/germancarrillo
>>
>> 
>>
>
> --
> Sorry for being short___
> 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
>
>
> —
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Project chair:* QGIS.org
>
> 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
>
>


-- 
---
   |\__
(:>__)(
   |/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo


___
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 [1432] AustrianElevation approval notification.

2018-04-03 Thread noreply

Plugin AustrianElevation approval by pcav.
The plugin version "[1432] AustrianElevation 1.0" is now approved
Link: http://plugins.qgis.org/plugins/AustrianElevation/
___
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] Awating plugin review...

2018-04-03 Thread Tim Sutton
Admire can you please check the plugin review queue at least once a day?

Thanks!

Tim

> On 03 Apr 2018, at 12:57, Paolo Cavallini  wrote:
> 
> Hi all.
> Sorry, I asked Admire from Kartoza to help me in this period, he might have 
> overlooked this one.
> Done now.
> Thanks for your patience.
> 
> Il 3 aprile 2018 00:30:02 GMT-04:00, "Germán Carrillo" 
> mailto:carrillo.ger...@gmail.com>> ha scritto:
> It seems it's not Paolo who is approving plugins lately, but zimbogisgeek.
> 
> 2018-04-02 23:11 GMT-05:00 Nyall Dawson  >:
> On 3 April 2018 at 13:40, Germán Carrillo  > wrote:
> >
> > And it's a great work he does!
> >
> > I've seen other plugin approvals recently, so i guess the whole process 
> > doesn't stop if a person is on holiday.
> 
> Heh... it's open source work -- nobody ever really FULLY tunes-out
> unless we're forced to by going camping in a forest or somewhere
> there's no mobile reception!
> 
> Nyall
> 
> 
> 
> --
> ---
>|\__
> (:>__)(
>|/
> Soluciones Geoinformáticas Libres
> http://geotux.tuxfamily.org/ 
> http://twitter.com/GeoTux2 
> http://about.me/germancarrillo 
> 
>  
> --
> Sorry for being short___
> 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 
> 
—







Tim Sutton

Co-founder: Kartoza
Project chair: QGIS.org

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



signature.asc
Description: Message signed with OpenPGP
___
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 [1430] HCMGIS approval notification.

2018-04-03 Thread noreply

Plugin HCMGIS approval by zimbogisgeek.
The plugin version "[1430] HCMGIS 18.4.2" is now approved
Link: http://plugins.qgis.org/plugins/HCMGIS/
___
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] Awating plugin review...

2018-04-03 Thread Paolo Cavallini
Hi all.
Sorry, I asked Admire from Kartoza to help me in this period, he might have 
overlooked this one.
Done now.
Thanks for your patience.

Il 3 aprile 2018 00:30:02 GMT-04:00, "Germán Carrillo" 
 ha scritto:
>It seems it's not Paolo who is approving plugins lately, but
>zimbogisgeek.
>
>2018-04-02 23:11 GMT-05:00 Nyall Dawson :
>
>> On 3 April 2018 at 13:40, Germán Carrillo 
>> wrote:
>> >
>> > And it's a great work he does!
>> >
>> > I've seen other plugin approvals recently, so i guess the whole
>process
>> doesn't stop if a person is on holiday.
>>
>> Heh... it's open source work -- nobody ever really FULLY tunes-out
>> unless we're forced to by going camping in a forest or somewhere
>> there's no mobile reception!
>>
>> Nyall
>>
>
>
>
>-- 
>---
>   |\__
>(:>__)(
>   |/
>Soluciones Geoinformáticas Libres
>http://geotux.tuxfamily.org/
>http://twitter.com/GeoTux2
>http://about.me/germancarrillo
>
>

-- 
Sorry for being short___
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 [63] Remove empty layers from the map approval notification.

2018-04-03 Thread noreply

Plugin Remove empty layers from the map approval by pcav.
The plugin version "[63] Remove empty layers from the map 3.0" is now approved
Link: http://plugins.qgis.org/plugins/RemoveEmptyLayers/
___
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] QGIS 3 Print Composer - Page Properties

2018-04-03 Thread Alexandre Neto
Nyall Dawson  escreveu no dia terça, 3/04/2018 às
05:16:

> On 3 April 2018 at 07:06, Carlo A. Bertelli (Charta s.r.l.)
>
> I've thought long on this. I'm reasonably convinced it's a short-term
> issue as people adjust there 2.x workflows to 3.0.
>

Although this is true, I still think it is not very intuitive for newcomers.

>
> There's two approaches I can see working to mitigate it:
>
> 1. Add a "pages panel", which allows you to pick from existing pages
> (e.g. via a drop-down combo box) and then set the properties for that
> page. It could also have the actions for adding new pages and deleting
> existing pages there too.
>
>
This would be the way I prefer, or include that same "widgetery" in the
layout properties. The "current" page could update based on the portion of
layout that is visible, as already happens for the grids panel.


> and/or
>
> 2. Add a "new layout wizard", which shows when you create a new print
> layout. This would prompt users to set the page size before the layout
> is actually created. It could potentially replace the existing layout
> manager approach to creating layouts from a template, e.g. by showing
> a nice list of available templates via thumbnail graphics.
>
>
I love the idea of having a list of available templates with some
thumbnails. But it won't fix the issue of not being trivial to see a pages
properties once te layout is created.


> Unfortunately both approaches aren't trivial, and would require some
> hours to implement.
>
>
"Small" crowdfunding? :)


> Nyall
>
>
> > c
> >
> > On Mon, Apr 2, 2018 at 10:01 PM, Alessandro Pasotti 
> > wrote:
> >>
> >> The reason for this change is that your can now have different settings
> >> for each page.
> >>
> >> The page size is not a property of the layout anymore but it's a
> property
> >> of the page.
> >>
> >> But I agree that the page properties might be better exposed.
> >>
> >>
> >> On Mon, Apr 2, 2018, 21:56 C Hamilton  wrote:
> >>>
> >>> I was just going to ask what happened to the "Page Size" properties in
> >>> the QGIS 3 print composer, but I stumbled upon it accidentally by
> >>> right-mouse clicking on the page and selecting "Page Properties." This
> was
> >>> not easily found. In the QGIS 2 print compose it is a part of the
> layout. In
> >>> QGIS 3 I just lucked out.
> >>>
> >>> Could the page properties be more obvious to find? At lease add them to
> >>> the Layout or Edit menus or put them back under the layout settings.
> >>>
> >>> Thanks,
> >>>
> >>> Calvin
> >
> >
> > --
> >
> --
> > Carlo A. Bertelli
> >Charta servizi e sistemi per il territorio e la storia ambientale srl
> >   Dipendenze del palazzo Doria,
> >   vc. alla Chiesa della Maddalena 9/2 16124  Genova (Italy)
> >   tel./fax +39(0)10 2475439  +39 0108566195
> <+39%20010%20856%206195>  mobile:+39 393 1590711 <+39%20393%20159%200711>
> >e-mail: berte...@chartasrl.eu  http://www.chartasrl.eu
> >
> --
> >
> >
> >
> >
> > ___
> > Qgis-user mailing list
> > qgis-u...@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> ___
> Qgis-user mailing list
> qgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Alexandre Neto
-
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
___
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] GDAL 2.2.4 Python 3.6.4 Install error in Mac OS X El Capitan (10.11.6) and QGIS3.0 : setup.py and gdal-config errors

2018-04-03 Thread Noli Sicad
Disregard this error.

The processing plugin loads now properly.

I think downloaded and installed the wrong version (32bit / 10.6) of
the python3.6.x. instead of 64bit / 10.9). It seems that python 3.6.5
is properly installed now.

Noli



On Mon, Apr 2, 2018 at 5:08 PM, Noli Sicad  wrote:
> Hi William,
>
> I am trying python GDAL (GDAL2.2.4 and Python 3.6.4) in Mac OS X El
> Capitan (10.11.6) and QGIS3.0.
>
> sudo pip3 install gdal
>
> I got this error:
>
> File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138, in 
> fetch_config
> raise gdal_config_error(e)
> __main__.gdal_config_error: [Errno 2] No such file or directory:
> 'gdal-config': 'gdal-config'
>
> I tried several suggestions in the net however, the error getting
> worst that this.
>
> Any suggestion how to fix this?
>
> Here's the log below.
>
>
> Thanks.
>
> Noli
>
> ~~~
>
> Nolis-MBP:AA_QGIS nolisicad$ sudo pip3 install gdal
> Password:
> The directory '/Users/nolisicad/Library/Caches/pip/http' or its parent
> directory is not owned by the current user and the cache has been
> disabled. Please check the permissions and owner of that directory. If
> executing pip with sudo, you may want sudo's -H flag.
> The directory '/Users/nolisicad/Library/Caches/pip' or its parent
> directory is not owned by the current user and caching wheels has been
> disabled. check the permissions and owner of that directory. If
> executing pip with sudo, you may want sudo's -H flag.
> Collecting gdal
>   Downloading GDAL-2.2.4.tar.gz (475kB)
> 100% || 481kB 733kB/s
> Complete output from command python setup.py egg_info:
> running egg_info
> creating pip-egg-info/GDAL.egg-info
> writing pip-egg-info/GDAL.egg-info/PKG-INFO
> writing dependency_links to 
> pip-egg-info/GDAL.egg-info/dependency_links.txt
> writing top-level names to pip-egg-info/GDAL.egg-info/top_level.txt
> writing manifest file 'pip-egg-info/GDAL.egg-info/SOURCES.txt'
> warning: manifest_maker: standard file '-c' not found
>
> Traceback (most recent call last):
>   File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,
> in fetch_config
> p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
> line 709, in __init__
> restore_signals, start_new_session)
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
> line 1344, in _execute_child
> raise child_exception_type(errno_num, err_msg, err_filename)
> FileNotFoundError: [Errno 2] No such file or directory:
> '../../apps/gdal-config': '../../apps/gdal-config'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 182,
> in get_gdal_config
> return fetch_config(option, gdal_config = self.gdal_config)
>   File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138,
> in fetch_config
> raise gdal_config_error(e)
> __main__.gdal_config_error: [Errno 2] No such file or directory:
> '../../apps/gdal-config': '../../apps/gdal-config'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,
> in fetch_config
> p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
> line 709, in __init__
> restore_signals, start_new_session)
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
> line 1344, in _execute_child
> raise child_exception_type(errno_num, err_msg, err_filename)
> FileNotFoundError: [Errno 2] No such file or directory:
> 'gdal-config': 'gdal-config'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 342,
> in 
> **extra )
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py",
> line 148, in setup
> dist.run_commands()
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py",
> line 955, in run_commands
> self.run_command(cmd)
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py",
> line 974, in run_command
> cmd_obj.run()
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",
> line 279, in run
> self.find_sources()
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packa

Re: [QGIS-Developer] [Qgis-user] QGIS 3 Print Composer - Page Properties

2018-04-03 Thread Tom Chadwin
I've only recently looked at layouts, so apologies if this is not helpful.
How about, in the right-hand tab of the right-hand menu (is it called
Items?), there is a permanent item, perhaps in italics, called Page, and at
the top of that panel, some indication of which page is currently selected?
You could then change which page is selected by clicking any item on it.

This would then mean that the second tab could be used for page properties
as it is for item properties. 

Tom



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
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

[QGIS-Developer] Plugin [1435] SQUAD Tool v3 approval notification.

2018-04-03 Thread noreply

Plugin SQUAD Tool v3 approval by zimbogisgeek.
The plugin version "[1435] SQUAD Tool v3 0.1" is now approved
Link: http://plugins.qgis.org/plugins/squad-plugin-qgis3/
___
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 [1433] SQUAD Tool approval notification.

2018-04-03 Thread noreply

Plugin SQUAD Tool approval by zimbogisgeek.
The plugin version "[1433] SQUAD Tool 0.1" is now approved
Link: http://plugins.qgis.org/plugins/squad-plugin-qgis2/
___
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 [1187] Split Features On Steroids approval notification.

2018-04-03 Thread noreply

Plugin Split Features On Steroids approval by zimbogisgeek.
The plugin version "[1187] Split Features On Steroids 0.13" is now approved
Link: http://plugins.qgis.org/plugins/SplitPolygonShowingAreas/
___
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 [849] AmigoCloud approval notification.

2018-04-03 Thread noreply

Plugin AmigoCloud approval by zimbogisgeek.
The plugin version "[849] AmigoCloud 0.10" is now approved
Link: http://plugins.qgis.org/plugins/qgis-amigocloud-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 [619] pickLayer approval notification.

2018-04-03 Thread noreply

Plugin pickLayer approval by zimbogisgeek.
The plugin version "[619] pickLayer 3.0" is now approved
Link: http://plugins.qgis.org/plugins/pickLayer/
___
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 [1220] RS&GIS approval notification.

2018-04-03 Thread noreply

Plugin RS&GIS approval by zimbogisgeek.
The plugin version "[1220] RS&GIS 1.0" is now approved
Link: http://plugins.qgis.org/plugins/NITK_RS-GIS_17/
___
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