Re: [Qgis-developer] more advanced editing tools

2012-12-02 Thread Bernhard Ströbl

Hi Larry,

this is even better than what I had in mind! I like the red pencil 
indicating the dirty status of the layer. Many thanks for that. However 
I would change the tooltip to "Save edits in all layers" because as it 
is now we have "Save all edits" vs. "Save edits" which might puzzle 
users: Does the latter one not save all edits?


Bernhard

Am 02.12.2012 02:03, schrieb Larry Shaffer:

Hi Bernhard,

On Fri, Nov 30, 2012 at 2:23 AM, Bernhard Ströbl
  wrote:

Hi Angelos,

I agree that some 2 to 5 tools should go into cadTools. What we have until
now:
- parallel move of polygon side (IMHO CAD-like function)
- split feature with selected feature from another theme (general digitizing
function)
- cut out from feature with selected polygon from another theme (general
digitizing function)
- continue editing an exisitng line (general digitizing function)
- save all layers being in editing mode in one go (general digitizing
function)


This was added here [0], but only for layers that have unsaved edits.
Also, a red pencil legend layer icon was added to indicate when a
layer has unsaved edits. Let me know if you have any comments on or
suggestions for their implementation.

The 'Save All Edits' functionality will be added to the project close
notification, when layers are found to have unsaved edits (currently
just shows some red text that can be overlooked).

[0] https://github.com/qgis/Quantum-GIS/compare/45a933a4569b...293e49438e4b

Regards,

Larry


- fill hole(s) in polygon feature (general digitizing function)
- fill spaces between polygons (general digitizing function)
- avoid intersection when copying/pasting polygons (reported bug)
- split lines with points (IMHO fTools)
- prolong a line, i.e. move its endpoint in the direction of the last
segment (CAD-like function)

from a users point of view it would be nice to have everything related to
digitizing in one plugin on the other hand users probably do not expect the
functions I marked as "general digitizing" in a plugin called cadTools.

Bernhard


Am 29.11.2012 19:48, schrieb Angelos Tzotsos:


Hi Bernhard,

I agree that some editing ideas are not strictly CAD but we have to
think the end user and where the tools are expected to be found more
easily. Also the number of new tools are important. For 2-5 new tools,
extending cadTools would be more appropriate than a new plugin.

Angelos

On 11/29/2012 06:36 PM, Bernhard Ströbl wrote:


Angelos,

would you see this functionality rather in cadTools or in a new plugin?

Bernhard

Am 29.11.2012 17:28, schrieb Angelos Tzotsos:


On 11/29/2012 02:35 PM, Bernhard Ströbl wrote:


Dear list,

during a course I realized that my institution needs some more editing
tools for advanced editing tasks e.g.
- prolong a line
- cut polygon with feature (line or polygon) from another layer
- save all layers being in editing mode in one go
- some more

A little background: when digitizing data we are not starting from
scratch but are digitzing on existing data in many different layers
(parcels, restricted areas ...). A new polygon normally needs to fit
into these existing boundaries. Trying to digitize along existing
boundaries of several layers and snapping to them is cumbersome and
you are very likely missing snapping nodes (even when using trace
digitize plugin).

Is any of you aware of similar functions in a plugin (I know
cadTools)? Is anyone interested in joining me to create such tools as
a Python plugin? Which functions would you like to have?

regards

Bernhard


__ Information from ESET Mail Security, version of virus
signature database 7744 (20121129) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Hi Bernhard,

Excellent timing, I was thinking about creating a new functionality that
I need for a parcel digitization project.
One tool I have in mind is parallel moving of a side of a polygon in
order to achieve a specific area for the polygon (and at the same time
maintain topological integrity with near polygons.

Cheers,
Angelos












__ Information from ESET Mail Security, version of virus signature 
database 7755 (20121202) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Settings -> Panels vs. Settings -> Customization -> Docks

2012-12-02 Thread Matthias Kuhn
Do we have a collection of spellings somewhere? It would be good for 
dev's to have a place to refer to.

E.g. a simple wiki page.

Matthias

On 12/02/2012 02:57 PM, Otto Dassau wrote:

Am Sat, 1 Dec 2012 12:53:44 +0100
schrieb Radim Blazek :


On Fri, Nov 30, 2012 at 2:34 PM, Martin Dobias  wrote:

On Wed, Nov 28, 2012 at 5:17 PM, Otto Dassau 
wrote:

Hi,

in QGIS 1.8 you can (de)activate panels under Settings -> Panels. Under
settings Customization the panels are described as Docks. Would it be
possible to have only one name for it? Or is there a reason, why we have
two names for it?

Changed to Panels. Also added new enable customization checkbox in the
dialog.

Radim


Hi Otto

as far as I know, there's no reason for two names, it's the same
thing... I guess "panel" is a term that users are more familiar with.

Regards
Martin

Thanks a lot for changing it!

Otto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Couldn't load plugin ogrprocessing after upgrading Sextante from github

2012-12-02 Thread Pedro Venâncio
Only need to change line 26 to 20 on 
qgis/python/plugins/sextante/admintools/httplib2/__init__.py 

# -*- coding: utf-8 -*-

"""
***
    __init__.py
    -
    Date : November 2012
    Copyright    : (C) 2012 by Victor Olaya
    Email    : volayaf at gmail dot com
***
* *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or *
*   (at your option) any later version.   *
* *
***
"""

from __future__ import generators

__author__ = 'Victor Olaya'
__date__ = 'November 2012'
__copyright__ = '(C) 2012, Victor Olaya'
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'


(...)

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Couldn't load plugin ogrprocessing after upgrading Sextante from github

2012-12-02 Thread Pedro Venâncio
Hi

I am getting the following error, which appeared after upgrading Sextante from 
github:
 
Couldn't load plugin ogrprocessing due an error when calling its classFactory() 
method

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 189, in 
startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/home/pedro/.qgis//python/plugins/ogrprocessing/__init__.py", line 37, 
in classFactory
    from ogrprocessingplugin import OgrProcessingPlugin
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/home/pedro/.qgis//python/plugins/ogrprocessing/ogrprocessingplugin.py", line 
31, in 
    from sextante.core.Sextante import Sextante
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/sextante/__init__.py", line 20, in 
    from sextante.core.Sextante import runalg, runandload, alghelp, alglist, 
algoptions, load, loadFromAlg, extent, getObjectFromName, getObjectFromUri
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/sextante/core/Sextante.py", line 55, in 
    from sextante.admintools.AdminToolsAlgorithmProvider import 
AdminToolsAlgorithmProvider
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/usr/share/qgis/python/plugins/sextante/admintools/AdminToolsAlgorithmProvider.py",
 line 27, in 
    from sextante.admintools.ImportVectorIntoGeoServer import 
ImportVectorIntoGeoServer
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/usr/share/qgis/python/plugins/sextante/admintools/ImportVectorIntoGeoServer.py",
 line 32, in 
    from sextante.admintools.GeoServerToolsAlgorithm import 
GeoServerToolsAlgorithm
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/usr/share/qgis/python/plugins/sextante/admintools/GeoServerToolsAlgorithm.py",
 line 20, in 
    from sextante.admintools.geoserver.catalog import Catalog
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/usr/share/qgis/python/plugins/sextante/admintools/geoserver/catalog.py", line 
39, in 
    from sextante.admintools import httplib2
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/usr/share/qgis/python/plugins/sextante/admintools/httplib2/__init__.py", line 
26
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35) 
[GCC 4.6.3]


QGIS version:
1.9.0-Master Master, exported

Python path: ['/usr/share/qgis/python', '/home/pedro/.qgis//python', 
'/home/pedro/.qgis//python/plugins', '/usr/share/qgis/python/plugins', 
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', 
'/home/pedro/.qgis/python/plugins/mmqgis/forms', 
'/home/pedro/.qgis/python/plugins/qgis2kml', 
'/home/pedro/.qgis/python/plugins/qgis2kml']
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] TauDEM plugin error

2012-12-02 Thread Paolo Cavallini
Il 02/12/2012 17:28, Alexander Bruy ha scritto:
> Hi Paolo,
> 
> TauDEM provider now included in SEXTANTE core, so you can remove
> separate plugin.

ok, thanks for the clarification.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] TauDEM plugin error

2012-12-02 Thread Alexander Bruy
Hi Paolo,

TauDEM provider now included in SEXTANTE core, so you can remove
separate plugin.

Regarding error, I'm not sure that it caused by this plugin. But I'll
at it ASAP.

On Sun, 02 Dec 2012 17:22:17 +0100
Paolo Cavallini  wrote:

> Hi all.
> I'm getting this at startup.
> All the best.

-- 
Alexander Bruy
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] TauDEM plugin error

2012-12-02 Thread Paolo Cavallini
Hi all.
I'm getting this at startup.
All the best.
===
Couldn't load plugin sextante_taudem due an error when calling its 
classFactory() method

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 189, in 
startPlugin
plugins[packageName] = package.classFactory(iface)
  File "/home/paolo/.qgis//python/plugins/sextante_taudem/__init__.py", line 
52, in
classFactory
from TauDEMProviderPlugin import TauDEMProviderPlugin
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/home/paolo/.qgis//python/plugins/sextante_taudem/TauDEMProviderPlugin.py",
line 36, in
from sextante.core.Sextante import Sextante
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/sextante/__init__.py", line 20, in
from sextante.core.Sextante import runalg, runandload, alghelp, alglist,
algoptions, load, loadFromAlg, extent, getObjectFromName, getObjectFromUri
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/sextante/core/Sextante.py", line 55, in
from sextante.admintools.AdminToolsAlgorithmProvider import
AdminToolsAlgorithmProvider
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/usr/share/qgis/python/plugins/sextante/admintools/AdminToolsAlgorithmProvider.py",
line 27, in
from sextante.admintools.ImportVectorIntoGeoServer import 
ImportVectorIntoGeoServer
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/usr/share/qgis/python/plugins/sextante/admintools/ImportVectorIntoGeoServer.py",
line 32, in
from sextante.admintools.GeoServerToolsAlgorithm import 
GeoServerToolsAlgorithm
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/usr/share/qgis/python/plugins/sextante/admintools/GeoServerToolsAlgorithm.py",
 line
20, in
from sextante.admintools.geoserver.catalog import Catalog
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/usr/share/qgis/python/plugins/sextante/admintools/geoserver/catalog.py",
line 39, in
from sextante.admintools import httplib2
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 438, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"/usr/share/qgis/python/plugins/sextante/admintools/httplib2/__init__.py", line 
26
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] WPS server

2012-12-02 Thread Paolo Cavallini
Il 02/12/2012 13:24, René-Luc D'Hont ha scritto:
> Hi Paolo,
> 
> I'm starting some WPS implementation based on QgsExpression, and it's working.

Any plan to expand it to use more functions? As said, using sextante would be 
the
real killer here.
Thanks.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Settings -> Panels vs. Settings -> Customization -> Docks

2012-12-02 Thread Otto Dassau
Am Sat, 1 Dec 2012 12:53:44 +0100
schrieb Radim Blazek :

> On Fri, Nov 30, 2012 at 2:34 PM, Martin Dobias  wrote:
> >
> > On Wed, Nov 28, 2012 at 5:17 PM, Otto Dassau 
> > wrote:
> >>
> >> Hi,
> >>
> >> in QGIS 1.8 you can (de)activate panels under Settings -> Panels. Under
> >> settings Customization the panels are described as Docks. Would it be
> >> possible to have only one name for it? Or is there a reason, why we have
> >> two names for it?
> 
> Changed to Panels. Also added new enable customization checkbox in the
> dialog.
> 
> Radim
> 
> >
> > Hi Otto
> >
> > as far as I know, there's no reason for two names, it's the same
> > thing... I guess "panel" is a term that users are more familiar with.
> >
> > Regards
> > Martin

Thanks a lot for changing it!

Otto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] WPS server

2012-12-02 Thread Luca Delucchi
Hi Renè

2012/12/2 René-Luc D'Hont :
>
> I'm starting some WPS implementation based on QgsExpression, and it's
> working.
>

could you explain a little bit more about your idea?
what languages/library will be supported by the services?

> I'll publish my first code.
>
> René-Luc
>

Thanks

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] WPS server

2012-12-02 Thread Paolo Cavallini
Il 02/12/2012 13:24, René-Luc D'Hont ha scritto:

> I'm starting some WPS implementation based on QgsExpression, and it's working.
> 
> I'll publish my first code.

wow, great news. looking forward to it.
merci beaucoup.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] WPS server

2012-12-02 Thread René-Luc D'Hont
Hi Paolo,

I'm starting some WPS implementation based on QgsExpression, and it's
working.

I'll publish my first code.

René-Luc
Le 2 déc. 2012 09:25, "Paolo Cavallini"  a écrit :

> Hi all.
> Is anybody working (or planning to) on a WPS server implementation for
> QGIS? Does
> anybody have an estimate of how much work would be involved?
> Ideally, it would be good to build it on top of sextante, so to have the
> full set of
> algorithms and models immediately available.
> Thanks.
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] String inconsistencies

2012-12-02 Thread Paolo Cavallini
Il 02/12/2012 09:43, Anita Graser ha scritto:
> On Sun, Dec 2, 2012 at 12:31 AM, Werner Macho  wrote:
>> I also noticed some Null Null NULL and NODATA NoData and nodata things
>> .. I'd rather write that all uppercase ..
> 
> +1 for upper case. It makes things easier to spot.

are these rules written in the coding standards? what about Upper Case within 
strings
("Horizontal and vertical" or "Horizontal and Vertical")?
thanks.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] String inconsistencies

2012-12-02 Thread Anita Graser
On Sun, Dec 2, 2012 at 12:31 AM, Werner Macho  wrote:
> I also noticed some Null Null NULL and NODATA NoData and nodata things
> .. I'd rather write that all uppercase ..

+1 for upper case. It makes things easier to spot.

Best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] WPS server

2012-12-02 Thread Paolo Cavallini
Hi all.
Is anybody working (or planning to) on a WPS server implementation for QGIS? 
Does
anybody have an estimate of how much work would be involved?
Ideally, it would be good to build it on top of sextante, so to have the full 
set of
algorithms and models immediately available.
Thanks.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer