Re: [QGIS-Developer] Temporary folders for processing

2019-11-25 Thread Andreas Neumann
Hi all, 

Thanks all for the discussion. 


In our specific situation we need to put all Processing related files
outside of the C: drive. One of our users made a large analysis on a
shared Windows application server and put the whole server to sleep
because the C:\ drive went full - I have to admit that the available
storage on the C:\ drive was rather limited (only 80GB) for ten
simultaneous users. But users were never supposed to store anything in
the C:\ drive ... I hope that we convince our IT services to offer more
storage on such servers - nonetheless. Maybe there are also policies our
IT servers could set on the C: drive to prevent it from running out of
storage (maybe some quota). 


So for the time being we have to overwrite the "TMP" variable
specifically only for QGIS and also set the setting for "default output
files" to a folder outside of the C:\ drive. 

Thanks and greetings, 

Andreas 


On 2019-11-26 00:07, Nyall Dawson wrote:

On Mon, 25 Nov 2019 at 21:24, Alexander Bruy  wrote: 


Temporary files are removed on QGIS exit, so if it crashes these files
will be left
untouched. AFAIK on the next run it won't be removed, as folder name is unique
between runs.


Just to round out this discussion - if QGIS does crash, then these
files are still likely to be cleaned up by the operating system
itself. E.g. on linux they'll be cleaned out at next reboot.

Nyall

пн, 25 лист. 2019 о 12:09 Andreas Neumann  пише: 
Thanks Nathan and Alex.


My follow-up question is: when are these temporary files cleaned/removed? I 
assume after the process finished - but what happens if QGIS crashes wile 
processing is running? Will QGIS clean up the old temporary files when it is 
started the next time?

Thanks,

Andreas

On 2019-11-25 11:06, Alexander Bruy wrote:

Hi Andreas,

Processing keeps al temporary files and outputs in the user temporary folder,
e.g. C:\Usres\user\AppData\Local\Temp\ on WIndows by default and /tmp on Linux.

пн, 25 лист. 2019 о 11:53 Andreas Neumann  пише:

Hi,

I would like to know where the temporary files of QGIS processing are stored? I 
know that there is a setting for default output files (defaults on Windows to 
C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs
 - but is this really the same location where also temporary files that are 
needed during the processing are stored?

Our issues is that several users share Windows servers and the C partition is 
only 80GB in size. If 5-10 users are sharing one Windows server, we fear that 
our C drive is filled really quickly.

Can we set another temporary drive/folder than 
"C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs"
 ? If yes, where do I find this setting?

Thank you for your help,

Andreas

___
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

--
Alexander Bruy
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-user] Python Implementation of QgsNetworkContentFetcher

2019-11-25 Thread Alessandro Pasotti
On Tue, Nov 26, 2019 at 8:22 AM Richard Duivenvoorde 
wrote:

> On 26/11/2019 00.06, Nyall Dawson wrote:
>
> > There's not. But there's the ex-boundless "networkaccessmanager"
> > implementation that supports authcfg, which you can find at
> >
> https://github.com/north-road/qgis-redistricting-plugin/blob/master/redistrict/linz/networkaccessmanager.py
> > (and other projects -- as far as I'm aware there's no real upstream
> > for this... Alessandro?).
>
> I used this Boundless thingie for several plugins now (original source
> is now pointing/redirecting to planetlabs [0]).
>

Yes, that's the "upstream" but I don't know if that one is maintained
anymore.

Btw, there is also a specialized class for sync/async downloads that
supports authcfg: https://qgis.org/api/classQgsFileDownloader.html#details



>
> I think we already discussed several times that it would be good to
> incorporate this into a commons lib for QGIS. But if I'm correct the
> actual interface was not exactly what some wanted, and if I recall
> correct Nyall tried to pull this into c++ but hit some multithreading
> issues.
>
> But as Nyall says: I think this is a great lib to use in a plugin (also
> because it used the QgisNetwork-stuff, so you can receive the signals
> from it or log the precise urls, like we do in the QGISnetworklogger
> plugin [1]
>
> Regards,
>
> Richard Duivenvoorde
>
> [0]
>
> https://github.com/planetfederal/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py
> [1] https://github.com/rduivenvoorde/qgisnetworklogger
> ___
> Qgis-user mailing list
> qgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-user] Python Implementation of QgsNetworkContentFetcher

2019-11-25 Thread Richard Duivenvoorde
On 26/11/2019 00.06, Nyall Dawson wrote:

> There's not. But there's the ex-boundless "networkaccessmanager"
> implementation that supports authcfg, which you can find at
> https://github.com/north-road/qgis-redistricting-plugin/blob/master/redistrict/linz/networkaccessmanager.py
> (and other projects -- as far as I'm aware there's no real upstream
> for this... Alessandro?).

I used this Boundless thingie for several plugins now (original source
is now pointing/redirecting to planetlabs [0]).

I think we already discussed several times that it would be good to
incorporate this into a commons lib for QGIS. But if I'm correct the
actual interface was not exactly what some wanted, and if I recall
correct Nyall tried to pull this into c++ but hit some multithreading
issues.

But as Nyall says: I think this is a great lib to use in a plugin (also
because it used the QgisNetwork-stuff, so you can receive the signals
from it or log the precise urls, like we do in the QGISnetworklogger
plugin [1]

Regards,

Richard Duivenvoorde

[0]
https://github.com/planetfederal/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py
[1] https://github.com/rduivenvoorde/qgisnetworklogger
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1515] DSGTools Op approval notification.

2019-11-25 Thread noreply

Plugin DSGTools Op approval by pcav.
The plugin version "[1515] DSGTools Op 1.2.3" is now approved
Link: http://plugins.qgis.org/plugins/DSGTools_Op/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1871] Oblicz wysokość (GUGiK NMT) approval notification.

2019-11-25 Thread noreply

Plugin Oblicz wysokość (GUGiK NMT) approval by pcav.
The plugin version "[1871] Oblicz wysokość (GUGiK NMT) 0.6" is now approved
Link: http://plugins.qgis.org/plugins/ObliczWysokosc/
___
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] Temporary folders for processing

2019-11-25 Thread Nyall Dawson
On Mon, 25 Nov 2019 at 21:24, Alexander Bruy  wrote:
>
> Temporary files are removed on QGIS exit, so if it crashes these files
> will be left
> untouched. AFAIK on the next run it won't be removed, as folder name is unique
> between runs.

Just to round out this discussion - if QGIS does crash, then these
files are still likely to be cleaned up by the operating system
itself. E.g. on linux they'll be cleaned out at next reboot.

Nyall


>
> пн, 25 лист. 2019 о 12:09 Andreas Neumann  пише:
> >
> > Thanks Nathan and Alex.
> >
> > My follow-up question is: when are these temporary files cleaned/removed? I 
> > assume after the process finished - but what happens if QGIS crashes wile 
> > processing is running? Will QGIS clean up the old temporary files when it 
> > is started the next time?
> >
> > Thanks,
> >
> > Andreas
> >
> > On 2019-11-25 11:06, Alexander Bruy wrote:
> >
> > Hi Andreas,
> >
> > Processing keeps al temporary files and outputs in the user temporary 
> > folder,
> > e.g. C:\Usres\user\AppData\Local\Temp\ on WIndows by default and /tmp on 
> > Linux.
> >
> >
> >
> > пн, 25 лист. 2019 о 11:53 Andreas Neumann  пише:
> >
> >
> > Hi,
> >
> > I would like to know where the temporary files of QGIS processing are 
> > stored? I know that there is a setting for default output files (defaults 
> > on Windows to 
> > C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs
> >  - but is this really the same location where also temporary files that are 
> > needed during the processing are stored?
> >
> > Our issues is that several users share Windows servers and the C partition 
> > is only 80GB in size. If 5-10 users are sharing one Windows server, we fear 
> > that our C drive is filled really quickly.
> >
> > Can we set another temporary drive/folder than 
> > "C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs"
> >  ? If yes, where do I find this setting?
> >
> > Thank you for your help,
> >
> > Andreas
> >
> >
> >
> > ___
> > 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
> >
> >
> >
> >
>
>
> --
> Alexander Bruy
> ___
> 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] Python Implementation of QgsNetworkContentFetcher

2019-11-25 Thread Nyall Dawson
On Tue, 26 Nov 2019 at 07:52, C Hamilton  wrote:
>
> Is there a python implementation of QgsNetworkContentFetcher? I need authcfg 
> to be a part of it and it looks like that was added in QGIS 3.10. In one of 
> my plugins I would like to use it, but I need to support earlier versions of 
> QGIS 3.

There's not. But there's the ex-boundless "networkaccessmanager"
implementation that supports authcfg, which you can find at
https://github.com/north-road/qgis-redistricting-plugin/blob/master/redistrict/linz/networkaccessmanager.py
(and other projects -- as far as I'm aware there's no real upstream
for this... Alessandro?).

Note that for QGIS 3.10 you could also use QgsBlockingNetworkRequest
if you're looking for a thread safe, blocking network connection. This
one is designed to be a nearly-drop-in replacement for the python
requests library, but which handles authcfg, QGIS proxies, SSL
exception lists, etc...

Nyall




>
> Thanks,
>
> Calvin Hamilton
> ___
> 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] Python Implementation of QgsNetworkContentFetcher

2019-11-25 Thread C Hamilton
Is there a python implementation of QgsNetworkContentFetcher? I need
authcfg to be a part of it and it looks like that was added in QGIS 3.10.
In one of my plugins I would like to use it, but I need to support earlier
versions of QGIS 3.

Thanks,

Calvin Hamilton
___
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] Delaying 3.10.1?

2019-11-25 Thread Jürgen E . Fischer
Hi Even,

On Mon, 25. Nov 2019 at 13:19:35 +0100, Even Rouault wrote:
> Now merged in PROJ master.
> Cherry-picked in PROJ 6.2 branch per
> https://github.com/OSGeo/PROJ/commit/bce4b158ab5f7d146de8e8fc98df4612dc8c2c9e

Applied, built, not yet published.


> > Looks like we'll need to cherry-pick the PROJ fix into the osgeo4w
> > build in order to resolve the blocking issue in QGIS.
 
> I would also suggest applying commit
> https://github.com/OSGeo/gdal/commit/bec5fbd4fbf5d69a8386b920f0dd6d951eceb117
> (which applies to GDAL 3.0 branch)
> on top of the 3.0.2 release
> This fixes a subtle multi-threading bug that causes memory corruption and
> could likely be the source of crashes at random times

Applied and still building…


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
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] Delaying 3.10.1?

2019-11-25 Thread C Hamilton
I have been watching with interest this thread because this latest release
broke the MGRS capability in Lat Lon Tools and can cause QGIS to completely
hang. This happens with both 3.4 and 3.10. I think it must be something
with one of the modules being imported which are: re, math, itertools,
builtins, os, logging, and osgeo. I have put in a trouble ticket with
Planet Inc. to take a look at it, but I don't thing the problem is with the
MGRS module.

>From a user's perspective I agree that the LTR should never have major
updates made and perhaps it should be reverted back to the prior version.

Despite these issues I just want to thank all of you for your tireless
dedication towards QGIS. There are always issues that have to be worked
through when libraries are updated. Thanks for all that you do.

Calvin

On Mon, Nov 25, 2019 at 7:19 AM Even Rouault 
wrote:

> > Ok, thanks to a **marathon** debugging effort from Even, we have a fix
> > inbound -- https://github.com/OSGeo/PROJ/pull/1746
>
> Now merged in PROJ master.
> Cherry-picked in PROJ 6.2 branch per
>
> https://github.com/OSGeo/PROJ/commit/bce4b158ab5f7d146de8e8fc98df4612dc8c2c9e
>
> >
> > Looks like we'll need to cherry-pick the PROJ fix into the osgeo4w
> > build in order to resolve the blocking issue in QGIS.
>
> I would also suggest applying commit
>
> https://github.com/OSGeo/gdal/commit/bec5fbd4fbf5d69a8386b920f0dd6d951eceb117
> (which applies to GDAL 3.0 branch)
> on top of the 3.0.2 release
> This fixes a subtle multi-threading bug that causes memory corruption and
> could likely be the source of crashes at random times
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
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] Fwd: Call for review on RFC 4 text: Remote access to grids and GeoTIFF grids

2019-11-25 Thread Even Rouault
Hi,

the below can be of interest for QGIS in the future.

Particularly the part that describes a capability to access grids stored 
remotely:
https://github.com/rouault/PROJ/blob/rfc4_remote_and_geotiff_grid/docs/source/community/rfc/rfc-4.rst#network-access-to-grids

and more specifically I'd be interested in hearing if the proposed callback 
mechanism
intended to make QGIS able to plug its networking mechanisms into PROJ looks 
reasonable.

Even

--  Forwarded Message  --

Subject: Call for review on RFC 4 text: Remote access to grids and GeoTIFF grids
Date: lundi 25 novembre 2019, 13:46:37 CET
From: Even Rouault 
To: p...@lists.osgeo.org

Hi,

As announced last week, you'll find a RFC describing two new capabilities,
remote access to grids and a GeoTIFF-based format for grids, in
https://github.com/OSGeo/PROJ/pull/1747

You can get an (almost correct) preview of it by going through
https://github.com/rouault/PROJ/blob/rfc4_remote_and_geotiff_grid/docs/source/community/rfc/rfc-4.rst
(some links will not work in this preview: expected given that this rendering 
doesn't go through Sphinx)

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-
-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1890] Freehand Editing 3 approval notification.

2019-11-25 Thread noreply

Plugin Freehand Editing 3 approval by pcav.
The plugin version "[1890] Freehand Editing 3 1.1.0 Experimental" is now 
approved
Link: http://plugins.qgis.org/plugins/freehandEditing3/
___
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] Delaying 3.10.1?

2019-11-25 Thread Even Rouault
> Ok, thanks to a **marathon** debugging effort from Even, we have a fix
> inbound -- https://github.com/OSGeo/PROJ/pull/1746

Now merged in PROJ master.
Cherry-picked in PROJ 6.2 branch per
https://github.com/OSGeo/PROJ/commit/bce4b158ab5f7d146de8e8fc98df4612dc8c2c9e

> 
> Looks like we'll need to cherry-pick the PROJ fix into the osgeo4w
> build in order to resolve the blocking issue in QGIS.

I would also suggest applying commit
https://github.com/OSGeo/gdal/commit/bec5fbd4fbf5d69a8386b920f0dd6d951eceb117
(which applies to GDAL 3.0 branch)
on top of the 3.0.2 release
This fixes a subtle multi-threading bug that causes memory corruption and
could likely be the source of crashes at random times

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Temporary folders for processing

2019-11-25 Thread Alexander Bruy
Temporary files are removed on QGIS exit, so if it crashes these files
will be left
untouched. AFAIK on the next run it won't be removed, as folder name is unique
between runs.

пн, 25 лист. 2019 о 12:09 Andreas Neumann  пише:
>
> Thanks Nathan and Alex.
>
> My follow-up question is: when are these temporary files cleaned/removed? I 
> assume after the process finished - but what happens if QGIS crashes wile 
> processing is running? Will QGIS clean up the old temporary files when it is 
> started the next time?
>
> Thanks,
>
> Andreas
>
> On 2019-11-25 11:06, Alexander Bruy wrote:
>
> Hi Andreas,
>
> Processing keeps al temporary files and outputs in the user temporary folder,
> e.g. C:\Usres\user\AppData\Local\Temp\ on WIndows by default and /tmp on 
> Linux.
>
>
>
> пн, 25 лист. 2019 о 11:53 Andreas Neumann  пише:
>
>
> Hi,
>
> I would like to know where the temporary files of QGIS processing are stored? 
> I know that there is a setting for default output files (defaults on Windows 
> to 
> C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs
>  - but is this really the same location where also temporary files that are 
> needed during the processing are stored?
>
> Our issues is that several users share Windows servers and the C partition is 
> only 80GB in size. If 5-10 users are sharing one Windows server, we fear that 
> our C drive is filled really quickly.
>
> Can we set another temporary drive/folder than 
> "C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs"
>  ? If yes, where do I find this setting?
>
> Thank you for your help,
>
> Andreas
>
>
>
> ___
> 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
>
>
>
>


-- 
Alexander Bruy
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1803] Get Them Filtered approval notification.

2019-11-25 Thread noreply

Plugin Get Them Filtered approval by pcav.
The plugin version "[1803] Get Them Filtered 0.1.1" is now approved
Link: http://plugins.qgis.org/plugins/getthemfiltered/
___
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] Temporary folders for processing

2019-11-25 Thread Andreas Neumann
Thanks Nathan and Alex.  


My follow-up question is: when are these temporary files
cleaned/removed? I assume after the process finished - but what happens
if QGIS crashes wile processing is running? Will QGIS clean up the old
temporary files when it is started the next time? 

Thanks, 

Andreas 


On 2019-11-25 11:06, Alexander Bruy wrote:


Hi Andreas,

Processing keeps al temporary files and outputs in the user temporary folder,
e.g. C:\Usres\user\AppData\Local\Temp\ on WIndows by default and /tmp on Linux.

пн, 25 лист. 2019 о 11:53 Andreas Neumann  пише: 


Hi,

I would like to know where the temporary files of QGIS processing are stored? I 
know that there is a setting for default output files (defaults on Windows to 
C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs
 - but is this really the same location where also temporary files that are 
needed during the processing are stored?

Our issues is that several users share Windows servers and the C partition is 
only 80GB in size. If 5-10 users are sharing one Windows server, we fear that 
our C drive is filled really quickly.

Can we set another temporary drive/folder than 
"C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs"
 ? If yes, where do I find this setting?

Thank you for your help,

Andreas

___
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] Temporary folders for processing

2019-11-25 Thread Alexander Bruy
Hi Andreas,

Processing keeps al temporary files and outputs in the user temporary folder,
e.g. C:\Usres\user\AppData\Local\Temp\ on WIndows by default and /tmp on Linux.



пн, 25 лист. 2019 о 11:53 Andreas Neumann  пише:
>
> Hi,
>
> I would like to know where the temporary files of QGIS processing are stored? 
> I know that there is a setting for default output files (defaults on Windows 
> to 
> C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs
>  - but is this really the same location where also temporary files that are 
> needed during the processing are stored?
>
> Our issues is that several users share Windows servers and the C partition is 
> only 80GB in size. If 5-10 users are sharing one Windows server, we fear that 
> our C drive is filled really quickly.
>
> Can we set another temporary drive/folder than 
> "C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs"
>  ? If yes, where do I find this setting?
>
> Thank you for your help,
>
> Andreas
>
>
>
> ___
> 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



-- 
Alexander Bruy
___
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] Temporary folders for processing

2019-11-25 Thread Andreas Neumann
Hi Nathan, 

So it is using the %TEMP% environment variable of the Windows system? 

Ok - that helps. Thanks for the hint! 

Andreas 


On 2019-11-25 10:57, Nathan Woodrow wrote:

Hey, 

They should be going into whatever %TEMP% is set as: In my case that is C:/Users/Nathan/AppData/Local/Temp/ and running one of the GDAL commands outputs this: 

C:/Users/Nathan/AppData/Local/Temp/processing_95803a9cdde54b1f8e28633e7fc16ccb/2834f0fd8fc4455485a212fb405c38c8/OUTPUT.gpkg 

Regards, 

Nathan 

On Mon, Nov 25, 2019 at 7:53 PM Andreas Neumann  wrote: 

Hi, 

I would like to know where the temporary files of QGIS processing are stored? I know that there is a setting for default output files (defaults on Windows to C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs - but is this really the same location where also temporary files that are needed during the processing are stored? 

Our issues is that several users share Windows servers and the C partition is only 80GB in size. If 5-10 users are sharing one Windows server, we fear that our C drive is filled really quickly. 

Can we set another temporary drive/folder than "C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs" ? If yes, where do I find this setting? 

Thank you for your help, 

Andreas 


___
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] Temporary folders for processing

2019-11-25 Thread Nathan Woodrow
Hey,

They should be going into whatever %TEMP% is set as: In my case that
is C:/Users/Nathan/AppData/Local/Temp/
and running one of the GDAL commands outputs this:

C:/Users/Nathan/AppData/Local/Temp/processing_95803a9cdde54b1f8e28633e7fc16ccb/2834f0fd8fc4455485a212fb405c38c8/OUTPUT.gpkg


Regards,

Nathan

On Mon, Nov 25, 2019 at 7:53 PM Andreas Neumann  wrote:

> Hi,
>
> I would like to know where the temporary files of QGIS processing are
> stored? I know that there is a setting for default output files (defaults
> on Windows
> to 
> C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs
> - but is this really the same location where also temporary files that are
> needed during the processing are stored?
>
> Our issues is that several users share Windows servers and the C partition
> is only 80GB in size. If 5-10 users are sharing one Windows server, we fear
> that our C drive is filled really quickly.
>
> Can we set another temporary drive/folder than
> "C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs"
> ? If yes, where do I find this setting?
>
> Thank you for your help,
>
> Andreas
>
>
>
> ___
> 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] Temporary folders for processing

2019-11-25 Thread Andreas Neumann
Hi, 


I would like to know where the temporary files of QGIS processing are
stored? I know that there is a setting for default output files
(defaults on Windows to
C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs
- but is this really the same location where also temporary files that
are needed during the processing are stored? 


Our issues is that several users share Windows servers and the C
partition is only 80GB in size. If 5-10 users are sharing one Windows
server, we fear that our C drive is filled really quickly. 


Can we set another temporary drive/folder than
"C:\Users\username\AppData\Roaming\QGIS\QGIS3\profiles\profilename\processing\outputs"
? If yes, where do I find this setting? 

Thank you for your help, 


Andreas___
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] crssync.exe crash during QGIS build

2019-11-25 Thread Thomas Baumann
Hi Devs,
I managed to build QGIS under linux and windows with QTCreator.
What still doesn't work is building QGIS with visual developer.

I followed instructions like
https://github.com/qgis/QGIS/blob/master/INSTALL#L423
https://www.shaeffer.co/compiling-qgis-with-visual-studio/
https://www.cursosgis.com/compilar-y-debuggear-qgis-en-windows/

but everytime I try to build QGIS within Visual Developer crssync.exe
crashes and when I try to start the debugger I get the error message that
qgis_app.dll is missing even if the file is in the folder where qgis.exe is
also located:
C:\Projects\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\output\bin\RelWithDebInfo


Does someone know how to find out what is causing the problem?

I rebuilt qgis_app, qgis_core and crssync separately within visual
developer. All of them succeeded but the ALL_Build/Debugging still doesn't
work.

---
Problemsignatur:
  Problemereignisname: APPCRASH
  Anwendungsname: crssync.exe
  Anwendungsversion: 0.0.0.0
  Anwendungszeitstempel: 5ddb8f23
  Fehlermodulname: qgis_core.dll
  Fehlermodulversion: 6.3.9600.19464
  Fehlermodulzeitstempel: 5d6727f2
  Ausnahmecode: c135
  Ausnahmeoffset: 000ecf30
  Betriebsystemversion: 6.3.9600.2.0.0.272.7

regards,
Thomas
___
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