Re: [Qgis-developer] QGIS3 crashes on startup

2016-12-23 Thread Rainer Hurling
Am 23.12.2016 um 18:57 schrieb Paolo Cavallini:
> Il 23/12/2016 18:36, Rainer Hurling ha scritto:
>> Could you describe more exactly, what you did, when you clean up 'the
>> entire environment', please.
> 
> cleaning up the git local repo
> 
>> With new master versions on my FreeBSD boxes, I also have some trouble
>> at startup from time to time. For me, it helps to remove the user
>> configuration in '~/.qgis-dev' and sometimes also in '~/.config/QGIS'.
>> Is this, what you meant be 'entire environment'?
> 
> not, I did not touch ~/.qgis3
> 
> all the best
> 

Thanks for clarification :)

___
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] QGIS3 crashes on startup

2016-12-23 Thread Rainer Hurling
Hi Paolo,

Am 23.12.2016 um 16:02 schrieb Paolo Cavallini:
> Il 22/12/2016 09:34, Paolo Cavallini ha scritto:
>> Hi all,
>> in the last few days, freshly compiled QGIS master crashes.
> 
> Solved by cleaning up the entire environment. make clean was not enough.
> Thanks.
> 

Could you describe more exactly, what you did, when you clean up 'the
entire environment', please.

With new master versions on my FreeBSD boxes, I also have some trouble
at startup from time to time. For me, it helps to remove the user
configuration in '~/.qgis-dev' and sometimes also in '~/.config/QGIS'.
Is this, what you meant be 'entire environment'?

Thanks in advance.

Best wishes,
Rainer Hurling
___
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] QGIS3 crashes on startup

2016-12-23 Thread Paolo Cavallini
Il 23/12/2016 18:36, Rainer Hurling ha scritto:
> Could you describe more exactly, what you did, when you clean up 'the
> entire environment', please.

cleaning up the git local repo

> With new master versions on my FreeBSD boxes, I also have some trouble
> at startup from time to time. For me, it helps to remove the user
> configuration in '~/.qgis-dev' and sometimes also in '~/.config/QGIS'.
> Is this, what you meant be 'entire environment'?

not, I did not touch ~/.qgis3

all the best
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Possible changes in WMS CRS handling in 2.14.10?

2016-12-23 Thread Paolo Cavallini
Il 23/12/2016 16:43, Giovanni Manghi ha scritto:

> I have recently started to see a lot of issues with WMS layers from
> services being updated (based on QGIS server). The workaround passed
> to clear the cache in general options, even if this is configured to
> 0.
> 
> not sure we are speaking about the same problem.

most likely yes. will check and report.
thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Future of the GDALTools plugin

2016-12-23 Thread Paolo Cavallini
Il 23/12/2016 17:29, Mathieu Pellerin ha scritto:
> Alex, there is one aspect where gdaltools plugin still surpasses
> processing, namely the possibility of creating virtual rasters from
> multiple files without having to load those in QGIS to begin with. 

> On Dec 23, 2016 23:23, "Alexander Bruy"  > wrote:

> Are there any objections to remove GDALTools?

Agreed it should be removed in QGIS 3.
Agreed about the VRT issue reported by Mathieu.
Perhaps it would be good to announce this more widely (qgis-users,
social networks), to collect eventual similar cases.
Is Processing non-blocking in QGIS 3 now?
All the best, and thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Future of the GDALTools plugin

2016-12-23 Thread Mathieu Pellerin
Alex, there is one aspect where gdaltools plugin still surpasses
processing, namely the possibility of creating virtual rasters from
multiple files without having to load those in QGIS to begin with.

If that could be dealt with, I wouldn't look back to the plugin in a
hundred years :)

On Dec 23, 2016 23:23, "Alexander Bruy"  wrote:

> Hi all,
>
> some time ago I submitted a QEP about removing fTools and GDALTools
> plugins and replacing them with Processing [0, 1]. fTools plugin was
> removed,
> but GDALTools still here. IMHO it would be good to drop GDALTools in QGIS
> 3.0.
>
> Right now Processing offers same functionality as GDALTools plugin and even
> tools which are not available in GDALTools. Also it receives much more
> attention
> and bugfixes. For example, if a user creates with the field calculator
> a new column
> in a vector to be used for some operation within GDALTools, then this
> column
> is not recognized (but it is in the equivalent tool in Processing) and
> this is not
> only one problem.
>
> Are there any objections to remove GDALTools?
>
> [0] https://github.com/qgis/QGIS-Enhancement-Proposals/issues/54
> [1] http://osgeo-org.1560.x6.nabble.com/QEP-Dropping-
> fTools-GdalTools-in-favor-of-Processing-td5247519.html
>
> --
> Alexander Bruy
> ___
> 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] Future of the GDALTools plugin

2016-12-23 Thread Alexander Bruy
Hi all,

some time ago I submitted a QEP about removing fTools and GDALTools
plugins and replacing them with Processing [0, 1]. fTools plugin was removed,
but GDALTools still here. IMHO it would be good to drop GDALTools in QGIS 3.0.

Right now Processing offers same functionality as GDALTools plugin and even
tools which are not available in GDALTools. Also it receives much more attention
and bugfixes. For example, if a user creates with the field calculator
a new column
in a vector to be used for some operation within GDALTools, then this column
is not recognized (but it is in the equivalent tool in Processing) and
this is not
only one problem.

Are there any objections to remove GDALTools?

[0] https://github.com/qgis/QGIS-Enhancement-Proposals/issues/54
[1] 
http://osgeo-org.1560.x6.nabble.com/QEP-Dropping-fTools-GdalTools-in-favor-of-Processing-td5247519.html

-- 
Alexander Bruy
___
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] Possible changes in WMS CRS handling in 2.14.10?

2016-12-23 Thread Giovanni Manghi
> I have been reported a problem in QGIS 2.14.10: the same projects that
> were working as WMS with 2.14.9 do not return valid data when upgrading
> to 2.14.10. Apparently .10 switches off OTF reprojection, but could not
> make more tests because we had to revert immediately to .9 (it is a
> production server).
> Anyone had the same issue?

what does means "do not return valid data"?


I have recently started to see a lot of issues with WMS layers from
services being updated (based on QGIS server). The workaround passed
to clear the cache in general options, even if this is configured to
0.

not sure we are speaking about the same problem.

-- g --
___
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] QGIS3 crashes on startup

2016-12-23 Thread Paolo Cavallini
Il 22/12/2016 09:34, Paolo Cavallini ha scritto:
> Hi all,
> in the last few days, freshly compiled QGIS master crashes.

Solved by cleaning up the entire environment. make clean was not enough.
Thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Save As Raster - Match Exact extent

2016-12-23 Thread Giovanni Manghi
> When saving a raster (Save As) in origin resolution eg. 0.4*0.4  - it gives a 
> new resolution in the saved file eg. 0.39989,-0.400057

Hi,

just tested on 2.18.2 with a raster in a projected CRS and output
resolutions matches the input one.

Can you share a sample of your data?

cheers!

-- G --
___
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] $id not working as default value

2016-12-23 Thread Paolo Cavallini
Il 23/12/2016 14:32, Giovanni Manghi ha scritto:

> The solution from the Gitter discussion
> 
> aggregate( 'layername','max',"id")+1

thanks Giovanni

> We need of course a more user friendly way to allow users have
> incremental/serial ids in their shapefiles...

sure, e.g. a named preset expression, as previously suggested.
all the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] $id not working as default value

2016-12-23 Thread Giovanni Manghi
Hi,

> I recall a discussion on gitter about adding a serial expression but not
> sure it's implemented.
> A workaround could be using maximum("field") + 1

The solution from the Gitter discussion

aggregate( 'layername','max',"id")+1

We need of course a more user friendly way to allow users have
incremental/serial ids in their shapefiles...


Cheers!

-- G --
___
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] $id not working as default value

2016-12-23 Thread Paolo Cavallini
Il 23/12/2016 13:15, DelazJ ha scritto:
> Hi Paolo,
> I recall a discussion on gitter about adding a serial expression but not
> sure it's implemented.
> A workaround could be using maximum("field") + 1

Interestingly, I hit another bug:
http://hub.qgis.org/issues/16008
The origin of an empty field is set to a wrong value.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] $id not working as default value

2016-12-23 Thread Paolo Cavallini
Il 23/12/2016 13:23, Junior ha scritto:
> Yes I saw it. Type the formula.
> Give a look to hub.qgis.org/issues/15935 btw

oh, thanks a lot.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] $id not working as default value

2016-12-23 Thread Junior
Yes I saw it. Type the formula.
Give a look to hub.qgis.org/issues/15935 btw

Envoyé depuis mon HTC

- Reply message -
De : "Paolo Cavallini" 
Pour : "DelazJ" 
Cc : "qgis-developer" 
Objet : [Qgis-developer] $id not working as default value
Date : ven., déc. 23, 2016 13:19

Il 23/12/2016 13:15, DelazJ ha scritto:
> Hi Paolo,
> I recall a discussion on gitter about adding a serial expression but not
> sure it's implemented.
> A workaround could be using maximum("field") + 1

thanks, but see my other message:
Default value in forms: field names not available in expressions
all the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis___
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] $id not working as default value

2016-12-23 Thread Junior
Yes I saw it. Type the formula.
Give a look to hub.qgis.org/issues/15935 btw

Envoyé depuis mon HTC

- Reply message -
De : "Paolo Cavallini" 
Pour : "DelazJ" 
Cc : "qgis-developer" 
Objet : [Qgis-developer] $id not working as default value
Date : ven., déc. 23, 2016 13:19

Il 23/12/2016 13:15, DelazJ ha scritto:
> Hi Paolo,
> I recall a discussion on gitter about adding a serial expression but not
> sure it's implemented.
> A workaround could be using maximum("field") + 1

thanks, but see my other message:
Default value in forms: field names not available in expressions
all the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis___
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] $id not working as default value

2016-12-23 Thread Paolo Cavallini
Il 23/12/2016 13:15, DelazJ ha scritto:
> Hi Paolo,
> I recall a discussion on gitter about adding a serial expression but not
> sure it's implemented.
> A workaround could be using maximum("field") + 1

thanks, but see my other message:
Default value in forms: field names not available in expressions
all the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] $id not working as default value

2016-12-23 Thread DelazJ
Hi Paolo,
I recall a discussion on gitter about adding a serial expression but not
sure it's implemented.
A workaround could be using maximum("field") + 1

Harrissou

Le vendredi 23 décembre 2016, Paolo Cavallini  a
écrit :
> Hi all,
> if I define the function `$id` as a default value for newly entered
> geoms, I only get 0s. Is there a way of having a serial in shapefile?
> Yes, I know, nobody should use shapefiles anymore :)
> All the best, and thanks.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
> ___
> 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] $id not working as default value

2016-12-23 Thread Paolo Cavallini
Hi all,
if I define the function `$id` as a default value for newly entered
geoms, I only get 0s. Is there a way of having a serial in shapefile?
Yes, I know, nobody should use shapefiles anymore :)
All the best, and thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Default value in forms: field names not available in expressions

2016-12-23 Thread Paolo Cavallini
Hi all,
when setting a default value in forms (Layer > Properties > Text edit)
through expressions, under Fields and Values the list of fields for the
table is not reported. Is this a bug, or a feature still missing?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Possible changes in WMS CRS handling in 2.14.10?

2016-12-23 Thread Paolo Cavallini
Hi all,
I have been reported a problem in QGIS 2.14.10: the same projects that
were working as WMS with 2.14.9 do not return valid data when upgrading
to 2.14.10. Apparently .10 switches off OTF reprojection, but could not
make more tests because we had to revert immediately to .9 (it is a
production server).
Anyone had the same issue?
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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] Save As Raster - Match Exact extent

2016-12-23 Thread Lene Fischer
Hi,



When saving a raster (Save As) in origin resolution eg. 0.4*0.4  - it gives a 
new resolution in the saved file eg. 0.39989,-0.400057



I don´t have any possibilities to set the extent to make an exact match with 
the original layer.

Is there an easy work around for this issue ?



Regards

Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


DIR +45 35331579
MOB +45 40115084
l...@ign.ku.dk
www.ign.ku.dk


[cid:image001.gif@01D2444C.0C2DB110]







___
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