Re: [Qgis-developer] QGIS on Windows: order another desktop to accommodate all the icons

2016-03-12 Thread roy roy
Il giorno gio, 10/03/2016 alle 22.37 -0800, Tom Chadwin ha scritto:

> Also, on Windows, the OSGeo installer leaves a folder with a very
> non-user-friendly name ("http%" something or other).

I think the folder contains all necessary data for the installation
and is not created on the desktop but you can choose where you want it,
the installer should not be launched from the desktop but from a regular
file system folder if you like your desktop cleaner;
it is also a very useful folder because you can use it to perform
several OSGEO4W installation in other PC without having to download all
the needed stuff again and again, so not a folder to get rid of IMHO.

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

Re: [Qgis-developer] QGIS on Windows: order another desktop to accommodate all the icons

2016-03-12 Thread roy roy
Il giorno sab, 12/03/2016 alle 04.00 -0800, Tom Chadwin ha scritto:

> I run it from the Windows start menu, so I'm not actively specifying a
> directory. I think that will mirror other non-dev users' behaviour, so I
> still think this is an issue. I can't remember how I first installed the
> OSGeo installer itself, but I can't imagine I changed any installer
> defaults.

Hi, what i mean is that the "http%..." folder is useful and not to be
removed after install; btw i'm talking about the **OSGeo4Win network
installer** witch defaults the cache dir (http%...) in the position
where it is launched, also the cache dir can be customized if used in
advanced mode.

I totally agree that icons and start menu shortcuts could be handled
more graciously :)

best, roy

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

Re: [Qgis-developer] QGIS on Windows: order another desktop to accommodate all the icons

2016-03-13 Thread roy roy
Il giorno sab, 12/03/2016 alle 20.37 +0100, Anita Graser ha scritto:



> Or would you suggest to present the user with a dialog to chose which
> icons should be added to the Desktop?
> 
Of course a dialog where you can chose is the best solution,

thanks, roy.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


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

Re: [Qgis-developer] Aggregates within expression engine

2016-03-21 Thread roy roy

>
> So, thoughts and feedback welcome, no matter how off-the-cuff they are! ;)
>
> Nyall
>

Given that using SQL is maybe "harder", and that Mr. Paolo also have a 
good point
aiming to ease to use:
i would like just to remind what the very nature of a G.I.S. is,

namely a Database,

usually with an extra column that happens to be a geometry.

I can understand that inexperienced users can be a little confused by 
the SQL syntax
but if they want to do some *real work they will have to use QGIS as a 
database* so i would think
of a syntax that is closer to SQL than to anything else because sooner 
or later they will have to
learn SQL if they want to grow up.

I think that using anything else would in fact add an extra layer of 
complexity,
something pointless to learn and that conceals what's going on under the 
hood.

just my 2c,
best regards, Roy.

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

[Qgis-developer] GRASS Plugin missing g.copy?

2016-04-10 Thread roy roy
It seems that g.copy is not avalilable in GRASS Plugin, QGIS 2.14.1
is this a "bug" or am i missing something?

thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] GRASS Plugin missing g.copy?

2016-04-10 Thread roy roy


Il 10/04/2016 15:57, Blumentrath, Stefan ha scritto:
> Maybe the browser provides that functionality... I guess it does...
> Cheers
> Stefan

It does not but this is not the problem, i notice
that i cannot start g.copy from GRASS itself using
the shell, so it's not a "GRASS Plugin" issue but more
a GRASS GIS issue,

sorry and thaks anyway, roy



> 
> Von: Qgis-developer [qgis-developer-boun...@lists.osgeo.org] im Auftrag von 
> roy roy [royr...@outlook.com]
> Gesendet: Sonntag, 10. April 2016 13:06
> An: qgis-developer@lists.osgeo.org
> Betreff: [Qgis-developer] GRASS Plugin missing g.copy?
>
> It seems that g.copy is not avalilable in GRASS Plugin, QGIS 2.14.1
> is this a "bug" or am i missing something?
>
> thanks, Roy.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] GRASS Plugin missing g.copy?

2016-04-11 Thread roy roy
Thanks Stefan, very clear!

Il 10/04/2016 20:58, Blumentrath, Stefan ha scritto:
> Hi,
>
> I just tested the Browser in QGIS. It has indeed no "Copy" in the context 
> menu, just "Rename",  "Delete" or New vector layer.
> However, Drag and Drop works fine. So if you want to copy a GRASS map, just 
> drag it from the source to destination Mapset. Source and destination can be 
> the same. If a map exists you are asked to specify a name...
>
> Hence, g.copy is not present in the GRASS plugin in QGIS.
>
> For me (QGIS 2.14.0, GRASS 7.0.3, OSGeo4W), g.copy starts also on the 
> commandline. However, if you want to open the module GUI like that you have 
> to run:
> g.copy --ui
>
> Cheers
> Stefan
>
> -Original Message-
> From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On 
> Behalf Of roy roy
> Sent: 10. april 2016 16:11
> To: qgis-developer@lists.osgeo.org
> Subject: Re: [Qgis-developer] GRASS Plugin missing g.copy?
>
>
>
> Il 10/04/2016 15:57, Blumentrath, Stefan ha scritto:
>> Maybe the browser provides that functionality... I guess it does...
>> Cheers
>> Stefan
> It does not but this is not the problem, i notice that i cannot start g.copy 
> from GRASS itself using the shell, so it's not a "GRASS Plugin" issue but 
> more a GRASS GIS issue,
>
> sorry and thaks anyway, roy
>
>
>
>> 
>> Von: Qgis-developer [qgis-developer-boun...@lists.osgeo.org] im
>> Auftrag von roy roy [royr...@outlook.com]
>> Gesendet: Sonntag, 10. April 2016 13:06
>> An: qgis-developer@lists.osgeo.org
>> Betreff: [Qgis-developer] GRASS Plugin missing g.copy?
>>
>> It seems that g.copy is not avalilable in GRASS Plugin, QGIS 2.14.1 is
>> this a "bug" or am i missing something?
>>
>> thanks, Roy.
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] Preserving joined fields in Processing outputs

2016-04-11 Thread roy roy
I think in general a tool should not overcome his own purpose,
why does joins exists? to maintain data in different tables i think.

my 2c. roy

Il 11/04/2016 11.46, Alexander Bruy ha scritto:
> Hi all,
>
> and sorry for cross-posting.
>
> When cleaning Processing bug queue I found issue [0] about preserving
> joined fields in Procesing outputs. Before implementing this I want to hear
> opinions, does it makes sense at all or better to leave things as is: output
> layer contains only provider (non-joined, not virtual) fields from input 
> layer?
>
> Thanks
>
> [0] https://hub.qgis.org/issues/12893
>

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

Re: [Qgis-developer] debian testing/Linux: yellow non-readable tooltips except for gtk+

2016-04-14 Thread roy roy
Yes  i can confirm, since some years in ubuntu,
sometimes if you close&restart QGIS things get almost normal...
it's a bit annoying because the gtk theme take up
to much screen space

Il 14/04/2016 21:40, Richard Duivenvoorde ha scritto:
> Hi,
>
> since some days I have these yellow background/white character
> (unreadable) tooltips in my self compiled QGIS:
>
>

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

[Qgis-developer] GRASS Plugin Delete vector issue in windows

2016-04-18 Thread roy roy
Can anyone confirm this issue with GRASS Plugin on:

Windows 64/32bit with QGIS 2.14.1 and Master

GRASS 7.0.3 GRASS Plugin

If you load a vector layer from GRASS DB in QGIS Layers Panel,
then you remove it from the panel, still it is impossible to
delete the vector from GRASS DB using the Browser Panel delete function.

Step to reproduce:

- Load a vector file in a GRASS mapset using "v.in.ogr",
- press "View output" to load the vector in QGIS,
- remove the vector from QGIS Layers Panel
- In the Browser panel right click the vector and choose "delete"

the vector file is not deleted (or partially deleted?) and the geometry is 
corrupted
making the file unusable.

also: if you close QGIS and reopen it (before trying to delete the

vector file, the file in deleted without errors.

BTW This does not happens on Linux so it seems specific

to windows NTFS(?)

Thanks, Roy.




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

Re: [Qgis-developer] GRASS Plugin Delete vector issue in windows

2016-04-20 Thread roy roy

Ok thanks Nyall,

so what do you suggest to do about this,

i think it's really quite a issue although it

happens only on windows ...

Il 18/04/2016 12:10, Nyall Dawson ha scritto:

On 18 Apr 2016 19:42, "roy roy" 
mailto:royr...@outlook.com>> wrote:
>
> Can anyone confirm this issue with GRASS Plugin on:
>
> Windows 64/32bit with QGIS 2.14.1 and Master
>
> GRASS 7.0.3 GRASS Plugin
>
> If you load a vector layer from GRASS DB in QGIS Layers Panel,
> then you remove it from the panel, still it is impossible to
> delete the vector from GRASS DB using the Browser Panel delete function.


I can confirm - this happened to me last week on a Windows build.

Nyall


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

Re: [Qgis-developer] GRASS Plugin Delete vector issue in windows

2016-05-18 Thread roy roy
Thanks Radim,

i will text with next build !


Il 18/05/2016 15:03, Radim Blazek ha scritto:
> On Thu, Apr 21, 2016 at 8:45 AM, roy roy  wrote:
>> Ok thanks Nyall,
>>
>> so what do you suggest to do about this,
>> i think it's really quite a issue although it
>> happens only on windows ...
> I fixed that today in bbaef371. The code which should close the map
> was commented, which resulted in keeping the file open and
> impossibility to delete the vector on Windows. Please test with the
> next build.
>
> There was a comment about possible dead-lock, so please pay attention
> to possible freeze when a GRASS vector is deleted and fill a new bug
> in such case. I hope it is OK however.
>
> Radim
>
>> Il 18/04/2016 12:10, Nyall Dawson ha scritto:
>>
>>
>> On 18 Apr 2016 19:42, "roy roy"  wrote:
>>> Can anyone confirm this issue with GRASS Plugin on:
>>>
>>> Windows 64/32bit with QGIS 2.14.1 and Master
>>>
>>> GRASS 7.0.3 GRASS Plugin
>>>
>>> If you load a vector layer from GRASS DB in QGIS Layers Panel,
>>> then you remove it from the panel, still it is impossible to
>>> delete the vector from GRASS DB using the Browser Panel delete function.
>> I can confirm - this happened to me last week on a Windows build.
>>
>> Nyall
>>
>>
>>
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] GRASS Plugin Delete vector issue in windows

2016-05-19 Thread roy roy
Using osgeo4w64 I installed several packages, there is no GRASS Plugin:

QGIS 2.15 nightly with grass 7.0.4

QGIS 2.14.2 nightly with grass 7.0.4

tried also to revert back to GRASS 7.0.3 but there is no GRASS Plugin;

so for this reason, sadly, i cannot test your patch Radim, i'll do ASAP.

### P.S.

I notice that this "GRASS Plugin not being present" issue

is quite annoying, so i wonder what is the policy of

osgeo4w package update/upgrade? Should we consider the

network installer a developer tool and use the sandalone installer

for QGIS regular use instead?

QGIS and GRASS along with GRASS Plugin have became powerful

tools and I understand that ***a lot*** of work is done by developers to

develop, maintain, package, document and release the software, **a lot 
of valuable work(!)**;

sadly IMHO this random behaviour does not give justice to all the good 
dev work.

I think a bit of well delivered information should make things better, 
something

like the LTS release policy, now we normal users know that we can rely 
on it to do

normal work, and we can use regular release to get the newest 
functionalities.

Thanks again, Roy.



Il 18/05/2016 15:03, Radim Blazek ha scritto:
> On Thu, Apr 21, 2016 at 8:45 AM, roy roy  wrote:
>> Ok thanks Nyall,
>>
>> so what do you suggest to do about this,
>> i think it's really quite a issue although it
>> happens only on windows ...
> I fixed that today in bbaef371. The code which should close the map
> was commented, which resulted in keeping the file open and
> impossibility to delete the vector on Windows. Please test with the
> next build.
>
> There was a comment about possible dead-lock, so please pay attention
> to possible freeze when a GRASS vector is deleted and fill a new bug
> in such case. I hope it is OK however.
>
> Radim
>
>> Il 18/04/2016 12:10, Nyall Dawson ha scritto:
>>
>>
>> On 18 Apr 2016 19:42, "roy roy"  wrote:
>>> Can anyone confirm this issue with GRASS Plugin on:
>>>
>>> Windows 64/32bit with QGIS 2.14.1 and Master
>>>
>>> GRASS 7.0.3 GRASS Plugin
>>>
>>> If you load a vector layer from GRASS DB in QGIS Layers Panel,
>>> then you remove it from the panel, still it is impossible to
>>> delete the vector from GRASS DB using the Browser Panel delete function.
>> I can confirm - this happened to me last week on a Windows build.
>>
>> Nyall
>>
>>
>>
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] GRASS Plugin Delete vector issue in windows

2016-05-19 Thread roy roy
Il 19/05/2016 10:30, Radim Blazek ha scritto:
> On Thu, May 19, 2016 at 9:34 AM, roy roy  wrote:
>> Using osgeo4w64 I installed several packages, there is no GRASS Plugin:
>>
>> QGIS 2.15 nightly with grass 7.0.4
>>
>> QGIS 2.14.2 nightly with grass 7.0.4
>>
>> tried also to revert back to GRASS 7.0.3 but there is no GRASS Plugin;
>>
>> so for this reason, sadly, i cannot test your patch Radim, i'll do ASAP.
> AFAIK, there was no GRASS 64bit in OSGeo4W, thus no plugin in 64 bit
> version. Try 32 bit build.
>
> Radim
>

Hi, there is in fact GRASS 7.0.3 and 7.0.4 64 bit in OSGeo4W64
i'm indeed using QGIS 2.14.2 with GRASS 7.0.3, there is also
GRASS 7.0.4 but I reverted to GRASS 7.0.3 so that I can use
GRASS Plugin.

So with osgeo4w64, GRASS Plugin works with the current QGIS point 
release (2.14.2)
provided that you revert GRASS to 7.0.3, but it does not with nightly 
builds.

again I do not know what to do (somehow) ... should i stick with 32 bit ?
is OSGeo4W64 to be consitered unstable/experimental?

thanks, Roy.



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

[Qgis-developer] Regular layer show up as virtual layer in DBManager

2016-05-20 Thread roy roy
Hi,

I noticed tha regula layer are listed in DBManager as virtual layer,
is this expected behaviour?
I think they should not ... (?)  possibly a bug.

Thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Regular layer show up as virtual layer in DBManager

2016-05-20 Thread roy roy
Hi,

I noticed tha regular layers are listed in DBManager as virtual layer,
is this expected behaviour?
I think they should not ... (?)  possibly a bug.

Thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Virtual layer vs DBManager issue

2016-05-20 Thread roy roy
I was looking to the new virtual layer function and found
a possible bug:

Load a shapefile (or a spatialite layer or a postgis layer)
make a virtual layer ( select * from layer_name)
browsing layers in DBManager ( table, preview) will
remove layers from the Layer Panel (crearly an unwanted behaviour) 
corrupting the project
also QGIS will ultimately hang

Thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Regular layer show up as virtual layer in DBManager

2016-05-20 Thread roy roy
Thanks Nathan,

so I understand that regular layers have to be exposed
(at database level i guess ...) but I think they should not be
listed as virtual layers, it's confusing.
I don't know maybe if it's difficult to hide them, but
*they are not virtual layers*.
Just my 2c feedback, Roy.

Il 20/05/2016 10:46, Nathan Woodrow ha scritto:
>
> Expected. They are exposed as virtual layers so you can query them
>
>
> On Fri, 20 May 2016 6:33 pm roy roy  <mailto:royr...@outlook.com>> wrote:
>
> Hi,
>
> I noticed tha regular layers are listed in DBManager as virtual layer,
> is this expected behaviour?
> I think they should not ... (?)  possibly a bug.
>
> Thanks, Roy.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org <mailto:Qgis-developer@lists.osgeo.org>
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>

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

Re: [Qgis-developer] Autotrace stopped working?

2016-05-20 Thread roy roy
Good morning Paolo,

Il 21/05/2016 07:54, Paolo Cavallini ha scritto:
>
> * set the snapping options to 10 pixel, vertex only
> * start editing
> * click on Enable tracing
> * click on Add feature
> * first click outside current polygons, second close to it (I see the
> pink cross indicating snap)
> * I move close to the border, but no polygon is traced.
> All the best.
*just in case* have you tried to move close to another vertex (?)
since you have only snap to vertex, my install is working (OSGeo4W64)

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

Re: [Qgis-developer] Autotrace stopped working?

2016-05-20 Thread roy roy
Good morning Paolo,

Il 21/05/2016 07:54, Paolo Cavallini ha scritto:
>
> * set the snapping options to 10 pixel, vertex only
> * start editing
> * click on Enable tracing
> * click on Add feature
> * first click outside current polygons, second close to it (I see the
> pink cross indicating snap)
> * I move close to the border, but no polygon is traced.
> All the best.
*just in case* have you tried to move close to another vertex (?)
since you have only snap to vertex, my install is working (OSGeo4W64)

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

Re: [Qgis-developer] GRASS Plugin Delete vector issue in windows

2016-05-21 Thread roy roy


Il 19/05/2016 10:30, Radim Blazek ha scritto:
> On Thu, May 19, 2016 at 9:34 AM, roy roy  wrote:
>> Using osgeo4w64 I installed several packages, there is no GRASS Plugin:
>>
>> QGIS 2.15 nightly with grass 7.0.4
>>
>> QGIS 2.14.2 nightly with grass 7.0.4
>>
>> tried also to revert back to GRASS 7.0.3 but there is no GRASS Plugin;
>>
>> so for this reason, sadly, i cannot test your patch Radim, i'll do ASAP.
> AFAIK, there was no GRASS 64bit in OSGeo4W, thus no plugin in 64 bit
> version. Try 32 bit build.
>
> Radim
>

Ok i'm testing OSGeo4W in 32 bit virtual machine, GRASS Plugin is not 
showing up
on QGIS 2.0.15 nightly; anyway this is more an OSGEO installer issue 
than a QGIS
issue i think.

>> ### P.S.
>>
>> I notice that this "GRASS Plugin not being present" issue
>>
>> is quite annoying, so i wonder what is the policy of
>>
>> osgeo4w package update/upgrade? Should we consider the
>>
>> network installer a developer tool and use the sandalone installer
>>
>> for QGIS regular use instead?
>>
>> QGIS and GRASS along with GRASS Plugin have became powerful
>>
>> tools and I understand that ***a lot*** of work is done by developers to
>>
>> develop, maintain, package, document and release the software, **a lot
>> of valuable work(!)**;
>>
>> sadly IMHO this random behaviour does not give justice to all the good
>> dev work.
>>
>> I think a bit of well delivered information should make things better,
>> something
>>
>> like the LTS release policy, now we normal users know that we can rely
>> on it to do
>>
>> normal work, and we can use regular release to get the newest
>> functionalities.
>>
>> Thanks again, Roy.
>>
>>
>>
>> Il 18/05/2016 15:03, Radim Blazek ha scritto:
>>> On Thu, Apr 21, 2016 at 8:45 AM, roy roy  wrote:
>>>> Ok thanks Nyall,
>>>>
>>>> so what do you suggest to do about this,
>>>> i think it's really quite a issue although it
>>>> happens only on windows ...
>>> I fixed that today in bbaef371. The code which should close the map
>>> was commented, which resulted in keeping the file open and
>>> impossibility to delete the vector on Windows. Please test with the
>>> next build.
>>>
>>> There was a comment about possible dead-lock, so please pay attention
>>> to possible freeze when a GRASS vector is deleted and fill a new bug
>>> in such case. I hope it is OK however.
>>>
>>> Radim
>>>
>>>> Il 18/04/2016 12:10, Nyall Dawson ha scritto:
>>>>
>>>>
>>>> On 18 Apr 2016 19:42, "roy roy"  wrote:
>>>>> Can anyone confirm this issue with GRASS Plugin on:
>>>>>
>>>>> Windows 64/32bit with QGIS 2.14.1 and Master
>>>>>
>>>>> GRASS 7.0.3 GRASS Plugin
>>>>>
>>>>> If you load a vector layer from GRASS DB in QGIS Layers Panel,
>>>>> then you remove it from the panel, still it is impossible to
>>>>> delete the vector from GRASS DB using the Browser Panel delete function.
>>>> I can confirm - this happened to me last week on a Windows build.
>>>>
>>>> Nyall
>>>>
>>>>
>>>>
>>>>
>>>> ___
>>>> Qgis-developer mailing list
>>>> Qgis-developer@lists.osgeo.org
>>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] Virtual layer vs DBManager issue

2016-05-30 Thread roy roy

Il 20/05/2016 14:07, johnrobot ha scritto:
> Hi
> This sound like the bug discussed in
> http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-td5262903.html.
>
> Magnus
>
>

It could be related but what i'm describing is different,
should I open a tiket about this?

Thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Advenced digitizing rotate tool warps geometries

2016-05-30 Thread roy roy
As per subject the advanced digitizing tool warps
the geometry when used, e.g.

draw an orizontal line and rotate till it's vertical or almost vertical
confirm the action and the line will be much longer; this will
happen also with areas.

I've searched in the bug traking system and could not
find this possible bug, if you can confirm i'll open a ticket

thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Advenced digitizing rotate tool warps geometries

2016-05-31 Thread roy roy
I notice that this only happens if you are using a
geographic coordinate system for the layer,
it seems ok with projected systems

Il 30/05/2016 12:54, roy roy ha scritto:
> As per subject the advanced digitizing tool warps
> the geometry when used, e.g.
>
> draw an orizontal line and rotate till it's vertical or almost vertical
> confirm the action and the line will be much longer; this will
> happen also with areas.
>
> I've searched in the bug traking system and could not
> find this possible bug, if you can confirm i'll open a ticket
>
> thanks, Roy.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

[Qgis-developer] About feature simplification rendering

2016-06-03 Thread roy roy
Hi, i've searched in the docs and the web and cannot find
this info, just because i'd like to be sure:

Can the use of feature simplification (Option Rendering) affect
in any way my geoprocessing workflow (e.g. using clip, difference etc...)?
i ran some test and it seems it does not, i.e. geoprocessing results are
not affected by feature simplification option (as it should be I think)
Am I correct?

Thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] About feature simplification rendering

2016-06-03 Thread roy roy
Thank you very mutch Nathan and Alvaro!
Now it's more clear to me, I think this
is very important:

If you have a postgis layer with $area expressions, you only can use 
local simplification

Il 03/06/2016 12:28, A Huarte ha scritto:
> Hi, a few days ago a related pull was merged:
>
> https://github.com/qgis/QGIS/pull/2900
>
> As Nathan said, the simplification only runs in rendering tasks, but 
> before this pull, the original geometry readed from a data source 
> could be simplified when the "simplify" flag is defined in the 
> QgsFeatureRequest used by a FeatureIterator.
>
> Now the geometries never are simplified, the simplification runs using 
> its WKB representation just before it is drawn.
>
> Alvaro
>
> ------------
> *De:* Nathan Woodrow 
> *Para:* roy roy 
> *CC:* qgis-developer 
> *Enviado:* Viernes 3 de junio de 2016 12:11
> *Asunto:* Re: [Qgis-developer] About feature simplification rendering
>
> Hey Roy,
>
> Simplification is only for display reasons. Editing will return the 
> full geometry or else that would be bad.
>
> - Nathan
>
> On Fri, Jun 3, 2016 at 8:04 PM, roy roy  <mailto:royr...@outlook.com>> wrote:
>
> Hi, i've searched in the docs and the web and cannot find
> this info, just because i'd like to be sure:
>
> Can the use of feature simplification (Option Rendering) affect
> in any way my geoprocessing workflow (e.g. using clip, difference
> etc...)?
> i ran some test and it seems it does not, i.e. geoprocessing
> results are
> not affected by feature simplification option (as it should be I
> think)
> Am I correct?
>
> Thanks, Roy.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org <mailto:Qgis-developer@lists.osgeo.org>
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org <mailto:Qgis-developer@lists.osgeo.org>
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>

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

[Qgis-developer] Processing Tool clip raster by mask layer (gdalwarp) "open output file" issue

2016-06-07 Thread roy roy
QGIS 2.14.3 osgeo4w64

Using the Processing tool "clip raster by mask layer"
the resulting raster is assigned a wrong CRS when loaded
in QGIS even if "Prompt for CRS" QGIS option is selected

Thanks Roy
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [QGIS-UX] Print layout: canvas extent not updated

2016-06-11 Thread roy roy
  very often composer layout scale have nothing to do with canvas 
workflow, it should be "static"
as the current behaviour,
thanks, Roy

Il 11/06/2016 13:52, Nathan Woodrow ha scritto:
> +1 for what is currently there.  One of the main reasons I move from 
> MapInfo to QGIS was this, annoying when you are editing and return to 
> print and it's moved on you.
>
> On Sat, Jun 11, 2016 at 9:44 PM, Anita Graser  <mailto:anitagra...@gmx.at>> wrote:
>
> On Sat, Jun 11, 2016 at 1:32 PM, Paolo Cavallini
> mailto:cavall...@faunalia.it>> wrote:
>
> Il 2016-06-10 19:34 DelazJ ha scritto:
>
> You mean the first time the print layout is opened
> (created). If so,
> yes this is the way it used to work (and I think it still
> does): at
> the creation the map extent is picked from the canvas.
>
> But imo there's no reason to have the composer map item
> extent synced
> with map canvas each time it's opened.
>
>
> I'm not sure this is what an user expects. IMHO the typical
> use case is: I zoom to the area and scale of interest, open a
> print layout, and go on printing the same area.
> Am I the only one expecting this?
>
>
> ​Maybe I'm just used to the current behavior, but for most of my
> usecases the extent of the print map should stay same while I
> might be busy fixing details in the main window (and thus zooming
> and panning around there).
>
> That's why the current behavior works well for me.
>
> (cc-ing the UX list for input)
>
> Best wishes,
> Anita​
>
>
> ___
> QGIS-UX mailing list
> qgis...@lists.osgeo.org <mailto:qgis...@lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/qgis-ux
>
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] [QGIS-UX] Print layout: canvas extent not updated

2016-06-12 Thread roy roy

Il 11/06/2016 20:54, Paolo Cavallini ha scritto:
>  Maybe better to zoom at first project opening,

I think this would be bad, because it would modify all layout scales 
settings
and i would call this behaviour data corruption

> or what a layout is added, would be useful?
> All the best.
>
i do not have strong opinion on this although i think that any
behaviour that automatically change user's express settings
is not to be pursuit

thanks, Roy

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

Re: [Qgis-developer] Groups not desappearing from legend when filtered

2016-06-15 Thread roy roy

> Hi all,
> in print layout, if I filter only visible element to be shown in the
> legend, this works. Apparently however the names of empty groups are
> shown anyway: am I wrong? Should I open a ticket?
> Thanks.
I can confirm this behaviour, i agree that empty groups should be 
filtered as well
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] GRASS Plugin Delete vector issue in windows

2016-06-18 Thread roy roy

Il 18/05/2016 15:03, Radim Blazek ha scritto:
>
> I fixed that today in bbaef371. The code which should close the map
> was commented, which resulted in keeping the file open and
> impossibility to delete the vector on Windows. Please test with the
> next build.
>
> There was a comment about possible dead-lock, so please pay attention
> to possible freeze when a GRASS vector is deleted and fill a new bug
> in such case. I hope it is OK however.
>
> Radim
>
Hi,
I found GRASS GIS Plugin back on track on QGIS 2.15-dev and just tested 
to load and
delete some vector files, the layer is deleted with no leftover so 
everithing seems good now,

thank you, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Map Composer "dinamic" number of pages based on attribute table

2016-07-03 Thread roy roy
Hi,

I'm trying to understand if it is possible to dinamically set up
the number of pages of the Map Composer, i would like
to create some reports with a map and attribute table/tables
based on  query results, of course the resulting table can have
a variable number of items, requiring one or more pages;
so before trying to "reinvent the wheel" i'm looking for some
pyqgis function or method (if it exists) or some suggestion.
I found that "Reportlab" could handle such scenario but is
it possible to achieve something similar using only pyqgis?

Thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Set Composer scale with pyqgis

2016-07-07 Thread roy roy
Hi, I'm trying to print a map using pyqgis and an existing template:

# i already loaded a layer and zoomed to the layer:

qgis.utils.iface.zoomToActiveLayer()

# now i need to zoom to a "precise" scale
canvas = qgis.utils.iface.mapCanvas()
canvas.zoomScale(2500) # this works for the canvas not in the composer

# load the template
template_file = file(template_path)
template_content = template_file.read()
template_file.close()
document = QDomDocument()
document.setContent(template_content)
composition = QgsComposition(canvas.mapSettings())
composition.loadFromTemplate(document)
map_item = composition.getComposerItemById('map')
map_item.setMapCanvas(canvas)

# at this point i need to set the extent to fit the layer
map_item.zoomToExtent(canvas.extent()) # this will not be in scale 2500 
of course

now i need the scale to be say 2500 but i cannot find how to
set the value

thanks for any help, Roy

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

Re: [Qgis-developer] Set Composer scale with pyqgis

2016-07-11 Thread roy roy
Hi,

still the only way i found to set the composer
map is using

zoomToExtent(canvas.extent())

but not able to set a custom defined scale,
any hint to find some documentation
or some way to set the composer scale using pyQGIS?
thanks again

Il 07/07/2016 12:59, roy roy ha scritto:
> Hi, I'm trying to print a map using pyqgis and an existing template:
>
> # i already loaded a layer and zoomed to the layer:
>
> qgis.utils.iface.zoomToActiveLayer()
>
> # now i need to zoom to a "precise" scale
> canvas = qgis.utils.iface.mapCanvas()
> canvas.zoomScale(2500) # this works for the canvas not in the composer
>
> # load the template
> template_file = file(template_path)
> template_content = template_file.read()
> template_file.close()
> document = QDomDocument()
> document.setContent(template_content)
> composition = QgsComposition(canvas.mapSettings())
> composition.loadFromTemplate(document)
> map_item = composition.getComposerItemById('map')
> map_item.setMapCanvas(canvas)
>
> # at this point i need to set the extent to fit the layer
> map_item.zoomToExtent(canvas.extent()) # this will not be in scale 2500
> of course
>
> now i need the scale to be say 2500 but i cannot find how to
> set the value
>
> thanks for any help, Roy
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] Set Composer scale with pyqgis

2016-07-11 Thread roy roy
Hi,

for some reason my email client did not download
or received the answer to my question, sent by "boesiii",
that i find righ now browsing the mailing list archive.

So, using

map_item.setNewScale(canvas.scale())


i can surely set the scale for the map composer

thank you Boesiii

and sorry to the list for my second
message.


Il 11/07/2016 09:55, roy roy ha scritto:
> Hi,
>
> still the only way i found to set the composer
> map is using
>
> zoomToExtent(canvas.extent())
>
> but not able to set a custom defined scale,
> any hint to find some documentation
> or some way to set the composer scale using pyQGIS?
> thanks again
>
> Il 07/07/2016 12:59, roy roy ha scritto:
>> Hi, I'm trying to print a map using pyqgis and an existing template:
>>
>> # i already loaded a layer and zoomed to the layer:
>>
>> qgis.utils.iface.zoomToActiveLayer()
>>
>> # now i need to zoom to a "precise" scale
>> canvas = qgis.utils.iface.mapCanvas()
>> canvas.zoomScale(2500) # this works for the canvas not in the composer
>>
>> # load the template
>> template_file = file(template_path)
>> template_content = template_file.read()
>> template_file.close()
>> document = QDomDocument()
>> document.setContent(template_content)
>> composition = QgsComposition(canvas.mapSettings())
>> composition.loadFromTemplate(document)
>> map_item = composition.getComposerItemById('map')
>> map_item.setMapCanvas(canvas)
>>
>> # at this point i need to set the extent to fit the layer
>> map_item.zoomToExtent(canvas.extent()) # this will not be in scale 2500
>> of course
>>
>> now i need the scale to be say 2500 but i cannot find how to
>> set the value
>>
>> thanks for any help, Roy
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] Processing takes a very long time to close the Options popup

2016-10-26 Thread roy roy

Il 26/10/2016 17:40, Victor Olaya ha scritto:
> is that on master?
>
> I detected that and found out that the grass icon, being a SVG, was
> causing that delay, since it was loaded hundreds of times

Hi, not shure if this can be related to this issue i found today
about SVG symbols Path:

http://hub.qgis.org/issues/15759

maybe you had hundreds of duplicated path(?)
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] SVG Path duplicated and wrong (was: Re: Processing takes a very long time to close the Options popup)

2016-10-27 Thread roy roy


Il 26/10/2016 22:58, Nyall Dawson ha scritto:


Can you try with 2.18/2.14.8. This issue was fixed recently, 
but since 2.16 is end of lifed it didnt receive the fix.

Nyall


I can confirm tha the issue is still there in windows 2.14.8 OSGeo4W64:


http://hub.qgis.org/issues/15759

the path seems also wrong indeed:

C:/Users/user/.qgis2//svg/
C:/OSGEO4~1/apps/qgis-ltr/./svg/


sorry Paolo for hijaking the tread.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Field Menu Range settings odd behaviour

2016-11-17 Thread roy roy
Hi,

working with field menu (QGIS 2.14.8 OSGEO4W64) i noted a behaviour that 
i find misleading and

could potentially lead to severe errors in edit session:

say that i want to set a range for an integer field with

min value 1

max value 5

step 1

at this point i would expect that QGIS only accepts "1 2 3 4 5" and 
throw an error if i insert 6

while editing; infact if i erroneously insert "6" QGIS will not complain 
and happily save the

maximun value for range (i.e 5) i find this odd and a way to defeat the 
hole pourpose of my

setting.

I think this is a bug, can anyone confirm? If this is the expected 
behaviour i think the logic

of this tool is flawed because QGIS should not insert values at his own 
will but should instead warn the

user that the value is outside the expected range.


Thanks, Roy.





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

Re: [Qgis-developer] Field Menu Range settings odd behaviour

2016-11-21 Thread roy roy
Hi:)
Anybody interest in this issue?

Il 17/11/2016 11:36, roy roy ha scritto:
> Hi,
>
> working with field menu (QGIS 2.14.8 OSGEO4W64) i noted a behaviour that
> i find misleading and
>
> could potentially lead to severe errors in edit session:
>
> say that i want to set a range for an integer field with
>
> min value 1
>
> max value 5
>
> step 1
>
> at this point i would expect that QGIS only accepts "1 2 3 4 5" and
> throw an error if i insert 6
>
> while editing; infact if i erroneously insert "6" QGIS will not complain
> and happily save the
>
> maximun value for range (i.e 5) i find this odd and a way to defeat the
> hole pourpose of my
>
> setting.
>
> I think this is a bug, can anyone confirm? If this is the expected
> behaviour i think the logic
>
> of this tool is flawed because QGIS should not insert values at his own
> will but should instead warn the
>
> user that the value is outside the expected range.
>
>
> Thanks, Roy.
>
>
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] Field Menu Range settings odd behaviour

2016-11-21 Thread roy roy
Ok, Thanks !!


Il 21/11/2016 09:40, Matthias Kuhn ha scritto:
> Hi,
>
> With QGIS 2.16 constraints have been introduced that are able to check
> entered values and provide feedback as well as prevent the user from
> clicking ok:
>
> https://www.qgis.org/en/site/forusers/visualchangelog216/index.html#feature-constraints-on-widgets
>
> All the best
> Matthias
>
> On 11/21/2016 09:18 AM, roy roy wrote:
>> Hi:)
>> Anybody interest in this issue?
>>
>> Il 17/11/2016 11:36, roy roy ha scritto:
>>> Hi,
>>>
>>> working with field menu (QGIS 2.14.8 OSGEO4W64) i noted a behaviour that
>>> i find misleading and
>>>
>>> could potentially lead to severe errors in edit session:
>>>
>>> say that i want to set a range for an integer field with
>>>
>>> min value 1
>>>
>>> max value 5
>>>
>>> step 1
>>>
>>> at this point i would expect that QGIS only accepts "1 2 3 4 5" and
>>> throw an error if i insert 6
>>>
>>> while editing; infact if i erroneously insert "6" QGIS will not complain
>>> and happily save the
>>>
>>> maximun value for range (i.e 5) i find this odd and a way to defeat the
>>> hole pourpose of my
>>>
>>> setting.
>>>
>>> I think this is a bug, can anyone confirm? If this is the expected
>>> behaviour i think the logic
>>>
>>> of this tool is flawed because QGIS should not insert values at his own
>>> will but should instead warn the
>>>
>>> user that the value is outside the expected range.
>>>
>>>
>>> Thanks, Roy.
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] New feature proposal for the Dissolve tool

2017-02-22 Thread roy roy
Hi Marco,

there is an OGR geoalgorithm that seems to do what you are describing

in QGIS Processing (Dissolve polygons) maybe its easy to adapt it

to also work with lines ...

Il 22/02/2017 10:32, Marco Grisolia ha scritto:
Hi,
I recently answered to a question on GIS StackExchange [0]. In this question, 
the asker was looking for a way for dissolving features using an adjacency 
criterion instead of using common attribute field (please, follow the link 
below for a better understanding). This feature is already available in the 
analogous ArcGIS tool when the"Create multipart features" option is enabled and 
I think it could be of interest having an additional option like this in the 
"Dissolve" tool main dialog for next releases.
I never submitted a feature request on the QGIS Project site but, since there 
is already a (very rough) code and a general idea on how to approach the issue, 
I didn't know if this was the case of adding it there. Otherwise, let me know 
if I need to add it on the QGIS Project site (if this is the case, I'm sorry 
for wasting your time).
Regards,
Marco


[0] http://gis.stackexchange.com/questions/228267/merging-adjacent-lines-in-qgis



___
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] New feature proposal for the Dissolve tool

2017-02-22 Thread roy roy
Hi Anita, that does not do what Marco is asking for, because you get a 
multipart geometry;

he needs a linestring geometry I think...

Il 22/02/2017 11:10, Anita Graser ha scritto:
Hi Marco,

The Dissolve tool already has a "unique fields" option. It sounds like you are 
reinventing that.

Best wishes,
Anita



On Wed, Feb 22, 2017 at 10:32 AM, Marco Grisolia 
mailto:marco.grisol...@gmail.com>> wrote:
Hi,
I recently answered to a question on GIS StackExchange [0]. In this question, 
the asker was looking for a way for dissolving features using an adjacency 
criterion instead of using common attribute field (please, follow the link 
below for a better understanding). This feature is already available in the 
analogous ArcGIS tool when the"Create multipart features" option is enabled and 
I think it could be of interest having an additional option like this in the 
"Dissolve" tool main dialog for next releases.
I never submitted a feature request on the QGIS Project site but, since there 
is already a (very rough) code and a general idea on how to approach the issue, 
I didn't know if this was the case of adding it there. Otherwise, let me know 
if I need to add it on the QGIS Project site (if this is the case, I'm sorry 
for wasting your time).
Regards,
Marco


[0] http://gis.stackexchange.com/questions/228267/merging-adjacent-lines-in-qgis

___
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

Re: [Qgis-developer] Field Menu Range settings odd behaviour

2017-02-22 Thread roy roy
Hi,

working with Field menu range in QGIS 2.18 I notice that the problem

is still there despite the introduction of costraint:

say that i want to set a range for an integer field
called "numfield" with

min value 1

max value 5

step 1

at this point i would expect that QGIS only accepts "1 2 3 4 5" and
throw an error if i insert 6

to enforce this behaviour I set some costraints:

not NULL

"numfield" >= 1 AND "numfield" <=5

while editing infact if i erroneously insert "6" QGIS will not complain
and will happily save the maximun value for range (i.e. 5) i find this odd
and a way to defeat the hole pourpose of my setting.

What is really happening is that QGIS automatically change the value I insert
with the max range value which is clearly an error that leads to data 
corruption;

if someone can confirm i'll open a Bug report.

Thanks, Roy.




Il 21/11/2016 09:40, Matthias Kuhn ha scritto:
> Hi,
>
> With QGIS 2.16 constraints have been introduced that are able to check
> entered values and provide feedback as well as prevent the user from
> clicking ok:
>
> https://www.qgis.org/en/site/forusers/visualchangelog216/index.html#feature-constraints-on-widgets
>
> All the best
> Matthias
>
> On 11/21/2016 09:18 AM, roy roy wrote:
>> Hi:)
>> Anybody interest in this issue?
>>
>> Il 17/11/2016 11:36, roy roy ha scritto:
>>> Hi,
>>>
>>> working with field menu (QGIS 2.14.8 OSGEO4W64) i noted a behaviour that
>>> i find misleading and
>>>
>>> could potentially lead to severe errors in edit session:
>>>
>>> say that i want to set a range for an integer field with
>>>
>>> min value 1
>>>
>>> max value 5
>>>
>>> step 1
>>>
>>> at this point i would expect that QGIS only accepts "1 2 3 4 5" and
>>> throw an error if i insert 6
>>>
>>> while editing; infact if i erroneously insert "6" QGIS will not complain
>>> and happily save the
>>>
>>> maximun value for range (i.e 5) i find this odd and a way to defeat the
>>> hole pourpose of my
>>>
>>> setting.
>>>
>>> I think this is a bug, can anyone confirm? If this is the expected
>>> behaviour i think the logic
>>>
>>> of this tool is flawed because QGIS should not insert values at his own
>>> will but should instead warn the
>>>
>>> user that the value is outside the expected range.
>>>
>>>
>>> Thanks, Roy.
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://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] Ubuntu snap for QGIS

2017-03-19 Thread roy roy
I "discovered" that ubuntu is promoting an universal package manage,

"ubuntu snap", that seems to have some advantages like isolation

and parallel installation of different versions of the program,

could it be interesting for QGIS to have snap packages?

___
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 in Ubuntu 16.04

2017-03-29 Thread roy roy
I wonder if someone has advice on how to have

QGIS and GRASS GIS installed on Ubuntu, the

QGIS packages with "ubuntugis" dependencies are now broken:

http://hub.qgis.org/issues/16386

"Yesterday, UbuntuGIS got a GDAL 2.1.3 update, so QGIS need to be rebuilt
against that version."

Is it possible for QGIS to be rebuilt with the updated libraries?

I know QGIS is rebuild every month but will it be now?

You guys want to force me to use windows, you have to admit that! :-)

given that I (of course) appreciate the effort of maintainers,

thanks, Roy.
___
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 in Ubuntu 16.04

2017-03-30 Thread roy roy
It's already fixed, i'm sticking with Ubuntu then.

Thanks to maintainers for the great work!!


> QGIS and GRASS GIS installed on Ubuntu, the
>
> QGIS packages with "ubuntugis" dependencies are now broken:
>
> http://hub.qgis.org/issues/16386
>
> "Yesterday, UbuntuGIS got a GDAL 2.1.3 update, so QGIS need to be rebuilt
> against that version."
>
> Is it possible for QGIS to be rebuilt with the updated libraries?
>
> I know QGIS is rebuild every month but will it be now?
>
> You guys want to force me to use windows, you have to admit that! :-)
>
> given that I (of course) appreciate the effort of maintainers,
>
> thanks, Roy.
> ___
> 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] Processing UI looks strange

2017-04-01 Thread roy roy

Hi, witch version of QGIS are you using,
I don't see this problems in 2.14 Ubuntu


I noticed since a couple of days that the UI of Processing look like it
is not gridded (see attachment).

Is this something of my local machine?

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

___
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] A couple of ideas for QGIS

2017-04-03 Thread roy roy
Dear QGIS Developers,

I think QGIS would benefit adding the following features;
if you find them interesting they may be added to QGIS 3.0:

1 - Better support for Spatialite tables:

it is now impossible to remove columns from a spatialite
table, i know it's not supported by SQLite but there is a
simple work around that consists in creating a new table
without the removed column/s

2 - Save project data into SQLite/Spatialite db:

this would grant users the choice to save all the work
in one unique file ( data, layer style ), very handy for
backups and sharing/shipping

i'm not a c++ developer but i can help with docs
and testing.
best regards,

Roy.


___
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] A couple of ideas for QGIS

2017-04-05 Thread roy roy

Thanks Mattias for the info,

I do not have a predetermined preference
between geopackage and spatialite

if you don't mind,

i do not know very well the gpkg format but
I understand that it's not spatialite.

I'd like to understand the pros or cons
between the two formats

does geopackage support:

-SQLite SQL language with triggers
joins aggregate etc..

-SQL spatial query

-coordinate tranformation

-SQL VIEWS

-non spatial tables

-i mean is it a fully featured database
or does it uses another language ?

-High level difference beetween geopackage
and spatialite?

I can grasp spatialite in 5 min knowing
that i'ts a fully featured SQL relational database
but cannot wrap my head around geopackage:

"GeoPackage Encoding Standard governs the rules and requirements of content
stored in a GeoPackage container" ...so is geopackage a set of rules on 
how data
should be store into an SQLite database?

in the end (for now) i find spatialite much more
intuitive and i think QGIS would benefit
supporting at least point 1 (drop column from spatialite)

thanks for any insight, Roy.

> Hi Roy,
>
> These are both addressed for geopackage already.
>
> Number one is a core feature (thanks to Even Rouault), number two is a
> plugin called "qgpkg" (thanks to Sourcepole) and would IMO really be a
> good candidate for core functionality.
>
> Bests
>
> Matthias
>
> On 4/3/17 9:37 AM, roy roy wrote:
>> Dear QGIS Developers,
>>
>> I think QGIS would benefit adding the following features;
>> if you find them interesting they may be added to QGIS 3.0:
>>
>> 1 - Better support for Spatialite tables:
>>
>> it is now impossible to remove columns from a spatialite
>> table, i know it's not supported by SQLite but there is a
>> simple work around that consists in creating a new table
>> without the removed column/s
>>
>> 2 - Save project data into SQLite/Spatialite db:
>>
>> this would grant users the choice to save all the work
>> in one unique file ( data, layer style ), very handy for
>> backups and sharing/shipping
>>
>> i'm not a c++ developer but i can help with docs
>> and testing.
>> best regards,
>>
>> Roy.
>>
>>
>> ___
>> 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] Processing toolbox SAGA not working

2017-05-04 Thread roy roy
Hi,


i'm experiencing problems with saga

in processing toolbox, SAGA modules they do

not work, it seems like SAGA have been updated (2.3.1)

but processing is not longer compatible with the new

version, is this true or do I have a specific problem with

my setup ?


thanks!

___
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-developer] Processing toolbox SAGA not working

2017-05-09 Thread roy roy
Thanks for the helpful info Giovanni!



Il 04/05/2017 21:40, Giovanni Manghi ha scritto:
> Hi,
>
>
>
>> i'm experiencing problems with saga
>>
>> in processing toolbox, SAGA modules they do
>>
>> not work, it seems like SAGA have been updated (2.3.1)
>>
>> but processing is not longer compatible with the new
>>
>> version, is this true or do I have a specific problem with
>>
>> my setup ?
>
> yes, there are known issues. If you use Windows/osgeo4w for now is
> better to stick with SAGA 2.1.2 (from osgeo4w)
>
> https://issues.qgis.org/issues/16423
>
> the above issue is not a Processing one, but rather a packing one.
>
> 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 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] Lizmap web client print tool

2014-11-07 Thread Roy

Dear list,

i'm trying lizmap web client and can't get how the print tool
is to be configured.

I'm using ubuntu server 12.04 with qgis-server (2.6.0.);
for the QGIS project i'm using QGIS 2.0.6.
The Lizmap (2.10.0) demo works, also the print tool works for the demo 
project,

so i think i'm doing somethin wrong with my configuration:

for the test i set up a couple of vector layers and prepared a simple
layout with QGIS composer with a map, legend and a title;
anyway when i open the project the print icon does not appear
in the lizmap toolbar, even if the print tool is checked in lizmap plugin;

any hint or redirect to relevant documentation is very apreciated,

thanks and compliments for the grat job with this tools,

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


Re: [Qgis-developer] Lizmap web client print tool

2014-11-07 Thread Roy


Il 07/11/2014 11.54, Andreas Neumann ha scritto:

hm - I can't tell you exactly what the problem is.

BUT: you cannot mix versions. If your server runs on QGIS 2.6, your 
client where you prepare the project also needs to be of the same 
version 2.6. Those different versions are not necessarily compatible.

Dear Andreas,

thanks for your replay,

actually i inverted 0 and 6 in my previous email sorry for the mess !

i'm using QGIS 2.6.0 both in client (Desktop) and server side.

Also i wonder if using QGIS desktop on Windows, to setup the project
and the composer template, is "safe" considering that the server is 
Ubuntu/Linux...


anyway i'm not able to get the print tool to work preparing the project 
and template

in Windows, nor in Linux ...

thanks again,

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


Re: [Qgis-developer] Lizmap web client print tool

2014-11-07 Thread Roy

Ddear Renè-Luc,

thanks for you answer

Il 07/11/2014 12.30, René-Luc Dhont ha scritto:

Hi Roy,

The documentation is not fully in english but the documentation exists 
in French.

The page about configuring print is here :
http://docs.3liz.com/fr/publisher_guide/advanced_lizmap_config.html#configurer-l-impression 



Do you have activated Print capabilities for the map in lizmap plugin ?



Yes indeed, in the "Map" tab of the Lizmap plugin i activated the 
"Simple print" option


from the docs you pointed (i don't know french sadly) but with Google 
Translate i understand that

only the map element is mandatory and other elements can be set up as
north arrow and legend etc..;

the template i'm testing only has a map element in A4 landscape page


in the apache log i get

[Thu Nov 06 16:25:37 2014] [error] [client 127.0.0.1] Warning 1: Unable 
to find driver JP2ECW to unload from GDAL_SKIP environment variable.
[Thu Nov 06 16:25:37 2014] [error] [client 127.0.0.1] Warning 1: Unable 
to find driver ECW to unload from GDAL_SKIP environment variable.


but print in the "Lizmap Demo" works so maybe not related...


thanks again,

Roy

Regards,
René-Luc D'Hont
3Liz

Le 07/11/2014 12:17, Roy a écrit :


Il 07/11/2014 11.54, Andreas Neumann ha scritto:

hm - I can't tell you exactly what the problem is.

BUT: you cannot mix versions. If your server runs on QGIS 2.6, your 
client where you prepare the project also needs to be of the same 
version 2.6. Those different versions are not necessarily compatible.

Dear Andreas,

thanks for your replay,

actually i inverted 0 and 6 in my previous email sorry for the mess !

i'm using QGIS 2.6.0 both in client (Desktop) and server side.

Also i wonder if using QGIS desktop on Windows, to setup the project
and the composer template, is "safe" considering that the server is 
Ubuntu/Linux...


anyway i'm not able to get the print tool to work preparing the 
project and template

in Windows, nor in Linux ...

thanks again,

Roy.
___
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


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


Re: [Qgis-developer] Lizmap web client print tool

2014-11-07 Thread Roy

Dear Renè-Luc,

thank you very much for your help,

i can confirm you that with the first test the "Print Tool" is working
on your release_2_10,

best regards,
Roy.

Il 07/11/2014 16.02, René-Luc Dhont ha scritto:

Hi Roy,

I take a look at the commit list in lizmap-web-client release 2.10 and 
we fixed this bug after the release.

https://github.com/3liz/lizmap-web-client/commits/release_2_10

We need to publish a bugfix release just for QGIS 2.6. The issue is 
due to the new way to define overview in the QGIS Project XML.

You can download an intermediate here :
https://github.com/3liz/lizmap-web-client/archive/release_2_10.zip


Regards,
René-Luc D'Hont
3Liz

Le 07/11/2014 15:27, Roy a écrit :

Ddear Renè-Luc,

thanks for you answer

Il 07/11/2014 12.30, René-Luc Dhont ha scritto:

Hi Roy,

The documentation is not fully in english but the documentation 
exists in French.

The page about configuring print is here :
http://docs.3liz.com/fr/publisher_guide/advanced_lizmap_config.html#configurer-l-impression 



Do you have activated Print capabilities for the map in lizmap plugin ?



Yes indeed, in the "Map" tab of the Lizmap plugin i activated the 
"Simple print" option


from the docs you pointed (i don't know french sadly) but with Google 
Translate i understand that

only the map element is mandatory and other elements can be set up as
north arrow and legend etc..;

the template i'm testing only has a map element in A4 landscape page


in the apache log i get

[Thu Nov 06 16:25:37 2014] [error] [client 127.0.0.1] Warning 1: 
Unable to find driver JP2ECW to unload from GDAL_SKIP environment 
variable.
[Thu Nov 06 16:25:37 2014] [error] [client 127.0.0.1] Warning 1: 
Unable to find driver ECW to unload from GDAL_SKIP environment variable.


but print in the "Lizmap Demo" works so maybe not related...


thanks again,

Roy

Regards,
René-Luc D'Hont
3Liz

Le 07/11/2014 12:17, Roy a écrit :


Il 07/11/2014 11.54, Andreas Neumann ha scritto:

hm - I can't tell you exactly what the problem is.

BUT: you cannot mix versions. If your server runs on QGIS 2.6, 
your client where you prepare the project also needs to be of the 
same version 2.6. Those different versions are not necessarily 
compatible.

Dear Andreas,

thanks for your replay,

actually i inverted 0 and 6 in my previous email sorry for the mess !

i'm using QGIS 2.6.0 both in client (Desktop) and server side.

Also i wonder if using QGIS desktop on Windows, to setup the project
and the composer template, is "safe" considering that the server is 
Ubuntu/Linux...


anyway i'm not able to get the print tool to work preparing the 
project and template

in Windows, nor in Linux ...

thanks again,

Roy.
___
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


___
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


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


Re: [Qgis-developer] issues in QGIS 2.6 when saving/working with projects saved in previous QGIS releases

2014-11-08 Thread Roy


Il 08/11/2014 17.26, Giovanni Manghi ha scritto:

try (backup) and delete the .qgis2 folder, I have seen this a lot on
qgis installations where qgis was previously installed, and purging
.qgis2 usually works.


Great !!!   :) Now it works.I will test inserting plugins one by
one.

I have not investigated deeply, but in this cases it may not be a
plugin, but some (old) configuration stored inside .qgis2.


I had two crashes (with qgis project file empty) in a row applying a 
"rule-based"
style (old 2.2/2.4 QGIS style modified with QGIS 2.6) to a vector layer 
and saving

the project (brand new 2.6 project) but i can't reproduce it now;
maybe something related to styles. This **may** explain why removig 
".qgis" folder

(and related style database) seems to work...

regards,

Roy.

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


Re: [Qgis-developer] QGIS 3.0?

2014-11-08 Thread Roy


**If I may** +1 for LTS or LTR

Il 08/11/2014 15.09, G. Allegri ha scritto:


+1 for LTS (2.6 or 2.8?).
A new API break risks to make users (and plugin developers) quite nervous!



IMHO as an user myself i think that a working tool is more valuable than 
a new tool,


E.G. the coming QEP from Nyall (about Composer refactoring) breaks 
Composer gui API, while it should mantain core. This could be included 
in an LTS release, while in QGIS 3.0 back compatibility can be discarded.


Just a question: typically an LTS brings backport updates during its 
lifetime. In case of QGIS how would this happen? Will we provideca new 
packaging for that release with a scheduling following the master release?




always **if i can** and**IMHO** an LTS should be a tool that you know 
you can relay on
with known and expected behavior so no new feature only bugfix or 
critical bugfix


Best regards, and thanks for your great work,

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


Re: [Qgis-developer] Stability (2.8 LTS) vs development (3.0), a proposed way forward

2014-11-10 Thread Roy

Hi Paolo and all developers,

Il 10/11/2014 09.42, Paolo Cavallini ha scritto:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 10/11/2014 09:31, Martin Dobias ha scritto:


really valued much beyond the above scores, but it's nice to see
people get excited about such geeky stuff.

Hi all,
I hate cooling down the enthusiasm, but I really see LTS as an empty
word. To me, the whole issue boils down to having resources to do
serious backporting of fixes. Without that, LTS will have no practical
effect, as users will use the latest, more bugfixed version.
This is exactly what has happened in the past.
So from my point of view what we need is not +something, but funders
supporting backporting. I'd be against spending our limited core
funding for this.


Reading this post i get a bit confused about the future of QGIS and its 
target,

because in the QGIS Release schedule for 2015 (QGIS web site) there is
a "2.8 LTR" release,
maybe this LTR release is to be bugfixed,
maybe just a release to stuck with if you don't like to switch but with 
no planned bug fixing,

this is no clear to me ...


In short: power users, if you need stability, please set aside some
funds to stably support a backporter, year round, and you'll have your
much sought after long term stability.


It is also nice to have someone who keeps us with our feet on the ground :-)

thanks and regards,

Roy.

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


[Qgis-developer] QGIS-Server Coredump printing with lizmap webclient

2014-11-10 Thread Roy


Dear all,

i'm testing qgis-server 2.6.0 with "lizmap web client" on ubuntu 12.04 
server
and qgis server crashes trying to print a vector layer with "advanced 
symbols"

( "line pattern fil"l and "marker line"); apache log following:

# apache2 error.log 
#mod_fcgid: error reading data, FastCGI server closed connection
#[Mon Nov 10 11:28:47 2014] [error] [client 127.0.0.1] Premature end of 
script headers: qgis_mapserv.fcgi
#[Mon Nov 10 11:28:51 2014] [error] mod_fcgid: process 
/usr/lib/cgi-bin/qgis_mapserv.fcgi(1998) exit(communication error), get 
signal #11, possible coredump generated

# apache2 error.log END 

using more simple (simple fill) symbology this does not appens

is this possibly a bug or are we not supposed to use "fancy" symbols 
printig with qgis-server ...


thanks,

Roy.

P.S.  is this the right list to ask questions about lizmap and qgis-server?

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


Re: [Qgis-developer] QGIS-Server Coredump printing with lizmap webclient

2014-11-10 Thread Roy


Il 10/11/2014 11.44, Alessandro Pasotti ha scritto:

2014-11-10 11:40 GMT+01:00 Roy :

Dear all,

i'm testing qgis-server 2.6.0 with "lizmap web client" on ubuntu 12.04
server
and qgis server crashes trying to print a vector layer with "advanced
symbols"
( "line pattern fil"l and "marker line"); apache log following:

# apache2 error.log 
#mod_fcgid: error reading data, FastCGI server closed connection
#[Mon Nov 10 11:28:47 2014] [error] [client 127.0.0.1] Premature end of
script headers: qgis_mapserv.fcgi
#[Mon Nov 10 11:28:51 2014] [error] mod_fcgid: process
/usr/lib/cgi-bin/qgis_mapserv.fcgi(1998) exit(communication error), get
signal #11, possible coredump generated
# apache2 error.log END 

using more simple (simple fill) symbology this does not appens

is this possibly a bug or are we not supposed to use "fancy" symbols printig
with qgis-server ...

thanks,

Roy.

P.S.  is this the right list to ask questions about lizmap and qgis-server?


See if this is your case:
http://hub.qgis.org/issues/9763
More info here:
http://www.itopen.it/2014/03/13/qgis-server-setup-notes/

In short: make sure you have an (fake) X sever running.


Thank you Alessandro that's working !

regards,

Roy.

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


Re: [Qgis-developer] Improving the legend for map-units, data-defined symbology, diagrams and labels

2014-11-14 Thread Roy


Il 14/11/2014 00.22, Andreas Neumann ha scritto:
 But I think we need to be able to restrict legends where map units 
are involved to a certain min/max scale range. So the symbols don't 
get too big or too small and get into each others way.


But in this way you'll have a legend not representing the symbology that 
is represented in the map and i think this would be an error;
using map units you can however restrict the layer visibility according 
to the nominal scale of your data (or min/max scale).


my 2c, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Groups in Layers panel

2014-11-14 Thread Roy


Il 14/11/2014 07.23, Zoltan Szecsei ha scritto:

Hi,
I'm dealing with quite a number of vector map tiles, and I have 
grouped many of them with a common theme.


If your data have a common theme i suppose they are all belonging to the 
same dataset so

maybe merging the data will solve the problem...



What I'm finding pretty unworkable, is that when I want to set 
rendering style, I have to do it individually per map in that group, 
and likewise, when I want to Identify a feature within that group, I 
have to click through each map in that group in order to find which 
map in that group holds the feature I want to identify.


There are probably quite a few other actions that would be easier to 
work at a group level rather than a map level,

but:

Am I attacking this issue the wrong way, or is there a possibility 
that some of these actions can be processed by QGIS at a map-group level?


Regards to all,
Zoltan



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


[Qgis-developer] QGIS 2.6.0 georeferencer fails in windows

2014-11-14 Thread Roy

Dear list,

i'm georeferencing some rasters and the georeferencing process fails (in 
winodows osgeo4w 32bit) with

this message:

 failed to compute GCP transform: Transform is not solvable

the georeferencing process works in linux using the very same data 
(raster and GCP list)

is it only my system or should i open a bug report ?

thanks,

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


Re: [Qgis-developer] QGIS 2.6.0 georeferencer fails in windows

2014-11-14 Thread Roy

Hi
Il 14/11/2014 10.47, Jonathan Moules ha scritto:

Hi Roy,
I just did a quick one and it worked; Windows using the stand alone installed 
version, 64bit I think.

Which transformation are you using? I tested polynomial 1.

That said, if it's repeatable, it's probably worth reporting as a bug anyway; 
including the sample data and detailed info.

Cheers,
Jonathan


The problem is happening with "big" raster (5680 x 4848), i tested it on 
a smaller one and it worked;
even though the process is failing i get an output with only a quarter 
of the image processed ...

it fails with any kind of transformation ...
to test it must be used a 32bit install because possibly 64bit do not 
split the data during the transform process


Roy.


-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Roy
Sent: Friday, November 14, 2014 9:35 AM
To: QGIS Developer Mailing List
Subject: [Qgis-developer] QGIS 2.6.0 georeferencer fails in windows

Dear list,

i'm georeferencing some rasters and the georeferencing process fails (in 
winodows osgeo4w 32bit) with this message:

   failed to compute GCP transform: Transform is not solvable

the georeferencing process works in linux using the very same data (raster and 
GCP list) is it only my system or should i open a bug report ?

thanks,

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


This message has been scanned for viruses by MailControl - www.mailcontrol.com



Click 
https://www.mailcontrol.com/sr/!U2xHBz6!6PGX2PQPOmvUgfUspOYWKRbcUkhPk2aSypSSjzNKybY9IsDGAD0hjxQxXDcnlWWD4mTKOxjbsImtQ==
 to report this email as spam.



HR Wallingford and its subsidiaries uses faxes and emails for confidential and 
legally privileged business communications. They do not of themselves create 
legal commitments. Disclosure to parties other than addressees requires our 
specific consent. We are not liable for unauthorised disclosures nor reliance 
upon them.
If you have received this message in error please advise us immediately and 
destroy all copies of it.

HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099




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


[Qgis-developer] Lizmap Relation value field

2014-11-17 Thread Roy

Hi all,

i'm testing Lizmap web Client with value relation to map values
to be inserted in a point layer, with the edit tool values are
correctly displayed with a "drop-down" list, but the layer
popup only display the numerical key value used for the relation,
do i need to setup a custom popup or is this feature not supported ?

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


Re: [Qgis-developer] Lizmap Relation value field

2014-11-17 Thread Roy

Thanks René-Luc,
regards,

Roy,


Il 17/11/2014 20.39, René-Luc Dhont ha scritto:

Hi Roy,

It's the way that QGIS-Server returns feature info.
I thought that QGIS 2.6 has corrected this issue.

René-Luc D'Hont
3Liz

Le 17/11/2014 19:52, Roy a écrit :

Hi all,

i'm testing Lizmap web Client with value relation to map values
to be inserted in a point layer, with the edit tool values are
correctly displayed with a "drop-down" list, but the layer
popup only display the numerical key value used for the relation,
do i need to setup a custom popup or is this feature not supported ?

thanks,
Roy.
___
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


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


[Qgis-developer] Lizmap load document/image form

2014-11-18 Thread Roy

Dear list,

it would be useful/nice to have the possibility to load an image or document
associated with a feature using the Lizmap web client,  in edit session, 
is this feasible or beyond

the scope of the application?

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


Re: [Qgis-developer] Lizmap Relation value field

2014-11-18 Thread Roy

Hi René-Luc

i searched for this issue in QGIS bug but cannot find it,
do you know if it's actually an open request?
because if this does not works the realtion value is
basically useless...

thanks Roy.

Il 17/11/2014 20.39, René-Luc Dhont ha scritto:

Hi Roy,

It's the way that QGIS-Server returns feature info.
I thought that QGIS 2.6 has corrected this issue.

René-Luc D'Hont
3Liz

Le 17/11/2014 19:52, Roy a écrit :

Hi all,

i'm testing Lizmap web Client with value relation to map values
to be inserted in a point layer, with the edit tool values are
correctly displayed with a "drop-down" list, but the layer
popup only display the numerical key value used for the relation,
do i need to setup a custom popup or is this feature not supported ?

thanks,
Roy.
___
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


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


Re: [Qgis-developer] Lizmap Relation value field

2014-11-18 Thread Roy

Hi Andreas,

i'm using Lizmap web client release_2_10 and QGIS 2.6.0

i'm talking about Lizmap web client "info popup"
not displaying the relation "description" but
the numeric "code value" used for the relation mapping;

actually i don't know/uderstand if the problem is
in the client or server side; not claiming that the server is  not working
nor the client ...

thanks,
Roy.

Il 18/11/2014 13.44, Andreas Neumann ha scritto:

Hi,

Value relations work in QGIS server - if there are single values. If 
there are multiple values (array) it doesn't work yet.


You need either QGIS 2.6 or master.

Andreas

Am 2014-11-18 12:36, schrieb Roy:

Hi René-Luc

i searched for this issue in QGIS bug but cannot find it,
do you know if it's actually an open request?
because if this does not works the realtion value is
basically useless...

thanks Roy.

Il 17/11/2014 20.39, René-Luc Dhont ha scritto:

Hi Roy,

It's the way that QGIS-Server returns feature info.
I thought that QGIS 2.6 has corrected this issue.

René-Luc D'Hont
3Liz

Le 17/11/2014 19:52, Roy a écrit :

Hi all,

i'm testing Lizmap web Client with value relation to map values
to be inserted in a point layer, with the edit tool values are
correctly displayed with a "drop-down" list, but the layer
popup only display the numerical key value used for the relation,
do i need to setup a custom popup or is this feature not supported ?

thanks,
Roy.
___
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


___
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


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

Re: [Qgis-developer] Lizmap Relation value field

2014-11-18 Thread Roy

Hi Andreas,

thanks for your answer

Il 18/11/2014 17.21, Andreas Neumann ha scritto:

Hi Roy,

It is the responsibility of QGIS server to deliver the correct human 
readable value instead of the code.


So make sure that QGIS server supports that. It works fine on my server.



so do i need to recompile QGIS to activate this feature?
i searched for documentation but i cannot find anything relevant.

What i understand is that the configuration file for QGIS server is
the one saved with QGIS desktop...
maybe i need to edit this file to add more config parameter ?
also i cannot find documentation about those (if they exists) parameters 
configuration...


thanks,

Roy.





Andreas

Am 2014-11-18 14:38, schrieb Roy:

Hi Andreas,

i'm using Lizmap web client release_2_10 and QGIS 2.6.0

i'm talking about Lizmap web client "info popup"
not displaying the relation "description" but
the numeric "code value" used for the relation mapping;

actually i don't know/uderstand if the problem is
in the client or server side; not claiming that the server is not 
working

nor the client ...

thanks,
Roy.

Il 18/11/2014 13.44, Andreas Neumann ha scritto:

Hi,

Value relations work in QGIS server - if there are single values. If 
there are multiple values (array) it doesn't work yet.


You need either QGIS 2.6 or master.

Andreas

Am 2014-11-18 12:36, schrieb Roy:

Hi René-Luc

i searched for this issue in QGIS bug but cannot find it,
do you know if it's actually an open request?
because if this does not works the realtion value is
basically useless...

thanks Roy.

Il 17/11/2014 20.39, René-Luc Dhont ha scritto:

Hi Roy,

It's the way that QGIS-Server returns feature info.
I thought that QGIS 2.6 has corrected this issue.

René-Luc D'Hont
3Liz

Le 17/11/2014 19:52, Roy a écrit :

Hi all,

i'm testing Lizmap web Client with value relation to map values
to be inserted in a point layer, with the edit tool values are
correctly displayed with a "drop-down" list, but the layer
popup only display the numerical key value used for the relation,
do i need to setup a custom popup or is this feature not supported ?

thanks,
Roy.
___
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


___
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


___
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


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

Re: [Qgis-developer] Processing with raster files > 4GB

2014-11-19 Thread Roy

Hi Andreas,

you can surely try to import the raster directly into GRASS in a 64bit 
linux,

very often this overcome memory issues, and use mapcalc sintiax,
something like:

reclassed_raster = if(original_raster == 249,255,original_raster)

regards,

Roy.



GDAL would be my first choice - because it easy to automate. However, 
I don't know how can do my task with GDAL.


From my grayscale tiff images I want to replace one pixel value (249) 
with white (255). All other pixels should stay at the value they have.


I came across https://github.com/chiatt/gdal_reclassify - but this 
reclassifies all pixels, not only selected ones.


Maybe I could use http://www.gdal.org/gdal_calc.html with a 
conditional syntax?


Thanks,
Andreas

Am 2014-11-19 09:10, schrieb Carlos López PSIG:

Hi Andreas,

I also had problems to reclassify BIGTIFF with SAGA and GRASS!
Finally I used GDAL!

Best regards,

 [2]

CARLOS LÓPEZ QUINTANILLA

www.psig.es [2]
carlos.lo...@psig.es
+34 699.680.261

2014-11-19 9:05 GMT+01:00 Andreas Neumann :


Hi,

I tried various tools, e.g.

* SAGA reclassify
* GRASS r.mapcalc

Both work fine on smaller data sets, but fail on big data sets.

This is on Win7 64bit, with the OSGeo4W installer. I have 8gb RAM
and 40GB disk free on C:, more free space on other disks where the
data resides.

I am not totally sure if it is the Bigtiff issue or some other
issue. It is just a guess that maybe I am hitting a limit with tiff.
It is not fully transparent to me what Processing is doing in the
background (what file formats with what options it creates).

It may also be an issue with SAGA or GRASS directly.

Thanks if you know anything,
Andreas

Am 2014-11-18 21:15, schrieb Giovanni Manghi:

Hi,

I am having a lot of troubles with large raster files and
processing.

The intermediate results can go >4GB. Processing stops with not so
helpful error messages.

I wonder if processing is hitting the 4GB limit. Can I force
processing
to use the BIGTIFF option or a raster format that can handle >4GB
files?

Hi Andreas, what tool specifically?

cheers

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

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



Links:
--
[1] http://lists.osgeo.org/mailman/listinfo/qgis-developer
[2] http://www.psig.es

___
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] problem with GROUP BY in `Execute SQL` Processing

2015-01-20 Thread Roy

Hi Matteo,

I thing the problem is that "GROUP BY" is not supported on shapefile 
format.


Il 16/01/2015 12.08, Matteo Ghetta ha scritto:

mmm I made some attempts but always the same parsing error..

so, you are saying that the error in Processing is related to the 
GEOMETRY column right?
in the DB manager I can run the same query and then load the file when 
I specify the GEOMETRY column. That's ok


But why I don't have any problem with other statements like order by?

When I ran those queries the file is correctly loaded with no GEOMETRY 
specifications..


Thanks

Matteo


___
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

[Qgis-developer] SAGA Processing toolbox geoalgorithm not working on Ubuntu 14.04

2015-01-21 Thread roy

Dear list,

i'm trying to use SAGA natural neighbour via QGIS toolbox but it's not 
working,

the tool opens the config dialog but when i run it i get
this errors:

Oooops! The following output layers could not be open

 * Grid: /tmp/processing/c62751a9186c4e0694e956b2bf65fda0/USERGRID.tif

The above files could not be opened, which probably indicates that they 
were not correctly produced by the executed algorithm


Checking the log information might help you see why those layers were 
not created as expected


This algorithm requires SAGA to be run. A test to check if SAGA is 
correctly installed and configured in your system has been performed, 
with the following result:


SAGA seems to be correctly installed and configured



and on "OGR" QGIS log:

error 4: Unable to open 
/usr/share/qgis/python/plugins/processing/tests/data/polygons.shp or 
/usr/share/qgis/python/plugins/processing/tests/data/polygons.SHP.


2015-01-21T19:58:47 1 Data source is invalid ()

2015-01-21T20:08:20 1 Data source is invalid ()


are SAGA tools supposed to work or is there some known problem?


P.S. the very same tool works on windows with osgeo4w install

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

Re: [Qgis-developer] Browser tab crashes QGIS

2015-02-09 Thread roy

I can also confirm the problem (ubuntu 64bit ubuntugis-unstable)

Il 09/02/2015 09:32, Martin Dobias ha scritto:

What do you mean with the "tab" - is it necessary that the browser 
dock widget occupies the same are with another dock widget (e.g. 
Layers), thus creating two tabs?



the tab is the "Browser Panel label space" where you can read "Browser"
yes i can reproduce in that situation, also ubuntu  generates a crash 
report.



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


Re: [Qgis-developer] Integer fields converted to text when exported from SQLite

2015-03-05 Thread Roy


I can confirm this also for QGIS 2.8.1 both in windows and ubuntu,

Roy.

Il 05/03/2015 09.15, Christophe Damour ha scritto:

Hi,

When I save a SpatiaLite layer as a shp or tab layer, every integer 
field gets converted to a text field.

Same problem if I export the layer to shp from DB Manager.
Did someone ever experienced this problem ?

I work on Windows 7 64 bits, with QGis 2.6.1 64 bits.

Thanks for any hint,



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


Re: [Qgis-developer] Integer fields converted to text when exported from SQLite

2015-03-06 Thread Roy

I filled a bug report for this

Il 05/03/2015 09.15, Christophe Damour ha scritto:

Hi,

When I save a SpatiaLite layer as a shp or tab layer, every integer 
field gets converted to a text field.

Same problem if I export the layer to shp from DB Manager.
Did someone ever experienced this problem ?

I work on Windows 7 64 bits, with QGis 2.6.1 64 bits.

Thanks for any hint,



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


Re: [Qgis-developer] Opening a new print composer takes a long time

2015-03-07 Thread Roy

Hi Paolo,

i tested on windows  and ubuntu (both QGIS 2.8.1 64bit)
and it opens as fast as usual so i can not confirm,
... maybe you activated some option/feature that i did not


Il 06/03/2015 20.12, Paolo Cavallini ha scritto:

Hi all.
Cliking on New print composer takes a very long time (~10 sec on a
pretty fast machine) to open the empty composer: anyone confirms, or
have an explanation?
Thanks.


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


Re: [Qgis-developer] Integer fields converted to text when exported from SQLite

2015-03-08 Thread Roy

You can use Spatialite_gui,

Roy.


P.S. you wrote directly to me not to the mailing list...


Thank you Roy for the bug report. Hope it will be corrected soon...
In the mean time, I am trying to find a workaround using ogr2ogr.
I had a look at the doc but didn't find a way to force column format 
conversion.

Can anybody ont me in the right direction ?

Thanks,

--
Christophe

Le 06/03/2015 10:10, Roy a écrit :
I filled a bug report for this

Il 05/03/2015 09.15, Christophe Damour ha scritto:

Hi,

When I save a SpatiaLite layer as a shp or tab layer, every integer 
field gets converted to a text field.

Same problem if I export the layer to shp from DB Manager.
Did someone ever experienced this problem ?

I work on Windows 7 64 bits, with QGis 2.6.1 64 bits.

Thanks for any hint,




Il 06/03/2015 10.10, Roy ha scritto:

I filled a bug report for this

Il 05/03/2015 09.15, Christophe Damour ha scritto:

Hi,

When I save a SpatiaLite layer as a shp or tab layer, every integer 
field gets converted to a text field.

Same problem if I export the layer to shp from DB Manager.
Did someone ever experienced this problem ?

I work on Windows 7 64 bits, with QGis 2.6.1 64 bits.

Thanks for any hint,



___
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] Thoughts about multi-type tables in QGIS

2015-04-04 Thread Roy

Hi,

i wonder if it is more likely that the same geometry type have the same 
attributes,
what happens when i need an area column and also have points in the very 
same table?
can i deal with that in a "normalized" structure? i find this a bit 
confusing to undersand;
it seems an interesting feature but i would like to see a real case 
scenario, can someone

make an example or point me to an example?

Thanks, Roy.

Il 04/04/2015 10.28, Marco Hugentobler ha scritto:

Hi

Yes, the implicit assumption that each layer has one geometry type 
probably goes back to the shapefile. I agree it is a wrong design from 
QGIS to assume that and it is not in line with the logic of many 
important datasources (Postgres, Oracle, MS SQL, WFS and also some OGR 
formats like dxf), therefore causing workarounds on the dataprovider 
level to seperate db tables into several layers. I think it is best 
(at least in the long term) to have a logic compatible to the 
datasources instead of doing workarounds at provider and gui level.


There are many places where this has an impact (e.g. symbology system, 
editing). Therefore it will be good to break the 'one geometry type' 
assumption not before version 3. A first step could be to identify the 
places in core/gui/app where changes would be needed.


@Nathan and Victor: I don't have experience with MapInfo. What is the 
exact reason why multi-geometries have been user-unfriendly there?


Regards,
Marco



On 02.04.2015 13:52, Olivier Dalang wrote:

Hi,

In some projects of mine, I work with multiple geometry types in one 
postgis table, using a column of type geometry(Geometry,4326).

This is very well supported by postgis.

It is possible to load such a table in QGIS by manually selecting the 
geometry type you want to load. This means that to display all the 
features, you need to add the table three times, one for each feature 
type.


This works more or less. There are a few bugs though :
- http://hub.qgis.org/issues/12499 (you can edit other type's node 
with the node tool)
- http://hub.qgis.org/issues/12500 (other type's records are shown in 
the attribute table)


This also has some limitations. When having such a setup, it's pretty 
sure you'll want to have the same edit forms for all the layers. 
You'll also probably want the same filter, the same labels, the same 
actions, etc...
The only thing you'd want to be able to define on a geometry type 
basis are the symbol (well, even the classification/colors/etc could 
be shared) and the label placement.
For now, you must do all settings three times, because of this 
bug/feature request :
- http://hub.qgis.org/issues/12303 (copy/paste style from one 
geometry type to another)



As you see, support multiple geometry types in QGIS is not perfect.

Of course it's possible to fix the bugs/pr, and there are some 
workarounds (postgis view instead of tables) but maybe it's also 
worth thinking a bit more in depth about this.


We could consider point/line/polygons as subcategories/sublayers of a 
layer. A shapefile or a mono-typed table would have only one of those 
sublayer, but a postgis table could perfectly have the three. Most of 
the settings would be defined at the layer level, while only some 
settings would be defined at the subcategory level.


This is probably especially relevant when thinking long term (the day 
we support 3D, curves, etc...).



What do you think ?
Do you think the relation 1 layer = 1 geometry type will hold ?

I think we inherited this from the old shapefile format, but most 
data sources QGIS handles don't have this limitation. I also think it 
does not hold with quite a lot of modern GIS uses (especially web 
related, think of openstreetmaps for instance).


There's this feature request (6th oldest open issue on the tracker) 
about postgis geometry collections  : http://hub.qgis.org/issues/167



Best,

Olivier



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



--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch  http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


___
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] Thoughts about multi-type tables in QGIS

2015-04-07 Thread Roy



Il 07/04/2015 11.55, Olivier Dalang ha scritto:


_Event data management_
I have a postgis table for historical events, which can be of any 
geometrical type.
The events can have links to other events (using references like 
previous_event_id).
Currently, I have to add the postgis table four times. Once for each 
geometry type, plus once as a no-geometry table so that I can have the 
full attribute table to be able to use the relations widget.
At this point, every setting (filtering, labels, actions, symbols...) 
must be made four times,


In general I think that we end up defining different symbols for 
different geometries anyway, i do not see how a point and an area can 
have the
same simbology; also there are specific postgis functions that make 
sense to use for specific geometry (i.e. ST_Area).
I do not want to say that i'm against the idea of mixing geometries, but 
to me it sounds a bit like loading "varchar" and "float" in the same column
and eventually ending introducing more complications than benefits, just 
my opinion,


best, Roy.

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

[Qgis-developer] QGIS plugin grass missing in QGIS 2.8.2 ubuntu?

2015-05-16 Thread Roy

Hi !

updating QGIS from 2.8.1 to 2.8.2 in ubuntu 14.04 i can not find
the QGIS "GRASS plugin" in the QGIS plugin manager, is there something 
wrong with my installation?

Has it been removed?

thanks for any help,

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


Re: [Qgis-developer] QGIS to ArcGIS Map Package

2015-05-16 Thread Roy

Hi,

what do you mean with "Map Package" ?

Il 15/05/2015 16:08, Zoltan Szecsei ha scritto:

Hi,
Once I have created a map in the print composer, is there a way to 
export it to "Map Package"?


Thanks & regards,
Zoltan




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


[Qgis-developer] Qgis 91e44ea crash browsing GRASS 7 vector

2015-06-11 Thread Roy

Hi,

i'm testing "QGIS desktop 2.9.0 with grass 7" and it crashes when browsing
a grass 7 DB; (windows osgeo4w 32 bit)

i simply prepared a grass7 location and mapset, imported a vector
stopped grass and opened QGIS, with browser panel QGIS crashes
navigating to the imported vector,

if you confirm i can open a bug report, Roy
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Qgis 91e44ea crash browsing GRASS 7 vector

2015-06-15 Thread Roy

Thank you for the info Radim!

Il 15/06/2015 08.25, Radim Blazek ha scritto:

Hi Roy,

this is known issue I haven't been able to fix so far. It has
something to do with getting list of vector layers in thread. It seems
to only happen with GRASS 7 on windows when Vect_cidx_get_* functions
are used in thread (browser items are populated in threads). I have
already double checked the code including relevant parts of GRASS
vector lib without success.

Radim



On Thu, Jun 11, 2015 at 10:37 AM, Roy  wrote:

Hi,

i'm testing "QGIS desktop 2.9.0 with grass 7" and it crashes when browsing
a grass 7 DB; (windows osgeo4w 32 bit)

i simply prepared a grass7 location and mapset, imported a vector
stopped grass and opened QGIS, with browser panel QGIS crashes
navigating to the imported vector,

if you confirm i can open a bug report, Roy
___
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] ASPRS LWG chair opens can of QGIS and FOSS worms in latest column

2015-06-15 Thread Roy

Hi Martin,

just from the first few lines he is confusing "open source" and "free 
software" so
so if he's not intentionally messing up to create confusion, "fear, 
uncertainty and doubt" (FUD strategy)

he has *no clue of what he is talking about*; tell him;


Il 15/06/2015 14.43, Martin Isenburg ha scritto:

Hello folks,

for years I have enjoyed reading Lewis Graham's "Random Points" column 
in the LiDAR News magazine. I usually get some novel insight or come 
across a thought-provoking new concept and this month's column is 
especially interesting. It mashes up the ongoing "LAZ clone" conflict 
that asks to keep LiDAR stored in "open formats" with the practically 
related but conceptually independent "open source" software movement.


The article revives Steve Ballmers “Linux is a cancer” mantra it talks 
about how the GPL license is a "time-bomb" and makes Asia Air Survey - 
the gold sponsor of QGIS - appear blue-eyed in their support of such a 
"viral license". But it is probably best you read the entire two pages 
for yourself.


http://twitter.com/LAStools/status/610057423672471552

As Lewis' opinions are regarded highly by the LiDAR and photogrammetry 
industries (myself included) and as the first few paragraphs of this 
widely-circulated LiDAR magazine article are a complete distortion of 
my personal motivation on "open formats" that will directly hurt my 
professional reputation, I have little choice but to respond with a 
correction to his column. Let me know if you have any errata on Lewis' 
comments about the danger of open source licenses that you want me to 
include.


Regards,

Martin @rapidlasso



___
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

[Qgis-developer] Testing bug fix

2015-06-16 Thread Roy

Hi,

i'm trying to help with bug fixing, testing QGIS after a bug ticket 
(opened by me) is closed;
so i'm using qgis-dev (osgeo4w 32 bit) that should receive the changes, 
i wonder
however when i should test the fix after i receive the "closed" status 
by bug tracker,
AFAIK qgis-dev are nightly builds so if i test after a couple of days it 
should be ok,

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


Re: [Qgis-developer] function similar to Excel VLOOKUP

2015-07-30 Thread Roy

How about a " Join "

 QGIS join

Il 30/07/2015 13.06, Zoltan Szecsei ha scritto:

Hi,
How could I implement something like vlookup in QGIS?

I have a shapefile with 2000 polygons and column 1 of its attribute 
table has a code value.


Using the code in this column 1, I need to look up which row of a CSV 
file has that code, and return column 2 of the CSV file.
This returned value must then be placed into a new column (say column 
6) on the shapefile attribute table.
I could pre-add the new column to this shapefile, and then run the 
vlookup equivalent too, of course.


I tried this by opening the DBF file in Libreoffice calc, sorting the 
columns, adding the extra two columns of my lookup data, then ran 
vlookup and saved/closed the DBF file.


Once back in QGIS the attributes ended up being linked to the wrong 
polygons (probably because I sorted the DBF file outside of QGIS).


Thanks in advance,
Zoltan




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


Re: [Qgis-developer] Qgis & Qt Designer

2015-11-29 Thread m roy
I think this should help:

http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins.html

and also take a look at the "Plugin builder" Qgis plugin

Il 29/11/2015 13:51, James89 ha scritto:
> Hello Everyone.
> I'm a newbie in open source programming, so i hope i'm in the right section.
> I'm trying to create a pop-up window in Qgis using Qt Designer Software.
> This windows should be activable by a new botton in the Qgis toolbar, and
> should contain a drop-down menu.
> I have the following issue: Qt Designer has a .ui file as output file, and I
> don't know how I can integrate it in Qgis.
> Could somebody help me? Thanks in advantage.
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Qgis-Qt-Designer-tp5239020.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

[Qgis-developer] QGIS pyqt Dockwidget plugin with pushButton

2015-11-30 Thread m roy
Hi,

i'm trying to setup a dock widget python plugin,

using the plugin builder i managed to setup the plugin
and now i need to execute a query:


def execute_query:
  connection_parameres = connpar
  defineQuery = "SELECT attribute FROM mytable"
  cursor.execute(defineQuery)
  ...etc

now i need to execute the method when a pushButton is clicked
this below works with a "regular" Dialog plugin but not with a 
dockwidget plugin:

(queryPush is a QT pushButton)

self.dlg.queryPush.clicked.connect(self.execute_query)

some help or link to code example ?

thanks, Roy.

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

[Qgis-developer] What is Processing Provider Plugin Builder option?

2015-12-01 Thread m roy
Hi,

testing the plugin builder i found it offers three option for the
creation of a new plugin but i cannot find any information
about the "Processing provider"

what is it supposed to do and how can i activate a processing provider
plugin?

any help or link to docs or book that covers this topic?

thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] What is Processing Provider Plugin Builder option?

2015-12-02 Thread m roy


Il 02/12/2015 09:19, Etienne Trimaille ha scritto:
You can add your own plugin into the processing framework. It will add a new 
entry in the "Advanced interface" of Processing.

Unfortunately, I couldn't find any documentation, but you can have a look to 
this example :
https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/exampleprovider
- ProcessingExampleProviderPlugin will add the plugin to Processing
- ExampleAlgorithmProvider will list every algorithms available in the plugin
- ExampleAlgorithm is an algorithm

Some plugins provides their own algorithms in Processing (QuickOSM ...)


Very useful thanks !
 in the meantime i managed to activate a "blank" provider plugin
after restarting QGIS and activating the new provider in the processing options 
menu
it does not show up in the simplified interface indeed, maybe because i did not 
use an already
existing processing menu (raster, vector etc...)

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

Re: [Qgis-developer] Malfunction in setCrsTransformEnabled(bool): coordinates displayed are wrong

2015-12-04 Thread m roy
Hi,

i tried and do not see any problem with coordinates...

Il 04/12/2015 10:22, //./\\-/_.\\ ha scritto:



Please try:
>>> iface.mapCanvas().setCrsTransformEnabled(True)
>>> crs = QgsCoordinateReferenceSystem(3857, 
>>> QgsCoordinateReferenceSystem.EpsgCrsId)
>>> iface.mapCanvas().setDestinationCrs(crs)

Then, take a look at coordinates which are displayed.

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

Re: [Qgis-developer] SPIT core plugin - can be we remove it?

2015-12-07 Thread m roy

Il 07/12/2015 02:51, Nathan Woodrow ha scritto:
Hi all,

SPIT is now removed from core.  If there is anything missing in the current 
stuff that was in SPIT please open a ticket so it can be address in DB Manager.


Shapefile bulk import, is there a way with DBmanager
to import say 15 shapefile at once?
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] SPIT core plugin - can be we remove it?

2015-12-07 Thread m roy


Il 07/12/2015 09:51, Nyall Dawson ha scritto:
> On 7 December 2015 at 19:49, m roy  wrote:
>> Il 07/12/2015 02:51, Nathan Woodrow ha scritto:
>>
>> Hi all,
>>
>> SPIT is now removed from core.  If there is anything missing in the current
>> stuff that was in SPIT please open a ticket so it can be address in DB
>> Manager.
>>
>>
>> Shapefile bulk import, is there a way with DBmanager
>> to import say 15 shapefile at once?
> Processing can be used to do bulk imports.
>
> Nyall
>
>
  I see, good to know thanks!
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] SPIT core plugin - can be we remove it?

2015-12-07 Thread m roy


Il 07/12/2015 09:51, Nyall Dawson ha scritto:
> On 7 December 2015 at 19:49, m roy  wrote:
>> Il 07/12/2015 02:51, Nathan Woodrow ha scritto:
>>
>> Hi all,
>>
>> SPIT is now removed from core.  If there is anything missing in the current
>> stuff that was in SPIT please open a ticket so it can be address in DB
>> Manager.
>>
>>
>> Shapefile bulk import, is there a way with DBmanager
>> to import say 15 shapefile at once?
> Processing can be used to do bulk imports.
>
> Nyall
>
>
About processing "Import into PostGIS":

It would be nice to have an option to select the schema
for all layers to be imported, maybe populating the schema
values of the "Run as batch process..." dialog using the
"Schema (schema name)" value in the main "Import into PostGIS" dialog;
otherwise you have to manually edit the schema value for every single
layer, not handy.


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

Re: [Qgis-developer] SPIT core plugin - can be we remove it?

2015-12-07 Thread m roy


Il 07/12/2015 13:05, Etienne Trimaille ha scritto:
2015-12-07 12:04 GMT+01:00 m roy 
mailto:royr...@outlook.com>>:
It would be nice to have an option to select the schema
for all layers to be imported

Set the schema on the first row and then double click on the column name.

Nice, thanks!
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Malfunction in setCrsTransformEnabled(bool): coordinates displayed are wrong

2015-12-07 Thread m roy


Il 07/12/2015 16:29, //./\\-/_.\\ ha scritto:
Hi,

Thank you for your response. Could you indicate version of QGIS you use ?

This error recurs on Win and OSX platforms with QGIS > 2.8.3

Please find enclosed a screen shot of the error.


I used win 2.12.1 32bit but i had a layer loaded.

It seems to me that you do not have any layer loaded;
if i open a blank project the coordinates seems to stuck at 0 (zero),
afer "iface.mapCanvas().setDestinationCrs(crs)",
(maybe you ned to give some other option to set it properly ?)
do not know if this is a bug but it's weird indeed, it seems to happen
only with a blank project with no layers.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QGIS and GRASS Plugin: How?

2016-01-22 Thread m roy
Hi,

I'd like very much to use QGIS with the awesome new GRASS plugin,
but lately it seems to be harder and harder (at least for me) to achieve 
this goal.
What i find really very confusing is what release (on windows) or PPA 
(personal package archive
on ubuntu) we are supposed to use to have QGIS working with GRASS.
Now i do not have a fully working QGIS+GRASS system in windows (using 
OSGEO4W)
nor in Ubuntu 14.04 because GRASS GIS in ubuntugis-unstable is no more
compatible with QGIS or vice versa...

I think that QGIS and GRASS GIS enormously benefit each other
and really hope someone could give advise on what 
package/osegeo/ppa/stable/unstable/installer
to use to simply have QGIS and GRASS run together :-)

thanks, Roy.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Learning to zoom with PyQGIS

2016-01-27 Thread m roy
Hi,

i'm trying to learn a bit of "pyqgis" and cannot find how to zoom to
a certain scale,

here what i'm doing so far using QGIS python console:

###

# Set some variables to define the layer

shapefile_path = r'C:\data\shp\area.shp'
legend_layer_name = 'sample_area'
provider_name = 'ogr'

# define the layer to load

layer = QgsVectorLayer(shapefile_path,legend_layer_name,provider_name)

# verify

if not layer.isValid():
 raise IOError, "Failed to open the shapefile"

# load the layer in QGIS

QgsMapLayerRegistry.instance().addMapLayer(layer)

# now i can zoom to active layer i.e.

qgis.utils.iface.zoomToActiveLayer()

# or zoomFull zoomToNext zoomToPrevious

# How to zoom to say 1:1 ?

#####

thanks for any help, Roy







#



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

Re: [Qgis-developer] Learning to zoom with PyQGIS

2016-01-27 Thread m roy
Thanks Tom , got it

what i find confusing is

##
# This below does not work

canvas = QgsMapCanvas()

canvas.zoomScale(1)

##
# This below does work
###

canvas = qgis.utils.iface.mapCanvas()

canvas.zoomScale(1)


so there seems to be a difference between
"QgsMapCanvas" and "mapCanvas"

maybe because working into QGIS there already is
an existing QgsMapCanvas(); the map canvas istance
of QGIS itself, called mapCanvas() ?



Il 27/01/2016 15:47, Tom Chadwin ha scritto:
> Try searching for "zoom" on this page:
>
> http://qgis.org/api/classQgsMapCanvas.html
>
> That should get you some of the methods you require.
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Learning-to-zoom-with-PyQGIS-tp5247589p5247595.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

  1   2   >