Re: [QGIS-Developer] Globe Plugin

2020-05-20 Thread Sandro Mani


On 20.05.20 17:02, Martin Dobias wrote:

Hi

On Wed, May 20, 2020 at 9:23 AM Marco Bernasocchi > wrote:


As one of the grandfathers of the original Globe plugin, I'd say
ditch it - BUT... let's see what Matthias,  Martin and  Sandro
think since they probably are the ones that are most up-to-date on
can now be done with the 3d map canvas and globe

I am personally +1 to remove it:
- native QGIS 3D view has most of the functionality + a lot more to offer
- there have been no real updates besides compilation / code style 
fixes in last ~4 years

- dependencies on OpenSceneGraph and osgEarth have always caused troubles
- we have been on the road to kill any internal c++ plugins in QGIS 
source tree


The only major piece of functionality that's not in the native QGIS 3D 
view is the "earth as a globe" view - so there may be some users that 
may be missing that functionality.


So if we decide to remove the plugin, the question is whether to 
remove it ASAP or wait until QGIS 4.0 or wait until globe support is 
in native QGIS 3D...


No objections to removing on my part.

Best
Sandro

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

[QGIS-Developer] QgsRasterMarkerSymbolLayer

2020-05-20 Thread beketata
Hi all,

I am working on some modification to the Raster Image Marker class
QgsRasterMarkerSymbolLayer.
In the process I noticed some strange behavior of the original class.

I created a new test project with a layer containing a single Raster Image
Marker.
In the source file gqsmarkersymbollayer.cpp I added a global variable for a
QgsRasterMarkerSymbolLayer class instance counter. It increases in the
constructor and decreases in the destructor of this class.
Ideally (in my opinion) this counter should always be balanced. But when I
close and open the project again (with no extra action) the counter is
incremented by 3 each time in the iteration.
If I do something after opening the project, for example, changing the size
of the image, and then after closing and opening the project again, the
counter increases by 8 or more.
Almost the same behavior with the QgsSvgMarkerSymbolLayer class.

Is it some sort of leak or something else (normal)? Does this behavior
require further investigation?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Globe Plugin

2020-05-20 Thread Martin Dobias
Hi

On Wed, May 20, 2020 at 9:23 AM Marco Bernasocchi  wrote:

> As one of the grandfathers of the original Globe plugin, I'd say ditch it
> - BUT... let's see what Matthias,  Martin and  Sandro think since they
> probably are the ones that are most up-to-date on can now be done with the
> 3d map canvas and globe
>
I am personally +1 to remove it:
- native QGIS 3D view has most of the functionality + a lot more to offer
- there have been no real updates besides compilation / code style fixes in
last ~4 years
- dependencies on OpenSceneGraph and osgEarth have always caused troubles
- we have been on the road to kill any internal c++ plugins in QGIS source
tree

The only major piece of functionality that's not in the native QGIS 3D view
is the "earth as a globe" view - so there may be some users that may be
missing that functionality.

So if we decide to remove the plugin, the question is whether to remove it
ASAP or wait until QGIS 4.0 or wait until globe support is in native QGIS
3D...

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

Re: [QGIS-Developer] QGIS Server now install a full DE?

2020-05-20 Thread David Marteau

Hi,

Qgis server is built on top of the Qgis codebase. Qgis  require Qt. Qt 
packages come with all the dependencies, needed or not, to run Qt 
applications in the large.


The problem is mainly Qt packaging, and there is not much you can do 
about this (you may ask why Qgis desktop need gstreamer on linux !)


Le 20/05/2020 à 07:49, Uros Preloznik a écrit :

Hi,

Maybe I did open different question with Python support, but I still 
think default setup of QGIS Server should be as light as possible for 
running standard OGC requests. If you have demand for specific tasks 
then you will know what to do to enable Python support and go with 
plugins. It used to be like that before.


So then we have this issue with installing bunch of unneeded packages. 
I would open issue about that for start.


best regards
Uroš

V V tor., 19. maj 2020 ob 18:35 je oseba Marco Bernasocchi 
mailto:ma...@opengis.ch>> napisala:


Hi Uros

On 19.05.20 11:03, Uros Preloznik wrote:

I think main question is does QGIS Server needs dependency to
python?


Unless you want to kill server plugins. Maybe it could be a
separated qgis-server-python package. but as Bas said, it seems a
different issue.

Cheers

Marco

-- 
Marco Bernasocchi

OPENGIS.ch CEO
QGIS.org Chair
ma...@opengis.ch 
+41 (0)79 467 24 70 

OPENGIS.ch Logo 


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

--

David Marteau
Responsable Infrastructure
www.3liz.com 

*Tel*. 06 63 02 89 83
*Bureau*
31, rue de l'Argenterie
34000 Montpellier
*Siège social*
73, allée Kleber
Boulevard de Strasbourg
34000 Montpellier

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

Re: [QGIS-Developer] The curious case of GeoPackage on exFAT

2020-05-20 Thread Bo Victor Thomsen

Hi Jonathan -

Thanks for the "heads-up" regarding wal files. The technical problem is 
using the xFAT file system  - when xFAT gets corrupted, it will partly 
be write-protected. This will inhibit QGIS in making the 2 wal files (or 
updating or deleting them).


But QGIS has an issue here: When the situation occurs, QGIS will quietly 
tell you about in the relatively obscure log system. And it will show 
you an *empty* GeoPackage - no layers. That is not smart. It will upset 
users (It certainly did upset me :-) . They will believe, that their 
precious layers in the GeoPackage has disappeared. However, the layers 
is perfectly alright. If you copy the GeoPackage to another filesystem, 
QGIS will happily open the layers from the copy.


IMHO, a better approach would to have a big fat error message informing 
users that they have a problem with the underlying file system. (I plan 
to write a feature request about this later today)



--

Med venlig hilsen / Kind regards

Bo Victor Thomsen


Den 18-05-2020 kl. 17:49 skrev Jonathan Moules:


Hi Bo,

Looking at the WAL docs for SQLite (https://www.sqlite.org/wal.html) 
(what geopackage is built from) I see this:


"The WAL file exists for as long as any database connection has the 
database open. Usually, the WAL file is deleted automatically when the 
last connection to the database closes. However, if the last process 
to have the database open exits without cleanly shutting down the 
database connection, or if the SQLITE_FCNTL_PERSIST_WAL file control 
is used, then the WAL file might be retained on disk after all 
connections to the database have been closed."


So it sounds like whatever the last process is to touch the GeoPackage 
may not be closing the connection cleanly on exFat.


Cheers,

Jonathan

On 2020-05-11 13:10, Bo Victor Thomsen wrote:


Hi all -

I have a strange problem. I'm have 3 different disk on my windows 
based system on Mac hardware


 1. My system drive. Formatted to NTFS.
 2. A flash-drive. Formatted to FAT32.
 3. A data drive. Formatted to exFAT. The last is my primary data
drive and is shared between my Windows partition and my Mac
partition on my MacBook Pro. Hence the use of exFAT.

I have a QGIS plugin, which copies a template of a GeoPackage file to 
"where-ever the user wants it placed" and afterward make some content 
changes in the copy using the PyQT QSQL module with the QSPATIALITE 
driver


This work if the Geopackage  file is copied to either disk no 1 
(NTFS) or disk no 2 (FAT32). However, it doesn't work if the file is 
copied to disk no 3 (exFAT). The process leaves the WAL files even 
after the database is closed properly.


And even more strange: If I reformat the flash-drive to exFAT and 
repeat the experiment using the reformatted drive it too works 
without a hitch.


The normal "divide et impera" method tells me that my exFat data disk 
is bork'ed. However this error *only* occurs with the QGIS/GeoPackage 
creation/modification scenario. Everything else is working OK.


The disk is not shared on the network. Has anyone experienced the 
same type of problems ? And have a solution ?? Just asking before I 
begin to clean up / reformat my 100 GB data disk


System setup: MacBook Pro 2014 / Windows 8.1 OS /QGIS 3.10.5 (the 
same problem occurs with 3.10.0 , 3.10.2 ...3.12.2)



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


--
Med venlig hilsen / Kind regards

Bo Victor Thomsen

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

Re: [QGIS-Developer] Globe Plugin

2020-05-20 Thread Marco Bernasocchi
As one of the grandfathers of the original Globe plugin, I'd say ditch
it - BUT... let's see what Matthias,  Martin and  Sandro think since
they probably are the ones that are most up-to-date on can now be done
with the 3d map canvas and globe

Cheers

Marco

On 19.05.20 22:03, José de Paula Rodrigues wrote:

> Hi all,
>
> I've taken a shot at building qgis with the globe plugin enabled on a
> current Gentoo. I've found that the plugin must be built against
> osgearth no newer than version 2.8 (which was released 2016-09-15),
> because newer versions remove features needed by Globe (osgearth 2.9,
> released 2018-02-07, removes the osgEarthUtilModule, and osgearth
> 2.10.1 - which is the latest release, from 2019-04-19, removes Qt
> support altogether).
>
> So, I find that the plugin is unbuildable on a modern system, unless
> it drops the need for the osgearth library. Should it be kept in the
> qgis tree even so?
-- 
Marco Bernasocchi
OPENGIS.ch CEO
QGIS.org Chair
ma...@opengis.ch 
+41 (0)79 467 24 70 

OPENGIS.ch Logo 


signature.asc
Description: OpenPGP digital signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [2049] GSI-VTDownloader approval notification.

2020-05-20 Thread noreply

Plugin GSI-VTDownloader approval by zimbogisgeek.
The plugin version "[2049] GSI-VTDownloader 0.1" is now approved
Link: http://plugins.qgis.org/plugins/GSI-VTDownloader-master/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1146] layer2kmz approval notification.

2020-05-20 Thread noreply

Plugin layer2kmz approval by zimbogisgeek.
The plugin version "[1146] layer2kmz 1.5.3" is now approved
Link: http://plugins.qgis.org/plugins/layer2kmz/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [2069] Weighted Multi-Criteria Analysis - WMCA approval notification.

2020-05-20 Thread noreply

Plugin Weighted Multi-Criteria Analysis - WMCA approval by zimbogisgeek.
The plugin version "[2069] Weighted Multi-Criteria Analysis - WMCA 0.1 
Experimental" is now approved
Link: http://plugins.qgis.org/plugins/multi_criteria/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1677] FragScape approval notification.

2020-05-20 Thread noreply

Plugin FragScape approval by zimbogisgeek.
The plugin version "[1677] FragScape 2.0.4" is now approved
Link: http://plugins.qgis.org/plugins/FragScape/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [2052] Qveg approval notification.

2020-05-20 Thread noreply

Plugin Qveg approval by zimbogisgeek.
The plugin version "[2052] Qveg 3.3" is now approved
Link: http://plugins.qgis.org/plugins/qveg/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer