Re: [Qgis-user] What is postgresql client version and does it have anything to do with different postgresql versions

2021-02-04 Thread Groene Bij
Hi Richard,

I am definitely complicating things, that is so me 😊

But, are you now saying there is a relation between popstgresql client version 
and postresql server version? Because Nyall Dawson said there are unrelated.
Or, are both of you actually trying to say to me 'it doesn't matter that much, 
it will work'. Because I know it does work. Qgis3.16 with postgresql client 
11.5 does work with postgresql server 12.x and potsgis 3.1 I am 'just' 
wondering if there are best matches.

And I will test the DB manager issue following your three steps and put the 
result in the github issue. It has to be something within the total package of 
qgis, because I have not made changes to my postgresql server version and 
postgis version.

Jeroen Hovens


-Oorspronkelijk bericht-
Van: Richard Duivenvoorde  
Verzonden: donderdag 4 februari 2021 11:02
Aan: Groene Bij 
CC: 'qgis-user' 
Onderwerp: Re: [Qgis-user] What is postgresql client version and does it have 
anything to do with different postgresql versions

On 2/4/21 10:16 AM, Groene Bij wrote:
> Take this example: 
> I would like to see DB Manager as just a shell or GUI which will work 
> with every postgresql and postgis version the same way, but in fact it 
> isn't. I found DB manager to work differently from qgis3.10 to 3.12 and above.
> Something changed and as a result, simple select queries can take up 
> 10 to a
> 100 times longer in qgis3.12 and up compared to qgis3.10 (see also 
> https://github.com/qgis/QGIS/issues/40643)
> 
> So, I am mostly looking for some kind of reassurance. Things like: 
> qgis3.16 will work fine with postgresql version a to d and postgis 
> version f to l. Or qgis will work fine with any postgresql above 
> version x and postgis above version y. I do realize these are 
> difficult statements to make (how to test
> them?)

Hi Jeroen,

I think you are complicating things :-)

There are postgres/gis SERVER versions
And postgres/gis/ CLIENT LIBRARY version

In general: IF you have a SERVER version you should try to have the same CLIENT 
(=library) version.
BUT: only to be able to do the new things introduced in the SERVER version OR 
to have a better client version because they fixed bugs in that client(library) 
version.
In general: you can probably also connect to a new SERVER version with an older 
CLIENT (unless off course you want to do things that at the time of the CLIENT 
version was just not possible).

My guess: your issue above has anything to do with the pg client libraries 
used, or the combi server/client.
Chances are bigger that either QGIS is now running other SQL queries OR the 
logic (of loops for example) in QGIS has changed.

If you really want to know:
- enable logging in postgresql so you can see all queries the QGIS is sending
- check if there are differences
- run the same queries from withing pgsql on the server and do timing there.

Else we try to find a simple solution ("just use the right version") for a 
rather complex performance issue, which can have it's cause on many (other) 
levels... :-)

Groetjes,

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] What is postgresql client version and does it have anything to do with different postgresql versions

2021-02-04 Thread Groene Bij
Greg,
And list,

That is actually a very useful comment. First, because I did not realize
there could be different builds and that would mean the info screen within
qgis would show different values.
Secondly, because yes, I am using the installer for windows from qgis.org
and there are actually two of them, the osgeo4w and the standalone
installer, although I don't think there is any difference in the actual
build when choosing the same version number.

This might actually be the main reason for my questions.
I know qgis is build using different libraries and such and the whole idea
should be that I should not really care about it. When I download the LTR it
should work and it should work well with other programs.
However, since qgis is so dependent on other libraries and is very honest
and open in telling me this (the info screen), I get this feeling it could
also be 'sensitive' to other programs.
The same goes for postgresql and postgis. All of these programs are itself
dependent on and are build using different libraries, some of which are also
used in qgis (like geos, gdal/ogr). That's why I have this idea that some
combinations of versions might work better with each other. However, there
is very little information to be found on this subject.

Take this example: 
I would like to see DB Manager as just a shell or GUI which will work with
every postgresql and postgis version the same way, but in fact it isn't. I
found DB manager to work differently from qgis3.10 to 3.12 and above.
Something changed and as a result, simple select queries can take up 10 to a
100 times longer in qgis3.12 and up compared to qgis3.10
(see also https://github.com/qgis/QGIS/issues/40643)


So, I am mostly looking for some kind of reassurance. Things like: qgis3.16
will work fine with postgresql version a to d and postgis version f to l. Or
qgis will work fine with any postgresql above version x and postgis above
version y. I do realize these are difficult statements to make (how to test
them?)


Jeroen Hovens





-Oorspronkelijk bericht-
Van: Greg Troxel  
Verzonden: woensdag 3 februari 2021 19:04
Aan: Groene Bij 
CC: 'chris hermansen' ; 'qgis-user'

Onderwerp: Re: [Qgis-user] What is postgresql client version and does it
have anything to do with different postgresql versions


"Groene Bij"  writes:

> Hence my search for information on dependencies and whether QGIS 3.16 
> (or later) favors any postgresql and postgis version above another

Probably not a useful comment to you, but as I understand the qgis sources
can be built against a number of postgresql client libraries.  I think you
are talking about, as I gather most windows users do, not just about qgis
sources but about binaries: particular distributions of already-built qgis.
There, I find "qgis 3.16 does x" to be a bit on shaky ground, as there could
be multiple such binaries even for Windows, and there are certainly various
builds for other systems.  You are probably talking about the installer on
qgis.org.

___
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] What is postgresql client version and does it have anything to do with different postgresql versions

2021-02-03 Thread Groene Bij
Thank for your reply and the links.

 

I use win10 as OS. On my current pc I use postgresql11 and postgis 2.5.

I am however replacing both my pc and laptop for new equipment, so that got me 
thinking on maybe upgrading to postgresql12 and postgis 3.1 as well.

Hence my search for information on dependencies and whether QGIS 3.16  (or 
later) favors any postgresql and postgis version above another

 

Nyall Dawson pointed out the postgresql client version used in qgis is 
unrelated to postgresql versioning, if I understand him correctly.

 

 

 

Jeroen Hovens

 

 

 

 

 

Van: chris hermansen  
Verzonden: dinsdag 2 februari 2021 23:00
Aan: Groene Bij 
CC: qgis-user 
Onderwerp: Re: [Qgis-user] What is postgresql client version and does it have 
anything to do with different postgresql versions

 

Jeroen and list,

 

On Tue, Feb 2, 2021 at 12:37 PM Groene Bij mailto:m...@groenebij.nl> > wrote:

Hi list,

 

PostgreSQL has this interesting versioning where they try to keep like 5 main 
branches up to date.

At this point you can choose any version from 9.6.x up to 13.x

Also, PostGIS is now slowly but probably steadily moving from 2.5.x to 3.1.x

 

So, setting up a new PostgreSQL database environment  makes me wonder which one 
to choose.

Since I will only be using this database with QGIS and QGIS 3.16 becoming the 
new LTR, does QGIS favor one of the PostgreSQL and PostGIS version above 
another?

 

I did notice in the info screen for qgis3.16.3 it says PostgreSQL Client 
version 11.5

Does that mean QGIS3.16 might work best with PostgreSQL 11.x? Or are they 
completely unrelated?

 

What O/S do you use?  I ask because if it's Linux of some sort, your 
repositories may be a good indicator.

 

This is worth a quick look https://www.postgresql.org/developer/roadmap/

 

Also this https://www.postgresql.org/support/versioning/



-- 

Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.

___
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-Developer] New QGIS Date/Time Tools Plugin

2021-02-02 Thread Groene Bij
Hi Calvin,

 

Could you somehow send me a copy of the 10.000 random point layer and the gpkg 
with the time zones? I would like to try some things, and see if I can come up 
with some suggestions. I could send you an upload link where you can upload 
those files to me, if needed.

 

And I am also trying to understand the issue at stake here. You keep referring 
to ArcGIS. Does ArcGIS has a similar tool incorporated In its software, 
including the data?

 

And is it necessary to use this tool offline? If so, a database / data file is 
needed anyway. Than the question is, should it be part of the tool, or should 
you be able to download the data when needed (or better, beforehand). Benefit 
of downloading the data separately could be more up to date time zone 
information.

 

Kind regards,

Jeroen Hovens

 

 

Van: Qgis-user  Namens C Hamilton
Verzonden: dinsdag 2 februari 2021 19:40
Aan: Nyall Dawson 
CC: QGIS Users ; Tim Sutton ; 
qgis-developer 
Onderwerp: Re: [Qgis-user] [QGIS-Developer] New QGIS Date/Time Tools Plugin

 

I created a layer of 10,000 random points. Using timezonefinder to look up each 
point took 44 seconds. I tried using Vector->Geoprocessing 
Tools->Intersection... to find the time zones for each of the points and it 
took over 4 minutes. 

 

Is there a better way to locate which polygon a point is in? 4 minutes is not 
good. Perhaps the intersection algorithm is not the way to go, but I am not 
sure what is. I can't imagine that iterating through each point and then 
iterating through each polygon until an intersection match is found is going to 
be overlay efficient, but I will try it. Is there a better way?

 

Thanks,

 

Calvin

 



> I wonder what the difference in time would be to use a gpkg and QGIS point in 
> polygon look up vs timezonefinder lookup. Will it be faster or slower? I'm 
> not sure without testing. What are your thoughts? I would choose the faster 
> of the two.

I'd certainly hope a dedicated GIS application can do this faster than
a random Python library :D

> I just converted the timezone data to a gpkg and its size is 102Mb. The data 
> size for timezonefinder using the same data set is 49Mb. The optimization in 
> timezonefinder can produce a maximum error of 1cm at the equator as they use 
> 32 bit ints for the data. It might actually be better to use the gpkg file, 
> but it is double in size. I will investigate using the gpkg data.

You may want to try a shapefile too, just in case...!

Nyall


>
> It seems to me that if a plugin requires a certain dataset to function then 
> that data should be included with it and not require an additional download, 
> but I understand the issues that this could cause so I am not sure of the 
> best way forward. For our use it is definitely better to include the data 
> with the plugin.
>
> I guess what I would like you to take from this conversation is that some 
> users have a completely different environment and face different challenges 
> then what you do when it comes to dealing with software. I wish that it was 
> easier for me to get QGIS acceptance in our workforce but ArcGIS still rules.
>
> Thanks for your ideas and all of the hard work that you do to keep QGIS 
> moving forward.
>
> I wish you all the very best!
>
> Calvin
>
>> Given that the size of the python library is almost entirely the size
>> of the timezone boundaries themselves, have you considered:
>> - avoiding the library entirely, and insteading using a standard
>> shapefile/gpkg/... of the boundaries and using QGIS vector layer
>> methods to determine the timezone for a point
>> - deferring the download of the boundary spatial data, so that it's
>> not supplied with the plugin but instead the plugin automatically
>> downloads it on first launch?
>>
>> This would avoid the need for the large size plugin, allowing it to be
>> supplied via the standard QGIS repo while still providing its full
>> functionality...
>>
>> Nyall
>>
>>

___
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] What is postgresql client version and does it have anything to do with different postgresql versions

2021-02-02 Thread Groene Bij
Hi list,

 

PostgreSQL has this interesting versioning where they try to keep like 5
main branches up to date.

At this point you can choose any version from 9.6.x up to 13.x

Also, PostGIS is now slowly but probably steadily moving from 2.5.x to 3.1.x

 

So, setting up a new PostgreSQL database environment  makes me wonder which
one to choose.

Since I will only be using this database with QGIS and QGIS 3.16 becoming
the new LTR, does QGIS favor one of the PostgreSQL and PostGIS version above
another?

 

I did notice in the info screen for qgis3.16.3 it says PostgreSQL Client
version 11.5

Does that mean QGIS3.16 might work best with PostgreSQL 11.x? Or are they
completely unrelated?

 

 

Kind regards,

Jeroen Hovens

___
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] issues DB manager and qgis3.16.1

2020-12-15 Thread Groene Bij
Hi all,

 

I just downloaded qgis 3.16.1 (win64) and installed it next to my existing
qgis 3.10.4

I went ahead and did some work in DB manager and immediately notices a slow
response. Simple select queries which take about 0.004 sec in qgis3.10.4 now
take .4 sec in qgis 3.16.1

 

Also, when viewing data in the table-tab in DB manager something weird
happens: data gets repeated. The primary key column (gid) should contain and
does contain unique values. 

However, in the table-tab view some rows are repeated, so for instance, row
106 shows gid = 101 and the corresponding values for the other columns.
Then, scrolling down row 206 also shows gid = 101 and the corresponding
values for the other columns (corresponding tot gid=101)

This example containing row 106 and 206 is just a coincidence, it is not
that it repeats after 100 rows. Multiple rows are copied, just by scrolling
up and down I notice several different gid values being copied.

 

Furthermore the result is consistent  when closing qgis and reopening it.
Select the same table and it is again row 106 and row 206 that will show gid
= 101

 

Doing the same in qgis 3.10.4 does not show this error. In qgis 3.10.4 row
106 shows gid = 101 and row 206 shows gid = 205

 

So there seems to be something going on with db manager and qgis3.16.1, but
I have no idea what it could be.

 

Kind regards,

Jeroen

 

___
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] Batch selection/new feature creation

2020-09-17 Thread Groene Bij
Hi,

 

Have you considered using postgis for this?

See: 
https://gis.stackexchange.com/questions/17495/dissolve-or-unsplit-lines-on-common-attributes-in-postgis-or-grass

 

First step would be to add the reference id from the spreadsheet to the 
polyline layer.

Polyline layer with the 100m stretches, “polyline”



 

Csv with sections, “tracks”



 

So, to add ref_id to each polyline you can use:

SELECT p.*, t.ref_id

FROM polyline as p

JOIN tracks as t

ON p.ch_1 >= t.start_ch AND p.ch_1 < t.end_ch

 

Than you can dissolve all polylines with the same ref_id like in the example 
link.

 

You can  combine al subqueries and export the result as new layer to your 
qgis-canvas.

 

That leaves the ‘saves these resulting new feature to an existing layer’ part.

You can merge features from different layers into a new or existing layer.

 

Greetings,

Jeroen Hovens

 

 

Van: Qgis-user  Namens Samuel Williams
Verzonden: donderdag 17 september 2020 11:14
Aan: Qgis-user@lists.osgeo.org
Onderwerp: [Qgis-user] Batch selection/new feature creation

 

Hello,
I'm hoping that those with more experience of QIS might be able to help point 
me in the right direction.
I have a layer consisting of around 700 end-to-end polylines, each of which 
represents a 100m stretch of railway track centreline. Each polyline is 
attributed with an integer value which represents its starting chainage 
(distance in m from the start of the railway line, abbreviated ch.).
I also have a spreadsheet/csv with several hundred rows, each of which 
represents a different section of the railway. These sections are defined by 
their start and end chainage (e.g. ch. 1300 to ch. 1800 would be a 500m stretch 
starting 1300m from the beginning of the line).
I am looking for an efficient way to select each of the polylines associated 
with each row in the spreadsheet, dissolve them (they should touch end to end), 
and then save them as a new feature on an existing layer. Each one will need to 
be given a reference ID from the relevant line in the spreadsheet.
E.g.
Row 1 of spreadsheet selects all polylines with a starting chainage 1300 to 
1700 (which with 100m segments selects the whole length 1300-1800),  dissolves 
them, populates the ID field from a field in the spreadsheet, and finally saves 
these resulting new feature to an existing layer.
This process would then repeat for the other rows in the spreadsheet/csv.
I’ve got a reasonable understanding of python,  but have never tried using it 
within qgis. Would that be the easiest route, or is there a way of using 
v.extract in batch mode which reads each of the required selections from the 
spreadsheet? From the grass manual v.extract appears to read selections from a 
text file, but I can't find any good examples, or detail in the manual on the 
required format for the text file.

Any help much appreciated!  

Kind regards,

 

Sam.

Sam Williams

Director | Sine Acoustics
m. +447969123431  | 
 sam.willi...@sineenvironmental.com 
|   www.sineenvironmental.com
Sine Acoustics is a trading name of Sine Environmental Limited, company number 
9609805. Postal address: 78 Old Church Road, Clevedon, North Somerset, England, 
BS216PT.

___
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] background color changes all colors

2020-09-14 Thread Groene Bij
Hi,

Thank you Andrea.
My mistake, opacity was set to 100%, but blending mode was set to multiply 
(forgot to reset it to normal). At least now I know Blending mode also applies 
to background color 😊




-Oorspronkelijk bericht-
Van: Qgis-user  Namens Andrea Giudiceandrea
Verzonden: maandag 14 september 2020 13:57
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] background color changes all colors

Hi Groene Bij,
are you sure the opacity property of the layers is set to 100%?

Regards.

Andrea Giudiceandrea


Groene Bij wrote
> Setting the background color in Project Properties changes all the 
> colors displayed in my map. It is like a filter on top of my map.





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] background color changes all colors

2020-09-14 Thread Groene Bij
Hi all,

 

Setting the background color in Project Properties changes all the colors
displayed in my map. It is like a filter on top of my map.

I have two layers with rule-based symbology, in different blues. Setting the
background color to yellow also changes all colors of the features in my map
to greens (blue+yellow). Even features that are set to to be white (not
transparent) adapt the background color. The layer panel still shows the
correct colors.

 

Interestingly, when exporting the map with q2w it shows the correct
symbology colors on al features, even in preview. Exporting the map to
print, it shows the incorrect colors (the greens).

 

I am using qgis 3.10.4 on windows.

 

What am I doing wrong?

 

 

___
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-Developer] Thoughts on QGIS Development and LTR Releases

2020-03-01 Thread Groene Bij
7;s also worth noting that useful 
features in the LR branch can be backported (added to) the LTR branch.
 
The "LR/PR" released every 4 months denotes that the release is a new LR. The 
"LTR/PR" released in October denotes that this release will be the next LTR. It 
is not put in the LTR repo until 4 months later (February) where it officially 
becomes the LTR.
 
We can also think of it this way:
For the LTR branch, you can expect updates every month of its life (or with 
every point release) with 3.10.3, 3.10.4, 3.10.5, ..., 3.10.14 but these will 
usually be minor and not so drastic.
Meanwhile, there may be drastic and major changes between LRs like 3.12, 3.14, 
3.16, etc. but only minor changes between PRs of the same LR -- eg 3.12.1 and 
3.12.2, 3.14.1 and 3.14.2, etc.
 
I also agree that the road map found at 
https://www.qgis.org/en/site/getinvolved/development/roadmap.html 
<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.qgis.org%2Fen%2Fsite%2Fgetinvolved%2Fdevelopment%2Froadmap.html&data=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cdf484ed7b9284ad3254508d7bd9af506%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637186345604237900&sdata=VK6ZNQWbKIOODtsJ04mS5FTZhF8Nyz4AGCUgo5shC54%3D&reserved=0>
 
<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.qgis.org%2Fen%2Fsite%2Fgetinvolved%2Fdevelopment%2Froadmap.html&data=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cdf484ed7b9284ad3254508d7bd9af506%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637186345604237900&sdata=VK6ZNQWbKIOODtsJ04mS5FTZhF8Nyz4AGCUgo5shC54%3D&reserved=0>
 is geared a lot towards dev people but, in its defense, it is located under 
the "Get Involved/Development" part of the documentation.
 
If I have misrepresented or misunderstood anything, please don't hesitate to 
correct me.
 
 
All the best,
Ben Hur
 
On Sun, Mar 1, 2020 at 12:13 PM Alexandre Neto mailto:senhor.n...@gmail.com>  <mailto:senhor.n...@gmail.com> 
<mailto:senhor.n...@gmail.com>> wrote:
Hi Groene,
 
I agree that the Road map is not easy to understand. Just to clarify things (I 
hope):
 
The current LTR is 3.10 (currently at 3.10.3). It only became LTR in February 
although its first release was done in october (3.10.0). The idea is to let it 
mature (and have a broader usage and tests) for at least 4 months before it 
becomes LTR.
 
This means that for the next 12 months, more or less every month a new patch 
release will come out. That will be 3.10.4, 3.10.5 and so on. Only bug fixes 
are allowed on these releases, no new features.
 
If there is a version with some extra number (e.g. 3.4.13-3) it means that 
something happened during packaging of the patch release, requiring a new 
package/installer to be created. You should always try to use the latest 
version of the LTR version, which should be the most stable one.
 
Hope it helps.
 
Alexandre Neto
 
On Sat, Feb 29, 2020 at 7:11 PM Groene Bij mailto:m...@groenebij.nl>  <mailto:m...@groenebij.nl> 
<mailto:m...@groenebij.nl>> wrote:
Hi all,
 
Thank you for bringing up this topic.
For me the release schedule and the different abbreviations are not very 
helpful when choosing a qgis version to install. I am not a software developer 
and thus have little understanding what the different releases are all about.
 
Clarity, however, is always appreciated, and that is the main thing missing in 
this topic:
 
Chris is talking about 3.10.2 having been labeled LTR
Qgis.org right now (29th of February) is mentioning 3.10.3 as LTR
The release schedule on qgis.org 
<https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fqgis.org%2F&data=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cdf484ed7b9284ad3254508d7bd9af506%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637186345604247894&sdata=zXNdF1kN18MTxddVfLTxXK2b0dJpsCI68aqU%2BgdttnY%3D&reserved=0>
 
<https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fqgis.org%2F&data=02%7C01%7Cbrent.wood%40niwa.co.nz%7Cdf484ed7b9284ad3254508d7bd9af506%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637186345604247894&sdata=zXNdF1kN18MTxddVfLTxXK2b0dJpsCI68aqU%2BgdttnY%3D&reserved=0>
 is mentioning 3.10.3 as LR with 3.4.13 being the most recent LTR
So things are unclear. Qgis.org itself seems to be unclear which version 
actually is the LTR.
 
The information on the Road Map page (schedule release) is also unclear:
“The schedule is aligned to produce roughly the same dates for each year given 
our four monthly releases with LTRs in late february.”
Looking at the schedule, LTR’s are being released in October, not February.
 
 
In this mail RĂ©gis says:
“LTR does not mean stable. LTR means it will gain bugfixes longer than 
releases.”
What does this actually mean? Does this mean 3.4.13 will have releases like 
3.4.13-1 and -2 etc.? I do actually find them in the download section ‘older 
releases’ or ‘previous releases’ (also no idea wh

Re: [Qgis-user] Thoughts on QGIS Development and LTR Releases

2020-02-29 Thread Groene Bij
Hi all,

 

Thank you for bringing up this topic.

For me the release schedule and the different abbreviations are not very 
helpful when choosing a qgis version to install. I am not a software developer 
and thus have little understanding what the different releases are all about.

 

Clarity, however, is always appreciated, and that is the main thing missing in 
this topic:

 

Chris is talking about 3.10.2 having been labeled LTR

Qgis.org right now (29th of February) is mentioning 3.10.3 as LTR

The release schedule on qgis.org is mentioning 3.10.3 as LR with 3.4.13 being 
the most recent LTR

So things are unclear. Qgis.org itself seems to be unclear which version 
actually is the LTR.

 

The information on the Road Map page (schedule release) is also unclear:

“The schedule is aligned to produce roughly the same dates for each year given 
our four monthly releases with LTRs in late february.”

Looking at the schedule, LTR’s are being released in October, not February.

 

 

In this mail RĂ©gis says:

“LTR does not mean stable. LTR means it will gain bugfixes longer than 
releases.”

What does this actually mean? Does this mean 3.4.13 will have releases like 
3.4.13-1 and -2 etc.? I do actually find them in the download section ‘older 
releases’ or ‘previous releases’ (also no idea why there are two different 
download sections).

I do not find any information on the release schedule page about LTR’s having 
different bugfix releases. The Road Map page only says: ÂŽ Every third release 
(starting with 2.8) is a long-term-release (LTR) that is maintained until the 
next long-term-release occurs. To me, ‘maintained’ can mean a lot of things.

 

Considering LTR and PR:

What exactly is the difference between 3.4.13 and 3.4.14? Does 3.4.14 contain 
the same bugfixes as 3.4.13-3? The most recent release date of 3.4.14 is 
2019-dec-07 and for 3.4.13-3 is 2019-dec-05.

Or does 3.4.14 only contain new features, compared to the original 3.4.13, 
released in October?

Additional information on how to ‘read’ the release schedule would be much 
appreciated. I find the current information difficult to understand and it 
seems to me it is written too much from a developers or IT-minded perspective 
in stead od a general user perspective.

 

Best regards,

Jeroen Hovens

 

 

Van: Qgis-user  Namens RĂ©gis Haubourg
Verzonden: donderdag 20 februari 2020 18:25
Aan: C Hamilton 
CC: qgis-user ; qgis-developer 

Onderwerp: Re: [Qgis-user] Thoughts on QGIS Development and LTR Releases

 

Hi Chris, 

I share most of your concerns, as much as I advocate the spread of QGIS in 
enterprise and organisations. 

It is true we need always more reliability, documentation.  I'd like also to 
point that 2.x is not so far away, and that the reliability have since improved 
by order of magnitude. 

Let's also keep in mind that the level of expectations of users grows very fast 
too, so this is a race that will never end ;-)

 

However, I think there is a cultural problem, and probably a pedagogy effort we 
should make.

 

LTR does not mean stable. LTR means it will gain bugfixes longer than releases. 
So it is highly expectable that installing a LTR in its early versions will let 
you hit more issues.  I remember the very same situation for ArcGIS 8 or 9 
early stages. And this is the very same for linux distributions or any 
software. I don't remember any  early x.0 release in QGIS that was not followed 
one week later by an urgent point release. But new users don't know this. They 
see a big green button "download that sexy new version". 

 

That said, how to improve the situation? After years of discussions in the 
various events, hackfest, conferences, discussions with public or private 
customers, developpers, here are the possible leads we have:

 

- Keep on explaining the rationale and codes of free software to users and 
potential funders. 

 

- Try to keep our "power users / early testers" population, so that we target 
the right issues during bugfix sprints. 

 

- Offer longer LTR lifespan, so that funders have a larger window to actually 
find and have bug fixed. 

 

- Keep on explaining that QGIS bugfix release should be easily deployable in 
big organisations. OSGEO4W silent installs allows this. Maybe going toward auto 
upgrade /  patch system could help (it's a big effort though)

 

- Keep on gaining more budget for QGIS.org, so that we can setup a real semi 
automated Q/A acceptance test suite. This requires human tests. Boundless did, 
it is possible. It is a matter of ressources. Should it be centralized or 
community powered ? I have no idea, but this requires someone to be hired all 
year long to do this. IMO, enterprises requiring such reliability should really 
consider sponsoring this framework and dedicate some human ressources. 

 

- Same goes for documentation 

 

- Same goes for code review, we need to have more reviewers. the learning curve 
is steep though, and we need to find money for this

 

Re: [Qgis-user] Labeling defaults

2019-12-09 Thread Groene Bij
+1 for "Force point inside polygon"
All those times when a centroid is not within the polygon...

Jeroen


-Oorspronkelijk bericht-
Van: Qgis-user  Namens Aurelio Pires
Verzonden: vrijdag 6 december 2019 15:52
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] Labeling defaults

+1 for "Force point inside polygon"
+0 for "Show all labels for this layer (including colliding labels)"

APires

On 2019-12-06 11:02, Raymond Nijssen wrote:
> +1 for "Force point inside polygon"
>
> +0 for "Show all labels for this layer (including colliding labels)"
>
> And I would like "Curved" labels for lines to be the default
>
> Raymond
>
>
> On 24-11-2019 13:41, AgroGPS s.r.o. wrote:
>> Hello,
>> is it possible somehow to set these label properties - "Force point 
>> inside polygon" and "Show all labels for this layer (including 
>> colliding labels)", as QGIS defaults?
>>
>> Best regards,
>>
>> Peter Scholtz
>> AgroGPS s.r.o.
>>
>> scho...@agrogps.sk   +421 949 745 965
>>
>> Pred vytlačenĂ­m tohto mailu prosĂ­m zvĂĄĆŸte dopad na ĆŸivotnĂ© 
>> prostredie. Ďakujem. / Please consider the environment before 
>> printing this e-mail. 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] change default webbrowser in qgis3 settings?

2019-06-30 Thread Groene Bij
Hi all,

I have finally been able to reproduce the issue. Now maybe someone can help me 
find an answer?
Using Windows10, qgis 3.4.x and the latest qgis2web plugin there is different 
behavior based on where I save the qgis2web export.
Qgis2web automatically opens the webmap after saving the export.

Saving the qgis2web export on my Synology NAS drive results in the webmap being 
opened with Windows Internet Explorer.
Saving the qgis2web export on my pc hard drive (the same hdd where qgis is 
installed) result in the webmap being opened with my default browser: Firefox.

This to me seems very odd and since Internet Explorer is not my default browser 
it is a nuisance as well.
Besides, qgis 2.18 did not show this behavior.

Anyone any idea why the save location influences which program to run the 
webmap in?
The issue is closed but unresolved on the qgis2web github:
https://github.com/tomchadwin/qgis2web/issues/709




-Oorspronkelijk bericht-
Van: Qgis-user  Namens Groene Bij
Verzonden: dinsdag 5 maart 2019 17:32
Aan: rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

I have nothing like IE or explorer.


-Oorspronkelijk bericht-
Van: Richard Duivenvoorde  
Verzonden: dinsdag 5 maart 2019 16:59
Aan: Groene Bij ; rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

On 05/03/2019 16.38, Groene Bij wrote:
> Update 2:
> Opening a specific project and making a qgis2web export again opened IE.
> Starting a new project and exporting in qgis2web opens Firefox.
> 
> So, choice of browser is somehow linked to the project.
> This does not explain why any new project also used to open IE, until I used 
> the python console command suggested by Richard.

Can you try to search in the project file?
It's 'just' a zip, so rename unpack it and search for IE or explorer in the 
.qgs xml file

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

___
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] Background Maps in qgis2web?

2019-04-04 Thread Groene Bij
Hi Mike,

Basemap functionality has changed with qgis3 and qgis2web3.x
See the wiki on github
https://github.com/tomchadwin/qgis2web/wiki/basemaps

gr.
Jeroen

-Oorspronkelijk bericht-
Van: Qgis-user  Namens Elstermann, Mike
Verzonden: donderdag 4 april 2019 11:35
Aan: qgis-user@lists. osgeo. org 
Onderwerp: [Qgis-user] Background Maps in qgis2web?

Hello, everybody,

Can't I see right?
But where can I find the background maps (OSM, Stamen, ...) under QGIS3 in the 
plugin qgis2web?
In QGIS 2.x you could activate them under the preview window.

THX!
mikeE., the #geoObserver.
___
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] change default webbrowser in qgis3 settings?

2019-03-29 Thread Groene Bij
Hi all,

I have new info on this issue. I have also given this to Tom Chadwin because I 
am not sure if this is related to q2w or to qgis.

I tested the following:
Start qgis 3.4 (with q2w 3.6.0) and add a layer (not a project).
open q2w, no change to settings, export (Leaflet), the webmap opens in my 
default browser Firefox
close q2w
open q2w, change export folder to a different drive and folder on my desktop 
(not a network drive), the webmap still opens in my default browser
close q2w
open q2w, change export folder to a network drive folder and the export opens 
in IE.

This behaviour is unique to qgis 3.4, in qgis 2.18 this doesn't happen. All 
webmaps always open in my default browser.



-Oorspronkelijk bericht-
Van: Qgis-user  Namens Groene Bij
Verzonden: dinsdag 5 maart 2019 17:32
Aan: rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

I have nothing like IE or explorer.


-Oorspronkelijk bericht-
Van: Richard Duivenvoorde  
Verzonden: dinsdag 5 maart 2019 16:59
Aan: Groene Bij ; rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

On 05/03/2019 16.38, Groene Bij wrote:
> Update 2:
> Opening a specific project and making a qgis2web export again opened IE.
> Starting a new project and exporting in qgis2web opens Firefox.
> 
> So, choice of browser is somehow linked to the project.
> This does not explain why any new project also used to open IE, until I used 
> the python console command suggested by Richard.

Can you try to search in the project file?
It's 'just' a zip, so rename unpack it and search for IE or explorer in the 
.qgs xml file

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

___
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] change default webbrowser in qgis3 settings?

2019-03-05 Thread Groene Bij
I have nothing like IE or explorer.


-Oorspronkelijk bericht-
Van: Richard Duivenvoorde  
Verzonden: dinsdag 5 maart 2019 16:59
Aan: Groene Bij ; rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

On 05/03/2019 16.38, Groene Bij wrote:
> Update 2:
> Opening a specific project and making a qgis2web export again opened IE.
> Starting a new project and exporting in qgis2web opens Firefox.
> 
> So, choice of browser is somehow linked to the project.
> This does not explain why any new project also used to open IE, until I used 
> the python console command suggested by Richard.

Can you try to search in the project file?
It's 'just' a zip, so rename unpack it and search for IE or explorer in the 
.qgs xml file

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] change default webbrowser in qgis3 settings?

2019-03-05 Thread Groene Bij
Update 2:
Opening a specific project and making a qgis2web export again opened IE.
Starting a new project and exporting in qgis2web opens Firefox.

So, choice of browser is somehow linked to the project.
This does not explain why any new project also used to open IE, until I used 
the python console command suggested by Richard.

Strange indeed.

-Oorspronkelijk bericht-
Van: Qgis-user  Namens Groene Bij
Verzonden: dinsdag 5 maart 2019 09:50
Aan: rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

Short update on this issue.

After entering QDesktopServices.openUrl(QUrl('http://qgis.org')) and seeing 
qgis3 opening the firefox browser, now qgis2web also always opens the firefox 
browser.
Restarts, new projects, old projects, now always my default browser is used. 

This solves my problem, but I have no idea what happened.
To me this is strange behavior, like the python line somehow changed a setting?

Greets,
Jeroen


-Oorspronkelijk bericht-
Van: Qgis-user  Namens Groene Bij
Verzonden: vrijdag 1 maart 2019 11:48
Aan: rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

This one opens Firefox...

So maybe it is an issue in qgis, I'll give it to Tom.



-Oorspronkelijk bericht-
Van: Richard Duivenvoorde 
Verzonden: vrijdag 1 maart 2019 10:59
Aan: Groene Bij ; rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

Sorry, wrong example, please try:

QDesktopServices.openUrl(QUrl('http://qgis.org'))

Richard

On 01/03/2019 10.35, Groene Bij wrote:
> Hi Richard,
> 
> Using your line in the Python Console I get the following message:
> 
> Traceback (most recent call last):
>   File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\code.py", line 90, in runcode
> exec(code, self.locals)
>   File "", line 1, in 
> TypeError: openUrl(QUrl): argument 1 has unexpected type 'str'
> 
> I am using 3.4.5 LTR
> 
> Greetings,
> Jeroen
> 
> -Oorspronkelijk bericht-
> Van: Qgis-user  Namens Richard 
> Duivenvoorde
> Verzonden: maandag 25 februari 2019 22:08
> Aan: qgis-user@lists.osgeo.org
> Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?
> 
> Hi Jeroen,
> 
> I'd say: create an issue in the repo of it:
> https://github.com/tomchadwin/web2qgis/issues
> 
> I have some plugins which opened an url or file in a browser, and then used 
> default Qt-machinery, something like:
> 
> QDesktopServices.openUrl('http://qgis.org')
> 
> What happens if you use that in the Python Console? In your QGIS 3.
> Does it open your preferred browser?
> Or does it also open IE. If last, then maybe it is a Qt setting?
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> On 25/02/2019 09.43, Groene Bij wrote:
>> Hi all,
>>
>> I am sorry to repeat this question. I really hope someone can help.
>>
>> Today I did a clean install of 3.4.5 and exporting a map with the 
>> plugin qgis2web it still opens the webmap in IE. I don’t use IE, 
>> haven’t configured it and it is not my default webbrowser in Win10.
>>
>> Somehow, some setting in qgis 3 doesn’t use my default windows 
>> settings correctly.
>>
>>  
>>
>> Qgis 2.18.28 doesn’t have this problem. I also did a clean install of
>> 2.18.28 today, exported a map with the plugin and it opens in my 
>> default webbrowser which is Firefox.
>>
>>  
>>
>> Is it a bug in 3.4.5?
>>
>> Is there a setting somewhere to change the webbrowser used?
>>
>>  
>>
>>  
>>
>> Gr.
>>
>> Jeroen
>>
>>  
>>
>>  
>>
>> *Van:*Qgis-user  *Namens *Groene 
>> Bij
>> *Verzonden:* maandag 11 februari 2019 17:10
>> *Aan:* qgis-user@lists.osgeo.org
>> *Onderwerp:* [Qgis-user] qgis3 uses IE as default browser on windows10?
>>
>>  
>>
>>  
>>
>> Hi,
>>
>>  
>>
>> Is there a setting in qgis3 to change the default internet browser 
>> used by processes?
>>
>> For instance, qgis2web opens a webbrowser after exporting the webmap. 
>> In
>> qgis2.18 my default browser Firefox was opened. Now, qgis3.4.4 it opens IE.
>>
>>  
>>
>> According to Tom Chadwin (qgis2web) the plugin refers to a piece of 
>> Pyhton code when opening the webbrowser:
>>
>> The code which opens the browser when you export is:
>>
>> https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialo
>> g
>> .py#L

Re: [Qgis-user] change default webbrowser in qgis3 settings?

2019-03-05 Thread Groene Bij
Short update on this issue.

After entering QDesktopServices.openUrl(QUrl('http://qgis.org')) and seeing 
qgis3 opening the firefox browser, now qgis2web also always opens the firefox 
browser.
Restarts, new projects, old projects, now always my default browser is used. 

This solves my problem, but I have no idea what happened.
To me this is strange behavior, like the python line somehow changed a setting?

Greets,
Jeroen


-Oorspronkelijk bericht-
Van: Qgis-user  Namens Groene Bij
Verzonden: vrijdag 1 maart 2019 11:48
Aan: rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

This one opens Firefox...

So maybe it is an issue in qgis, I'll give it to Tom.



-Oorspronkelijk bericht-
Van: Richard Duivenvoorde 
Verzonden: vrijdag 1 maart 2019 10:59
Aan: Groene Bij ; rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

Sorry, wrong example, please try:

QDesktopServices.openUrl(QUrl('http://qgis.org'))

Richard

On 01/03/2019 10.35, Groene Bij wrote:
> Hi Richard,
> 
> Using your line in the Python Console I get the following message:
> 
> Traceback (most recent call last):
>   File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\code.py", line 90, in runcode
> exec(code, self.locals)
>   File "", line 1, in 
> TypeError: openUrl(QUrl): argument 1 has unexpected type 'str'
> 
> I am using 3.4.5 LTR
> 
> Greetings,
> Jeroen
> 
> -Oorspronkelijk bericht-
> Van: Qgis-user  Namens Richard 
> Duivenvoorde
> Verzonden: maandag 25 februari 2019 22:08
> Aan: qgis-user@lists.osgeo.org
> Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?
> 
> Hi Jeroen,
> 
> I'd say: create an issue in the repo of it:
> https://github.com/tomchadwin/web2qgis/issues
> 
> I have some plugins which opened an url or file in a browser, and then used 
> default Qt-machinery, something like:
> 
> QDesktopServices.openUrl('http://qgis.org')
> 
> What happens if you use that in the Python Console? In your QGIS 3.
> Does it open your preferred browser?
> Or does it also open IE. If last, then maybe it is a Qt setting?
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> On 25/02/2019 09.43, Groene Bij wrote:
>> Hi all,
>>
>> I am sorry to repeat this question. I really hope someone can help.
>>
>> Today I did a clean install of 3.4.5 and exporting a map with the 
>> plugin qgis2web it still opens the webmap in IE. I don’t use IE, 
>> haven’t configured it and it is not my default webbrowser in Win10.
>>
>> Somehow, some setting in qgis 3 doesn’t use my default windows 
>> settings correctly.
>>
>>  
>>
>> Qgis 2.18.28 doesn’t have this problem. I also did a clean install of
>> 2.18.28 today, exported a map with the plugin and it opens in my 
>> default webbrowser which is Firefox.
>>
>>  
>>
>> Is it a bug in 3.4.5?
>>
>> Is there a setting somewhere to change the webbrowser used?
>>
>>  
>>
>>  
>>
>> Gr.
>>
>> Jeroen
>>
>>  
>>
>>  
>>
>> *Van:*Qgis-user  *Namens *Groene 
>> Bij
>> *Verzonden:* maandag 11 februari 2019 17:10
>> *Aan:* qgis-user@lists.osgeo.org
>> *Onderwerp:* [Qgis-user] qgis3 uses IE as default browser on windows10?
>>
>>  
>>
>>  
>>
>> Hi,
>>
>>  
>>
>> Is there a setting in qgis3 to change the default internet browser 
>> used by processes?
>>
>> For instance, qgis2web opens a webbrowser after exporting the webmap. 
>> In
>> qgis2.18 my default browser Firefox was opened. Now, qgis3.4.4 it opens IE.
>>
>>  
>>
>> According to Tom Chadwin (qgis2web) the plugin refers to a piece of 
>> Pyhton code when opening the webbrowser:
>>
>> The code which opens the browser when you export is:
>>
>> https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialo
>> g
>> .py#L342
>>
>>  
>>
>> It uses the Python webbrowsermodule:
>>
>> https://docs.python.org/3/library/webbrowser.html
>>
>>  
>>
>> I have no experience with pyhon, so I hope there is a setting 
>> somewhere to choose my default browser. Besides that, I do hope qgis3 
>> will simply follow the default settings from the OS.
>>
>>  
>>
>> Kind regards.
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.os

Re: [Qgis-user] change default webbrowser in qgis3 settings?

2019-03-01 Thread Groene Bij
This one opens Firefox...

So maybe it is an issue in qgis, I'll give it to Tom.



-Oorspronkelijk bericht-
Van: Richard Duivenvoorde  
Verzonden: vrijdag 1 maart 2019 10:59
Aan: Groene Bij ; rich...@duif.net; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

Sorry, wrong example, please try:

QDesktopServices.openUrl(QUrl('http://qgis.org'))

Richard

On 01/03/2019 10.35, Groene Bij wrote:
> Hi Richard,
> 
> Using your line in the Python Console I get the following message:
> 
> Traceback (most recent call last):
>   File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\code.py", line 90, in runcode
> exec(code, self.locals)
>   File "", line 1, in 
> TypeError: openUrl(QUrl): argument 1 has unexpected type 'str'
> 
> I am using 3.4.5 LTR
> 
> Greetings,
> Jeroen
> 
> -Oorspronkelijk bericht-
> Van: Qgis-user  Namens Richard 
> Duivenvoorde
> Verzonden: maandag 25 februari 2019 22:08
> Aan: qgis-user@lists.osgeo.org
> Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?
> 
> Hi Jeroen,
> 
> I'd say: create an issue in the repo of it:
> https://github.com/tomchadwin/web2qgis/issues
> 
> I have some plugins which opened an url or file in a browser, and then used 
> default Qt-machinery, something like:
> 
> QDesktopServices.openUrl('http://qgis.org')
> 
> What happens if you use that in the Python Console? In your QGIS 3.
> Does it open your preferred browser?
> Or does it also open IE. If last, then maybe it is a Qt setting?
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> On 25/02/2019 09.43, Groene Bij wrote:
>> Hi all,
>>
>> I am sorry to repeat this question. I really hope someone can help.
>>
>> Today I did a clean install of 3.4.5 and exporting a map with the 
>> plugin qgis2web it still opens the webmap in IE. I don’t use IE, 
>> haven’t configured it and it is not my default webbrowser in Win10.
>>
>> Somehow, some setting in qgis 3 doesn’t use my default windows 
>> settings correctly.
>>
>>  
>>
>> Qgis 2.18.28 doesn’t have this problem. I also did a clean install of
>> 2.18.28 today, exported a map with the plugin and it opens in my 
>> default webbrowser which is Firefox.
>>
>>  
>>
>> Is it a bug in 3.4.5?
>>
>> Is there a setting somewhere to change the webbrowser used?
>>
>>  
>>
>>  
>>
>> Gr.
>>
>> Jeroen
>>
>>  
>>
>>  
>>
>> *Van:*Qgis-user  *Namens *Groene 
>> Bij
>> *Verzonden:* maandag 11 februari 2019 17:10
>> *Aan:* qgis-user@lists.osgeo.org
>> *Onderwerp:* [Qgis-user] qgis3 uses IE as default browser on windows10?
>>
>>  
>>
>>  
>>
>> Hi,
>>
>>  
>>
>> Is there a setting in qgis3 to change the default internet browser 
>> used by processes?
>>
>> For instance, qgis2web opens a webbrowser after exporting the webmap. 
>> In
>> qgis2.18 my default browser Firefox was opened. Now, qgis3.4.4 it opens IE.
>>
>>  
>>
>> According to Tom Chadwin (qgis2web) the plugin refers to a piece of 
>> Pyhton code when opening the webbrowser:
>>
>> The code which opens the browser when you export is:
>>
>> https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialo
>> g
>> .py#L342
>>
>>  
>>
>> It uses the Python webbrowsermodule:
>>
>> https://docs.python.org/3/library/webbrowser.html
>>
>>  
>>
>> I have no experience with pyhon, so I hope there is a setting 
>> somewhere to choose my default browser. Besides that, I do hope qgis3 
>> will simply follow the default settings from the OS.
>>
>>  
>>
>> Kind 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
> 
> ___
> 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] change default webbrowser in qgis3 settings?

2019-03-01 Thread Groene Bij
Hi Richard,

Using your line in the Python Console I get the following message:

Traceback (most recent call last):
  File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\code.py", line 90, in runcode
exec(code, self.locals)
  File "", line 1, in 
TypeError: openUrl(QUrl): argument 1 has unexpected type 'str'

I am using 3.4.5 LTR

Greetings,
Jeroen

-Oorspronkelijk bericht-
Van: Qgis-user  Namens Richard Duivenvoorde
Verzonden: maandag 25 februari 2019 22:08
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] change default webbrowser in qgis3 settings?

Hi Jeroen,

I'd say: create an issue in the repo of it:
https://github.com/tomchadwin/web2qgis/issues

I have some plugins which opened an url or file in a browser, and then used 
default Qt-machinery, something like:

QDesktopServices.openUrl('http://qgis.org')

What happens if you use that in the Python Console? In your QGIS 3.
Does it open your preferred browser?
Or does it also open IE. If last, then maybe it is a Qt setting?

Regards,

Richard Duivenvoorde

On 25/02/2019 09.43, Groene Bij wrote:
> Hi all,
> 
> I am sorry to repeat this question. I really hope someone can help.
> 
> Today I did a clean install of 3.4.5 and exporting a map with the 
> plugin qgis2web it still opens the webmap in IE. I don’t use IE, 
> haven’t configured it and it is not my default webbrowser in Win10.
> 
> Somehow, some setting in qgis 3 doesn’t use my default windows 
> settings correctly.
> 
>  
> 
> Qgis 2.18.28 doesn’t have this problem. I also did a clean install of
> 2.18.28 today, exported a map with the plugin and it opens in my 
> default webbrowser which is Firefox.
> 
>  
> 
> Is it a bug in 3.4.5?
> 
> Is there a setting somewhere to change the webbrowser used?
> 
>  
> 
>  
> 
> Gr.
> 
> Jeroen
> 
>  
> 
>  
> 
> *Van:*Qgis-user  *Namens *Groene 
> Bij
> *Verzonden:* maandag 11 februari 2019 17:10
> *Aan:* qgis-user@lists.osgeo.org
> *Onderwerp:* [Qgis-user] qgis3 uses IE as default browser on windows10?
> 
>  
> 
>  
> 
> Hi,
> 
>  
> 
> Is there a setting in qgis3 to change the default internet browser 
> used by processes?
> 
> For instance, qgis2web opens a webbrowser after exporting the webmap. 
> In
> qgis2.18 my default browser Firefox was opened. Now, qgis3.4.4 it opens IE.
> 
>  
> 
> According to Tom Chadwin (qgis2web) the plugin refers to a piece of 
> Pyhton code when opening the webbrowser:
> 
> The code which opens the browser when you export is:
> 
> https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialog
> .py#L342
> 
>  
> 
> It uses the Python webbrowsermodule:
> 
> https://docs.python.org/3/library/webbrowser.html
> 
>  
> 
> I have no experience with pyhon, so I hope there is a setting 
> somewhere to choose my default browser. Besides that, I do hope qgis3 
> will simply follow the default settings from the OS.
> 
>  
> 
> Kind 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

___
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] geojson file permission settings

2019-02-26 Thread Groene Bij
It is very easy.
In less than a minute I can produce the .shp and .dbf file of your wind farm 
data and use them myself.
However, since you haven't set any names for the attributes, and I am not an 
expert on wind farm data, it is difficult to guess what the values represent.

I figured this out myself, using my own maps, being concerned data might be 
accessible. That's what triggered me to ask these questions. There may be many 
ways to avoid this issue, but I am no expert on internet security so I do not 
know them.

Gr.
Jeroen

-Oorspronkelijk bericht-
Van: Mike Flannigan  
Verzonden: dinsdag 26 februari 2019 01:47
Aan: qgis-user@lists.osgeo.org
CC: m...@groenebij.nl
Onderwerp: Re: [Qgis-user] geojson file permission settings


I use qgis2web on a Windows machine.  Am I naive to think that others cannot 
obtain the underlying data for this map:
http://www.mflan.com/temp/wind/index.html

If that data can be obtained I would like to know the procedure one would use 
to obtain it.

I'm thinking my map is not geojson, but I could be wrong.


Mike


On 2/21/2019 2:00 PM, qgis-user-requ...@lists.osgeo.org wrote:
> I am using qgis and qgis2web to produce webmaps. Each layer is stored 
> as a javascript file containing the geojson data. This contains the 
> geometry and the attributions.
>
>   
>
> When publicly publishing the webmap I want people to view the map. But 
> I also want to protect the map data (geometry and attributions) from 
> being copied. It's my time and effort to produce the map (geometry and
> attributions) and I don't mind people viewing it, but I do mind if map 
> data is being copied.
>
>   
>
> When I set the file permissions to 640, the webmap will not show. If I 
> set it to 644, the geojson data file is easily found (the index.html 
> shows you where it is stored) and then copied.
>
> Are there other ways to easily host and publicly show webmaps but keep 
> the actual data protected?


___
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] how to add a network folder to qgis3 browser panel

2019-02-25 Thread Groene Bij
Oh, stupid me.
I can right click on the Favourites item and then it says : add folder. That
opens the windows10 browser panel and shows all my network folders...



-Oorspronkelijk bericht-
Van: Richard Duivenvoorde  
Verzonden: maandag 25 februari 2019 22:16
Aan: Groene Bij ; qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] how to add a network folder to qgis3 browser
panel

On 25/02/2019 09.18, Groene Bij wrote:
> Hi,
> 
> Using qgis 3.4.5 on Win10, how do I add a network drive or network 
> folder to the browser-panel? It doesn't show my network folders by 
> default and I can't find any option to add specific folders.
> 
> I keep most of my data on a NAS but there is no way to connect to 
> these folders from the browser-panel.

What if you first assign a Drive letter/character? to it?
Does it show up then?

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] styling mutiple attributes within the same layer

2019-02-25 Thread Groene Bij
Thank you for both tips, they work great, at least within Qgis.

I'll contact the qgis2web authors to see if an integration of multiple layers 
is possible in the plugin.

Gr.
Jeroen


-Oorspronkelijk bericht-
Van: Qgis-user  Namens 
qgis-u...@stripfamily.net
Verzonden: zaterdag 23 februari 2019 15:56
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] styling mutiple attributes within the same layer

On 2/23/2019 7:06 AM, Andreas Neumann wrote:
> Hi Groene,
>
> you can set multiple styles on a single layer. No problem. Just right 
> click the layer, select styles and add a new style.
>
> Greetings, Andreas

Related tip:
to quickly change between the different styles, use the "Layer Styling"
panel:
View->Panels->Layer Styling.
The left side of the panel (at least in 3.4)  contains a column with 5 icons. 
The 4th one is "Style Manager", which will present a list of the styles defined 
for the layer. You can select the style to display by clicking on it. You can 
also add and delete styles from this view.
___
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] change default webbrowser in qgis3 settings?

2019-02-25 Thread Groene Bij
Hi all,

I am sorry to repeat this question. I really hope someone can help.

Today I did a clean install of 3.4.5 and exporting a map with the plugin
qgis2web it still opens the webmap in IE. I don't use IE, haven't configured
it and it is not my default webbrowser in Win10.

Somehow, some setting in qgis 3 doesn't use my default windows settings
correctly.

 

Qgis 2.18.28 doesn't have this problem. I also did a clean install of
2.18.28 today, exported a map with the plugin and it opens in my default
webbrowser which is Firefox.

 

Is it a bug in 3.4.5?

Is there a setting somewhere to change the webbrowser used?

 

 

Gr.

Jeroen

 

 

Van: Qgis-user  Namens Groene Bij
Verzonden: maandag 11 februari 2019 17:10
Aan: qgis-user@lists.osgeo.org
Onderwerp: [Qgis-user] qgis3 uses IE as default browser on windows10?

 

 

Hi,

 

Is there a setting in qgis3 to change the default internet browser used by
processes?

For instance, qgis2web opens a webbrowser after exporting the webmap. In
qgis2.18 my default browser Firefox was opened. Now, qgis3.4.4 it opens IE.

 

According to Tom Chadwin (qgis2web) the plugin refers to a piece of Pyhton
code when opening the webbrowser:

The code which opens the browser when you export is:

https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialog.py#L3
42

 

It uses the Python webbrowser module:

https://docs.python.org/3/library/webbrowser.html

 

I have no experience with pyhon, so I hope there is a setting somewhere to
choose my default browser. Besides that, I do hope qgis3 will simply follow
the default settings from the OS.

 

Kind 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

[Qgis-user] how to add a network folder to qgis3 browser panel

2019-02-25 Thread Groene Bij
Hi,

 

Using qgis 3.4.5 on Win10, how do I add a network drive or network folder to
the browser-panel? It doesn't show my network folders by default and I can't
find any option to add specific folders.

I keep most of my data on a NAS but there is no way to connect to these
folders from the browser-panel.

 

Gr.

Jeroen

___
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] styling mutiple attributes within the same layer

2019-02-22 Thread Groene Bij
Hi,

 

Please consider the following case:

I have a layer with geometries and 40 attributes. I would like to style each
attribute according to the same rule. To do this in qgis I would have to
copy the layer 40 times and set the style to a different attribute on each
layer.

Then I can select which layer to look at to see the result of the styling.

This means I have 40 layers. Making a webmap out of this project, gives me a
large webmap with 40 layer data files (geojson).

 

Interestingly, many Leaflet textbook examples seem to suggest the
possibility to write a styling function for each attribute and every time
refer to the same layer. Then add buttons for each styling function and the
function to display he layer selected.

This means I should have a webmap with just 1 layer data file (geojson).

 

Is this correct? Is it possible to code a Leaflet map with 40 styling
functions for 1 geojson layer?

Why do I need to create 40 layers in qgis to get the same result? Or do I? 

 

I am probably missing something.

 

 

 

 

 

___
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] geojson file permission settings

2019-02-21 Thread Groene Bij
Hi all,

 

I am using qgis and qgis2web to produce webmaps. Each layer is stored as a
javascript file containing the geojson data. This contains the geometry and
the attributions.

 

When publicly publishing the webmap I want people to view the map. But I
also want to protect the map data (geometry and attributions) from being
copied. It's my time and effort to produce the map (geometry and
attributions) and I don't mind people viewing it, but I do mind if map data
is being copied.

 

When I set the file permissions to 640, the webmap will not show. If I set
it to 644, the geojson data file is easily found (the index.html shows you
where it is stored) and then copied.

Are there other ways to easily host and publicly show webmaps but keep the
actual data protected?

 

 

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] qgis3 uses IE as default browser on windows10?

2019-02-11 Thread Groene Bij
Hi,

 

Is there a setting in qgis3 to change the default browser used by processes?

For instance, qgis2web opens a webbrowser after exporting the webmap. In
qgis2.18 my default browser Firefox was opened. Now, qgis3.4.4 it opens IE.

 

According to Tom Chadwin (qgis2web) the plugin refers to a piece of Pyhton
code when opening the webbrowser:

The code which opens the browser when you export is:

 

https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialog.py#L3
42

It uses the Python webbrowser module:

 
https://docs.python.org/3/library/webbrowser.html

 

I have no experience with pyhon, so I hope there is a setting somewhere to
choose my default browser. Besides that, I do hope qgis3 will simply follow
the default settings from the OS.

 

Kind 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] repair tabs on log messages

2019-02-11 Thread Groene Bij
Hi,

 

Using qgis 3.4.4 and opening the log messages panel, I accidentally deleted
one of the tabs, but I don't know which one.

Do they automatically re-appear after restarting qgis?

Can I somewhere choose which tabs to be visible in the message log panel?
Clicking the cross symbol removes the tab, but how to get it back?

 

Kind 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] show city names without labels?

2018-11-13 Thread Groene Bij
Hi all,

 

The obvious way to show municipality names would be to use labels. However,
exporting a qgis map use qgis2web (leaflet) displaces labels. It seems
Leaflet uses it's own rules to place labels, not always to my liking.

I have created a point layer with a selection of municipalities I wanted to
have their name displayed, just for basic orientation on a nation map.

 

Are there other ways to show municipality names without the use of labels?
Maybe creating a custom rectangle polygon and having it somehow show it's
attribute value? Is it even possible to show an attribute value inside a
polygon?

 

Kind regards,

Jeroen

___
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