Re: [Qgis-user] QGIS in the commercial world

2020-04-15 Per discussione Michael Dufty
Sustaining membership works  out a bit steep for us if you follow the guideline 
– about 10 times what we currently pay for commercial software (Manifold).
Is it reasonable to interpret number of employees as GIS users rather than 
total employees?
I see my local council is on there as small, and I’m sure they have more than 
10 employees.

Obviously no limits apply if we go with donations without membership.

Michael Dufty

From: Anita Graser 
Sent: Wednesday, 15 April 2020 1:47 PM
To: i...@jcis.net.au; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS in the commercial world


Dear Iain,

Yes, QGIS has an entity: QGIS.ORG is the worldwide association of QGIS users 
and developers. QGIS.ORG is constituted as a Swiss ‘association’ 
(https://qgis.org/en/site/getinvolved/governance/charter.html) but it is not a 
registered charity.

To help support QGIS, organizations are invited to become sustaining members of 
QGIS.ORG. The details of our sustaining membership program are described in: 
https://qgis.org/en/site/getinvolved/governance/sustaining_members/sustaining_members.html

You can also see who's already supporting QGIS: 
https://qgis.org/en/site/about/sustaining_members.html

Regards,

Anita

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

Re: [Qgis-user] Labels within a bubble callouts

2020-04-15 Per discussione Nicolas Cadieux
Hi,

Under layer properties- labels - Background-shape, you could create the shape 
you are looking for or use a SVG symbol.

Nicolas Cadieux
Ça va bien aller!

> Le 15 avr. 2020 à 15:45, krishna Ayyala  a écrit :
> 
> 
> Hello,
> I have a point shape file with about 50 points.The name of each point is 
> A1,A2,A3..A50. i.e. they are labeled from A1 to A50. I wish, each of 
> these labels to appear inside a bubble callout as shown in the diagram below. 
> Is it possible to do this in QGIS?
> 
> Regards.
> 
> 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Display recent projects at startup

2020-04-15 Per discussione Alexis R.L.
Greetings,

On newer installs the NEWS and Template panel tend to overlap the Recent
Project panel. If you check left of NEWS on the main page you should be
able to move that panel and uncover the underlying Recent Project panel.

Alex


Le mar. 14 avr. 2020 à 22:38, Phil Wyatt  a écrit :

> Hi Patrick - which version of QGIS? I think it’s the
>
> Settings, General, Options, Project files and "Open Project on launch" set
> as "Welcome Page'
>
> Cheers - Phil
>
> -Original Message-
> From: Qgis-user  On Behalf Of Patrick
> Dunford
> Sent: Wednesday, 15 April 2020 10:58 AM
> To: qgis-user ML 
> Subject: [Qgis-user] Display recent projects at startup
>
> Good day
>
> On one of my computers Qgis will display a graphical list of recently
> opened projects when no project is currently open. On another computer it
> won't display this list.
>
> How is it possible to get the software to display this list. I have looked
> through menus and settings but haven't been able to discover how to change
> this.
>
> Thanks
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] Analisi di visibilità

2020-04-15 Per discussione Stefano Campus
Maria Teresa Masaniello wrote
> ok, grazie
> quindi se ho capito bene se io mettessi il valore di 1,75 m nel campo
> "Observer height meters" è come se aggiungessi un offset costante in tutto
> il dtm?

no, dai un incremento di 1.75 m solo a quella cella


Maria Teresa Masaniello wrote
> Per quanto riguarda le altezze delle turbine, visto che non sono costanti
> ho creato nello shapafile un campo "altezze" in cui riporto l'altezza di
> ogni turbina. Se voglio considerare ognuna di queste altezze, è corretto
> inserire questo campo dello shapefile nella voce "field value for observer
> height"? E' in questo modo che nell'algoritmo di qgis considero le altezze
> della turbina?

no, devi inserirlo nel dataset "target"




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Labels within a bubble callouts

2020-04-15 Per discussione krishna Ayyala
Hello,
I have a point shape file with about 50 points.The name of each point is
A1,A2,A3..A50. i.e. they are labeled from A1 to A50. I wish, each
of these labels to appear inside a bubble callout as shown in the diagram
below. Is it possible to do this in QGIS?

Regards.

[image: image.png]
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Beginner question about "Add geometry attributes" with Sperical ellipsoid

2020-04-15 Per discussione Hilbert Set
Hello,
I am using QGIS version 3.12.1-București QGIS code revision121cc00ff00 on
Windows 64 bit.

In the properties window for the project, Project > Project Properties >
General > Measurements > Ellipsoid (for distance and are calculations), I
set the value "WGS 84 (EPSG:7030)"

Then I try to add geometry attributes to a line layer, as explained at page:
https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#id212

Vector > Geometry Tools > Add Geometry Attributes
I set: calculate using Ellipsoidal

It works fine: I get a new layer which includes an attribute "length" with
the length of the lines (in meters).

Now I want to repeat the computation of the length, but with reference to a
different ellipsoid: In the properties window for the project, under
Project > Project Properties > General > Measurements > Ellipsoid (for
distance and are calculations), I set the value "Sphere GRS 1980 Mean
Radius (ESRI:107047)"

This time when I try to add geometry values to the original layer, in the
same way as descirbed before, it looks to work fine, I get no error message
and get a new "length" attribute, but its value is "null".

If I set again a different ellispoid in Project > Project Properties >
General > Measurement > Ellipsoid (for distance and are calculations),
provided it is not a spherical one, it works fine again, with numerical
value of distance computed instead of "null".

So, my question is: how can I get QGIS to compute the length of the lines
using the spherical ellipsoid?

Thanks
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Alessandro Pasotti
On Wed, Apr 15, 2020 at 1:53 PM Richard Duivenvoorde
 wrote:
>
> On 4/15/20 1:40 PM, Alessandro Pasotti wrote:
>
> >> Is it an idea (feature request?) to let qgis_mapserver.exe spit out an
> >> INFO-message line telling the user that "Started a minimal http-server
> >> on localhost port 8000 for testing purposes" or so?
> >> OR is the code itself not aware it is being ran as a standalone http dev
> >> server at that moment?
> >
> > That's what it is supposed to do:
> > https://github.com/qgis/QGIS/blob/master/src/server/qgis_mapserver.cpp#L208
> >
> > I've no idea why you don't see it on windows.
>
> Ok it is there, but just buried beneath all other output...
> What about moving those lines to:
>
> https://github.com/qgis/QGIS/blob/master/src/server/qgis_mapserver.cpp#L241
>
> (/me thinking server.initPython() is the line that gave me the output:
> "INFO Server[178177]: No server python plugins are available"
> So if the server is 'waiting' for connections it is actually showing
> that info.
>
> Happy to do a pr if you want :-)

Yes please, sounds better.

But notice that there is actually a difference: all the debug info
goes to stderr, and the "listening" message goes to stdout.
You can actually silence all QGIS server internal debugging and
logging info by redirecting stderr to a file or /dev/null, you will
get only the output from the application which goes to stdout.

That was what I had in mind when I designed it.

>
> Regards,
>
> Richard
>


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

Re: [Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Richard Duivenvoorde
On 4/15/20 1:40 PM, Alessandro Pasotti wrote:

>> Is it an idea (feature request?) to let qgis_mapserver.exe spit out an
>> INFO-message line telling the user that "Started a minimal http-server
>> on localhost port 8000 for testing purposes" or so?
>> OR is the code itself not aware it is being ran as a standalone http dev
>> server at that moment?
> 
> That's what it is supposed to do:
> https://github.com/qgis/QGIS/blob/master/src/server/qgis_mapserver.cpp#L208
> 
> I've no idea why you don't see it on windows.

Ok it is there, but just buried beneath all other output...
What about moving those lines to:

https://github.com/qgis/QGIS/blob/master/src/server/qgis_mapserver.cpp#L241

(/me thinking server.initPython() is the line that gave me the output:
"INFO Server[178177]: No server python plugins are available"
So if the server is 'waiting' for connections it is actually showing
that info.

Happy to do a pr if you want :-)

Regards,

Richard

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

Re: [Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Alessandro Pasotti
On Wed, Apr 15, 2020 at 1:32 PM Richard Duivenvoorde
 wrote:
>
> On 4/15/20 12:50 PM, Alessandro Pasotti wrote:
>
> >> @Allesandro: you say a standalone development server. But (even on
> >> windows) it's not that you run a webserver on port 80 if you run
> >> qgis_mapserver or qgis_mapserver.exe, is it?
> >
> > Yes, it's a full standalone HTTP development server.
> >
> >> If I run it here it's
> >> initing all QGIS machinery and ends with:
> >> INFO Server[178177]: No server python plugins are available
> >> seemingly waiting for a connection, but I do not know how
> >
> > try calling it with '-h'
>
> Ah, duh... thanks...
>
> YES, so it run's by default on port localhost:8000
>
> And it is also working (tested) on Windows:
>
> Saving a simple project into c:\tmp
> Starting qgis_mapserver.exe
> And in browser I go to:
> http://localhost:8000/?map=c:\tmp\nl.qgs=WMS=getcapabilities
> And I have a valid capabilities document!
>
> Thanks Ale! Works like a charm ( even on Windooz ;-) )
>
> Is it an idea (feature request?) to let qgis_mapserver.exe spit out an
> INFO-message line telling the user that "Started a minimal http-server
> on localhost port 8000 for testing purposes" or so?
> OR is the code itself not aware it is being ran as a standalone http dev
> server at that moment?

That's what it is supposed to do:
https://github.com/qgis/QGIS/blob/master/src/server/qgis_mapserver.cpp#L208

I've no idea why you don't see it on windows.

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

Re: [Qgis-user] Distincguis NULL and empty strings when reading CSV files

2020-04-15 Per discussione Yann Voté
Brent : thanks for the detailed explanation. As for your suggestion, I'm 
trying to go the other way around: Postgis --> CSV --> QGIS.


The goal is to quickly extract data from a very large table in Postgis 
using an extent drawn by the user on the canvas. So I do a `COPY (SELECT 
... FROM ... WHERE ST_Intersects(geometry, extent_drawn_on_canvas)) TO 
...` to get a CSV file, and then I load the CSV file into QGIS, 
expecting to get the exact same values than in Postgis (NULL when NULL 
in Postgis, empty string when empty string in Postgis).


Richard: nice workaround, and it almost works! With a space in double 
quotes (" "), I get in my QGIS 3.12 a single space string, not an empty 
string, even when Trim fields in checked. But with a space and no 
quotes, it works! That is just like the following.


col1,col2,col3,col4
1,, ,"foo"

col3 get an empty string (if Trim fields is checked).

Hope this is a stable behavior.

Thanks again!

Regards.

Yann

Le 15/04/2020 à 12:35, brent.w...@niwa.co.nz a écrit :

Not that I'm aware of -

Text files do not have an implicit way of representing null values, except for 
an empty string.

Databases do this better, with an isnull() function which is different to an 
='' (2x single quotes) expression - the empty string.

Some software packages use a locally specified string (eg: NA) to represent 
nulls, so you can use an !='NA' expression to exclude nulls.

The ^A (control-A) ANSI character also represents a null, but good luck getting 
a useful text file containing control codes. Generally non-trivial.

Note that an "=null" expression is semantically void, null means unknown, so 
two nulls do not equal each other, we don't know what they equal by definition.
Which is why SQL has the is null/isnull() approach, it is not a logical "=" 
operator.

I suggest you either load your text file into a database table (spatialite or 
postgis?), define the nulls as db null values (which are NOT the same as empty 
strings)
& QGIS can use the db to do the null operations, or alternatively you could define a 
string (not an empty string) that is used to represent nulls in your file, and use an 
"=" operator. For numerical values you can use a value which does not occur in the 
dataset to represent a null .

Brent Wood

Programme leader: Environmental Information Delivery
NIWA
DDI:  +64 (4) 3860529


From: Qgis-user  on behalf of Yann Voté 

Sent: Wednesday, April 15, 2020 21:57
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Distincguis NULL and empty strings when reading CSV
files

Hi all,

Just wondering if there is a way to distinguish null values and empty
strings when loading CSV files in QGIS.

What I tried so far is quoting empty strings like in the following example.

col1,col2,col3
1,,""

I was expecting col2 to be NULL and col3 to be an empty string. But
actual result is that both col2 and col3 are NULL.

Is there another way ? Am I missing something ?

Thanks in advance.

Yann
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cd4ca1af8180e4d000d9e08d7e1237944%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637225414814189476sdata=Kn4huzdkXPJpZK86xwhz9o17TlIhyzB6Ph72Br37sF4%3Dreserved=0
Unsubscribe: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cd4ca1af8180e4d000d9e08d7e1237944%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637225414814189476sdata=Kn4huzdkXPJpZK86xwhz9o17TlIhyzB6Ph72Br37sF4%3Dreserved=0
[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png]
  Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529 |
National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz Facebook 
LinkedIn Twitter 
Instagram
To ensure compliance with legal requirements and to maintain cyber security 
standards, NIWA's IT systems are subject to ongoing monitoring, activity 
logging and auditing. This monitoring and auditing service may be provided by 
third parties. Such third parties can access information transmitted to, 
processed by and stored on NIWA's IT systems


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

Re: [Qgis-user] Display recent projects at startup

2020-04-15 Per discussione Etienne Trimaille
Indeed, try to drag and drop :
https://gis.stackexchange.com/questions/342903/qgis-3-10-recent-projects-list-missing

Le mer. 15 avr. 2020 à 12:24, Olivier DÜRR  a
écrit :

> Hi Patrick,
> you have to search along the layers panel; this is because the news panel
> is in front of the project panel.
>
> *Olivier DÜRR*
> *Chargé d'études*
>
> *Système d'Information Géographique*
>
>
> *AGAPE |* agence d'urbanisme et de développement durable Lorraine Nord
> Visitez notre site Internet : www.agape-lorrainenord.eu
> Suivez-nous sur Facebook
>  et
> LinkedIn 
> Ligne directe : (+33) 03 55 26 00 14 | Tél : (+33) 03 55 26 00 10
> Espace Jean Monnet | Bâtiment Eurobase 2| F-54810 LONGLAVILLE
>
>
>
> [image: www.datagences.eu] 
>
>
>
> Le mer. 15 avr. 2020 à 04:38, Phil Wyatt  a écrit :
>
>> Hi Patrick - which version of QGIS? I think it’s the
>>
>> Settings, General, Options, Project files and "Open Project on launch"
>> set as "Welcome Page'
>>
>> Cheers - Phil
>>
>> -Original Message-
>> From: Qgis-user  On Behalf Of Patrick
>> Dunford
>> Sent: Wednesday, 15 April 2020 10:58 AM
>> To: qgis-user ML 
>> Subject: [Qgis-user] Display recent projects at startup
>>
>> Good day
>>
>> On one of my computers Qgis will display a graphical list of recently
>> opened projects when no project is currently open. On another computer it
>> won't display this list.
>>
>> How is it possible to get the software to display this list. I have
>> looked through menus and settings but haven't been able to discover how to
>> change this.
>>
>> Thanks
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Richard Duivenvoorde
On 4/15/20 12:50 PM, Alessandro Pasotti wrote:

>> @Allesandro: you say a standalone development server. But (even on
>> windows) it's not that you run a webserver on port 80 if you run
>> qgis_mapserver or qgis_mapserver.exe, is it?
> 
> Yes, it's a full standalone HTTP development server.
> 
>> If I run it here it's
>> initing all QGIS machinery and ends with:
>> INFO Server[178177]: No server python plugins are available
>> seemingly waiting for a connection, but I do not know how
> 
> try calling it with '-h'

Ah, duh... thanks...

YES, so it run's by default on port localhost:8000

And it is also working (tested) on Windows:

Saving a simple project into c:\tmp
Starting qgis_mapserver.exe
And in browser I go to:
http://localhost:8000/?map=c:\tmp\nl.qgs=WMS=getcapabilities
And I have a valid capabilities document!

Thanks Ale! Works like a charm ( even on Windooz ;-) )

Is it an idea (feature request?) to let qgis_mapserver.exe spit out an
INFO-message line telling the user that "Started a minimal http-server
on localhost port 8000 for testing purposes" or so?
OR is the code itself not aware it is being ran as a standalone http dev
server at that moment?

Regards,

Richard Duivenvoorde

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

Re: [Qgis-user] Display recent projects at startup

2020-04-15 Per discussione Matthias Kuhn

Hi,

we recently had something similar where it was hidden by accident, see here:

https://github.com/opengisch/QGIS-Issues-SH/issues/58#issuecomment-607623874

Hope this helps

Matthias

On 4/15/20 12:24 PM, Olivier DÜRR wrote:

Hi Patrick,
you have to search along the layers panel; this is because the news 
panel is in front of the project panel.

*
*
*Olivier DÜRR*
/Chargé d'études/
*Système d'Information Géographique
*
*

**AGAPE |* agence d'urbanisme et de développement durable Lorraine Nord
Visitez notre site Internet : www.agape-lorrainenord.eu 

Suivez-nous sur Facebook 
et 
LinkedIn 
Ligne directe : (+33) 03 55 26 00 14 
 | Tél : (+33) 03 55 26 00 
10 

Espace Jean Monnet | Bâtiment Eurobase 2| F-54810 LONGLAVILLE



www.datagences.eu 



Le mer. 15 avr. 2020 à 04:38, Phil Wyatt > a écrit :


Hi Patrick - which version of QGIS? I think it’s the

Settings, General, Options, Project files and "Open Project on
launch" set as "Welcome Page'

Cheers - Phil

-Original Message-
From: Qgis-user mailto:qgis-user-boun...@lists.osgeo.org>> On Behalf Of Patrick
Dunford
Sent: Wednesday, 15 April 2020 10:58 AM
To: qgis-user ML mailto:qgis-user@lists.osgeo.org>>
Subject: [Qgis-user] Display recent projects at startup

Good day

On one of my computers Qgis will display a graphical list of
recently opened projects when no project is currently open. On
another computer it won't display this list.

How is it possible to get the software to display this list. I
have looked through menus and settings but haven't been able to
discover how to change this.

Thanks

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

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


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

Re: [Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Alessandro Pasotti
On Wed, Apr 15, 2020 at 12:41 PM Richard Duivenvoorde
 wrote:
>
> On 4/15/20 11:44 AM, Alessandro Pasotti wrote:
> > On Wed, Apr 15, 2020 at 11:39 AM Franko Naimarevic
>
> >> What am I missing?
> >
> > The web server component (apache or nginx or any other webserver you
> > can plug FCGI into).
> >
> > FCGI binary is not an HTTP server.
>
> I think Franko does have a running Apache webserver: in XAMPP the A
> stands for Apache?
>
> > If you have QGIS 3.12 you can try the standalone development server (I
> > have not tested it on windows but it may work), the executable name
> > should be qgis_mapserver.exe.
>
> @Allesandro: you say a standalone development server. But (even on
> windows) it's not that you run a webserver on port 80 if you run
> qgis_mapserver or qgis_mapserver.exe, is it?

Yes, it's a full standalone HTTP development server.

> If I run it here it's
> initing all QGIS machinery and ends with:
> INFO Server[178177]: No server python plugins are available
> seemingly waiting for a connection, but I do not know how

try calling it with '-h'

>
> To make more clear to Franko: QGIS comes with 2 mapservers:
> - a fastcgi module and a (simple) (you need mod_fastcgi (or something
> like that for it)
> - a cgi module: qgis_mapserver.exe is the simple cgi version.

No: that's not correct.

qgis_mapserver binary is NOT a CGI module, it is a full HTTP
(development) server. It listens on port 8000 by default (it should
print it on stdout when it starts).

As I said, I didn't test it on windows so I don't even know if that
works, work fine on Linux though.

>
> The last one is easiest, IF the environment of apache is ok, you should
> be able to put this in your cgi-bin dir of apache.

No! Don't use the development server in production. Is is a very naive
50 lines of code HTTP server implementation.

>
> To set the right environment, you could have a look into the
> osgeo4w64\httpd.d\httpd_qgis.conf (which comes with an osgeo4w64 install
> of qgis-server) which has most of the apache-config rules you need:
>
> DefaultInitEnv O4W_QT_PREFIX "C:\OSGeo4W64/apps/Qt5"
> DefaultInitEnv O4W_QT_BINARIES "C:\OSGeo4W64/apps/Qt5/bin"
> DefaultInitEnv O4W_QT_PLUGINS "C:\OSGeo4W64/apps/Qt5/plugins"
> DefaultInitEnv O4W_QT_LIBRARIES "C:\OSGeo4W64/apps/Qt5/lib"
> DefaultInitEnv O4W_QT_TRANSLATIONS "C:\OSGeo4W64/apps/Qt5/translations"
> DefaultInitEnv O4W_QT_HEADERS "C:\OSGeo4W64/apps/Qt5/include"
> DefaultInitEnv O4W_QT_DOC "C:\OSGeo4W64/apps/Qt5/doc"
>
> DefaultInitEnv PATH
> "C:\OSGeo4W64\apps\qt5\bin;C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\qgis\bin;C:\OSGeo4W64\apps\grass\@grasspath@\bin;C:\OSGeo4W64\apps\grass\@grasspath@\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem"
> DefaultInitEnv QGIS_PREFIX_PATH "C:\OSGeo4W64\apps\qgis"
> DefaultInitEnv QT_PLUGIN_PATH
> "C:\OSGeo4W64\apps\qgis\qtplugins;C:\OSGeo4W64\apps\qt5\plugins"
> DefaultInitEnv TEMP "C:\Users\richa\AppData\Local\Temp"
> DefaultInitEnv PYTHONHOME "C:\OSGeo4W64\apps\Python37"
> DefaultInitEnv PYTHONPATH
> "C:\OSGeo4W64\apps\Python37;C:\OSGeo4W64\apps\Python37\Scripts"
>
> Alias /qgis/ C:\OSGeo4W64/apps/qgis/bin/
>
> 
> SetHandler fcgid-script
> Options ExecCGI
> # Order/Allow is for Apache 2.2
> #Order allow,deny
> #Allow from all
> # Require is for Apache 2.4
> Require all granted
> 
>
> Off course this should all match your paths, but given this your cgi (or
> fastcgi) should be able to find all stuff needed to run qgis-server.
>
> Easiest way for me was to run an apache with modfcgi in it, install
> qgis-server with osgeo4w64 and then just 'include' the httpd_qgis.conf
> in your httpd.conf
>
> Hope this helps, regards,
>
> Richard Duivenvoorde
>
>


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

Re: [Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Richard Duivenvoorde
On 4/15/20 11:44 AM, Alessandro Pasotti wrote:
> On Wed, Apr 15, 2020 at 11:39 AM Franko Naimarevic

>> What am I missing?
> 
> The web server component (apache or nginx or any other webserver you
> can plug FCGI into).
> 
> FCGI binary is not an HTTP server.

I think Franko does have a running Apache webserver: in XAMPP the A
stands for Apache?

> If you have QGIS 3.12 you can try the standalone development server (I
> have not tested it on windows but it may work), the executable name
> should be qgis_mapserver.exe.

@Allesandro: you say a standalone development server. But (even on
windows) it's not that you run a webserver on port 80 if you run
qgis_mapserver or qgis_mapserver.exe, is it? If I run it here it's
initing all QGIS machinery and ends with:
INFO Server[178177]: No server python plugins are available
seemingly waiting for a connection, but I do not know how

To make more clear to Franko: QGIS comes with 2 mapservers:
- a fastcgi module and a (simple) (you need mod_fastcgi (or something
like that for it)
- a cgi module: qgis_mapserver.exe is the simple cgi version.

The last one is easiest, IF the environment of apache is ok, you should
be able to put this in your cgi-bin dir of apache.

To set the right environment, you could have a look into the
osgeo4w64\httpd.d\httpd_qgis.conf (which comes with an osgeo4w64 install
of qgis-server) which has most of the apache-config rules you need:

DefaultInitEnv O4W_QT_PREFIX "C:\OSGeo4W64/apps/Qt5"
DefaultInitEnv O4W_QT_BINARIES "C:\OSGeo4W64/apps/Qt5/bin"
DefaultInitEnv O4W_QT_PLUGINS "C:\OSGeo4W64/apps/Qt5/plugins"
DefaultInitEnv O4W_QT_LIBRARIES "C:\OSGeo4W64/apps/Qt5/lib"
DefaultInitEnv O4W_QT_TRANSLATIONS "C:\OSGeo4W64/apps/Qt5/translations"
DefaultInitEnv O4W_QT_HEADERS "C:\OSGeo4W64/apps/Qt5/include"
DefaultInitEnv O4W_QT_DOC "C:\OSGeo4W64/apps/Qt5/doc"

DefaultInitEnv PATH
"C:\OSGeo4W64\apps\qt5\bin;C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\qgis\bin;C:\OSGeo4W64\apps\grass\@grasspath@\bin;C:\OSGeo4W64\apps\grass\@grasspath@\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem"
DefaultInitEnv QGIS_PREFIX_PATH "C:\OSGeo4W64\apps\qgis"
DefaultInitEnv QT_PLUGIN_PATH
"C:\OSGeo4W64\apps\qgis\qtplugins;C:\OSGeo4W64\apps\qt5\plugins"
DefaultInitEnv TEMP "C:\Users\richa\AppData\Local\Temp"
DefaultInitEnv PYTHONHOME "C:\OSGeo4W64\apps\Python37"
DefaultInitEnv PYTHONPATH
"C:\OSGeo4W64\apps\Python37;C:\OSGeo4W64\apps\Python37\Scripts"

Alias /qgis/ C:\OSGeo4W64/apps/qgis/bin/


SetHandler fcgid-script
Options ExecCGI
# Order/Allow is for Apache 2.2
#Order allow,deny
#Allow from all
# Require is for Apache 2.4
Require all granted


Off course this should all match your paths, but given this your cgi (or
fastcgi) should be able to find all stuff needed to run qgis-server.

Easiest way for me was to run an apache with modfcgi in it, install
qgis-server with osgeo4w64 and then just 'include' the httpd_qgis.conf
in your httpd.conf

Hope this helps, regards,

Richard Duivenvoorde


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

Re: [Qgis-user] Distincguis NULL and empty strings when reading CSV files

2020-04-15 Per discussione Brent.Wood
Not that I'm aware of -

Text files do not have an implicit way of representing null values, except for 
an empty string.

Databases do this better, with an isnull() function which is different to an 
='' (2x single quotes) expression - the empty string.

Some software packages use a locally specified string (eg: NA) to represent 
nulls, so you can use an !='NA' expression to exclude nulls.

The ^A (control-A) ANSI character also represents a null, but good luck getting 
a useful text file containing control codes. Generally non-trivial.

Note that an "=null" expression is semantically void, null means unknown, so 
two nulls do not equal each other, we don't know what they equal by definition.
Which is why SQL has the is null/isnull() approach, it is not a logical "=" 
operator.

I suggest you either load your text file into a database table (spatialite or 
postgis?), define the nulls as db null values (which are NOT the same as empty 
strings)
& QGIS can use the db to do the null operations, or alternatively you could 
define a string (not an empty string) that is used to represent nulls in your 
file, and use an "=" operator. For numerical values you can use a value which 
does not occur in the dataset to represent a null .

Brent Wood

Programme leader: Environmental Information Delivery
NIWA
DDI:  +64 (4) 3860529


From: Qgis-user  on behalf of Yann Voté 

Sent: Wednesday, April 15, 2020 21:57
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Distincguis NULL and empty strings when reading CSV
files

Hi all,

Just wondering if there is a way to distinguish null values and empty
strings when loading CSV files in QGIS.

What I tried so far is quoting empty strings like in the following example.

col1,col2,col3
1,,""

I was expecting col2 to be NULL and col3 to be an empty string. But
actual result is that both col2 and col3 are NULL.

Is there another way ? Am I missing something ?

Thanks in advance.

Yann
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cd4ca1af8180e4d000d9e08d7e1237944%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637225414814189476sdata=Kn4huzdkXPJpZK86xwhz9o17TlIhyzB6Ph72Br37sF4%3Dreserved=0
Unsubscribe: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cd4ca1af8180e4d000d9e08d7e1237944%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637225414814189476sdata=Kn4huzdkXPJpZK86xwhz9o17TlIhyzB6Ph72Br37sF4%3Dreserved=0
[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png]
 Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529 |
National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz 
Facebook 
LinkedIn 
Twitter 
Instagram
To ensure compliance with legal requirements and to maintain cyber security 
standards, NIWA's IT systems are subject to ongoing monitoring, activity 
logging and auditing. This monitoring and auditing service may be provided by 
third parties. Such third parties can access information transmitted to, 
processed by and stored on NIWA's IT systems
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Display recent projects at startup

2020-04-15 Per discussione Olivier DÜRR
Hi Patrick,
you have to search along the layers panel; this is because the news panel
is in front of the project panel.

*Olivier DÜRR*
*Chargé d'études*

*Système d'Information Géographique*


*AGAPE |* agence d'urbanisme et de développement durable Lorraine Nord
Visitez notre site Internet : www.agape-lorrainenord.eu
Suivez-nous sur Facebook
 et
LinkedIn 
Ligne directe : (+33) 03 55 26 00 14 | Tél : (+33) 03 55 26 00 10
Espace Jean Monnet | Bâtiment Eurobase 2| F-54810 LONGLAVILLE



[image: www.datagences.eu] 



Le mer. 15 avr. 2020 à 04:38, Phil Wyatt  a écrit :

> Hi Patrick - which version of QGIS? I think it’s the
>
> Settings, General, Options, Project files and "Open Project on launch" set
> as "Welcome Page'
>
> Cheers - Phil
>
> -Original Message-
> From: Qgis-user  On Behalf Of Patrick
> Dunford
> Sent: Wednesday, 15 April 2020 10:58 AM
> To: qgis-user ML 
> Subject: [Qgis-user] Display recent projects at startup
>
> Good day
>
> On one of my computers Qgis will display a graphical list of recently
> opened projects when no project is currently open. On another computer it
> won't display this list.
>
> How is it possible to get the software to display this list. I have looked
> through menus and settings but haven't been able to discover how to change
> this.
>
> Thanks
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Distincguis NULL and empty strings when reading CSV files

2020-04-15 Per discussione Richard McDonnell
Hi,
You should try a space in column 3, as in...
col1,col2,col3
1,," "




——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964   T +353 1 647 6543
https://www.opw.ie

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: https://www.opw.ie/en/disclaimer/
-Original Message-
From: Qgis-user  On Behalf Of Yann Voté
Sent: 15 April 2020 10:58
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Distincguis NULL and empty strings when reading CSV files

Hi all,

Just wondering if there is a way to distinguish null values and empty strings 
when loading CSV files in QGIS.

What I tried so far is quoting empty strings like in the following example.

col1,col2,col3
1,,""

I was expecting col2 to be NULL and col3 to be an empty string. But actual 
result is that both col2 and col3 are NULL.

Is there another way ? Am I missing something ?

Thanks in advance.

Yann
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Distincguis NULL and empty strings when reading CSV files

2020-04-15 Per discussione Yann Voté

Hi all,

Just wondering if there is a way to distinguish null values and empty 
strings when loading CSV files in QGIS.


What I tried so far is quoting empty strings like in the following example.

col1,col2,col3
1,,""

I was expecting col2 to be NULL and col3 to be an empty string. But 
actual result is that both col2 and col3 are NULL.


Is there another way ? Am I missing something ?

Thanks in advance.

Yann
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Alessandro Pasotti
On Wed, Apr 15, 2020 at 11:39 AM Franko Naimarevic
 wrote:
>
> Hello,
>
> I'm trying to setup QGIS Server on my computer (Windows10) to experiment
> with how it works.
> I managed to get it running locally using XAMPP, following the official
> guide
> (https://docs.qgis.org/3.10/en/docs/user_manual/working_with_ogc/server/getting_started.html#installation-on-windows).
>
> I clicked
> http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?SERVICE=WMS=1.3.0REQUEST=GetCapabilities
> as the guide suggests, and got "Layer(s) not valid", but I figured that
> the server was working, since I wasn't getting a "not found" error of
> some sorts.
>
> I then wanted to load my own map, but the guide doesn't really explain
> how to do it. After searching around on the internet, I tried:
> http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?MAP=/OSGeo4W64/apps/qgis/bin/MAPNAME.qgs
>
> but got a "Project file error".
>
> What am I missing?

The web server component (apache or nginx or any other webserver you
can plug FCGI into).

FCGI binary is not an HTTP server.

If you have QGIS 3.12 you can try the standalone development server (I
have not tested it on windows but it may work), the executable name
should be qgis_mapserver.exe.


>
>
> Thanks for your help!
>
> ___
> Qgis-user mailing list
> Qgis-user@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-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS Server installation on Windows via XAMPP

2020-04-15 Per discussione Franko Naimarevic

Hello,

I'm trying to setup QGIS Server on my computer (Windows10) to experiment 
with how it works.
I managed to get it running locally using XAMPP, following the official 
guide 
(https://docs.qgis.org/3.10/en/docs/user_manual/working_with_ogc/server/getting_started.html#installation-on-windows).


I clicked
http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?SERVICE=WMS=1.3.0REQUEST=GetCapabilities
as the guide suggests, and got "Layer(s) not valid", but I figured that 
the server was working, since I wasn't getting a "not found" error of 
some sorts.


I then wanted to load my own map, but the guide doesn't really explain 
how to do it. After searching around on the internet, I tried:

http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?MAP=/OSGeo4W64/apps/qgis/bin/MAPNAME.qgs

but got a "Project file error".

What am I missing?


Thanks for your help!

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

Re: [QGIS-it-user] Analisi di visibilità

2020-04-15 Per discussione Maria Teresa Masaniello
ok, grazie
quindi se ho capito bene se io mettessi il valore di 1,75 m nel campo
"Observer height meters" è come se aggiungessi un offset costante in tutto
il dtm?
Per quanto riguarda le altezze delle turbine, visto che non sono costanti
ho creato nello shapafile un campo "altezze" in cui riporto l'altezza di
ogni turbina. Se voglio considerare ognuna di queste altezze, è corretto
inserire questo campo dello shapefile nella voce "field value for observer
height"? E' in questo modo che nell'algoritmo di qgis considero le altezze
della turbina?


Il giorno mar 14 apr 2020 alle ore 18:36 Stefano Campus 
ha scritto:

> poiché fai l'analisi su un dtm e non su dsm, puoi aggiungere un offset,
> cioè un'altezza che aggiungi al valore di quota della cella dtm senza
> alterare il raster.
> quindi una persona di 1.75 m che si guarda intorno stando in una cella
> avente 320 m slm di quota porta ad un'analisi in cui l'osservatore è a
> 321.75 m slm.
>
> inoltre, dato che un punto vede ed è a sua volta visto, aggiungi l'offset
> all'altezza delle turbine (ad esempio 15 m).
>
> dato che ti occupi di turbine ti consiglio questo lavoro [1]: tre autori
> (annalisisa minelli, pierluigi de rosa e ivan marchesini) frequentano
> questa lista e quindi ti possono spiegare meglio.
>
> [1] An open source GIS tool to quantify the visual impact of wind turbines
> and photovoltaic panels
>
> https://www.researchgate.net/publication/264422695_An_open_source_GIS_tool_to_quantify_the_visual_impact_of_wind_turbines_and_photovoltaic_panels
>
>
> Il giorno mar 14 apr 2020 alle ore 16:54 Maria Teresa Masaniello <
> masaniello.mariater...@gmail.com> ha scritto:
>
>> Ciao,
>> sto effettuando un'analisi di visibilità di un parco eolico tramite la
>> visibility analysis di qgis.
>> Ho creato uno shapefile per definire nome e altezza massima delle turbine.
>> Devo creare adesso i "viewpoints" e vorrei per favore da voi conferma sui
>> parametri che utilizzo.
>> Il mio obiettivo è verificare la visibilità delle turbine ad una distanza
>> di 10 km.
>> [image: image.png]
>> A parte i dati certi che sono lo shape delle turbine, il raggio
>> dell'analisi e il dem da utilizzare, vorrei capire se è corretto inserire
>> come "Observer height meters" 1,75 m cioè l'altezza media dell'uomo che
>> osserva entro un raggio di 10 km, e come "target height meters"
>> l'altezza della turbina. Così facendo, l'output del sistema è la visibilità
>> di un osservatore di 1,75 m posto a 10 km che "osserva" una turbina di h m?
>> Inoltre, se io avessi creato uno shapefile, invece di inserire l'altezza
>> della turbina in  "target height meters", ottengo lo stesso risultato se
>> in  "target height meters" lascio 0 e in "field value for target height"
>> inserisco la colonna dello shape che riporta le altezze?
>> Grazie
>>
>> Maria Teresa
>> ___
>> QGIS-it-user mailing list
>> QGIS-it-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] Refresh Layer at Interval not working

2020-04-15 Per discussione Raymond Nijssen

Ah yes, thanks! F5 reloads the data for all layers.

But the initial question was why the 'Refresh Layer at Interval' does 
not work. I think the re-render works but it does not reload the data. 
Can anyone confirm?


Raymond
On 14-04-2020 21:03, Richard Duivenvoorde wrote:

I've created a minimal script which generates a random point, more or
less in The Netherlands..:

https://duif.net/cgi-bin/gj.py

If you load that script as a vector layer /Protocol/GeoJSON you will see
one point in The Netherlands.
Upon hitting F5 (menu: View/Refresh), you will see the dot moving as it
is requesting the data everytime..

For what I know this worked for all datasources?

Not sure if this is what you try to achieve, but that is also possible
with python (though I do not have it with me here...)

Regards,

Richard Duivenvoorde

On 4/14/20 12:40 PM, Raymond Nijssen wrote:

Hi Ayyala,

Since the option is in the tab called "Render" I think it will only
re-render the layer and not reload the data.

I tried this:
- create 3 points in a geojson layer
- set a 2 sec refresh interval on it
- open the geojson file in a text editor and add an extra point
- save geojson
The extra point should show up within 2 seconds in qgis but it does not.

Even after panning or zooming it does not show up. I think it would if I
used a postgis layer or a shp-file? Could this be dependent on the data
format?


If you need an example of a refreshed layer, you can type "hackfests" in
the Coordinate input at the bottom. It will show you the hackfest
locations with "moving" markers.


@other users: Does QGIS have an option to reload data for a layer? In
the GUI, similar to the "Update Extents" button?

Kind regards,
Raymond



On 14-04-2020 05:04, krishna Ayyala wrote:

Hello,

I have a shape file as below. I have checked the box "Refresh Layer at
Interval" for 1 second. The layer is  not refreshing.

Regards.

image.png



image.png

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


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



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

Re: [Qgis-user] QGIS Plugin Unavailable in my desktop

2020-04-15 Per discussione Phil Wyatt
Hi Shrawan

 

Can you access the plugin repository via a browser? 
https://plugins.qgis.org/plugins/plugins.xml

 

This is the plugin repository location that should be set in Plugins, Manage 
and Install, Settings

 

If you are behind a proxy it may be blocking access. You may need to set up a 
proxy under Settings, Network, Use Proxy for web access.

 

Cheers - Phil

 

From: Qgis-user  On Behalf Of shrawan 
tripathi
Sent: Wednesday, 15 April 2020 5:04 PM
To: qgis-user 
Subject: [Qgis-user] QGIS Plugin Unavailable in my desktop

 

Hi All, Is anyone help me as 

QGIS Official Plugin Repository is unavailable in mt QGIS Desktop so I would 
not be able to install the plugin.

I reload id but not get it.

 

-- 

Warm regards

Shrawan Kumar Tripathi 

 

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

[Qgis-user] QGIS Plugin Unavailable in my desktop

2020-04-15 Per discussione shrawan tripathi
Hi All, Is anyone help me as
QGIS Official Plugin Repository is unavailable in mt QGIS Desktop so I
would not be able to install the plugin.
I reload id but not get it.

-- 
Warm regards
Shrawan Kumar Tripathi
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS in the commercial world

2020-04-15 Per discussione Andreas Neumann

Hi Ian,

In addition to what Anita and Paolo already said, I'd like to add, that 
depending on the country you live (don't know about Australia) 
memberships in associations can be tax deducted. On the receiving end, 
membership fees are not subject to VAT in Switzerland.


As mentioned, QGIS.ORG is not a charity. Registering an Open Source 
project as charity turned out to be not so easy as expected (at least in 
Switzerland) and also limits out our ability to decide ourselves how we 
can spend the money we get through donations and memberships. E.g. in 
Switzerland as a charity we would be limited in the ways we can invest 
into QGIS as a software. E.g. we could spend our funds strictly only for 
non-commercial purposes (e.g. not easily pay a company of our choice  to 
improve QGIS or our infrastructure according to our wishes).


Another open source project registered in Switzerland had to split up 
into two entities: one non-profit that deals with all strictly 
non-commercial aspects (such as managing the community, legal stuff, 
etc.) and a commercial part that handles improving the software. In most 
parts of Switzerland, anything related to software development is 
regarded as a commercial activity, no matter if it is open source or not.


However, if there are better countries where QGIS.ORG could be 
domiciled, we could investigate. But we'd have to have a look at all of 
the implications, such as stability, formalities, support or repressions 
from authorities, limitations, tax situation, etc


I think OSGeo is registered as a social welfare organization in the US 
(US 501(c)(4) legal status). But it also took them more than one attempt 
to get there, and from what I heard they tried in more than one state in 
the US. Finally, I think the travel grants they hand out to FOSS4G 
conference participants each year, convinced the authorities that they 
can get the social welfare status. (disclaimer: it might be slightly 
different, but this is from what I remember from discussions).


BTW: we have transparency how we spend our money. Have a look at our 
finance section at 
https://www.qgis.org/en/site/getinvolved/governance/finance/index.html


Having said all that, please contact us at fina...@qgis.org should you 
be interested in becoming a sustaining member.


Thanks and greeting,

Andreas

Am 15.04.20 um 08:18 schrieb Paolo Cavallini:

Hi Iain,
let me add: this is not only an ethical choice, but a very practical
one: the support you can give us will translate into very real
improvements (especially bugfixing), so that you'll enjoy a better QGIS
in the near future.
All the best.

Il 15/04/20 07:47, Anita Graser ha scritto:

Dear Iain,

Yes, QGIS has an entity: QGIS.ORG is the worldwide association of QGIS
users and developers. QGIS.ORG is constituted as a Swiss ‘association’
(https://qgis.org/en/site/getinvolved/governance/charter.html) but it is
not a registered charity.

To help support QGIS, organizations are invited to become sustaining
members of QGIS.ORG. The details of our sustaining membership program
are described in:
https://qgis.org/en/site/getinvolved/governance/sustaining_members/sustaining_members.html

You can also see who's already supporting QGIS:
https://qgis.org/en/site/about/sustaining_members.html

Regards,

Anita



On 15.04.2020 02:13, i...@jcis.net.au wrote:

Andreas wrote

  


/It was also good to see that 103 out of 1691 respondents represented
an organization with >100 users. I expected a lower number in this
category and was quite surprised./

/ /

This observation triggered in me a thought that as the organisation I
work for is moving towards formal use of QGIS throughout its team – we
should be donating to the QGIS project as that would seem to be the
ethical thing to do. The directors would be quite open to the idea.
There are some questions I have.

  


Is QGIS a registered charity?

  


Is there an entity which we can donate to?

  


What would be a suitable donation?

  


Most business would write off ESRI products through their accounting
system as some form of tax deduction as it is a something you can buy.
A donation to QGIS by business would need to be structures in some way
to obtain a similar benefit.

  


Has anyone any experience in this area?

  


Cheers

  


*Dr Iain Stuart*

*/JCIS Consultants /*

P.O. Box 2397

Burwood North

NSW, 2134

  


(02) 9701 0191
(0413) 380116 (m)

  



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

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


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 

Re: [Qgis-user] QGIS in the commercial world

2020-04-15 Per discussione Paolo Cavallini
Hi Iain,
let me add: this is not only an ethical choice, but a very practical
one: the support you can give us will translate into very real
improvements (especially bugfixing), so that you'll enjoy a better QGIS
in the near future.
All the best.

Il 15/04/20 07:47, Anita Graser ha scritto:
> Dear Iain,
> 
> Yes, QGIS has an entity: QGIS.ORG is the worldwide association of QGIS
> users and developers. QGIS.ORG is constituted as a Swiss ‘association’
> (https://qgis.org/en/site/getinvolved/governance/charter.html) but it is
> not a registered charity.
> 
> To help support QGIS, organizations are invited to become sustaining
> members of QGIS.ORG. The details of our sustaining membership program
> are described in:
> https://qgis.org/en/site/getinvolved/governance/sustaining_members/sustaining_members.html
> 
> You can also see who's already supporting QGIS:
> https://qgis.org/en/site/about/sustaining_members.html
> 
> Regards,
> 
> Anita
> 
> 
> 
> On 15.04.2020 02:13, i...@jcis.net.au wrote:
>>
>> Andreas wrote
>>
>>  
>>
>> /It was also good to see that 103 out of 1691 respondents represented
>> an organization with >100 users. I expected a lower number in this
>> category and was quite surprised./
>>
>> / /
>>
>> This observation triggered in me a thought that as the organisation I
>> work for is moving towards formal use of QGIS throughout its team – we
>> should be donating to the QGIS project as that would seem to be the
>> ethical thing to do. The directors would be quite open to the idea.
>> There are some questions I have.
>>
>>  
>>
>> Is QGIS a registered charity?
>>
>>  
>>
>> Is there an entity which we can donate to?
>>
>>  
>>
>> What would be a suitable donation?
>>
>>  
>>
>> Most business would write off ESRI products through their accounting
>> system as some form of tax deduction as it is a something you can buy.
>> A donation to QGIS by business would need to be structures in some way
>> to obtain a similar benefit.
>>
>>  
>>
>> Has anyone any experience in this area?
>>
>>  
>>
>> Cheers
>>
>>  
>>
>> *Dr Iain Stuart*
>>
>> */JCIS Consultants /*
>>
>> P.O. Box 2397
>>
>> Burwood North
>>
>> NSW, 2134
>>
>>  
>>
>> (02) 9701 0191
>> (0413) 380116 (m)
>>
>>  
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 

-- 
Paolo Cavallini - QGIS.ORG Chair
www.faunalia.eu:
training, support, development on QGIS, PostGIS and more
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user