Re: [Qgis-user] Speed up loading a project, by postponing fetching WFS features

2024-07-27 Thread Thomas Larsen Wessel via QGIS-User
Thanks. I wiill keep an eye out for both those PRs; they seem promising :)

On Wed, Jul 24, 2024 at 1:33 AM Emma Hain  wrote:

> Hey All
> I believe these may go some way towards helping the issue - the first one
> is planned to go ahead this year
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/261
> https://github.com/qgis/QGIS/pull/53069
>
> Cheers
> Em
>
> On Tue, 23 Jul 2024 at 12:55, Stewart Holt via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
>
>> I have for years noticed the same thing. I also have about 30 WMS and
>> WMTS layers which are mostly USGS National Map product layers and a few
>> ESRI. When QGIS starts, I see in the status bar, each layer that is loaded.
>> It rips through my shapefiles and then takes quite a bit of time to "load"
>> the WMS/WMTS layers. Only about 2 of these layers are checkmarked to be
>> displayed at any given time. QGIS apparently does some initialization on
>> these layers, even if they are not to be initially displayed. While it is
>> valuable to get a full check of the availability of layers on startup, it
>> would be much faster to either lazy initialize these as needed or to spread
>> it out over my 24 cores to do it in parallel. Occasionally some or all of
>> the layers are not available for periods of time. When this happens, it
>> really takes a long time to startup. I have set the network timeout from
>> the default (1 minute?) to 15 seconds to make that situation less painful.
>> I think the delay is caused by the time it takes for the WMS service to
>> respond, not processing time. My internet connection is 1 Gbps.
>>
>> I think one of the best solutions would be to load the network based
>> layers marked to be displayed, then make the map canvas available for use
>> and either continue to load the remaining layers in the background or lazy
>> initialize them as needed. I wonder how many others face this situation and
>> if there would be sufficient interest to submit a request for an
>> enhancement.
>>
>> Thanks,
>>
>> Stewart Holt
>> Georgia Appalachian Trail Club GIS
>>
>>
>> On Fri, Jul 19, 2024 at 5:04 AM Thomas Larsen Wessel via QGIS-User <
>> qgis-user@lists.osgeo.org> wrote:
>>
>>> I have a project with roughly 30 WFS layers. Most of the layers are
>>> disabled by default, and I rarely have more than 10 of those layers enabled
>>> in any session.
>>>
>>> But as far as I can tell, it loads all data from all WFS layers, no
>>> matter if the layers are enabled or not. Am I right?
>>>
>>> Does this happen in sequence or in parallel?
>>>
>>> It takes 100 seconds from clicking open, until the GUI updates to show
>>> the loaded project (for the above mentioned project with 30 WFS layers). I
>>> believe the Internet connection is the bottleneck. Often I'm on a cell
>>> phone connection, and the load time is much worse.
>>>
>>> Is there anything I can do to make it not load all WFS data right away?
>>> Eg not load features from any disabled layer, until I actually need it?
>>>
>>> Sincerely, Thomas
>>> ___
>>> 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
>>
>
>
> --
> Emma Hain — Product Manager/Senior GIS Analyst
> e...@north-road.com
> [image: https://north-road.com]
> *North Road*
> Cartography • Development • Spatial Analysis
> --
> *north-road.com* <http://north-road.com>
> <https://twitter.com/northroadgeo>
> <https://www.linkedin.com/company/north-road-studios>
> <https://www.facebook.com/North-Road-997236690392419/home>
>
>
___
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] Speed up loading a project, by postponing fetching WFS features

2024-07-19 Thread Thomas Larsen Wessel via QGIS-User
I have a project with roughly 30 WFS layers. Most of the layers are
disabled by default, and I rarely have more than 10 of those layers enabled
in any session.

But as far as I can tell, it loads all data from all WFS layers, no matter
if the layers are enabled or not. Am I right?

Does this happen in sequence or in parallel?

It takes 100 seconds from clicking open, until the GUI updates to show the
loaded project (for the above mentioned project with 30 WFS layers). I
believe the Internet connection is the bottleneck. Often I'm on a cell
phone connection, and the load time is much worse.

Is there anything I can do to make it not load all WFS data right away? Eg
not load features from any disabled layer, until I actually need it?

Sincerely, Thomas
___
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] Open another instance of QGIS in Windows

2024-07-15 Thread Thomas Larsen Wessel via QGIS-User
That actually works. Yikes. Thats embarrassing :/ :) But Im 100% sure that
has not always been the case (at least not at my PC); it used to just bring
the already open instance into focus. Anyway, thanks for your super fast
response and help :)

On Mon, Jul 15, 2024 at 9:25 AM Nigel Berjak  wrote:

> Hi Thomas
>
> Yes. I have many instances opened concurrently with multiple projects. I
> too lost the file association with the project qgz a long time ago, due to
> me having multiple versions on my PC.
>
> To achieve this, simply use the Windows (Start menu)/Mac (application
> menu), search for the QGIS application and version you want to use, then
> click to open a new instance.
> ---
> Regards,
>
> Nigel Berjak
> 0823067330
> Please consider the environment before printing this email.
>
>
> On 2024-07-15 09:19, Thomas Larsen Wessel via QGIS-User wrote:
>
> I want two instances open at the same time, with each their project, so I
> can copy layer styling from one project to another.
>
> Previously I did the following. Go to Windows Explorer, double click a
> .qgz file, and that project would open in another instance.
>
> At some point, the file associations were lost, and if I double click the
> files, it asks what application to use, and QGIS is not even on the list. I
> think this happened after I installed using osgeo4w-installer, for "Just
> me" (though I'm not sure).
>
> Anyway, is there anything I can do to open another instance?
>
> Sincerely, Thomas
>
> ___
> 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] Open another instance of QGIS in Windows

2024-07-15 Thread Thomas Larsen Wessel via QGIS-User
I want two instances open at the same time, with each their project, so I
can copy layer styling from one project to another.

Previously I did the following. Go to Windows Explorer, double click a .qgz
file, and that project would open in another instance.

At some point, the file associations were lost, and if I double click the
files, it asks what application to use, and QGIS is not even on the list. I
think this happened after I installed using osgeo4w-installer, for "Just
me" (though I'm not sure).

Anyway, is there anything I can do to open another instance?

Sincerely, Thomas
___
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] Labeling: Allow HTML Formatting, text-size and map units

2024-05-16 Thread Thomas Schüttenberg via QGIS-User
Hi Chris,

yes I tried that. Any css-unit I could think of as well as em, % and code-words 
(large). But only pt resulted in a visible change on the canvas.

Not sure if it is just not implemented or if it is a bug.

Thomas

> chris hermansen  hat am 15.05.2024 21:00 CEST 
> geschrieben:
> 
> 
> Thomas and list,
> 
> 
> On Wed, May 15, 2024 at 7:20 AM Thomas Schüttenberg via QGIS-User 
>  wrote:
> > Ha!
> >  I found an other way around to do the trick, suitable for my use case at 
> > least:
> >  
> >  1) increasing the (overall) text size setting on the text tab by 2/3
> >  2) putting only the attributes/text strings of the second and following 
> > lines between ... tags, which renders them about 2/3 smaler, 
> > i.e. same as before. 
> >  
> >  The (reverse) result is a multi line label with the first line emphazised 
> > by its larger size! ;-)
> >  
> >  "Bezeichnung" || 'D ' || round("Deckelhohe",2) || 
> > 'S ' || round( "Sohlhohe" ,2) || ''
> > 
> In your first note you mentioned:
> 
> > But only pt (points) seams to work as the unit in this place, which gives a 
> > fixed size throughout all scales and does not respect the behavior of the 
> > map units with maximum scale setting.
> 
> I suppose you tried style="font-size: 75%;" and maybe style="font-size: 
> 0.75em;", and they did not work?
> 
> I wonder if, besides ..., you might have tried ...?
> --
> 
> 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] Georeferencing dxf file in QGIS

2024-05-15 Thread Thomas Schüttenberg via QGIS-User
Hi Linda,

have you tried the QGIS plugin "Vector Bender"?
https://plugins.qgis.org/plugins/VectorBender/
https://github.com/olivierdalang/VectorBender/blob/master/README.md

Thomas


> Linda Boisvert via QGIS-User  hat am 15.05.2024 
> 03:02 CEST geschrieben:
> 
> 
> Thank you Richard. Your suggestion was a step in the right direction.
> 
> I had to import using the add vector layer then export as an ESRI shapefile 
> and add the shapefile layer. That put all the features from the multiple dxf 
> file layers on one layer and I was able to move the design. But it is 
> important the keep the dxf layers separate and move the whole group of layers 
> at once to maintain the relationship.
> 
> 
> On Tue, May 14, 2024, 2:26 PM Richard Greenwood  
> wrote:
> > You can just use the QGIS Move Feature tool, possibly in conjunction with 
> > the Rotate Feature and/or Scale Feature tools in the advanced digitizing 
> > toolbar.
> >   1. Assign a coordinate system to the DXF layer. If you don't know the 
> > coordinate system, or if the DXF file doesn't have one, assign the 
> > coordinate system of your reference layer (your aerial photography)
> >   2. Make your DXF file editable. Depending on how you imported it you may 
> > be able to make it editable, or you may need to copy all of the features to 
> > an editable work layer.
> >   3. Select all of the features, pick the Move Feature tool, pick a source 
> > point on a corner of the building, pick a destination point on the 
> > corresponding corner in your reference layer. (this takes some serious 
> > panning and zooming!)
> >   4. With all of the features still selected, pick the Rotate Feature tool, 
> > while holding the Control key click the building corner to fix the rotation 
> > base point, then click two more points to define the rotation angle.
> >   5. You may need to scale it e.g. convert feet to meters. If so, pick the 
> > Scale Feature tool, hold the Control key and click a base point, then two 
> > more points to resize all of the features.
> > The move, rotate and scale steps are performing an affine transformation 
> > which should provide reasonable results over small areas if both the DXF 
> > and reference layer are in projected coordinate systems, ideally local 
> > projected coordinate systems like State Plane or UTM, and not Web Mercator.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Tue, May 14, 2024 at 3:00 PM Linda Boisvert via QGIS-User 
> >  wrote:
> > > Hello, 
> > > 
> > > I have been trying to georeference a dxf file created by a solar design 
> > > software. 
> > > 
> > > I can import the file without issues but the design sits in the middle of 
> > > the Pacific Ocean. I have georeferenced rasters before but I can't get 
> > > this dxf file to budge.
> > > 
> > > I have tried many of the suggestions I have found online for 
> > > georeferencing the dxf file. 
> > > 
> > > I have tried to move the design using QAD and QAD did not find objects 
> > > when I tried to select the design or any single line. 
> > > 
> > > I imported the file into LibreCAD and the file worked fine in that 
> > > software.
> > > 
> > > I imported the file into ArcGIS and I could not see the lines of the dxf 
> > > file. 
> > > 
> > > I have attached a test dxf if someone wants to try it out and find a 
> > > solution. The building is the Eugene Brucker Education Center 4100 Normal 
> > > Street San Diego, CA 92103.
> > > 
> > > Does anyone have any suggestions for georeferencing this file or any idea 
> > > what the issue may be?
> > > 
> > > 
> > > 
> > > 
> > > --
> > > 
> > > Sincerely,
> > > Linda Boisvert
> > > ___
> > >  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
> > > 
> > 
> > 
> > 
> > --
> > 
> > Richard W. Greenwood
> > www.greenwoodmap.com (http://www.greenwoodmap.com)
> ___
> 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] Labeling: Allow HTML Formatting, text-size and map units

2024-05-15 Thread Thomas Schüttenberg via QGIS-User
Ha!
I found an other way around to do the trick, suitable for my use case at least:

1) increasing the (overall) text size setting on the text tab by 2/3
2) putting only the attributes/text strings of the second and following lines 
between ... tags, which renders them about 2/3 smaler, i.e. same as 
before. 

The (reverse) result is a multi line label with the first line emphazised by 
its larger size! ;-)

"Bezeichnung" || 'D ' || round("Deckelhohe",2) || 'S 
' || round( "Sohlhohe" ,2) || ''

happy QGISing everyone!
Thomas


> Thomas Schüttenberg via QGIS-User  hat am 
> 15.05.2024 15:04 CEST geschrieben:
> 
>  
> Hi Stefan,
> thanks for the hint.
> The size value can be made variable (as visible in the expression builder 
> preview), but on the canvas there is yet no dynamic change what so ever.  :-/
> 
> Best regards
> Thomas
> 
> 
> > Stefan Giese (WhereGroup) via QGIS-User  hat am 
> > 15.05.2024 10:24 CEST geschrieben:
> > 
> >  
> > Hi Thomas,
> > 
> > you can try to involve the map_scale variable into a dynamic size of the 
> > HTML Label, something like:
> > 
> > with_variable('fs', 25000/@map_scale,
> >    format(
> >       '%2',
> >   @fs , title( "Name" )))
> > 
> > Best regards
> > 
> > Stefan
> > 
> > Am 15.05.2024 um 09:13 schrieb Thomas Schüttenberg via QGIS-User:
> > > Hi there!
> > >
> > > I am just playing arund with html enhanced labeling, using the option 
> > > "Allow HTML Formatting" on the text tab 
> > > (https://docs.qgis.org/3.34/en/docs/user_manual/style_library/label_settings.html#text-tab).
> > >
> > > Now I wonder how/if it is possible to override the text-size in such a 
> > > manner, that my label as a whole is still scale dependend and is 
> > > respecting the given map units including the minimum and maximum scale 
> > > (https://docs.qgis.org/3.34/en/docs/user_manual/introduction/general_tools.html#unit-selector)?
> > >
> > > Imagine you have a multi line label with the text size set to 2 meters 
> > > map units and a maximum scale at 1:5000.
> > > Now the first line should be double in text size and therefore I use 
> > > something like style="font-size:20pt" (see example in manual above).
> > >
> > > But only pt (points) seams to work as the unit in this place, which gives 
> > > a fixed size throughout all scales and does not respect the behavior of 
> > > the map units with maximum scale setting.
> > >
> > > Does anyone know a trick to achieve this anyhow?
> > >
> > > All the Best!
> > > Thomas
> > > ___
> > > 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
> > >
> > -- 
> > Mit freundlichen Grüßen
> > Stefan Giese
> > Projektleiter/Consultant
> > *
> > Aufwind durch Wissen!
> > Web-Seminare und Online-Schulungen
> > bei der www.foss-academy.com
> > *
> > WhereGroup GmbH
> > Schwimmbadstr. 2
> > 79100 Freiburg
> > Germany
> > 
> > Tel.: +49 (0)761 / 519 102 - 61
> > Fax: +49 (0)761 / 519 102 - 11
> > 
> > stefan.gi...@wheregroup.com
> > www.wheregroup.com
> > Geschäftsführer:
> > Olaf Knopp, Peter Stamm
> > Amtsgericht Bonn, HRB 9885
> > 
> > 
> > ___
> > 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] Labeling: Allow HTML Formatting, text-size and map units

2024-05-15 Thread Thomas Schüttenberg via QGIS-User
Hi Stefan,
thanks for the hint.
The size value can be made variable (as visible in the expression builder 
preview), but on the canvas there is yet no dynamic change what so ever.  :-/

Best regards
Thomas


> Stefan Giese (WhereGroup) via QGIS-User  hat am 
> 15.05.2024 10:24 CEST geschrieben:
> 
>  
> Hi Thomas,
> 
> you can try to involve the map_scale variable into a dynamic size of the 
> HTML Label, something like:
> 
> with_variable('fs', 25000/@map_scale,
>    format(
>       '%2',
>   @fs , title( "Name" )))
> 
> Best regards
> 
> Stefan
> 
> Am 15.05.2024 um 09:13 schrieb Thomas Schüttenberg via QGIS-User:
> > Hi there!
> >
> > I am just playing arund with html enhanced labeling, using the option 
> > "Allow HTML Formatting" on the text tab 
> > (https://docs.qgis.org/3.34/en/docs/user_manual/style_library/label_settings.html#text-tab).
> >
> > Now I wonder how/if it is possible to override the text-size in such a 
> > manner, that my label as a whole is still scale dependend and is respecting 
> > the given map units including the minimum and maximum scale 
> > (https://docs.qgis.org/3.34/en/docs/user_manual/introduction/general_tools.html#unit-selector)?
> >
> > Imagine you have a multi line label with the text size set to 2 meters map 
> > units and a maximum scale at 1:5000.
> > Now the first line should be double in text size and therefore I use 
> > something like style="font-size:20pt" (see example in manual above).
> >
> > But only pt (points) seams to work as the unit in this place, which gives a 
> > fixed size throughout all scales and does not respect the behavior of the 
> > map units with maximum scale setting.
> >
> > Does anyone know a trick to achieve this anyhow?
> >
> > All the Best!
> > Thomas
> > ___
> > 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
> >
> -- 
> Mit freundlichen Grüßen
> Stefan Giese
> Projektleiter/Consultant
> *
> Aufwind durch Wissen!
> Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com
> *
> WhereGroup GmbH
> Schwimmbadstr. 2
> 79100 Freiburg
> Germany
> 
> Tel.: +49 (0)761 / 519 102 - 61
> Fax: +49 (0)761 / 519 102 - 11
> 
> stefan.gi...@wheregroup.com
> www.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> 
> 
> ___
> 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] Labeling: Allow HTML Formatting, text-size and map units

2024-05-15 Thread Thomas Schüttenberg via QGIS-User
Hi there!

I am just playing arund with html enhanced labeling, using the option "Allow 
HTML Formatting" on the text tab 
(https://docs.qgis.org/3.34/en/docs/user_manual/style_library/label_settings.html#text-tab).

Now I wonder how/if it is possible to override the text-size in such a manner, 
that my label as a whole is still scale dependend and is respecting the given 
map units including the minimum and maximum scale 
(https://docs.qgis.org/3.34/en/docs/user_manual/introduction/general_tools.html#unit-selector)?

Imagine you have a multi line label with the text size set to 2 meters map 
units and a maximum scale at 1:5000.
Now the first line should be double in text size and therefore I use something 
like style="font-size:20pt" (see example in manual above).

But only pt (points) seams to work as the unit in this place, which gives a 
fixed size throughout all scales and does not respect the behavior of the map 
units with maximum scale setting. 

Does anyone know a trick to achieve this anyhow?

All the Best!
Thomas
___
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 3.34 and QGZ on network drives

2024-05-03 Thread Thomas Schüttenberg via QGIS-User
Hi Andrea,

thanks for pointing me to libzip.
In addition to the mentioned error message in the QGIS log panel "error code 
28" is displayed. A web search revealed, that this might refer to 
[ZIP_ER_OPNOTSUPP] Operation not supported 
(https://libzip.org/documentation/zip_errors.html).

Checking for related libzip issues I get this one 
https://github.com/nih-at/libzip/issues/382 and maybe this 
https://github.com/nih-at/libzip/issues/381 - but this is beyond my 
understanding.

The only other or older libzip version available in osgeo4w is v1.7.3. 
Exchanging the current bin/zipp.dll (libzip v1.10.1) from the QGIS 3.34.6 
install with a zip.dll of a QGIS 3.34.5 install (or older), which should be 
v1.7.3, does solve the problem (for now). - So the problem lies within the 
libzip 1.10.1 version.

But the upstream issue remains and will re-occur in upcoming QGIS releases. So 
far I have no idea on how to support the fixing (apart from contributing to 
#382).

All the best
Thomas


> Andrea Giudiceandrea via QGIS-User  hat am 
> 02.05.2024 21:52 CEST geschrieben:
> 
>  
> > Thomas Schüttenberg thomas at qgis.de
> > Thu May 2 07:12:35 PDT 2024
> > All findings described below refer to QGIS 3.34.6. 
> > I am affraid it is connected to the extensive updates liste here 
> > https://lists.osgeo.org/pipermail/qgis-user/2024-April/054334.html ?
> 
> > Thu May 2 05:44:11 PDT 2024
> > "Unable to unzip file ''" is displayed and the 
> > project does not open.
> 
> 
> 
> Hi Thomas,
> AFAIK the error message is displayed when the zip_open function of the 
> libzip library, used by QGIS, fails to open the .qgz project file.
> Are there other related error messages in the Log Messages panel?
> 
> Since you think the issue may be related to the recent OSGeo4W packages 
> update, have you tried to downgrade the libzip library using the OSGeo4W 
> Setup program to the previous version?
> 
> Best regards.
> 
> Andrea
> ___
> 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 3.34 and QGZ on network drives

2024-05-02 Thread Thomas Schüttenberg via QGIS-User
Update on "Unable to unzip file ''": This issue does 
not appear with QGIS 3.34.5.

All findings described below refer to QGIS 3.34.6. 
I am affraid it is connected to the extensive updates liste here 
https://lists.osgeo.org/pipermail/qgis-user/2024-April/054334.html ?

Anyway, still interested to hear, if someone experienced something similar.
All the best
Thomas

> Thomas Schüttenberg via QGIS-User  hat am 
> 02.05.2024 14:44 CEST geschrieben:
> 
>  
> Hello everyone,
> 
> I am currently preparing the rollout of QGIS 3.34.6 for our administration 
> and have encountered a strange and very inconsistent behaviour when opening 
> project files from our network drives (Windows):
> 
> When double-clicking on such a project tile on the welcome page, the error 
> message. 
> "Unable to unzip file ''" is displayed and the 
> project does not open.
> 
> If you try it via the selection in the menu 'Project - Open recent' you get 
> the same result.
> 
> If you use 'Open project' (Ctrl+O) to open the Windows File Explorer and 
> select the QGZ in question, it works. 
> 
> If you close the project and then click again on its 'Recent projects' entry 
> on the welcome page or in the 'Recently used' menu, this also works now.
> 
> However, if you wait a while (approx. 1-2 minutes) before clicking on a 
> recent link, it does not work any more!
> The time can also elapse while the project is open, i.e. closing the project 
> and then clicking on the recent link does not work (any more).
> 
> First I thought, that saving or re-saving a QGZ with QGIS 3.34 would solve 
> the problem, but today I encounter the same phenomenon on 3.34-QGZs, which I 
> saved a few days ago.
> 
> Furthermore, if the link to a project on the welcome page does not work and I 
> then touch (i.e. single click) this qgz-file via the Windows file explorer, 
> the recent link in QGIS works afterwards.
> 
> User profiles or age or version of the QGZ do not seem to play a role. All of 
> this cannot be reproduced with QGIS 3.28 using the same project-files.
> 
> So, there seems to be a strange interference between QGIS 3.34 and the access 
> to our network drives, which could become quite a blocker for our rollout. 
> Only local QGZ are not affected.
> What do you think, has anyone heard of similar phenomena? I am grateful for 
> any ideas!
> 
> Best regards
> Thomas
> 
> -- 
> QGIS-DE e.V. | https://qgis.de | tho...@qgis.de
> ___
> 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-DE e.V. | https://qgis.de | tho...@qgis.de
___
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 3.34 and QGZ on network drives

2024-05-02 Thread Thomas Schüttenberg via QGIS-User
Hello everyone,

I am currently preparing the rollout of QGIS 3.34.6 for our administration and 
have encountered a strange and very inconsistent behaviour when opening project 
files from our network drives (Windows):

When double-clicking on such a project tile on the welcome page, the error 
message. 
"Unable to unzip file ''" is displayed and the 
project does not open.

If you try it via the selection in the menu 'Project - Open recent' you get the 
same result.

If you use 'Open project' (Ctrl+O) to open the Windows File Explorer and select 
the QGZ in question, it works. 

If you close the project and then click again on its 'Recent projects' entry on 
the welcome page or in the 'Recently used' menu, this also works now.

However, if you wait a while (approx. 1-2 minutes) before clicking on a recent 
link, it does not work any more!
The time can also elapse while the project is open, i.e. closing the project 
and then clicking on the recent link does not work (any more).

First I thought, that saving or re-saving a QGZ with QGIS 3.34 would solve the 
problem, but today I encounter the same phenomenon on 3.34-QGZs, which I saved 
a few days ago.

Furthermore, if the link to a project on the welcome page does not work and I 
then touch (i.e. single click) this qgz-file via the Windows file explorer, the 
recent link in QGIS works afterwards.

User profiles or age or version of the QGZ do not seem to play a role. All of 
this cannot be reproduced with QGIS 3.28 using the same project-files.

So, there seems to be a strange interference between QGIS 3.34 and the access 
to our network drives, which could become quite a blocker for our rollout. Only 
local QGZ are not affected.
What do you think, has anyone heard of similar phenomena? I am grateful for any 
ideas!

Best regards
Thomas

-- 
QGIS-DE e.V. | https://qgis.de | tho...@qgis.de
___
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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers

2023-12-17 Thread Thomas Larsen Wessel via QGIS-User
I have tried out version 3.34 with the rendering profiler.  However, I
misunderstood your response and thought that it was a feature that would
let me set a rendering profille, ie let me choose to have some raster
layers prerendered outside the visible extent.

Anyway, the profiler feature is quite cool feature, and interesting
to watch :)

Lets say I have a some locally stored raster data, e.g. xyz tiles or
geopackage. What would it take if I wanted those to be prerendered outside
the visible extent? I think my PC should be able to handle that. Would I
need to dig into the C++ code and make my own build with my own preferences?

Are there any articles out there that I should have a look at? I suspect I
am not the first one who is looking to have raster layers prerendered :)

Sincerely





On Sat, Dec 16, 2023 at 2:49 PM Thomas Larsen Wessel 
wrote:

> Thanks :) I am looking forward to testing that new feature out :)
>
> On Mon, Dec 11, 2023 at 10:47 AM Nyall Dawson 
> wrote:
>
>>
>>
>> On Thu, 16 Nov 2023, 2:40 am Thomas Larsen Wessel via QGIS-User, <
>> qgis-user@lists.osgeo.org> wrote:
>>
>>> This screen capture demonstrates much better than words:
>>> https://imgur.com/5LSEsiY.
>>>
>>> Is there any way I can make it prerender the raster data as well?
>>>
>>> What I have already tried:
>>> * setting almost infinite cache size
>>> * all the relevant QGIS options/settings I could find
>>> * both local (gpkg) and remote WMS raster data
>>> * both Windows and Linux
>>> * QGIS 3.22 and 3.30
>>> * different CRS for layer
>>>
>>> Some of my tests did make the rendering speed up, but no matter what it
>>> always renders the raster data only for the canvas inside the view port,
>>> and does not render anything outside of the view port, whereas vector data
>>> is always rendered for an area that extends outside the view port.
>>>
>>
>> There's a few parts to the logic defining whether a layer will be
>> included in the outside-visible-extent preview:
>>
>> - WMS layers are **never** included. This is by design, to reduce
>> unnecessary server load
>> - when a layer is drawn the time taken to render it is recorded. If this
>> time exceeds a certain threshold, then the layer is marked as too expensive
>> to render in these optional out-of-canvas areas.
>>
>> (You can check the new renderer profile option available in the F12
>> debugging tools panel in 3.34 for more detailed information about layer
>> render times)
>>
>> Nyall
>>
>>
>>
>>> Sincerely, Thomas
>>> ___
>>> 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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers

2023-12-16 Thread Thomas Larsen Wessel via QGIS-User
Thanks :) I am looking forward to testing that new feature out :)

On Mon, Dec 11, 2023 at 10:47 AM Nyall Dawson 
wrote:

>
>
> On Thu, 16 Nov 2023, 2:40 am Thomas Larsen Wessel via QGIS-User, <
> qgis-user@lists.osgeo.org> wrote:
>
>> This screen capture demonstrates much better than words:
>> https://imgur.com/5LSEsiY.
>>
>> Is there any way I can make it prerender the raster data as well?
>>
>> What I have already tried:
>> * setting almost infinite cache size
>> * all the relevant QGIS options/settings I could find
>> * both local (gpkg) and remote WMS raster data
>> * both Windows and Linux
>> * QGIS 3.22 and 3.30
>> * different CRS for layer
>>
>> Some of my tests did make the rendering speed up, but no matter what it
>> always renders the raster data only for the canvas inside the view port,
>> and does not render anything outside of the view port, whereas vector data
>> is always rendered for an area that extends outside the view port.
>>
>
> There's a few parts to the logic defining whether a layer will be included
> in the outside-visible-extent preview:
>
> - WMS layers are **never** included. This is by design, to reduce
> unnecessary server load
> - when a layer is drawn the time taken to render it is recorded. If this
> time exceeds a certain threshold, then the layer is marked as too expensive
> to render in these optional out-of-canvas areas.
>
> (You can check the new renderer profile option available in the F12
> debugging tools panel in 3.34 for more detailed information about layer
> render times)
>
> Nyall
>
>
>
>> Sincerely, Thomas
>> ___
>> 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] Accessing iface from jupyter

2023-12-07 Thread Thomas Gratier via QGIS-User
Hi,

iface is only accessible via QGIS console. It's not available within
Jupyter. See the examples for standalone usage of PyQGIS to manipulate QGIS
project, create an UI
https://gist.github.com/ThomasG77/f711853e5fb81c746d2a1af0b2a9ecf5 and run
some PyQGIS things within Jupyter
https://gist.github.com/ThomasG77/223064813d8aefda5b3cdb05c2588fa1
Links more to help you getting started on a right track when doing
standalone dev using PyQGIS.

Regards

Thomas GRATIER

Le mar. 5 déc. 2023 à 11:38, noshin prachi via QGIS-User <
qgis-user@lists.osgeo.org> a écrit :

> Dear all,
> I am trying to create a map from qgis using jupyter. I have few layers
> that need to be added to the map. I have tried to add iface by importing
> iface   from qgis.utils import iface, plugins . But I am getting the
> following error.
> [image: image.png]
>
> Please help me in this regard.
>
> Regards,
> Noshin Saiyara
> ___
> 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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers

2023-11-19 Thread Thomas Larsen Wessel via QGIS-User
Anyone? :)

So if I had to guess: Prerendering raster outside the viewport is disabled
because for any remote raster source (most are remote) it would overall
require QGIS to download much more raster data than otherwise. For users
with low bandwidth prerendering/predownloading raster outside the viewport
would end up feeling even more sluggish than what I am experiencing. Could
that be the reason?


On Wed, Nov 15, 2023 at 5:40 PM Thomas Larsen Wessel 
wrote:

> This screen capture demonstrates much better than words:
> https://imgur.com/5LSEsiY.
>
> Is there any way I can make it prerender the raster data as well?
>
> What I have already tried:
> * setting almost infinite cache size
> * all the relevant QGIS options/settings I could find
> * both local (gpkg) and remote WMS raster data
> * both Windows and Linux
> * QGIS 3.22 and 3.30
> * different CRS for layer
>
> Some of my tests did make the rendering speed up, but no matter what it
> always renders the raster data only for the canvas inside the view port,
> and does not render anything outside of the view port, whereas vector data
> is always rendered for an area that extends outside the view port.
>
> Sincerely, Thomas
>
___
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] Canvas larger than viewport is rendered/drawn for vector layers, but not for raster layers

2023-11-15 Thread Thomas Larsen Wessel via QGIS-User
This screen capture demonstrates much better than words:
https://imgur.com/5LSEsiY.

Is there any way I can make it prerender the raster data as well?

What I have already tried:
* setting almost infinite cache size
* all the relevant QGIS options/settings I could find
* both local (gpkg) and remote WMS raster data
* both Windows and Linux
* QGIS 3.22 and 3.30
* different CRS for layer

Some of my tests did make the rendering speed up, but no matter what it
always renders the raster data only for the canvas inside the view port,
and does not render anything outside of the view port, whereas vector data
is always rendered for an area that extends outside the view port.

Sincerely, Thomas
___
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] Problem downloading QGIS 3.34 to macOS 12.7.1

2023-11-06 Thread Thomas Beauvais via QGIS-User
Dear users,

I am using QGIS 3.32 version and I want to download the 3.34 version on my Mac 
computer (macOS 12.7.1). I properly downloaded and loaded the installation 
package for Mac computers on the QGIS web page. Then I ran QGIS, but the 
software presented the 3.32 version. 

I precise that I use QGIS for personal purposes. I hope I have been clear in my 
explanations.

Best regards,

Thomas Beauvais.
___
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-user] csv export - decimal delimiter

2023-10-31 Thread Thomas Struller via QGIS-User
Hallo Michaela,

right click on your layer, choose export -> object save as
in the following window choose
format: MS Office Open XML Tabelle [xlsx]
filename
and click ok

open the xlsx-file in excel and you will have the right decimal delimiter.

Csv with excel ist always „not straight forward“ or in other words horrible. As 
alternativ use libreoffice if you must work with csv-files. LO has a nice 
import dialog for this.

Freundliche Grüße

Thomas Struller
Diplom Geologe BDG, V18
akademischer Geoinformatiker
Sachverständiger nach BBodSchG §18
SG1 historische Recherche
SG2 Pfad Boden-Grundwasser
privater Sachverständiger der Wasserwirtschaft

[cid:image001.jpg@01DA0C18.60F52D40]

T  +49 911 12076-111
M +49 170 3320494
thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>

LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1 | 90427 Nürnberg
Geschäftsführung: Carlo Schillinger | Dr. Jürgen Kisskalt
Gesellschaftssitz: Nürnberg | Registergericht Nürnberg HRB 18895
i...@lga-geo.de<mailto:i...@lga-geo.de> | LGA-geo.de<https://www.lga-geo.de/> | 
Datenschutz<https://www.lga-geo.de/datenschutz/>

Wir sind auf dem Weg zu einem papierfreien Büro.
Berichte, Rechnungen und weitere Dokumente empfangen und
versenden wir bevorzugt elektronisch per E-Mail.

Message: 2
Date: Tue, 31 Oct 2023 14:06:42 +
From: "Huesmann, Michaela" 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] csv export - decimal delimiter
Message-ID: 
Content-Type: text/plain; charset="utf-8"

Hello,
I trie to export a layers attribute table to csv for opening it in Excel. I 
tried that with Layer >> Export and also with the Plugin MMQGIS. But I can?t 
get my double values with comma as dezimal delimiter. It is always a point 
delimiter. Is there no way to set the decimal delimiter to comma?
Best regards, Michaela

[Kreisstadt 
Steinfurt]<https://eu-central-1.protection.sophos.com?d=steinfurt.de&u=aHR0cDovL3d3dy5zdGVpbmZ1cnQuZGU=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=RUNrRkR3YmZQaGpqMjZlcVRRZ1Jsbi9GLzIyOVgwMVVzYnRadW51N3NRTT0=&h=84d0b709e69a42c19a7ed99740bc1bd4&s=AVNPUEhUT0NFTkNSWVBUSVbsixrzIHYwvtXelwONEpatqYQ2dD36Bo0TsN7Rvk7nvu5-8YmHQVTzvKsy_mxGFGnIyNofiD8kHtsGvnEjy6_0>

- 48565 Steinfurt
https://eu-central-1.protection.sophos.com?d=steinfurt.de&u=d3d3LnN0ZWluZnVydC5kZQ==&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ODliNVFaV0ZoSFVCUTZiV0RIN3VDTk1SNDZYY20vZ05NcGhXQVQ5S2JlST0=&h=84d0b709e69a42c19a7ed99740bc1bd4&s=AVNPUEhUT0NFTkNSWVBUSVbsixrzIHYwvtXelwONEpatqYQ2dD36Bo0TsN7Rvk7nvu5-8YmHQVTzvKsy_mxGFGnIyNofiD8kHtsGvnEjy6_0<https://eu-central-1.protection.sophos.com?d=steinfurt.de&u=aHR0cDovL3d3dy5zdGVpbmZ1cnQuZGU=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=RUNrRkR3YmZQaGpqMjZlcVRRZ1Jsbi9GLzIyOVgwMVVzYnRadW51N3NRTT0=&h=84d0b709e69a42c19a7ed99740bc1bd4&s=AVNPUEhUT0NFTkNSWVBUSVbsixrzIHYwvtXelwONEpatqYQ2dD36Bo0TsN7Rvk7nvu5-8YmHQVTzvKsy_mxGFGnIyNofiD8kHtsGvnEjy6_0>

Mit freundlichen Gr??en
im Auftrag
Michaela Huesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: 
michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de>

Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.
___
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 Themes

2023-10-26 Thread Thomas Klamer via QGIS-User

Hello Grant,

when creating a new theme, you first need to check the layers you want 
to add to said theme. After you have created the first theme and want to 
create a second, you have to check a different combination of layers. If 
you have done that, the "add new theme" option should be available again.


Kind regards,

Thomas


Am 26.10.23 um 03:38 schrieb Grant Boxer via QGIS-User:

Good morning,

I am trying to create themes in the QGIS map window but it will only allow
me to create one theme. I wish to have one theme for my drill hole collars
(plan view) and another theme for my cross sections (Cross_Section). After I
have created the first theme, the add new theme option is greyed out.
Anyone else have this problem or has a solution?

Cheers Grant
Perth WA


--
Mit freundlichen Grüßen
Thomas Klamer

Geoinformatikbüro Dassau GmbH
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-77922940
Mobil: +49-176-82002742
https://www.gbd-consult.de

Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau

___
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] Does QGIS require units "m" for the projection coordinate variables in a netCDF/CF file?

2023-09-18 Thread Thomas Lavergne via QGIS-User
Thank you Even and Richard,

Since Even opened a pull request on gdal's github (
https://github.com/OSGeo/gdal/pull/8407), I will continue the discussion
over there.

Thomas

lør. 16. sep. 2023 kl. 17:10 skrev Even Rouault :

> Thomas,
> >
> > I am not from the GIS world and not even a QGIS user, so bear with me
> > if my answers do not use the expected vocabulary.
> It takes years to get fully familar with GIS oddities, and netCDF is an
> area where even a life long of experience will not be enough to fully
> overcome the "creativity" of the netCDF community...
> >
> > From my point of view, my netCDF files describe their geolocation in a
> > CF-compliant manner, with a grid_mapping CRS variable, and the x and y
> > projection coordinate variables. But QGIS does not recognize the CRS,
> > seemingly because I have my x and y as km (and I do specify
> > :units="km", I am not hiding this).
> >
> > Since I am also a programmer, I tried to find where in the QGIS code
> > the netCDF/CF geolocation is read and decoded, to see if there was a
> > strict test on :units="m". But I failed to find this in the code.
>
> This is actually not really done in QGIS, but in PROJ (more exactly
> QGIS's QgsProjUtils::identifyCrs() delegates to PROJ's proj_identify()
> in
>
> https://github.com/qgis/QGIS/blob/8723b82ec19a3bec7f39b46128c798c7a2ee4230/src/core/proj/qgsprojutils.cpp#L271
> to try to correlate the CRS definition from the netCDF file to one in
> the database).
>
> As you likely open it as a raster (and not a mesh as Richard
> mentionned), the GDAL netCDF driver is also involved since it is it that
> reconstructs a CRS object from the attributes of the netCDF CF conventions.
>
>  From what I can tell, both PROJ and GDAL do the job "as expected". It
> is just that the way this CRS is encoded is not going to find any match
> with a known CRS.  To get what you want, the GDAL netCDF driver should
> both modify the CRS definition to change the km unit to m, and alter the
> geotransform matrix (which gives the coordinate of the top left corner
> and pixel size) to multiply their value by 1000. This could be done, but
> should it be done...? I'm not so sure. The issue is more than the
> "philosophy" of netCDF data producers is sometimes at odds with the
> usual CRS definitions.
>
> That said, for that very particular case, there's a proj4_string
> attribute in Lambert_Azimuthal_Equal_Area variable, with value
> "+proj=laea +lat_0=90 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m
> +no_defs +type=crs", which indicates the intent to have a metre unit.
> There's also a global attribute geospatial_bounds_crs = "EPSG:6931"
> which further correlate this. Hence this enhancement to the GDAL netCDF
> driver to renormalize to metre: https://github.com/OSGeo/gdal/pull/8407
>
> Even
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
>
>
___
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] Does QGIS require units "m" for the projection coordinate variables in a netCDF/CF file?

2023-09-16 Thread Thomas Lavergne via QGIS-User
Thank you Richard,

I am not from the GIS world and not even a QGIS user, so bear with me if my
answers do not use the expected vocabulary.

>From my point of view, my netCDF files describe their geolocation in a
CF-compliant manner, with a grid_mapping CRS variable, and the x and y
projection coordinate variables. But QGIS does not recognize the CRS,
seemingly because I have my x and y as km (and I do specify :units="km", I
am not hiding this).

Since I am also a programmer, I tried to find where in the QGIS code the
netCDF/CF geolocation is read and decoded, to see if there was a strict
test on :units="m". But I failed to find this in the code.

Before I fill out a bug report, I wanted to hear from a QGIS developer (or
someone who knows how to navigate the software code) if we can identify
where the strict test on :units="m" is in the code, and see if alternative
solutions (accepting other units, all multiples of meters) was feasible.

All the best,
Thomas

fre. 15. sep. 2023 kl. 15:16 skrev Richard McDonnell <
richard.mcdonn...@opw.ie>:

> Thomas,
>
> I’m open to correction on this, but meters would generally be the default
> unit used in GIS, when dealing with metric datasets.
>
> What units you use to measure on your Map Canvas or store as attribution
> is then a different thing.
>
>
>
> I had a look for the EPSG codes for EASE2 but all I could get was *EPSG:6931
> <https://epsg.io/6931>*
>
> If you look at the units there you can see meters as the UoM.
>
> I hope that helps,
>
>
>
> Richard.
>
>
>
>
>
>
>
> ——
> 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 46 942 2409
> https://gov.ie/opw
>
> ——
> 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.gov.ie/en/organisation-information/439daf-email-disclaimer/
>
> ——
> MSc GIS, FME Certified Professional
>
> ——
> 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 46 942 2409
> https://https://gov.ie/opw <https://www.opw.ie>
>
> ——
> Email Disclaimer:
> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
> <https://www.opw.ie/en/disclaimer/>
>
> *From:* QGIS-User  *On Behalf Of *Thomas
> Lavergne via QGIS-User
> *Sent:* 15 September 2023 13:34
> *To:* qgis-user@lists.osgeo.org
> *Subject:* [Qgis-user] Does QGIS require units "m" for the projection
> coordinate variables in a netCDF/CF file?
>
>
>
> Dear QGIS community,
>
>
>
> We recently released a number of sea-ice climate data records stored in
> netCDF/CF files.
>
> An example file is here
> <https://thredds.met.no/thredds/catalog/osisaf/met.no/reprocessed/ice/drift_455m_files/merged/2020/12/catalog.html?dataset=osisaf/met.no/reprocessed/ice/drift_455m_files/merged/2020/12/ice_drift_nh_ease2-750_cdr-v1p0_24h-202012211200.nc>
> :
>
>
>
> Our files use a polar equal area projection (EASE2) and the x / y axis
> values are given with units "km" (kilometers):
>
>
>
> double xc(xc) ;
> xc:axis = "X" ;
> xc:units = "km" ;
> xc:long_name = "x coordinate of projection (eastings)" ;
> xc:standard_name = "projection_x_coordinate" ;
> double yc(yc) ;
> yc:axis = "Y" ;
> yc:units = "km" ;
> yc:long_name = "y coordinate of projection (northings)" ;
> yc:standard_name = "projection_y_coordinate"
>
>
>
> When opening these in QGIS, they are placed correctly on the map, but the
> message "Unkown CRS" appears in the lower-right corner.
>
>
>
> By manipulating our files, we could get QGIS to recognize the correct CRS.
>
>
>
> ncap2 -s 'xc=xc*1000f;yc=yc*1000f' infile.nc outfile.nc
> ncatted -O -a units,xc,m,c,"m" outfile.nc
> ncatted -O -a units,yc,m,c,"m" outfile.nc
>
>
>
> The NCO commands above change the x / y axis variables to units "m"
> (meters).
>
>
>
> The CF convention
> <http://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html>
>  does
> not impose that x / y axis variables are given with unit meters, and shows
> several examples using units "km". But this is apparently an issue for QGIS.
>
>
>
> Can someone please confirm that QGIS requires "meters" for these
> variables, and comment if this is a desired feature or if I should open a
> bug report at github?
>
>
>
> All the best,
>
> Thomas
>
___
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] Does QGIS require units "m" for the projection coordinate variables in a netCDF/CF file?

2023-09-15 Thread Thomas Lavergne via QGIS-User
Dear QGIS community,

We recently released a number of sea-ice climate data records stored in
netCDF/CF files.
An example file is here
<https://thredds.met.no/thredds/catalog/osisaf/met.no/reprocessed/ice/drift_455m_files/merged/2020/12/catalog.html?dataset=osisaf/met.no/reprocessed/ice/drift_455m_files/merged/2020/12/ice_drift_nh_ease2-750_cdr-v1p0_24h-202012211200.nc>
:

Our files use a polar equal area projection (EASE2) and the x / y axis
values are given with units "km" (kilometers):

double xc(xc) ;
xc:axis = "X" ;
xc:units = "km" ;
xc:long_name = "x coordinate of projection (eastings)" ;
xc:standard_name = "projection_x_coordinate" ;
double yc(yc) ;
yc:axis = "Y" ;
yc:units = "km" ;
yc:long_name = "y coordinate of projection (northings)" ;
yc:standard_name = "projection_y_coordinate"

When opening these in QGIS, they are placed correctly on the map, but the
message "Unkown CRS" appears in the lower-right corner.

By manipulating our files, we could get QGIS to recognize the correct CRS.

ncap2 -s 'xc=xc*1000f;yc=yc*1000f' infile.nc outfile.nc
ncatted -O -a units,xc,m,c,"m" outfile.nc
ncatted -O -a units,yc,m,c,"m" outfile.nc

The NCO commands above change the x / y axis variables to units "m"
(meters).

The CF convention
<http://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html>
does
not impose that x / y axis variables are given with unit meters, and shows
several examples using units "km". But this is apparently an issue for QGIS.

Can someone please confirm that QGIS requires "meters" for these variables,
and comment if this is a desired feature or if I should open a bug report
at github?

All the best,
Thomas
___
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] Placing random points

2023-03-25 Thread Thomas Sebastien via QGIS-User
Hi Chris,

Thanks for your help. I used all your suggestions and a combination of them and 
what works best for me seems to be the layer bounds approach even though my 
polygons are very irregular in shape. Luckily number of points I need to create 
is not so big, so I can check that they all fall inside polygons.

Have a good day,

Sébastien

> Le 25 mars 2023 à 04:16, chris hermansen via QGIS-User 
>  a écrit :
> 
> Andrea and list,
> 
> On Fri, Mar 24, 2023 at 5:00 PM Andrea Giudiceandrea via QGIS-User 
> mailto:qgis-user@lists.osgeo.org>> wrote:
>> > Thomas Sebastien sebasapp at hotmail.com <http://hotmail.com/>
>> > Fri Mar 24 03:32:25 PDT 2023
>> 
>> > what works best for what I’m trying to achieve is dissolving the polygons 
>> > and placing random points in layer bounds
>> 
>> Hi Sebastien,
>> AFAIK, you don't need to dissolve the polygons before using them as 
>> input of the "Random points in layer bounds" algorithm: such algorithm 
>> correctly places the total chosen number n of random points even if the 
>> input N features/polygons are not dissolved.
>> 
> I believe I was the one who suggested the layer bounds approach.
> 
> Thomas Sebastian, you do not need to dissolve the polygons if you are only 
> interested in placing the random points within the layer bounds as Andrea 
> says.  If you have a non-rectangular dataset then your layer bounds could 
> result in points being placed outside the polygons in your dataset; you 
> should do the dissolve and place the points within the dissolved polygon.  If 
> like me you live in a rectangular / map-sheet-ish world then by all means 
> work in the layer bounds.
> 
> 
> -- 
> 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

___
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] Placing random points

2023-03-24 Thread Thomas Sebastien via QGIS-User
Hi Árni, Andrea, Nyall and Chris,

Thank you very much for your help. I tried all your suggestions and what works 
best for what I’m trying to achieve is dissolving the polygons and placing 
random points in layer bounds because not only do the points fall inside the 
polygons, as Andrea pointed out, but also it lets me pick a minimum distance 
between the points, which is quite useful for my study.

Again many thanks!

Have a good day,

Sébastien

Le 24 mars 2023 à 09:14, Árni Geirsson via QGIS-User 
 a écrit :


How about generating a large number of points into the N polygons, using the 
tool available, then add an attribute to the points and generate uniform random 
numbers into the attribute and keep only the n points with the lowest random 
numbers?

Árni


On Thu, 23 Mar 2023 at 21:55, Andrea Giudiceandrea via QGIS-User 
mailto:qgis-user@lists.osgeo.org>> wrote:
Hi Sebastien,
in addition to the suggestion given by Nyall Dawson, I would suggest you
using the "Random points in layer bounds" algorithm: you just need to
specify the total number of random points to be generated. The resulting
layer will contain the specified number of points and such points will
fall inside the polygons.

It seems to me that the "Random points in extent" algorithm, suggested
by Chris Hermansen, may not be suitable for your needs: while the
resulting layer will contain the specified number of points, such points
will fall inside the extent of the layer containing the polygons, so it
is not guaranteed that such points will actually fall inside the polygons.

Best regards,

Andrea Giudiceandrea
___
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] Placing random points

2023-03-23 Thread Thomas Sebastien via QGIS-User
Dear QGIS users,

I’m trying to place a small number of points, n, randomly in a large number of 
polygons, N. But, the Vector>Research Tools> Random points in polygons tool 
only lets me place a minimum of 1 random point in each of the N polygons, i.e N 
points when I only need n. Do you know a way I can go about this?

Thanks,

Sebastien
___
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] Technical advice

2023-03-17 Thread Thomas Gratier via QGIS-User
Hi,

You may look at the configuration in the PostGIS connection config in QGIS
(see screenshot
https://labs.webgeodatavore.com/partage/postgis_connection_qgis_config.png).
Sometimes, you may set "prefer" or another conf among the drop down choices
visible on the screen capture to solve this type of issue.

Regards

Thomas Gratier
___
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] Geopackage slow on NAS if not read-only

2023-03-16 Thread Thomas Struller via QGIS-User
Hallo Arni,

sounds like the same problem that I have with the file browser in Qgis 3.30 and 
3.28 ltr. Nearly all my data is located in geopackages and esri file 
geodatabases. Saveing data in this databases on a network is realy a pain. 
Opening these databases in the Qgis file browser also. Working with geopackages 
and file geodatabases is only possible with the file browser of Qgis.

Tried your hint making databases read only with no result.

Freundliche Grüße

Thomas Struller
Diplom Geologe BDG, V18
akademischer Geoinformatiker
Sachverständiger nach BBodSchG §18
SG1 historische Recherche
SG2 Pfad Boden-Grundwasser
privater Sachverständiger der Wasserwirtschaft

[cid:image001.jpg@01D957E8.509FF630]

T  +49 911 12076-111
M +49 170 3320494
thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>

LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1 | 90427 Nürnberg
Geschäftsführung: Carlo Schillinger | Dr. Jürgen Kisskalt
Gesellschaftssitz: Nürnberg | Registergericht Nürnberg HRB 18895
i...@lga-geo.de<mailto:i...@lga-geo.de> | LGA-geo.de<https://www.lga-geo.de/> | 
Datenschutz<https://www.lga-geo.de/datenschutz/>

Wir sind auf dem Weg zu einem papierfreien Büro.
Berichte, Rechnungen und weitere Dokumente empfangen und
versenden wir bevorzugt elektronisch per E-Mail.

Message: 2
Date: Wed, 15 Mar 2023 19:30:51 +
From: ?rni Geirsson 
To: qgis-user 
Subject: [Qgis-user] Geopackage slow on NAS if not read-only
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hello all QGIS and geopackage users.
I store my geopackages on a Synology RackStation NAS unit, like all other 
documents that are kept on a shared drive in the office. For larger datasets, 
the rendering is very slow, unless I open the properties dialog for the file in 
Windows and check the read only box. After that, the features are rendered 
blazingly fast. Nothing else is changed to see the dramatic difference in the 
rendering speed. Luckily, I don't need to edit many of the larger datasets, 
such as road networks and elevation contours and the geopackage can be kept 
read only. Shapefiles are not affected.
What explains this and does anyone know how to solve the problem?
Do other users experience this?

?rni Geirsson
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cDovL2xpc3RzLm9zZ2VvLm9yZy9waXBlcm1haWwvcWdpcy11c2VyL2F0dGFjaG1lbnRzLzIwMjMwMzE1L2IzODE1Njk5L2F0dGFjaG1lbnQtMDAwMS5odG0=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=RjF0c3FHcHBHc3A4ZmRHNFFJOUxweFNyOTVlcnRNMlRnRm9yWlhXeGZ1ST0=&h=30b46384775f4126ba36c360508a24d9&s=AVNPUEhUT0NFTkNSWVBUSVZG-B9s9dXUT-BnnbuT3a-cPAUkNT84W8_LIuoKbkUYFM7y6yU0GdNODd2QFzK9puMIpfHpXrJpmKn7JAiSjzut
___
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] painful file-browser

2023-03-06 Thread Thomas Struller via QGIS-User
Hallo,

sorry that I start again this issue, but working with the file-browser in qgis 
3.28.4 ltr or 3.30 is very, very slow and painful. In fact working with qgis is 
not possible.

My installation:
Win 11 pro on think pad AMD Ryzen 7 PRO 4750U with Radeon Graphics   1.70 GHz, 
32 GB

Connected network drives on window-server 2016

What I did:

New profile -> no result, the same painful „speed“ in qgis filebrowser
Disable of esri file gdb driver -> no result
Hide of not nessecary network drives -> no result

Are there some hints out there to bring qgis to a „normal“ work speed with ist 
file-browser?


Freundliche Grüße

Thomas Struller
Diplom Geologe BDG, V18
akademischer Geoinformatiker
Sachverständiger nach BBodSchG §18
SG1 historische Recherche
SG2 Pfad Boden-Grundwasser
privater Sachverständiger der Wasserwirtschaft

[cid:image001.jpg@01D9503E.95D85F00]

T  +49 911 12076-111
M +49 170 3320494
thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>

LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1 | 90427 Nürnberg
Geschäftsführung: Carlo Schillinger | Dr. Jürgen Kisskalt
Gesellschaftssitz: Nürnberg | Registergericht Nürnberg HRB 18895
i...@lga-geo.de<mailto:i...@lga-geo.de> | LGA-geo.de<https://www.lga-geo.de/> | 
Datenschutz<https://www.lga-geo.de/datenschutz/>

Wir sind auf dem Weg zu einem papierfreien Büro.
Berichte, Rechnungen und weitere Dokumente empfangen und
versenden wir bevorzugt elektronisch per E-Mail.

___
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] Protocols supporting update notifications on remote feature sources

2023-02-21 Thread Thomas Wunder via QGIS-User
Dear members of the QGIS User discussion list,

I'm using QGIS (currently 3.22.5) on and off for a couple of years now and I 
have been dealing with different vector feature data stores such as shape 
files, 
PostGIS, and as of recently WFS(-T) based on my local GeoServer installation. 
There are two problems though:

#1 I need to use real time vector data in my map project. I'm working on a 
GNSS based asset tracking system, that provides multiple point features 
representing the current location of those assets (e.g. vehicles). Assets 
appear, disappear, they move, and update their attribute data. All that should 
be visible on the corresponding QGIS map layer instantly and without manual 
reloading. The closest solution I know so far, is using PostgreSQL's NOTIFY 
feature to trigger reloading the whole layer.

#2 I need to collaboratively work on a bunch of vector feature stores. That 
is, there are multiple clients (QGIS/QField/open layers/...) that display a 
particular feature store through vector layers. 

If the feature store is modified by one client, the modifications aren't 
automatically pushed to all other clients. Instead, those other clients need 
to manually refresh the layer, schedule a refresh every couple of seconds or 
also use something like PostgreSQL's NOTIFY to trigger a refresh to see that 
the data source has changed or rather fetch the current state of the data 
store. Again, reloading the whole layer is far from perfect. Imho it would be 
ideal to have some pub/sub communication model between the server and the 
clients that allows clients to subscribe to update events on a data source and 
allows for feature level or even attribute level update notifications.

Question: Are there any protocols that allow for pushing update events from 
the server to the clients (and are supported by QGIS)? 

Best regards!
 Thomas




___
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] edit QGIS3.ini with startup.py

2022-12-05 Thread Thomas Schüttenberg via Qgis-user
Hi Stefan,

that's great! And even more simple/clean/save than I imagined.

Thanks very much, best regards
Thomas


> Stefan Giese (WhereGroup)  hat am 05.12.2022 
> 14:25 CET geschrieben:
> 
> 
> Hi Thomas,
> you can clear the section before adding the new values with:
> QgsSettings().remove('svg/searchPathsForSVG')
> and then add your values
> Best regards
> Stefan
> Mit freundlichen Grüßen
> Stefan Giese
> Projektleiter/Consultant
> -
> Aufwind durch Wissen!
> Jetzt neu: Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com (http://www.foss-academy.com)
> -
> WhereGroup GmbH
> Schwimmbadstr. 2
> 79100 Freiburg
> Germany
> 
> Tel.: +49 (0)761 / 519 102 - 61
> Fax: +49 (0)761 / 519 102 - 11
> 
> stefan.gi...@wheregroup.com
> www.wheregroup.com (http://www.wheregroup.com)
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> 
> Am 05.12.2022 um 13:40 schrieb Thomas Schüttenberg via Qgis-user:
> 
> > Hi there!
> > Because our servers have moved, the search paths for SVGs have changed. 
> > Unfortunately what we didn't think about before is that these old, wrong 
> > paths are (still) in the QGIS3.ini of the local user profiles and now cause 
> > eternal delays at startup because of their unreachability.
> > 
> > We already use a startup.py to add file paths in centralized manner, like 
> > this 
> > 
> > gdi_global_svg = 'L:/Daten/geoservice/config/qgis_global_settings/svg'
> > svg_paths = QgsSettings().value('svg/searchPathsForSVG')
> > if gdi_global_svg in svg_paths:
> > pass
> > else:
> > svg_paths.append(gdi_global_svg)
> > QgsSettings().setValue('svg/searchPathsForSVG', svg_paths)
> > 
> > Despite my still lacking Python knowledge, I thought one could easily 
> > include a corresponding fix (e.g. search and replace) in the startup.py 
> > script... 
> > I am still googling but maybe someone could help me with this, please? That 
> > would save my day!
> > 
> > Best regards
> > Thomas
> > ___
> > 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
> > 
> -- 
> Mit freundlichen Grüßen
> Stefan Giese
> Projektleiter/Consultant
> -
> Aufwind durch Wissen!
> Jetzt neu: Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com (http://www.foss-academy.com)
> -
> WhereGroup GmbH
> Schwimmbadstr. 2
> 79100 Freiburg
> Germany
> 
> Tel.: +49 (0)761 / 519 102 - 61
> Fax: +49 (0)761 / 519 102 - 11
> 
> stefan.gi...@wheregroup.com
> www.wheregroup.com (http://www.wheregroup.com)
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
___
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] edit QGIS3.ini with startup.py

2022-12-05 Thread Thomas Schüttenberg via Qgis-user
Hi there!
Because our servers have moved, the search paths for SVGs have changed. 
Unfortunately what we didn't think about before is that these old, wrong paths 
are (still) in the QGIS3.ini of the local user profiles and now cause eternal 
delays at startup because of their unreachability.

We already use a startup.py to add file paths in centralized manner, like this 

gdi_global_svg = 'L:/Daten/geoservice/config/qgis_global_settings/svg'
svg_paths = QgsSettings().value('svg/searchPathsForSVG')
if gdi_global_svg in svg_paths:
pass
else:
svg_paths.append(gdi_global_svg)
QgsSettings().setValue('svg/searchPathsForSVG', svg_paths)

Despite my still lacking Python knowledge, I thought one could easily include a 
corresponding fix (e.g. search and replace) in the startup.py script... 
I am still googling but maybe someone could help me with this, please? That 
would save my day!

Best regards
Thomas
___
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] project browser very, very slow

2022-11-18 Thread Thomas Struller via Qgis-user
Hallo Nicola,

tried your proposals:

changing user profile = no change
testing transfer speed = for that I will call my IT-stuff
hide network drives = no change
data local = no difference to holding data on a network drive

Using Qgis 3.22 ltr solved my problem. I don't know why but there the browser 
panel works fast, even opening the project directory in the browser panel. On 
Qgis 3.22 ltr I use the same user profile like on Qgis 3.28. 

I guess the ltr version uses older drivers for manging gpkg and esri-gdb 
access. Opening a esri-gdb on the browser panel does not show the feature 
datasets, only the feature classes. On 3.28 opening an esri-gdb shows the 
feature datasets, what is very useful. But opening gpkg datasets on 3.28 is 
even as painful slow like opening a esri-gdb.

So I will use the ltr-version for the next weeks and i will test sometimes the 
latest version. But at the moment for finishing work 3.28 is too slow.

by and thank all for help and propsals

Thomas

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
Privater Sachverständiger der Wasserwirtschaft

Tel:  +49 911 12076 111
Mobil:+49 170 33 20 494
Mail: thomas.strul...@lga-geo.de


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de



Von: Nicolas Cadieux 
Gesendet: Montag, 14. November 2022 18:02
An: Thomas Struller
Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] project browser very, very slow

Hi,

I would start by creating a new user profile the. Restart QGIS using that 
profile.  Then, I would look at the network server.   Look at the latency to 
access this server?  What is the speed for the data transfers?  Try copying the 
file locally and test for speed.  Then, wms services could be very slow.  I 
would remove those from the projects and test.

Nicolas Cadieux
https://gitlab.com/njacadieux<https://eu-central-1.protection.sophos.com?d=gitlab.com&u=aHR0cHM6Ly9naXRsYWIuY29tL25qYWNhZGlldXg=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=STh2Z2tMbmpBYzZGaGFSM2Q4Z1FhSnF6ZFNnRHorTWV6b3VMdXJuZEZVYz0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>

Le 14 nov. 2022 à 09:15, Thomas Struller via Qgis-user 
 a écrit :

 Hallo dear list,

I use Qgis 3.28 latest Version on Win 11; Lenovo L14 Gen 1, 32 GB memory, AMD 
Ryzen 7 PRO 4750U with Radeon Graphics, 1700 MHz, 8 Kern(e), 16 logische(r) 
Prozessor(en)

Using the browser-panel and opening the project directory needs realy long 
time. Not only a few seconds. Then opening a gpkg needs the same time. In fact 
Qgis browser ist very, very slow on every action I do. Its no fun to use Qgis.

All data (gpkg, shp-file, raster data etc.) for my project is located in one 
directory on a network drive  (win2016 file-server I guess).

In my project-file there are also links to some wms sercives.

What do I have to do, to accelerate the access to the project directory on Qgis 
3.28?

Kind regards
Thomas

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
Privater Sachverständiger der Wasserwirtschaft

Tel:  +49 911 12076 111
Mobil:+49 170 33 20 494
Mail: thomas.strul...@lga-geo.de


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de<https://eu-central-1.protection.sophos.com?d=lga-geo.de&u=d3d3LkxHQS1nZW8uZGU=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=dE1UWGhIdXR0WnZkdGFzc0UzRC9xbEJUOHdWRUxLbVROYzFyQU4vYVZxTT0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>
Unsubscribe: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.o

Re: [Qgis-user] project browser very, very slow

2022-11-14 Thread Thomas Struller via Qgis-user
Hallo Nicolas,

thank you for your fast answer... opend Qgis 3.22 ltr. This works much faster, 
don't know why. Our IT-staff says they could find nothing... Will try your 
proposals and report :) on thursday...


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
Privater Sachverständiger der Wasserwirtschaft

Tel:  +49 911 12076 111
Mobil:+49 170 33 20 494
Mail: thomas.strul...@lga-geo.de


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de



Von: Nicolas Cadieux 
Gesendet: Montag, 14. November 2022 18:02
An: Thomas Struller
Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] project browser very, very slow

Hi,

I would start by creating a new user profile the. Restart QGIS using that 
profile.  Then, I would look at the network server.   Look at the latency to 
access this server?  What is the speed for the data transfers?  Try copying the 
file locally and test for speed.  Then, wms services could be very slow.  I 
would remove those from the projects and test.

Nicolas Cadieux
https://gitlab.com/njacadieux<https://eu-central-1.protection.sophos.com?d=gitlab.com&u=aHR0cHM6Ly9naXRsYWIuY29tL25qYWNhZGlldXg=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=STh2Z2tMbmpBYzZGaGFSM2Q4Z1FhSnF6ZFNnRHorTWV6b3VMdXJuZEZVYz0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>

Le 14 nov. 2022 à 09:15, Thomas Struller via Qgis-user 
 a écrit :

 Hallo dear list,

I use Qgis 3.28 latest Version on Win 11; Lenovo L14 Gen 1, 32 GB memory, AMD 
Ryzen 7 PRO 4750U with Radeon Graphics, 1700 MHz, 8 Kern(e), 16 logische(r) 
Prozessor(en)

Using the browser-panel and opening the project directory needs realy long 
time. Not only a few seconds. Then opening a gpkg needs the same time. In fact 
Qgis browser ist very, very slow on every action I do. Its no fun to use Qgis.

All data (gpkg, shp-file, raster data etc.) for my project is located in one 
directory on a network drive  (win2016 file-server I guess).

In my project-file there are also links to some wms sercives.

What do I have to do, to accelerate the access to the project directory on Qgis 
3.28?

Kind regards
Thomas

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
Privater Sachverständiger der Wasserwirtschaft

Tel:  +49 911 12076 111
Mobil:+49 170 33 20 494
Mail: thomas.strul...@lga-geo.de


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de<https://eu-central-1.protection.sophos.com?d=lga-geo.de&u=d3d3LkxHQS1nZW8uZGU=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=dE1UWGhIdXR0WnZkdGFzc0UzRC9xbEJUOHdWRUxLbVROYzFyQU4vYVZxTT0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>
Unsubscribe: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=177bcbba2bfa4450adc655ac6296d8b4&s=AVNPUEhUT0NFTkNSWVBUSVZvjn0muzEGAo_r9oizyqx5OJMUq8IqQ6EjOpcpdg-ycw>
___
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] project browser very, very slow

2022-11-14 Thread Thomas Struller via Qgis-user
Hallo dear list,

I use Qgis 3.28 latest Version on Win 11; Lenovo L14 Gen 1, 32 GB memory, AMD 
Ryzen 7 PRO 4750U with Radeon Graphics, 1700 MHz, 8 Kern(e), 16 logische(r) 
Prozessor(en)

Using the browser-panel and opening the project directory needs realy long 
time. Not only a few seconds. Then opening a gpkg needs the same time. In fact 
Qgis browser ist very, very slow on every action I do. Its no fun to use Qgis. 

All data (gpkg, shp-file, raster data etc.) for my project is located in one 
directory on a network drive  (win2016 file-server I guess).

In my project-file there are also links to some wms sercives.

What do I have to do, to accelerate the access to the project directory on Qgis 
3.28?

Kind regards
Thomas

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
Privater Sachverständiger der Wasserwirtschaft

Tel:  +49 911 12076 111
Mobil:+49 170 33 20 494
Mail: thomas.strul...@lga-geo.de


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de
___
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] QGIS 508 / EEN 301 549 Accessibility Documentation - VPAT/WCAG

2022-06-02 Thread Thomas, Robert - FS via Qgis-user
Hi Andreas,
Thank you for your reply.

The conformance testing should be for each major release where a new 
functionality or a change in workflows could make the software improved from an 
accessibility standpoint (& updating to the latest VPAT Template).  The results 
for a VPAT/WGAG would apply to both US Section 508 conformance and the EU's EN 
301 549 standards.  So where/who does the testing shouldn't matter much.

I understand that the QGIS community and product development is open source and 
agile with contributors all over the globe.  My colleague Kurt Menke is now 
across the pond too.  As someone who is a limited end user of QGIS, working for 
our Federal Govt, responsible for putting together acquisition packages only, 
I'm not in a position to recommend either public or private sources of 
conformance testing.  My suggestion of a university program to assist in 
conformance testing was a possible avenue to consider, but I have no direct 
awareness of any particular university program, but a search did uncover this 
one<https://das.osu.edu/resources/category/accessibility-testing> (I figure 
that most CIS programs cover this topic).  Also, if the developer community had 
an interest, testing can be done in-house, (I found a 
post<https://lists.osgeo.org/pipermail/qgis-community-team/2013-March/002556.html>
 from David Seager who had started this in 2013, but wasn't able to track him 
down to find out the status).

I'm open to speaking with the US based developers/board as well to assist in 
furthering the conversation.

Here is a link to an organization that discusses the EN 301 
549<https://www.deque.com/en-301-549-compliance/> standard (couldn't find a 
governmental site) and our GSA Accessibility 
Page<https://www.section508.gov/sell/> for understanding what the reports are 
and the testing process.

I hope this helps.  Thank you again for reaching out and I look forward to 
further dialogue to add another layer of completeness to one of the finest 
open-source geospatial application in this ecosystem.

Best regards,

Robert
[Forest Service Shield]
Robert E Thomas, GISP
Geospatial IT Specialist
US Forest Service
WO-CIO-MSS-Geospatial Branch
PC: 415-760-5640 (Note New Number)
robert.tho...@usda.gov<mailto:robert.tho...@usda.gov>
Remote
Denver, CO 80228
www.fs.fed.us<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fs.fed.us%2F&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764253945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wUE6byzZpw3nzpLR6ww0xZwtv5lnVpTQ5FkSW00nnZY%3D&reserved=0>
[USDA 
Logo]<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fusda.gov%2F&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764253945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1jB6wO1UNmlrGj2D4BPjgixWsqDXTUWNCoQQFow90uw%3D&reserved=0>
 [Forest Service Twitter] 
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fforestservice&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764263902%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ujD%2FcYNBBfGzppIsTncOTtnX1YXnIXwH0HLKQRQWSMo%3D&reserved=0>
  [USDA Facebook] 
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fpages%2FUS-Forest-Service%2F1431984283714112&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764263902%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=60ZhUx6bg0lgZjRIh3KiYxW9JT6W6LXozo80gCBpgys%3D&reserved=0>
Caring for the land and serving people


From: Andreas Neumann 
Sent: Thursday, June 2, 2022 4:02 AM
To: Thomas, Robert - FS 
Cc: qgis-develo...@lists.osgeo.org; qgis-user@lists.osgeo.org; QGIS PSC List 

Subject: Re: [QGIS-Developer] QGIS 508 / EEN 301 549 Accessibility 
Documentation - VPAT/WCAG

Dear Thomas,

The QGIS community and PSC would certainly welcome such an initiative. However, 
no-one on the PSC/board is based in the US.

Is that something that has to be renewed for every release? Perhaps it would be 
done only for LTR versions?

If you know a university institute based in the US that could work on this, 
please put us in touch !

Also: what would / should happen in your opinion if the work on the conformance 
document would reveal major issues with QGIS in the accessibility respect? We 
are largely dependent on upstream libraries (mainly Qt in our example) - so we 
are basically inheriting all of the strengths and weaknesses of Qt ...

Also, it migh

[Qgis-user] QGIS 508 / EEN 301 549 Accessibility Documentation - VPAT/WCAG

2022-05-31 Thread Thomas, Robert - FS via Qgis-user
Hi QGIS Community,
A number of years ago, there was an effort to complete the Section 508/EEN 301 
549 Accessibility Conformance documentation (i.e. Voluntary Product 
Accessibility Template (VPAT) and Web Content Accessibility Guidelines (WCAG)) 
for QGIS; is there a part of the developer/tech support community interested in 
completing these?

My thought is if there may be some Computer Science or Geo students where their 
program covers testing and conformance as a part of their developer program 
curriculum, then they could use QGIS testing and reporting as a part of a class 
project?  A long term relationship with that University could make regular 
updates sustainable.

There is lots of good information and resources, including the Template 
here<https://www.section508.gov/> < Home | 
Section508.gov<https://www.section508.gov/>>.  The last time I posted, the 
message was held up by moderator approval, hopefully this time my message can 
reach you all.

Having compliance reports adds to QGIS and other open source software increased 
legitimacy and would allow the use by more governmental organization that need 
to meet their procurement requirements.  Other thoughts, ideals or volunteers 
to lead a working group??  Thanks for the consideration.


Best regards,

Robert
[Forest Service Shield]
Robert E Thomas, GISP
Geospatial IT Specialist
US Forest Service
WO-CIO-MSS-Geospatial Branch
PC: 415-760-5640 (Note New Number)
robert.tho...@usda.gov<mailto:robert.tho...@usda.gov>
Remote
Denver, CO 80228
www.fs.fed.us<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fs.fed.us%2F&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764253945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wUE6byzZpw3nzpLR6ww0xZwtv5lnVpTQ5FkSW00nnZY%3D&reserved=0>
[USDA 
Logo]<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fusda.gov%2F&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764253945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1jB6wO1UNmlrGj2D4BPjgixWsqDXTUWNCoQQFow90uw%3D&reserved=0>
 [Forest Service Twitter] 
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fforestservice&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764263902%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ujD%2FcYNBBfGzppIsTncOTtnX1YXnIXwH0HLKQRQWSMo%3D&reserved=0>
  [USDA Facebook] 
<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fpages%2FUS-Forest-Service%2F1431984283714112&data=04%7C01%7C%7C855c637cdcfe46467c7508d91635d76f%7Ced5b36e701ee4ebc867ee03cfa0d4697%7C0%7C0%7C637565242764263902%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=60ZhUx6bg0lgZjRIh3KiYxW9JT6W6LXozo80gCBpgys%3D&reserved=0>
Caring for the land and serving people






This electronic message contains information generated by the USDA solely for 
the intended recipients. Any unauthorized interception of this message or the 
use or disclosure of the information it contains may violate the law and 
subject the violator to civil or criminal penalties. If you believe you have 
received this message in error, please notify the sender and delete the email 
immediately.
___
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] New objectid numbers after using DIFFERENCE

2022-05-12 Thread Thomas Struller via Qgis-user
Hallo Keith,

go to your attribute table, use there the field calculator tool, create a new 
column id with  @row_number. Than you got a new object id for every object. 
Hope that helps because I use the german layout for qgis and tried to translate 
it for you.

Regards
Thomas


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden - Gewässer
Akademischer Geoinformatiker




Tel:   0049 911 12076 111
Mobil:   0049 170 33 20 494
Mail: thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


[cid:image002.png@01D865E0.9C09FE90]LGA Institut für Umweltgeologie und 
Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de<mailto:i...@lga-geo.de>
www.LGA-geo.de<http://www.lga-geo.de/>

[cid:image001.jpg@01D865E0.149505E0]


___
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-user Digest, Vol 194, Issue 23

2022-04-20 Thread Thomas Struller via Qgis-user
Hallo Helena,

what you really need is RAM. So if it is possible for you put in another 8 GB 
RAM minimum. 


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden - Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de


  LGA Institut für Umweltgeologie und Altlasten GmbH
   Christian-Hessel-Straße 1
   90427 Nürnberg
   i...@lga-geo.de
   www.LGA-geo.de
   
   


-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von 
qgis-user-requ...@lists.osgeo.org
Gesendet: Dienstag, 19. April 2022 21:00
An: qgis-user@lists.osgeo.org
Betreff: Qgis-user Digest, Vol 194, Issue 23

Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit

https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=5c96577571704a43b52536433b333d8e
or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Qgis-user digest..."


Today's Topics:

   1. RAM and processing speed requirements for QGIS (Helena Farrell)


--

Message: 1
Date: Tue, 19 Apr 2022 14:46:38 -0400
From: Helena Farrell 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] RAM and processing speed requirements for QGIS
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hello, I am seeking input on whether my 7 year old Mac with 8GB RAM and a 
2.7gigahertz processor is likely to perform poorly at running QGIS. Since these 
are like the bare minimum in terms of power, and I assume QGIS is a data-heavy 
program, I may need to invest in a new computer. Anyone have advice on RAM and 
processing speed specifications  that I should look for and whether a PC be 
better than a Mac for running this program?

Thank you!
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cDovL2xpc3RzLm9zZ2VvLm9yZy9waXBlcm1haWwvcWdpcy11c2VyL2F0dGFjaG1lbnRzLzIwMjIwNDE5L2ZlZTJkNzI2L2F0dGFjaG1lbnQtMDAwMS5odG1s&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=dWgxMlNKZy9GL2FFajB1L0hoTmFRNHROQjZpbmlnWUVuYkZQbjlsRWQraz0=&h=5c96577571704a43b52536433b333d8e>

--

Subject: Digest Footer

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 
https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=5c96577571704a43b52536433b333d8e
Unsubscribe: 
https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=5c96577571704a43b52536433b333d8e


--

End of Qgis-user Digest, Vol 194, Issue 23
**
___
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 welcome page again

2022-04-07 Thread Thomas Schüttenberg via Qgis-user
OK, replying to myself, I knew it was possible ;-)

Hitting 'Close' in the menu 'Project' not only closes the current project file 
[0] but consequently also displays the welcome page, i.e. the recent projects 
and project templates tabs!
And of course one can put a custom keyboard shortcut to this menu action.

[0] 
https://docs.qgis.org/3.22/en/docs/user_manual/introduction/qgis_gui.html#project
[1] 
https://docs.qgis.org/3.22/en/docs/user_manual/introduction/qgis_configuration.html#shortcuts

Cheers!
Thomas


> Thomas Schüttenberg via Qgis-user  hat am 
> 07.04.2022 13:54 geschrieben:
> 
>  
> Hi there,
> 
> I wonder, if there is a way (a key combination or menu) to display the 
> welcome page again after opening/starting a project? Is it possible to make 
> it show up again from inside QGIS or just only at program start?
> 
> I was not able to find such a clue anywhere so far, but would love to use the 
> project templates tab more, especially as a map using starting point for less 
> experienced users.
> 
> thanks a lot,
> kind regards
> Thomas
> ___
> 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] display welcome page again

2022-04-07 Thread Thomas Schüttenberg via Qgis-user
Hi there,

I wonder, if there is a way (a key combination or menu) to display the welcome 
page again after opening/starting a project? Is it possible to make it show up 
again from inside QGIS or just only at program start?

I was not able to find such a clue anywhere so far, but would love to use the 
project templates tab more, especially as a map using starting point for less 
experienced users.

thanks a lot,
kind regards
Thomas
___
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] linux box accessing project-files on a windows server

2022-02-21 Thread Thomas Struller
Hallo Rich,

Thank you for testing and investing time on my problem. That is very
nice. But i think you missunderstood my question, sorry. 
I can load shp-files etc from the windows-server. The problem is, that
I want to open a project with a lot of layers (20 and more) that was
created on a windows box with relative paths. 

On opening this file qgis asks me for the path for all my layers. Qgis
does not find the layers by itsself like on windows. For all my layers
(shape, geopackage-layers, rasters) i have to point to the directory or
to the geopackage on the file-server. That is very annoying. And i'm
surprised that i'm the only one having this problem.

kind regards

Thomas



Am Montag, dem 21.02.2022 um 08:49 -0700 schrieb Richard Greenwood:
> I did a quick test. I installed QGIS 3.22 on a Windows 7 computer,
> created a project. Switched to Linux Mint, used the file manager to
> navigate to the Windows computer, double clicked the project and it
> opened correctly. The path that QGIS displays in the properties/info
> panel is:
>  Path
>  /run/user/1000/gvfs/smb-
> share:server=w7,share=c$/Temp/ASSESSOR_ROADS_2018_3.shp
> I went back to the Windows computer, exported the shapefile to a
> gpkg, saved the project. Reopened it in Mint, all good. QGIS info for
> the gpkg layer:
>  Path
>  /run/user/1000/gvfs/smb-share:server=w7,share=c$/Temp/test.gpkg
> I also tested putting the gpkg in a folder below the project file and
> that opened correctly on the Linux computer.
> So I suggest that you start with a simple test project. Also, the
> project .qgz file is just a gzipped xml file. So you can unzip it,
> open the .qgs file in a text editor and search for "source=" to see
> what path info has been saved with the project.
> 
> Rich
> 
> 
> 
> 
> On Mon, Feb 21, 2022 at 3:38 AM Thomas Struller <
> thomas.strul...@lga-geo.de> wrote:
> > Hallo Nicolas,
> > 
> >  
> > 
> > thank you for your reply. All my project files are on one network
> > drive and I prefer to use geopackages. Perhaps it the problem is,
> > that I install qigs from flathub. I’m wondering about that I am the
> > only one who uses qgis on linux and want’s to access project-files
> > on a windows file server.
> > 
> >  
> > 
> >  
> > 
> > Mit freundlichen Grüßen
> > 
> >  
> > 
> >  
> > 
> > Thomas Struller
> > 
> > Diplom Geologe (Univ.), BDG, V18
> > 
> >  
> > 
> > Sachverständiger nach BBodSchG §18,
> > 
> > SG1 Historische Recherche
> > 
> > SG2 Pfad Boden – Gewässer
> > 
> > Akademischer Geoinformatiker
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > Tel:   0049 911 12076 111
> > 
> > Mobil:   0049 170 33 20 494
> > 
> > Mail: thomas.strul...@lga-geo.de
> > 
> >  
> > 
> >  
> > 
> > LGA Institut für Umweltgeologie und Altlasten GmbH
> > 
> > Christian-Hessel-Straße 1
> > 
> > 90427 Nürnberg
> > 
> > i...@lga-geo.de
> > 
> > www.LGA-geo.de
> > 
> >  
> > 
> > 
> > 
> >  
> > 
> >  
> > 
> > Von: Nicolas Cadieux  
> > Gesendet: Montag, 21. Februar 2022 02:13
> > An: Thomas Struller 
> > Cc: qgis-user@lists.osgeo.org
> > Betreff: Re: [Qgis-user] linux box accessing project-files on a
> > windows server
> > 
> >  
> > 
> > Hi,
> > 
> >  
> > 
> > My guess is that the files you are using are, perhaps, in different
> > drives. If you save with a relative path, I think it will work if
> > you have files in a simple directory structure but if you have
> > files from multiple drives, then perhaps QGIS is forced to uses a
> > drive lettre like  c:\ and that would not go well on a Linux box.  
> > 
> >  
> > 
> > Just a guess
> > 
> > Nicolas Cadieux
> > 
> > https://gitlab.com/njacadieux
> > 
> > 
> > 
> > 
> > > Le 19 févr. 2022 à 06:15, Thomas Struller <
> > > thomas.strul...@lga-geo.de> a écrit :
> > > 
> > >  Hallo list, 
> > > 
> > > sometimes I use a linux mint box with qgis 3.22.3. I have to
> > > access 
> > > qgis project files over vpn on a windows-fileserver. 
> > > 
> > > The problem, I can't open these projects. In Qgis (linux-box) i
> > > can 
> > > browse to the directory on the windows-fileserver with the qgis-
> > > project 
> > > file, but qgis opens a 

Re: [Qgis-user] linux box accessing project-files on a windows server

2022-02-21 Thread Thomas Struller
Hallo Nicolas,

thank you for your reply. All my project files are on one network drive and I 
prefer to use geopackages. Perhaps it the problem is, that I install qigs from 
flathub. I’m wondering about that I am the only one who uses qgis on linux and 
want’s to access project-files on a windows file server.


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:   0049 911 12076 111
Mobil:   0049 170 33 20 494
Mail: thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


[cid:image003.png@01D82717.5804A4A0]LGA Institut für Umweltgeologie und 
Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de<mailto:i...@lga-geo.de>
www.LGA-geo.de<http://www.lga-geo.de/>

[cid:image002.jpg@01D82717.5800FB20]


Von: Nicolas Cadieux 
Gesendet: Montag, 21. Februar 2022 02:13
An: Thomas Struller 
Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] linux box accessing project-files on a windows server

Hi,

My guess is that the files you are using are, perhaps, in different drives. If 
you save with a relative path, I think it will work if you have files in a 
simple directory structure but if you have files from multiple drives, then 
perhaps QGIS is forced to uses a drive lettre like  c:\ and that would not go 
well on a Linux box.

Just a guess
Nicolas Cadieux
https://gitlab.com/njacadieux<https://eu-central-1.protection.sophos.com?d=gitlab.com&u=aHR0cHM6Ly9naXRsYWIuY29tL25qYWNhZGlldXg=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=STh2Z2tMbmpBYzZGaGFSM2Q4Z1FhSnF6ZFNnRHorTWV6b3VMdXJuZEZVYz0=&h=8d52b2a8b010478e8afd64054f761bba>


Le 19 févr. 2022 à 06:15, Thomas Struller 
mailto:thomas.strul...@lga-geo.de>> a écrit :
 Hallo list,

sometimes I use a linux mint box with qgis 3.22.3. I have to access
qgis project files over vpn on a windows-fileserver.

The problem, I can't open these projects. In Qgis (linux-box) i can
browse to the directory on the windows-fileserver with the qgis-project
file, but qgis opens a window that shows not available layers. In fact
no layer of my projet is available.  On my windows box I stored the
project files with relativ project-path and in qgz format.

What do I not see or what I'm doing wrong?


--
Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker


Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>

LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg


i...@lga-geo.de<mailto:i...@lga-geo.de>
www.LGA-geo.de<https://eu-central-1.protection.sophos.com?d=lga-geo.de&u=d3d3LkxHQS1nZW8uZGU=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=dE1UWGhIdXR0WnZkdGFzc0UzRC9xbEJUOHdWRUxLbVROYzFyQU4vYVZxTT0=&h=8d52b2a8b010478e8afd64054f761bba>

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org>
List info: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=8d52b2a8b010478e8afd64054f761bba>
Unsubscribe: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=8d52b2a8b010478e8afd64054f761bba>
___
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] linux box accessing project-files on a windows server

2022-02-19 Thread Thomas Struller
Hallo list,

sometimes I use a linux mint box with qgis 3.22.3. I have to access
qgis project files over vpn on a windows-fileserver.

The problem, I can't open these projects. In Qgis (linux-box) i can
browse to the directory on the windows-fileserver with the qgis-project 
file, but qgis opens a window that shows not available layers. In fact
no layer of my projet is available.  On my windows box I stored the
project files with relativ project-path and in qgz format. 

What do I not see or what I'm doing wrong?


-- 
Mit freundlichen Grüßen
 
 
Thomas Struller
Diplom Geologe (Univ.), BDG, V18
 
Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
 
 
Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de
 
LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg


i...@lga-geo.de
www.LGA-geo.de

___
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] Custom preset format page for print layouts

2022-01-02 Thread Thomas Gratier
Hi,

Hope the following will be more understandable from a non-coder

# Below tell you how many entries (QgsPageSize) are already present (A4,
A3, ...) before
print(len(pageSizeRegistry.entries()))
# To inspect content of first entry (was useful to understand was is
present in each QgsPageSize)
print(pageSizeRegistry.entries()[0].size)
print(pageSizeRegistry.entries()[0].displayName)
print(pageSizeRegistry.entries()[0].name)

You could run also run the following to see all infos for all preset formats

for entry in pageSizeRegistry.entries():
print("Size: ", entry.size)
print(f"EncodedSize: {entry.size.encodeSize()}")
print(f"DisplayName: {entry.displayName}")
print(f"Name: {entry.name}")

Testing after adding the part `pageSizeRegistry.add(...` show you have now
one more entry compare to before
print(len(pageSizeRegistry.entries()))

Regards

Thomas


Le dim. 2 janv. 2022 à 21:16, Christophe Besuchet  a
écrit :

> Hi Thomas,
>
> Thanks a bunch for your answer and your code. It works like a charm!
>
> However, I'm really bad at coding and I'm not sure why some lines are
> commented; since your code works without uncommenting these lines, can you
> tell me what's their purpose?
>
> Cheers,
>
> Golok
>
> On 2 Jan 2022, at 18:00, Thomas Gratier 
> wrote:
>
> Hi,
>
> In startup.py, add the following to register your custom Custom preset
> format page for print layouts.
>
>
> from qgis.core import QgsApplication, QgsPageSize, QgsLayoutSize,
> QgsUnitTypes
>
> pageSizeRegistry = QgsApplication.pageSizeRegistry()
>
> # For demo purpose in PyQGIS, so commented
> # print(len(pageSizeRegistry.entries()))
> # print(pageSizeRegistry.entries()[0].size)
> # print(pageSizeRegistry.entries()[0].displayName)
> # print(pageSizeRegistry.entries()[0].name)
>
> # You will see in the menu, myDisplayName with other default preset format
> pages after executing the following line
> pageSizeRegistry.add(QgsPageSize('myname', QgsLayoutSize(150, 100,
> units=QgsUnitTypes.LayoutMillimeters), 'myDisplayName'))
>
> # print(len(pageSizeRegistry.entries()))
>
> Cheers
>
> Thomas Gratier
>
> Le mer. 29 déc. 2021 à 19:50, Christophe Besuchet  a
> écrit :
>
>> Hello all,
>>
>> I'm often using the same custom page size in my print layouts, and I
>> created several templates for this.
>>
>> However, if I have to add a new page, the later won't inherit my
>> template's format settings; the Size menu will only propose standard
>> presets and I will have to set the size manually (and the guides as well).
>>
>> Is there a way to create and save custom preset format pages so they will
>> show up in the Size menu?
>>
>> In advance thank you for your help!
>>
>> Golok
>> ___
>> 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] Custom preset format page for print layouts

2022-01-02 Thread Thomas Gratier
Hi,

In startup.py, add the following to register your custom Custom preset
format page for print layouts.


from qgis.core import QgsApplication, QgsPageSize, QgsLayoutSize,
QgsUnitTypes

pageSizeRegistry = QgsApplication.pageSizeRegistry()

# For demo purpose in PyQGIS, so commented
# print(len(pageSizeRegistry.entries()))
# print(pageSizeRegistry.entries()[0].size)
# print(pageSizeRegistry.entries()[0].displayName)
# print(pageSizeRegistry.entries()[0].name)

# You will see in the menu, myDisplayName with other default preset format
pages after executing the following line
pageSizeRegistry.add(QgsPageSize('myname', QgsLayoutSize(150, 100,
units=QgsUnitTypes.LayoutMillimeters), 'myDisplayName'))

# print(len(pageSizeRegistry.entries()))

Cheers

Thomas Gratier

Le mer. 29 déc. 2021 à 19:50, Christophe Besuchet  a
écrit :

> Hello all,
>
> I'm often using the same custom page size in my print layouts, and I
> created several templates for this.
>
> However, if I have to add a new page, the later won't inherit my
> template's format settings; the Size menu will only propose standard
> presets and I will have to set the size manually (and the guides as well).
>
> Is there a way to create and save custom preset format pages so they will
> show up in the Size menu?
>
> In advance thank you for your help!
>
> Golok
> ___
> 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] startup.py on network folder

2021-12-08 Thread Thomas Schüttenberg
Hi,

another work around is explained here: 
https://gis.stackexchange.com/questions/319224/central-deployment-of-startup-py-in-qgis/319225

Regards
Thomas

> Wolfgang Meinolf  hat am 06.12.2021 18:02 
> geschrieben:
> 
> 
> Hi Stefan,
> thks for the fast response. That’s something, I can build on.
> Br
> Wolfgang
> 
> Von: Stefan Giese (WhereGroup)  
>  Gesendet: Montag, 6. Dezember 2021 17:35
>  An: Wolfgang Meinolf ; qgis-user 
> 
>  Betreff: Re: [Qgis-user] startup.py on network folder
> 
> Hi Wolfgang,
> you can start QGIS with a command line option --codefollowed by the path and 
> scriptname, for example in a BAT file
> Best regards
> stefan
> Am 06.12.2021 um 17:31 schrieb Wolfgang Meinolf:
> > Hi,
> > I like to implement a centrally controlled QGIS environment for our 
> > workforce using startup.py. Is there any trick, to put startup.py on a 
> > network folder instead the user’s QGIS folder i.e. under Windows 
> > %user%\AppData\Roaming\QGIS\QGIS3?
> > 
> > PYQGIS_STARTUP environment variable to change the location does 
> > unfortunately not work.
> > 
> > Thanks
> > Wolfgang
> > 
> >  
> > 
> > ___
> > 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
> -- 
> Mit freundlichen Grüßen
> Stefan Giese
> Projektleiter/Consultant
> --
> Aufwind durch Wissen!
> Jetzt neu: Webinare und Online-Schulungen
> bei der www.foss-academy.com (http://www.foss-academy.com)
> --
>  
> WhereGroup GmbH
> Schwimmbadstr. 2
> 79100 Freiburg
> Germany
>  
> Fon: +49 (0)761 / 519 102 - 61
> Fax: +49 (0)761 / 519 102 - 11
>  
> stefan.gi...@wheregroup.com
> www.wheregroup.com (http://www.wheregroup.com)
> Geschäftsführer:
> Olaf Knopp, Peter Stamm 
> Amtsgericht Bonn, HRB 9885
> ___
> 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] project templates

2021-10-25 Thread Thomas Schüttenberg
Hi There!

I like the handy feature to present/deliver project files as templates on the 
welcome page at QGIS startup [see 0,1] and I do so via a centralized 
projectTemplateDir. My idea is to have a kind of map switcher pane, like most 
webgis clients offer.

Now I wonder, if there are no thumbnails implemented like the recent projects 
tab has. The configuration of the latter can be found in QGIS.ini, but I can't 
find anything similar for project templates. 

Though I'm aware of the menu 'Project/new from template' I would also like to 
have a button to call up this project templates frame (or the welcome page) 
again, after it has vanished by loading/beginning a project. 

Maybe someone of you has similar ideas or experiences or even a hint for a 
minimalistic python plugin for this? 

[0] 
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#general-settings
[1] 
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/project_files.html

All the best
Thomas
___
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-user Digest, Vol 187, Issue 18

2021-09-14 Thread Thomas Struller
Hallo Massimillano,

your QGis-version is a bit outdated. I know some older versions do not export 
to pdf. But on mac os you can print to pdf-file. I think that would work in all 
cases.


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de


  LGA Institut für Umweltgeologie und Altlasten GmbH
   Christian-Hessel-Straße 1
   90427 Nürnberg
   i...@lga-geo.de
   www.LGA-geo.de
   
   



-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von 
qgis-user-requ...@lists.osgeo.org
Gesendet: Dienstag, 14. September 2021 21:00
An: qgis-user@lists.osgeo.org
Betreff: Qgis-user Digest, Vol 187, Issue 18

Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit

https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=7c50b06e198a4c1cbe19e1f58e525dea
or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Qgis-user digest..."


Today's Topics:

   1. qgis 3.10.11 export map as pdf doesn't work (massimiliano crea)


--

Message: 1
Date: Tue, 14 Sep 2021 15:11:21 + (UTC)
From: massimiliano crea 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] qgis 3.10.11 export map as pdf doesn't work
Message-ID: <1347908209.7589820.1631632281...@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

I have a mac with the mac osx catalina and qgis 3.10.11 a Coruna installed. I 
should create a georeferenced pdf but the export command "export map as pdf" 
does not work, it does not allow me to select the item "create geospatial pdf 
Geopdf".Even if I use the other method on raster - conversion - translate, I 
can't export: the result tells me: "The following layers were not generated 
correctly".How can I do?
Thanks
Massimiliano Crea
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cDovL2xpc3RzLm9zZ2VvLm9yZy9waXBlcm1haWwvcWdpcy11c2VyL2F0dGFjaG1lbnRzLzIwMjEwOTE0LzllNDg5MmRkL2F0dGFjaG1lbnQtMDAwMS5odG1s&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=cld3Z0NUTnRMM0ltTkU4VDBMMlpsLzNOcW9jblcyUTZQelZ0RUkwSkxjdz0=&h=7c50b06e198a4c1cbe19e1f58e525dea>

--

Subject: Digest Footer

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 
https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=7c50b06e198a4c1cbe19e1f58e525dea
Unsubscribe: 
https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=7c50b06e198a4c1cbe19e1f58e525dea


--

End of Qgis-user Digest, Vol 187, Issue 18
**
<>___
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-user Digest, Vol 185, Issue 32, 3.20.1 fails on Linux Mint

2021-07-22 Thread Thomas Struller
Hallo,

the same under win10. 3.20.1 fails on start up

the same solution: removing symbology-style.db from 
\AppData\Roaming\QGIS\QGIS3\profiles\default\


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de


  LGA Institut für Umweltgeologie und Altlasten GmbH
   Christian-Hessel-Straße 1
   90427 Nürnberg
   i...@lga-geo.de
   www.LGA-geo.de
   
   



-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von 
qgis-user-requ...@lists.osgeo.org
Gesendet: Mittwoch, 21. Juli 2021 21:00
An: qgis-user@lists.osgeo.org
Betreff: Qgis-user Digest, Vol 185, Issue 32

Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit

https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cHM6Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXI=&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=ZUNtT2tIdmZxUFJBNjl6em5KanVjN3dOQ0IyelRWTGJUSkd1aW83amdGbz0=&h=e55a45ed749342b18080bca8aac05be4
or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Qgis-user digest..."


Today's Topics:

   1. Fix table unique column (Yamen Tekaji)
   2. Re: 3.20.1 fails on Linux Mint (Fernando M. Roxo da Motta)
   3. Re: 3.20.1 fails on Linux Mint (Randal Hale)
   4. Re: 3.20.1 fails on Linux Mint (Bernd Vogelgesang)
   5. Re: 3.20.1 fails on Linux Mint (Fernando M. Roxo da Motta)
   6. Re: 3.20.1 fails on Linux Mint (chris hermansen)
   7. Re: 3.20.1 fails on Linux Mint (Andrea Giudiceandrea)
   8. Re: 3.20.1 fails on Linux Mint (Andrea Giudiceandrea)
   9. Re: 3.20.1 fails on Linux Mint (Randal Hale)
  10. Re: 3.20.1 fails on Linux Mint (Fernando M. Roxo da Motta)


--

Message: 1
Date: Wed, 21 Jul 2021 15:57:08 +0200
From: Yamen Tekaji 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Fix table unique column
Message-ID:

Content-Type: text/plain; charset="utf-8"

Dears,

I connected QGIS to Oracle DB which contains tables with GEOMETRY and spatial 
data.

When trying to add some tables to the layer window, I saw this error
message:

2021-07-13T16:48:15 WARNINGPrimary key field 'INSERT_DATE' for view
not unique.


This INSERT_DATE is not my primary Key column. I have a column called ID which 
is the primary key. How can I tell QGIS which columns are the primary keys in 
the tables I want to add to layers?


Please advise.


Regards,

Yamen
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://eu-central-1.protection.sophos.com?d=osgeo.org&u=aHR0cDovL2xpc3RzLm9zZ2VvLm9yZy9waXBlcm1haWwvcWdpcy11c2VyL2F0dGFjaG1lbnRzLzIwMjEwNzIxLzVlMzQ0NDhlL2F0dGFjaG1lbnQtMDAwMS5odG1s&i=NWJmNDNkYTViNDcwM2ExMzMzYzBjODA3&t=OUk5TE9DcUJLd1J4OTBYUXM3ZEhCNW5QcFdiVHZJRU1ZYk05Q1ZXZkZUUT0=&h=e55a45ed749342b18080bca8aac05be4>

--

Message: 2
Date: Wed, 21 Jul 2021 11:37:06 -0300
From: "Fernando M. Roxo da Motta" 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] 3.20.1 fails on Linux Mint
Message-ID: <20210721113706.15645...@cabore.cwbpr.rx>
Content-Type: text/plain; charset=US-ASCII

On Wed, 21 Jul 2021 07:02:37 -0600, Richard Greenwood 
 wrote:


> I just upgraded from 3.20.0 to 3.20.1 on Linux Mint 20.1. Qgis doesn't 
> start, or more accurately, I don't get a GUI interface. I can see the 
> qgis.bin process running and using 100% of one core, so I guess it's 
> hung. I uninstalled, reinstalled, rebooted, same result. Suggestions?
> 


  I have just upgraded Qgis in my Ubuntu 20.04.2 LTS and got the same result, 
no GUI.

  There are many messages like:

(qgis.bin:62147): Gtk-WARNING **: 11:17:36.524: Theme parsing error:
gtk.css:28:35: Junk at end of value for background-color 

or

(qgis.bin:62147): Gtk-WARNING **: 11:17:36.546: Theme parsing error:
gtk-widgets-assets.css:108:32: The style property GtkWidget:separator-width is 
deprecated and shouldn't be used anymore.
It will be removed in a future version 

But I think that is not the problem here.

  I am still struggling trying to get some clue.




  Roxo

--
 Non luctari, ludare ---+ WYSIWYG
Fernando M. Roxo da Motta   | Editor?
Except where explicitly stated I speak on my own behalf.|  VI !!
PU5RXO | PX5Q6048   | I see text,
 Quis custodiet ipsos custodes?-

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-06 Thread Thomas Schüttenberg
Hi Björn,
thanks for investigating, but no, I still don't get this. 
With 
ErrorLog "${STACK}/logs/error.log"
in httpd.conf (plus LogLevel info to make sure there will be something to log) 
and
FcgidInitialEnv QGIS_SERVER_LOG_STDERR 1
plus FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
in the QGIS server vHost.conf, there is no log output from QGIS server in 
error.log while restarting the Apache. I would expect the QGIS server 
summary[1] like I see in the QGIS_SERVER_LOG_FILE, not only the Apache restart 
lines.

You received the STDERR log on Ubuntu not Windows, right?
I think I stick with QGIS_SERVER_LOG_FILE for now.

[1] 
https://docs.qgis.org/3.16/en/docs/server_manual/config.html#settings-summary



> pathmapper  hat am 05.07.2021 07:01 geschrieben:
> 
>  
> Hmm, with QGIS_SERVER_LOG_STDERR 1 it works as long as I use the 
> standard
> 
> ErrorLog ${APACHE_LOG_DIR}/error.log
> 
> But if I change it to
> 
> ErrorLog ${APACHE_LOG_DIR}/qgisserver.log
> 
> a file ${APACHE_LOG_DIR}/qgisserver.log is created but the QGIS server 
> logs are still saved in ${APACHE_LOG_DIR}/error.log
> 
> Thomas, is this the same behaviour you are seeing?
> 
> 
> On 02.07.2021 14:43, thomas wrote:
> > Hi Björn,
> > 
> > Am 02.07.21 um 10:58 schrieb pathmapper:
> >> Hi Thomas,
> >> 
> >> is QGIS_SERVER_LOG_FILE still set in your conf?
> >> 
> >> Asking because QGIS_SERVER_LOG_STDERR has no effect when 
> >> QGIS_SERVER_LOG_FILE is set.
> >> 
> >> Maybe doublecheck that you restarted Apache after these changes :)
> > 
> > Sure, quadruple checked all that ;)
> > 
> >> 
> >> With QGIS server 3.18.1 on Ubuntu LTR it's working as expected.
> > 
> > After some research[1] I already suspected it to be a windows specific
> > issue... :-/
> > 
> > Or I'm making wrong assumptions about what stderr is, although[2]:
> > "... The error log will also contain debugging output from CGI
> > scripts. Any information written to stderr by a CGI script will be
> > copied directly to the error log."
> > 
> > [1]
> > http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-QGIS-server-landing-page-when-running-as-fastcgi-tp5456241p5456373.html
> > [2] https://httpd.apache.org/docs/2.4/logs.html#errorlog
> > 
> > Cheers
> > Thomas
> > 
> > 
> >> 
> >> Cheers,
> >> Bjoern
> >> 
> >> On 01.07.2021 15:11, Thomas Schüttenberg wrote:
> >>> Hi there!
> >>> 
> >>> Because file logging support with QGIS_SERVER_LOG_FILE is deprecated
> >>> since QGIS 3.4. I just tried to switch to QGIS_SERVER_LOG_STDERR 1 as
> >>> described in the manual[1].
> >>> 
> >>> Nevertheless the standard error log file I defined in my Apache
> >>> configuration stays silent (Loglevel 0).
> >>> So either I miss something in my config or QGIS_SERVER_LOG_STDERR 
> >>> does
> >>> not work here.
> >>> 
> >>> My QGIS server 3.18.2 and 3.16. are installed on a windows server
> >>> 2019, btw. Mayby anyone of you is able to help me with their
> >>> experience? Thanks!
> >>> 
> >>> [1] https://docs.qgis.org/3.16/en/docs/server_manual/config.html
> >>> 
> >>> Cheers Thomas
> >>> ___
> >>> 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 Log Stderr

2021-07-02 Thread thomas

Hi Björn,

Am 02.07.21 um 10:58 schrieb pathmapper:

Hi Thomas,

is QGIS_SERVER_LOG_FILE still set in your conf?

Asking because QGIS_SERVER_LOG_STDERR has no effect when QGIS_SERVER_LOG_FILE 
is set.

Maybe doublecheck that you restarted Apache after these changes :)


Sure, quadruple checked all that ;)



With QGIS server 3.18.1 on Ubuntu LTR it's working as expected.


After some research[1] I already suspected it to be a windows specific issue... 
:-/

Or I'm making wrong assumptions about what stderr is, although[2]: "... The error log will also 
contain debugging output from CGI scripts. Any information written to stderr by a CGI script will be 
copied directly to the error log."


[1] 
http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-QGIS-server-landing-page-when-running-as-fastcgi-tp5456241p5456373.html

[2] https://httpd.apache.org/docs/2.4/logs.html#errorlog

Cheers
Thomas




Cheers,
Bjoern

On 01.07.2021 15:11, Thomas Schüttenberg wrote:

Hi there!

Because file logging support with QGIS_SERVER_LOG_FILE is deprecated
since QGIS 3.4. I just tried to switch to QGIS_SERVER_LOG_STDERR 1 as
described in the manual[1].

Nevertheless the standard error log file I defined in my Apache
configuration stays silent (Loglevel 0).
So either I miss something in my config or QGIS_SERVER_LOG_STDERR does
not work here.

My QGIS server 3.18.2 and 3.16. are installed on a windows server
2019, btw. Mayby anyone of you is able to help me with their
experience? Thanks!

[1] https://docs.qgis.org/3.16/en/docs/server_manual/config.html

Cheers Thomas
___
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] QGIS Server Log Stderr

2021-07-01 Thread Thomas Schüttenberg
Hi there!

Because file logging support with QGIS_SERVER_LOG_FILE is deprecated since QGIS 
3.4. I just tried to switch to QGIS_SERVER_LOG_STDERR 1 as described in the 
manual[1].

Nevertheless the standard error log file I defined in my Apache configuration 
stays silent (Loglevel 0).
So either I miss something in my config or QGIS_SERVER_LOG_STDERR does not work 
here. 

My QGIS server 3.18.2 and 3.16. are installed on a windows server 2019, btw. 
Mayby anyone of you is able to help me with their experience? Thanks!

[1] https://docs.qgis.org/3.16/en/docs/server_manual/config.html

Cheers Thomas
___
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] Apache Solr in QGIS

2021-06-30 Thread Thomas Gratier
Hi,

You can take a look at French locator filter. It does http call with
autocomplete to search French addresses
https://gitlab.com/Oslandia/qgis/french_locator_filter/

You need to borrow the same logic to consume from your Apache Solr

Regards

Thomas Gratier

Le mar. 29 juin 2021 à 09:19, Christoph Jung  a
écrit :

> Hello everyone,
>
> Does anybody know, if it is possible, to integrate a search platform like
> Apache Solr into QGIS, maybe in the search bar at the bottom of the window?
>
> Greetings,
> Christoph
> ___
> 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 - serve WMS with basic authentication

2021-06-17 Thread Thomas Gratier
Hi,

You may create a QGIS Server plugin to manage your permissions e.g
https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#accesscontrol-py

Regards

Thomas
___
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] Layout page size variable?

2021-05-20 Thread Thomas Gratier
Hi,

Not sure it's available but you can use the following Python expression to
add the functionality

@qgsfunction(args='auto', group='Layout')
def get_page_format(layoutname, pagenumber, feature, parent, context):
layout = QgsProject.instance().layoutManager().layoutByName(layoutname)
page = layout.pageCollection().page(pagenumber - 1)
return QgsApplication.pageSizeRegistry().find(page.pageSize())

and calling it with

get_page_format('demo', @layout_page)

Regards

Thomas Gratier

Le jeu. 20 mai 2021 à 23:46, Charles Dixon-Paver  a
écrit :

> Yeah I am not aware of a variable for this... But page sizes are actually
> more complicated than they seem. You can emulate it pretty easily with
> something like the following expression on a layout as you suggested:
>
> [%CASE
> WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 210 THEN 'On A4
> Landscape'
> WHEN @layout_pagewidth IS 210 AND @layout_pageheight IS 297 THEN 'On A4
> Portrait'
> WHEN @layout_pagewidth IS 420 AND @layout_pageheight IS 297 THEN 'On A3
> Landscape'
> WHEN @layout_pagewidth IS 297 AND @layout_pageheight IS 420 THEN 'On A3
> Portrait'
> ELSE 'With page dimensions of ' || @layout_pagewidth || ' x ' ||
> @layout_pageheight
> END%]
>
> On Thu, 20 May 2021 at 23:13, Tony Shepherd (FarmMaps NZ) <
> t...@farmmaps.nz> wrote:
>
>> Hi All
>>
>>
>>
>> Is there a variable that returns the page size of a print layout?
>>
>>
>>
>> I would like to add the page size to the scale below so it reads
>> something like “1:5,000 @ A3”
>>
>> I can see variables for width and height, but not Page Size?
>>
>>
>>
>> Or would I need to code in some ‘if’ &  ‘then’ statements using the width
>> variables to arrive at the page size?
>>
>>
>>
>>
>>
>>
>>
>> Cheers
>>
>> Tony
>>
>>
>>
>> *Tony Shepherd*  *|*  GeoSpatial / Mapping Manager
>>
>> Ph 027 435 6193  *|*  E t...@farmmaps.nz
>>
>> FarmMaps NZ, 3 Kerwood Place, Gore 9740
>>
>>
>>
>> [image: FM_logo1_small (Custom)]
>>
>>
>>
>>
>>
>> <http://tonyshepherd8.wixsite.com/home>
>> <https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2>
>>
>>
>> ___
>> 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] Georeferencer failing - QGIS 3.18 (Tony Shepherd (FarmMaps NZ))

2021-03-19 Thread Thomas Struller

Hallo Tony,

I have the same problem. The georeferencer does not work in Qgis 3.18. There 
are several other bugs. For that reason I suggest to use the LTR Version 3.16.4.

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden - Gewässer
Akademischer Geoinformatiker




Tel:   0049 911 12076 111
Mobil:   0049 170 33 20 494
Mail: thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


[cid:image001.png@01D71CAA.A1F672A0]LGA Institut für Umweltgeologie und 
Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de<mailto:i...@lga-geo.de>
www.LGA-geo.de<http://www.lga-geo.de/>

[cid:image002.jpg@01D71CAA.A1F672A0]



Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
___
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] Cannot Edit File Geodatabases

2021-03-12 Thread Thomas Struller
Hi Tyler,

i had this effect at that moment I try to edit older geodatabases. To edit a 
geodatabase it has to be one of arcgis 10.0 and younger. In case you want to 
edit a older one you have to upgrade the geodatabase in arccatalog – properties.


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


 LGA Institut für Umweltgeologie und Altlasten GmbH
 Christian-Hessel-Straße 1
 90427 Nürnberg
 i...@lga-geo.de
 www.LGA-geo.de<http://www.LGA-geo.de>








Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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] update with ososgeo4w; Rastertools are gone

2021-03-04 Thread Thomas Struller
Hi Lene,

tested your hint. Does not work. No raster-tools. No saga-tools.

Thank you for your help 😊






Von: Lene Fischer 
Gesendet: Donnerstag, 4. März 2021 12:41
An: Thomas Struller ; 'qgis-user@lists.osgeo.org' 

Betreff: SV: update with ososgeo4w; Rastertools are gone

Hi Thomas,
I have had a similar problem with Vector layers. Not sure it´s the same problem
What I tried was to close QGIS. Go to C:\Users\XXX\AppData\Local\QGIS
* is the name of the user
Renamed the folder and opened QGIS again. See if it helps.
If Yes you have to make all your settings again :-O
If No rename the folder.

Regards

Lene Fischer
Associate Professor

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

MOB +45 40115084
l...@ign.ku.dk<mailto:l...@ign.ku.dk>

[Title: SD_Logo]

[cid:image002.png@01D710F6.7783BB00]<https://www.facebook.com/universitet> 
[cid:image003.png@01D710F6.7783BB00] 
<https://www.instagram.com/university_of_copenhagen>  
[cid:image004.png@01D710F6.7783BB00] 
<https://www.linkedin.com/company/university-of-copenhagen>  
[cid:image005.png@01D710F6.7783BB00] <https://twitter.com/uni_copenhagen>  
[cid:image006.png@01D710F6.7783BB00] 
<https://www.futurity.org/university/university-of-copenhagen/>  
[cid:image007.png@01D710F6.7783BB00] 
<https://theconversation.com/institutions/university-of-copenhagen-1186>  
[cid:image008.png@01D710F6.7783BB00] <http://www.ku.dk/english>

How we protect personal 
data<https://informationssikkerhed.ku.dk/english/protection-of-information-privacy/privacy-policy/>

Fra: Qgis-user 
mailto:qgis-user-boun...@lists.osgeo.org>> 
På vegne af Thomas Struller
Sendt: 4. marts 2021 09:36
Til: 'qgis-user@lists.osgeo.org' 
mailto:qgis-user@lists.osgeo.org>>
Emne: [Qgis-user] update with ososgeo4w; Rastertools are gone

Hallo List,

I updated this morning my qgis installation with osgeo4w (new path).

Result: raster tools under menu – Raster are gone; there are no saga tools in 
the toolbox

Tested this with 3.18 and 3.16.4 ltr

Changed the user -> no result

I am on windows 10, 32 GB memory


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de<mailto:i...@lga-geo.de>
www.LGA-geo.de<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.lga-geo.de%2F&data=04%7C01%7Clfi%40ign.ku.dk%7Cb5c6e805c32144c8afde08d8dee8b60a%7Ca3927f91cda14696af898c9f1ceffa91%7C0%7C0%7C637504438383613865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=gCGFxzsah9ktXwAgzdSvQWfjFY1XSJBrhCag1eOyW6Q%3D&reserved=0>

[cid:image009.jpg@01D710F6.7783BB00]





Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt

Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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] update with ososgeo4w; Rastertools are gone

2021-03-04 Thread Thomas Struller
Hallo List,

I updated this morning my qgis installation with osgeo4w (new path).

Result: raster tools under menu – Raster are gone; there are no saga tools in 
the toolbox

Tested this with 3.18 and 3.16.4 ltr

Changed the user -> no result

I am on windows 10, 32 GB memory


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


 LGA Institut für Umweltgeologie und Altlasten GmbH
 Christian-Hessel-Straße 1
 90427 Nürnberg
 i...@lga-geo.de
 www.LGA-geo.de<http://www.LGA-geo.de>








Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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] Performance problems with the ogr file-gdb driver

2021-02-26 Thread Thomas Struller
Thank you Nyall for the hint to switch off the esri file geodatabase driver 
over settings-option-gdal-vector drivers. Didn't see that bevor. It triggers a 
restart of qgis. Thats not nice but that will work.
I hope you are right that arcgis pro realy supports geopackages. Arcgis desktop 
10.7 does not.

Thank you for your help

-Ursprüngliche Nachricht-
Von: Nyall Dawson 
Gesendet: Freitag, 26. Februar 2021 00:00
An: Thomas Struller 
Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Performance problems with the ogr file-gdb driver

On Thu, 25 Feb 2021 at 23:44, Thomas Struller  
wrote:
>
> Hallo List,
>
> since installing QGis 3.16.3 and now continuing 3.18 i have serious 
> performance problems when using the OGR file-gdb Driver.
>
> When i use the ogr file-gdb driver QGis becomes very slow. Not only when I 
> try to edit a file geodatabase, even when i zoom in or out or try to change 
> from the layer-view to the browser-view.
>
> On start up QGis now needs minutes to scan „former project connections“. Is 
> it possible to avoid this scan on startup?
>
> We have a mixed enviroment with arcgis installations and qgis. Sometimes i 
> have to edit a filegeodatabase.
>
> I’m on windows 10 pro, amd ryzen 4750, 32 GB
>
> Does anyone have the same experiences? Is there a solution besides 
> uninstalling the ogr-file-gdb driver?

You could go into Settings - Options - GDAL - Vector Drivers and disable the 
filegdb driver whenever you're not actively editing a gdb file. I.e. use the 
stable, optimised openfilegdb driver most of the time and only switch to the 
filegdb driver when you have a specific need to use it.

The GDAL driver page for the FileGDB driver lists a whole lot of known issues 
with that driver, which can't be addressed by anyone except for ESRI (as they 
come from the underlying ESRI SDK). I don't see any likelihood that this driver 
can/will be improved in the future.

In the long term, there's two reasonable solutions for this setup that I see:
1. With the improved Geopackage compatibility that recent ArcGIS Pro versions 
bring you may have luck in moving your arcgis workflows away from gdb files and 
to gpkg, which of course work great in QGIS and other non-esri applications.
2. If funding is available, there's a good chance that edit support can be 
added to the open source openfilegdb GDAL driver. While this hasn't yet been 
tested, the gdb format is sufficiently reverse engineered and understood well 
enough to make this a good possibility.

Nyall


>
> On a imac machine and a linux-mint machine I did not have these performance 
> issues. But as far as i now, there it is not possible to edit esri file 
> geodatabases.
>
> Mit freundlichen Grüßen
>
>
> Thomas Struller
> Diplom Geologe (Univ.), BDG, V18
>
> Sachverständiger nach BBodSchG §18,
> SG1 Historische Recherche
> SG2 Pfad Boden – Gewässer
> Akademischer Geoinformatiker
>
>
>
>
> Tel:0049 911 12076 111
> Mobil:  0049 170 33 20 494
> Mail:   thomas.strul...@lga-geo.de
>
>
> LGA Institut für Umweltgeologie und Altlasten GmbH
> Christian-Hessel-Straße 1
> 90427 Nürnberg
> i...@lga-geo.de
> www.LGA-geo.de
>
>
>
>
>
>
> Handelsregister: AmtsG Nürnberg HRB 18895
> Umsatzst.-IdNr.:DE219281492
> StNr.:  241/131/30489
>
> Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
> ___
> 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

Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
___
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] Performance problems with the ogr file-gdb driver

2021-02-25 Thread Thomas Struller
Hallo List,

since installing QGis 3.16.3 and now continuing 3.18 i have serious performance 
problems when using the OGR file-gdb Driver.

When i use the ogr file-gdb driver QGis becomes very slow. Not only when I try 
to edit a file geodatabase, even when i zoom in or out or try to change from 
the layer-view to the browser-view.

On start up QGis now needs minutes to scan „former project connections“. Is it 
possible to avoid this scan on startup?

We have a mixed enviroment with arcgis installations and qgis. Sometimes i have 
to edit a filegeodatabase.

I’m on windows 10 pro, amd ryzen 4750, 32 GB

Does anyone have the same experiences? Is there a solution besides uninstalling 
the ogr-file-gdb driver?

On a imac machine and a linux-mint machine I did not have these performance 
issues. But as far as i now, there it is not possible to edit esri file 
geodatabases.

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


 LGA Institut für Umweltgeologie und Altlasten GmbH
 Christian-Hessel-Straße 1
 90427 Nürnberg
 i...@lga-geo.de
 www.LGA-geo.de<http://www.LGA-geo.de>








Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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] Installing Qgis web-server on Windows.

2021-02-18 Thread Thomas Gratier
Hi,

To ease the pain, you may use install recipe from
https://github.com/NaturalGIS/qgis_server_and_lizmap_on_windows

Regards

Thomas

Le lun. 15 févr. 2021 à 06:08, гге sog  a écrit :

> Installed according to the instructions
> https://docs.qgis.org/3.16/ru/docs/server_manual/getting_started.html#installation-on-windows
> When I open a link
> http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities,
> I get an xml-code page and a message " This XML file does not appear to
> have any style information associated with it. The document tree is shown
> below"
> Qgis version from OSGeo4W
> Web-server Qgis 3.16.3-1
> XAMPP for Windows 7.3.27
> Windows server 2012
> ___
> 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] Qgis install with osgeo4w-setup-x86

2021-01-22 Thread Thomas Struller
Hallo,

tried to install qgis 3.16 with osgeo4w-setup-x86 and got the following message 
on startup of qgis:

Oops, looks like an error loading QGIS
Details:
Could not load qgis_app.dll
Windows Error: Das angegebene Modul wurde nicht gefunden (the modul could not 
be found)

Help:
Check C:\OSGeo4W64\bin\qgis-bin.env for correct enviroment paths.

Checked the enviroment paths in qgis-bin.env but they seem to be correct.

What can I do? What can be the solution?

Im on win10 pro 20H2 installed 08.01.2021; build 19042.746
AMD Ryzen 7Pro 4750U 32 GB RAM

Thanks a lot in advance for help.

Thomas


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker




Tel:0049 911 12076 111
Mobil:  0049 170 33 20 494
Mail:   thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


 LGA Institut für Umweltgeologie und Altlasten GmbH
 Christian-Hessel-Straße 1
 90427 Nürnberg
 i...@lga-geo.de
 www.LGA-geo.de<http://www.LGA-geo.de>








Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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 error log - Solved

2020-12-17 Thread Thomas Schüttenberg
OK, what realy fixed the issue of disabled python support in my qgis server was 
the additional(!) installation of the corresponding qgis package from the 
OSGeo4W installer. (As stated inconspicuously in the docs 
https://docs.qgis.org/3.16/en/docs/server_manual/getting_started.html#installation-on-windows)

Although I would have sworen I ticked that package also this time, I obviousely 
didn't.

never mind, cheers!
Thomas
___
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 does not start after win10 update

2020-12-11 Thread Thomas Struller
The error is

clCreateCommandQueueWithProperties is not found in 
„C\OSGEO4~1\apps\qgis\bin\qgis_core.dll


Von: Nicolas Cadieux 
Gesendet: Freitag, 11. Dezember 2020 16:16
An: burghardt.scho...@stadt.wolfsburg.de
Cc: Thomas Struller ; qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Qgis does not start after win10 update

Hi,

I remember now getting this one now when updating openCL... a few years back...

Is the error” ... binqgis_core.dll” or “... bin\qgis_core.dll”?  I need to take 
notes.  There has been a few or these in the last few weeks.

Nicolas Cadieux
https://gitlab.com/njacadieux


Le 11 déc. 2020 à 01:30, 
burghardt.scho...@stadt.wolfsburg.de<mailto:burghardt.scho...@stadt.wolfsburg.de>
 a écrit :
binqgis_core.dll

Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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 error log

2020-12-11 Thread Thomas Schüttenberg
...some further investigations on this:
Checking for 'sip' in the OSGeo4W installer I only found the lib sip-qt5 
(v4.19.14-1) already installed.

Regarding the ModuleNotFoundError: No module named 'qgis' (the second one): 
Seems there is a misinterpretation of some of the Python Paths, e.g. 
'D:\\gdi\\qgisServer\x07pps\\qgis/./python' IMHO should be like 
'D:\\gdi\\qgisServer\\apps\\qgis/./python'

This path origiantes from the environment variable PYTHONHOME 
"D:\gdi\qgisServer\apps\Python37" in %OSGEO4W%\httpd.d\httpd_qgis.conf
Although the backslashes become escaped with '\' a misinterpretation of '\a' 
(at the beginning of 'apps') happens.

Simply exchanging '\' with '/' in PYTHONHOME modifies the log displayed path to 
'D:/gdi/qgisServer/apps/qgis/./python', but the python support is still 
disabled. The remaining ModuleNotFoundError[ is now]: No module named 
'qgis.PyQt'

How to find/set the valid python path? 

BTW, subsequent installation of lib pyqt5 did not fix the issue.

Still no clue about python support for QGIS server, but now it's weekend!


> Thomas Schüttenberg  hat am 10.12.2020 16:22 geschrieben:
> 
>  
> Hi there!
> 
> Just set up a new QGIS Server 3.16.1 and although it is working I receive the 
> following error log (see below). Installation was done with OSGeo4W selecting 
> only the package qgis-server and auto resolving the dependencies. 
> Because disabled Python support is of course not appreciated, maybe someone 
> knows how to fix this?
> 
> Cheers!
> 
> 15:22:57 WARNING [3020]: Adding API Landing Page 
> 15:22:57 WARNING [3020]: Adding API OGC WFS3 (Draft) 
> 15:22:57 WARNING Python error[3020]: An error occurred during execution of 
> following code:
> os.environ['HOME']=os.environ['USERPROFILE']
> 
> 
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "D:/gdi/qgisServer/apps/Python37\lib\os.py", line 678, in __getitem__
> raise KeyError(key) from None
> KeyError: 'USERPROFILE'
> 
> Python version:
> 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
> 
> QGIS version:
> 3.16.1-Hannover 'Hannover', b381a90dca
> 
> Python path:
> ['D:\\gdi\\qgisServer\\apps\\Python37', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\Scripts', 
> 'D:\\gdi\\qgisServer\\bin\\python37.zip', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\DLLs', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\lib', 
> 'D:\\gdi\\qgisServer\\apps\\qgis\\bin', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\lib\\site-packages']
> 15:22:57 WARNING Python error[3020]: Couldn't load SIP module.
> Python support will be disabled.
> 
> Traceback (most recent call last):
>   File "", line 1, in 
> ModuleNotFoundError: No module named 'qgis'
> 
> Python version:
> 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
> 
> QGIS version:
> 3.16.1-Hannover 'Hannover', b381a90dca
> 
> Python path:
> ['D:\\gdi\\qgisServer\x07pps\\qgis/./python', 
> 'D:\\gdi\\configurations\\profiles\\default/python', 
> 'D:/gdi/qgisServer/plugins', 
> 'D:\\gdi\\configurations\\profiles\\default/python/plugins', 
> 'D:\\gdi\\qgisServer\x07pps\\qgis/./python/plugins', 
> 'D:\\gdi\\qgisServer\\apps\\Python37', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\Scripts', 
> 'D:\\gdi\\qgisServer\\bin\\python37.zip', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\DLLs', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\lib', 
> 'D:\\gdi\\qgisServer\\apps\\qgis\\bin', 
> 'D:\\gdi\\qgisServer\\apps\\Python37\\lib\\site-packages']
> 15:22:57 WARNING Server[3020]: WMS capabilities document not found in cache
> 15:22:57 WARNING Server[3020]: Set WMS capabilities document in cache
___
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 error log

2020-12-10 Thread Thomas Schüttenberg
Hi there!

Just set up a new QGIS Server 3.16.1 and although it is working I receive the 
following error log (see below). Installation was done with OSGeo4W selecting 
only the package qgis-server and auto resolving the dependencies. 
Because disabled Python support is of course not appreciated, maybe someone 
knows how to fix this?

Cheers!

15:22:57 WARNING [3020]: Adding API Landing Page 
15:22:57 WARNING [3020]: Adding API OGC WFS3 (Draft) 
15:22:57 WARNING Python error[3020]: An error occurred during execution of 
following code:
os.environ['HOME']=os.environ['USERPROFILE']


Traceback (most recent call last):
  File "", line 1, in 
  File "D:/gdi/qgisServer/apps/Python37\lib\os.py", line 678, in __getitem__
raise KeyError(key) from None
KeyError: 'USERPROFILE'

Python version:
3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]

QGIS version:
3.16.1-Hannover 'Hannover', b381a90dca

Python path:
['D:\\gdi\\qgisServer\\apps\\Python37', 
'D:\\gdi\\qgisServer\\apps\\Python37\\Scripts', 
'D:\\gdi\\qgisServer\\bin\\python37.zip', 
'D:\\gdi\\qgisServer\\apps\\Python37\\DLLs', 
'D:\\gdi\\qgisServer\\apps\\Python37\\lib', 
'D:\\gdi\\qgisServer\\apps\\qgis\\bin', 
'D:\\gdi\\qgisServer\\apps\\Python37\\lib\\site-packages']
15:22:57 WARNING Python error[3020]: Couldn't load SIP module.
Python support will be disabled.

Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'qgis'

Python version:
3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]

QGIS version:
3.16.1-Hannover 'Hannover', b381a90dca

Python path:
['D:\\gdi\\qgisServer\x07pps\\qgis/./python', 
'D:\\gdi\\configurations\\profiles\\default/python', 
'D:/gdi/qgisServer/plugins', 
'D:\\gdi\\configurations\\profiles\\default/python/plugins', 
'D:\\gdi\\qgisServer\x07pps\\qgis/./python/plugins', 
'D:\\gdi\\qgisServer\\apps\\Python37', 
'D:\\gdi\\qgisServer\\apps\\Python37\\Scripts', 
'D:\\gdi\\qgisServer\\bin\\python37.zip', 
'D:\\gdi\\qgisServer\\apps\\Python37\\DLLs', 
'D:\\gdi\\qgisServer\\apps\\Python37\\lib', 
'D:\\gdi\\qgisServer\\apps\\qgis\\bin', 
'D:\\gdi\\qgisServer\\apps\\Python37\\lib\\site-packages']
15:22:57 WARNING Server[3020]: WMS capabilities document not found in cache
15:22:57 WARNING Server[3020]: Set WMS capabilities document in cache
___
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 does not start after win10 update

2020-12-10 Thread Thomas Struller
Hallo,

thank you all for your fast answers.

@ nicolas: your suggestion does not work, sorry the same messages again

@ Bo Victor ups, I am not a programmer, just a user but later this day I will 
try to use the dependency walker. Hope that I do not need administrator 
priviliges, that I don't have.



Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden - Gewässer
Akademischer Geoinformatiker


Tel:0049 911 12076 111
Mobil:0049 170 33 20 494
Mail:thomas.strul...@lga-geo.de


  LGA Institut für Umweltgeologie und Altlasten GmbH
   Christian-Hessel-Straße 1
   90427 Nürnberg
   i...@lga-geo.de
   www.LGA-geo.de



-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von 
qgis-user-requ...@lists.osgeo.org
Gesendet: Donnerstag, 10. Dezember 2020 10:14
An: qgis-user@lists.osgeo.org
Betreff: Qgis-user Digest, Vol 178, Issue 24

Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Qgis-user digest..."


Today's Topics:

   1. Re: Qgis does not start after win10 update (Bo Victor Thomsen)
   2. Re: Qgis does not start after win10 update (Nicolas Cadieux)
   3. Re: Qgis does not start after win10 update (Bo Victor Thomsen)


--

Message: 1
Date: Thu, 10 Dec 2020 09:54:48 +0100
From: Bo Victor Thomsen 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Qgis does not start after win10 update
Message-ID: <7a337da5-72d8-6829-78bd-22bf30318...@gmail.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

I assume that the Windows 10 update didn't mess directly with your QGIS 
installation. So the error stems from some missing dependency for 
"binqgis_core.dll".

So the update has perhaps updated/ removed / renamed / torpedoed / barfed a 
dll, that "binqgis_core.dll" is dependent on.

You could try using "Dependencies.exe" on the dll "binqgis_core.dll" and look 
for the entry point "clCreateCommandQueueWithProperties" and check if any 
dependencies is missing. (https://github.com/lucasg/Dependencies)


Med venlig hilsen / Kind regards

Bo Victor Thomsen

Den 10-12-2020 kl. 09:31 skrev Thomas Struller:
>
> Hallo,
>
> this morning I got a update of win 10 (windows 10 pro, V 10.0.19042
> Build 19042). After this update Qgis 3.16.1 does not start anymore.
>
> I got this message on startup: (sorry german) Der
> Prozedureinsprungpunkt ?clCreateCommandQueueWithProperties wurde in
> der DLL ?C\OSGEO4-~1\apps\binqgis_core.dll? nicht gefunden.
>
> Can?t start Qgis. I tried to start QGis 3.10 LTR the same issue.
>
> Tried to update with osgeo4w, the same issue.
>
> Does anyone have the same issue. What can I do to start Qgis?
>
> Mit freundlichen Gr??en
>
> Thomas Struller
>
> Diplom Geologe (Univ.), BDG, V18
>
> **
>
> *Sachverst?ndiger nach BBodSchG ?18,*
>
> *SG1 Historische Recherche*
>
> *SG2 Pfad Boden ? Gew?sser*
>
> *Akademischer Geoinformatiker*
>
> **
>
> Tel:?? 0049 911 12076 111
>
> Mobil:?? 0049 170 33 20 494
>
> Mail: thomas.strul...@lga-geo.de <mailto:thomas.strul...@lga-geo.de>
>
> LGA Institut f?r Umweltgeologie und Altlasten GmbH
>
> Christian-Hessel-Stra?e 1
>
> 90427 N?rnberg
>
> _info@LGA-geo.de_
>
> _www.LGA-geo.de <http://www.lga-geo.de/>_
>
> __
>
>
> Handelsregister: AmtsG N?rnberg HRB 18895
> Umsatzst.-IdNr.:DE219281492
> StNr.:241/131/30489
>
> Gesch?ftsf?hrer: Carlo Schillinger, Dr. J?rgen Kisskalt
>
>
> ___
> 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
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20201210/f4136d64/attachment-0001.html>
-- next part --
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 184 bytes
Desc: not available
URL: 
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20201210/f4136d64/attachment-0001.png>
-- next part ------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 14233 byt

Re: [Qgis-user] Qgis-user Digest, Vol 178, Issue 24

2020-12-10 Thread Thomas Struller
Hallo,

thank you all for your fast answers.

@ nicolas: your suggestion does not work, sorry the same messages again

@ Bo Victor ups, I am not a programmer, just a user but later this day I will 
try to use the dependency walker. Hope that I do not need administrator 
priviliges, that I don't have.



-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von 
qgis-user-requ...@lists.osgeo.org
Gesendet: Donnerstag, 10. Dezember 2020 10:14
An: qgis-user@lists.osgeo.org
Betreff: Qgis-user Digest, Vol 178, Issue 24

Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Qgis-user digest..."


Today's Topics:

   1. Re: Qgis does not start after win10 update (Bo Victor Thomsen)
   2. Re: Qgis does not start after win10 update (Nicolas Cadieux)
   3. Re: Qgis does not start after win10 update (Bo Victor Thomsen)


--

Message: 1
Date: Thu, 10 Dec 2020 09:54:48 +0100
From: Bo Victor Thomsen 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Qgis does not start after win10 update
Message-ID: <7a337da5-72d8-6829-78bd-22bf30318...@gmail.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

I assume that the Windows 10 update didn't mess directly with your QGIS 
installation. So the error stems from some missing dependency for 
"binqgis_core.dll".

So the update has perhaps updated/ removed / renamed / torpedoed / barfed a 
dll, that "binqgis_core.dll" is dependent on.

You could try using "Dependencies.exe" on the dll "binqgis_core.dll" and look 
for the entry point "clCreateCommandQueueWithProperties" and check if any 
dependencies is missing. (https://github.com/lucasg/Dependencies)


Med venlig hilsen / Kind regards

Bo Victor Thomsen

Den 10-12-2020 kl. 09:31 skrev Thomas Struller:
>
> Hallo,
>
> this morning I got a update of win 10 (windows 10 pro, V 10.0.19042
> Build 19042). After this update Qgis 3.16.1 does not start anymore.
>
> I got this message on startup: (sorry german) Der
> Prozedureinsprungpunkt ?clCreateCommandQueueWithProperties wurde in
> der DLL ?C\OSGEO4-~1\apps\binqgis_core.dll? nicht gefunden.
>
> Can?t start Qgis. I tried to start QGis 3.10 LTR the same issue.
>
> Tried to update with osgeo4w, the same issue.
>
> Does anyone have the same issue. What can I do to start Qgis?
>
> Mit freundlichen Gr??en
>
> Thomas Struller
>
> Diplom Geologe (Univ.), BDG, V18
>
> **
>
> *Sachverst?ndiger nach BBodSchG ?18,*
>
> *SG1 Historische Recherche*
>
> *SG2 Pfad Boden ? Gew?sser*
>
> *Akademischer Geoinformatiker*
>
> **
>
> Tel:?? 0049 911 12076 111
>
> Mobil:?? 0049 170 33 20 494
>
> Mail: thomas.strul...@lga-geo.de <mailto:thomas.strul...@lga-geo.de>
>
> LGA Institut f?r Umweltgeologie und Altlasten GmbH
>
> Christian-Hessel-Stra?e 1
>
> 90427 N?rnberg
>
> _info@LGA-geo.de_
>
> _www.LGA-geo.de <http://www.lga-geo.de/>_
>
> __
>
>
> Handelsregister: AmtsG N?rnberg HRB 18895
> Umsatzst.-IdNr.:DE219281492
> StNr.:241/131/30489
>
> Gesch?ftsf?hrer: Carlo Schillinger, Dr. J?rgen Kisskalt
>
>
> ___
> 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
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20201210/f4136d64/attachment-0001.html>
-- next part --
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 184 bytes
Desc: not available
URL: 
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20201210/f4136d64/attachment-0001.png>
-- next part ------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 14233 bytes
Desc: not available
URL: 
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20201210/f4136d64/attachment-0001.jpg>

--

Message: 2
Date: Thu, 10 Dec 2020 04:09:35 -0500
From: Nicolas Cadieux 
To: Thomas Struller 
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Qgis does not start after win10 update
Message-ID: <7f848b10-f4f1-4e99-ac89-0ef341187...@gmail.com>
Content-Type: tex

[Qgis-user] Qgis does not start after win10 update

2020-12-10 Thread Thomas Struller
Hallo,

now there is an other message:

"Oops, looks like an error loading Qgis
Details:
Could not load qgis_app.dll
Windows Error: Die angegebene Prozedur wurde nicht gefunden.
Help:
Check C:\OSGeo4W64\bin\qgis-bin.env for correct enviroment paths.

I opend this file with an editor, but what should I do?


PATH=C:\OSGEO4~1\apps\qgis\bin;C:\OSGEO4~1\apps\Python37;C:\OSGEO4~1\apps\Python37\Scripts;C:\OSGEO4~1\apps\qt5\bin;C:\OSGEO4~1\apps\Python27\Scripts;C:\OSGEO4~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem
GDAL_DATA=C:\OSGEO4~1\share\gdal
GDAL_DRIVER_PATH=C:\OSGEO4~1\bin\gdalplugins
GDAL_FILENAME_IS_UTF8=YES
GEOTIFF_CSV=C:\OSGEO4~1\share\epsg_csv
JPEGMEM=100
OSGEO4W_ROOT=C:\OSGEO4~1
PROJ_LIB=C:\OSGEO4~1\share\proj
PYTHONHOME=C:\OSGEO4~1\apps\Python37
PYTHONPATH=C:\OSGEO4~1\apps\Python37;C:\OSGEO4~1\apps\Python37\Scripts
QGIS_PREFIX_PATH=C:/OSGEO4~1/apps/qgis
QT_PLUGIN_PATH=C:\OSGEO4~1\apps\qgis\qtplugins;C:\OSGEO4~1\apps\qt5\plugins
QT_RASTER_CLIP_LIMIT=4096
VSI_CACHE=TRUE
VSI_CACHE_SIZE=100
O4W_QT_PREFIX=C:/OSGEO4~1/apps/Qt5
O4W_QT_BINARIES=C:/OSGEO4~1/apps/Qt5/bin
O4W_QT_PLUGINS=C:/OSGEO4~1/apps/Qt5/plugins
O4W_QT_LIBRARIES=C:/OSGEO4~1/apps/Qt5/lib
O4W_QT_TRANSLATIONS=C:/OSGEO4~1/apps/Qt5/translations
O4W_QT_HEADERS=C:/OSGEO4~1/apps/Qt5/include




Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden - Gewässer
Akademischer Geoinformatiker


Tel:   0049 911 12076 111
Mobil:   0049 170 33 20 494
Mail: thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


[cid:image002.png@01D6CED8.9320DAB0]LGA Institut für Umweltgeologie und 
Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de<http://www.lga-geo.de/>

[cid:image001.jpg@01D6CED7.59F46E10]


Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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 does not start after win10 update

2020-12-10 Thread Thomas Struller
Hallo,

this morning I got a update of win 10 (windows 10 pro, V 10.0.19042 Build 
19042). After this update Qgis 3.16.1 does not start anymore.

I got this message on startup: (sorry german) Der Prozedureinsprungpunkt 
"clCreateCommandQueueWithProperties wurde in der DLL 
"C\OSGEO4-~1\apps\binqgis_core.dll" nicht gefunden.

Can't start Qgis. I tried to start QGis 3.10 LTR the same issue.

Tried to update with osgeo4w, the same issue.

Does anyone have the same issue. What can I do to start Qgis?

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden - Gewässer
Akademischer Geoinformatiker


Tel:   0049 911 12076 111
Mobil:   0049 170 33 20 494
Mail: thomas.strul...@lga-geo.de<mailto:thomas.strul...@lga-geo.de>


[cid:image002.png@01D6CED7.4CB0E440]LGA Institut für Umweltgeologie und 
Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de<http://www.lga-geo.de/>

[cid:image001.jpg@01D6CED6.EDDC76A0]


Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
<>___
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] Reading stuff on QGIS deployment

2020-07-29 Thread Thomas Schüttenberg
Hi all!

I have been dealing with the distribution of a uniform QGIS (LTR) version and a 
centralized maintenance of common settings in our administration for some time 
now. In the meantime, a fairly good, independent and pragmatic approach has 
emerged, which enables QGIS to be made available simultaneously as a central 
network installation and as a preconfigured installation package.

Maybe my approach offers one or the other helpful suggestion, so I tried to 
describe it for you on qgis.de:
https://qgis.de/doku.php?id=site:deployment:zentral_en

The instructions (in German and English) are packed with sources and context, 
to show that this work was made possible in particular by free and open 
resources (a.k.a. FOSS!) in a lively community. - Even if you're not a software 
engineer, reading documentation and issue comments really helps. ;-)

Many thanks to all, happy QGISing! - feedback appreciated
best regards
Thomas

-- 
QGIS-DE e.V. | https://qgis.de | tho...@qgis.de
___
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] Using a NTv2 grid file for transforming between different CRSs.

2020-07-27 Thread Thomas Wunder
Hello,
I've created a new project (CRS=EPSG:25832 ETRS89/UTM32N)  using QGIS 3.10.8 
(on Debian 11, PROJ version 7.1.0) which contains several multi polygon layers 
(land parcels). Those layers were imported from shape files containing either 
EPSG:25832 (as is the project) or legacy EPSG:31468 (DHDN/3° Gauss-Krueger 
Zone 4) data.  QGIS gave me a couple of transformation options via Project -> 
Properties -> CRS -> Datum Transformations but none of those is accurate 
enough for my purposes. I need sub centimeter accuracy.

Therefore I'd like to go for an NTv2 grid based approach using a gsb file. I've 
put the grid file to /usr/share/proj/kanu_ntv2_oberfranken.gsb and added 
several rows to /usr/share/qgis/resources/srs.db like so (don't remember all 
the variations):

INSERT INTO tbl_datum_transform VALUES (9, 1000997, 4314, 4326, 9615, 
'kanu_ntv2_mittelfranken.gsb', NULL, NULL, NULL, NULL, NULL, NULL, 'Für ALKIS 
Bayern, amtliche Gitterdatei des LDBV', 'Für Genauigkeitsanforderungen im cm 
Bereich', 1, 0, NULL);

or

INSERT INTO tbl_datum_transform VALUES (9, 1000998, 4314, 4258, 9615, 
'kanu_ntv2_mittelfranken.gsb', NULL, NULL, NULL, NULL, NULL, NULL, 'Für ALKIS 
Bayern, amtliche Gitterdatei des LDBV', 'Für Genauigkeitsanforderungen im cm 
Bereich', 1, 0, 3339);

No matter what I add there QGIS never lists a new transformation option in 
Project -> Properties -> CRS -> Datum Transformations -> '+' when selecting 
Source = EPSG:31468 and Destination = EPSG:25832. 

I only get
+proj=pipeline +step +inv +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=450 
+y_0=0 +ellps=bessel +step +proj=hgridshift +grids=de_adv_BETA2007.tif +step 
+proj=utm +zone=32 +ellps=GRS80

+proj=pipeline +step +inv +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=450 
+y_0=0 +ellps=bessel +step +proj=push +v_3 +step +proj=cart +ellps=bessel 
+step +proj=helmert +x=598.1 +y=73.7 +z=418.2 +rx=0.202 +ry=0.045 +rz=-2.455 
+s=6.7 +convention=position_vector +step +inv +proj=cart +ellps=GRS80 +step 
+proj=pop +v_3 +step +proj=utm +zone=32 +ellps=GRS80

+proj=pipeline +step +inv +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=450 
+y_0=0 +ellps=bessel +step +proj=push +v_3 +step +proj=cart +ellps=bessel 
+step +proj=helmert +x=597.1 +y=71.4 +z=412.1 +rx=0.894 +ry=0.068 +rz=-1.563 
+s=7.58 +convention=position_vector +step +inv +proj=cart +ellps=GRS80 +step 
+proj=pop +v_3 +step +proj=utm +zone=32 +ellps=GRS80

+proj=pipeline +step +inv +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=450 
+y_0=0 +ellps=bessel +step +proj=push +v_3 +step +proj=cart +ellps=bessel 
+step +proj=helmert +x=584.8 +y=67 +z=400.3 +rx=0.105 +ry=0.013 +rz=-2.378 
+s=10.29 +convention=position_vector +step +inv +proj=cart +ellps=GRS80 +step 
+proj=pop +v_3 +step +proj=utm +zone=32 +ellps=GRS80

+proj=pipeline +step +inv +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=450 
+y_0=0 +ellps=bessel +step +proj=push +v_3 +step +proj=cart +ellps=bessel 
+step +proj=helmert +x=590.5 +y=69.5 +z=411.6 +rx=-0.796 +ry=-0.052 +rz=-3.601 
+s=8.3 +convention=position_vector +step +inv +proj=cart +ellps=GRS80 +step 
+proj=pop +v_3 +step +proj=utm +zone=32 +ellps=GRS80

I would expect there to be something like +nadgrids=kanu_ntv2_oberfranken.gsb.

What could be going wrong here?
Am I missing something? 

Thank you in advance and best regards!
 Thomas



___
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] (how to) register gsb transformation in proj.db?

2020-06-05 Thread Thomas Schüttenberg

> Even Rouault  hat am 05.06.2020 11:53 geschrieben:
> 
> 
> On vendredi 5 juin 2020 11:13:09 CEST Thomas Schüttenberg wrote:
> I'm not super familiar with the QGIS details about the selection and 
> preference settings of transformations. I now that Nyall made a lot of 
> efforts to make this as smooth as possible (difficult challenge to have user 
> friendliness and accurate behaviour in that field!).

Very true!

> Looking at your record for minden.gsb, it uses a very large area of use. Once 
> integrated into EPSG, it will probably use a much smaller one fitted to the 
> grid extent, and I'm not sure how QGIS will react when zooming out 
> sufficiently so that the grid doesn't cover the displayed extent.
> You could simulate that by creating a new record into the area table which 
> uses the real extent of your grid

Yes, I already thought of that, too. Can the extend be derrived from a 
gsb-file? Otherwise I have to estimate.
___
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) register gsb transformation in proj.db?

2020-06-05 Thread Thomas Schüttenberg
Hi all!

Because I better should not roll out QGIS with the afore mentioned premanent 
ballpark-warning in place, I investigatetd further and stumbled across an 
"allowFallback"-setting:

By placing a default datum transformation in the settings/options.../CRS you 
get new entries in your QGIS3.ini [find it on win at %APPDATA%\QGIS\QGIS3\], 
which are the operation parameters themselve and a setting to allow the 
approximate “ballpark” transformation [...] between a source and destination 
CRS pair, in the case that the preferred coordinate operation fails".

[Projections]
EPSG%3A31467\EPSG%3A25832_allowFallback=true
EPSG%3A31467\EPSG%3A25832_coordinateOp="+proj=pipeline +step +inv +proj=tmerc 
+lat_0=0 +lon_0=9 +k=1 +x_0=350 +y_0=0 +ellps=bessel +step +proj=hgridshift 
+grids=Minden.gsb +step +proj=utm +zone=32 +ellps=GRS80"

This is also writen to any project file containing layers with the crs', 
covered by the default datum transformation. It appears within in the tag 
 and causes the warning to 
show up every time this project will be loaded, although the datum 
transformation is already working an no fallback seems necessary. 

If the _allowFallback=-setting in QGIS3.ini is (manually) edited to 'false', 
newly saved project files also contain  and 
the warning will not be displayed again on project load.

Reference to my quite hacky findings can be found in the QGIS Python API Doc, 
search for 'allowFallback': 
https://qgis.org/pyqgis/3.10/search.html?q=allowFallback
Some of the allowFallback stuff is labeled "New in version 3.12", however I 
currently investigate on 3.10.5-LTR. Might this indicate a backporting issue? 
(Otherwise, the implementation of my datum transformation very well might still 
be incomplete, don't know.)

Just wanted to inform you about my (current) workaround, any further hints are 
certainly appreciated.
Greetings!
Thomas

> Thomas Schüttenberg  hat am 04.06.2020 11:28 geschrieben:
> 
>  
> Hi Even,
> thank you! After the
> 
> INSERT INTO "grid_transformation" VALUES(
> 'PROJ','Minden','DHDN to ETRS89 (Minden)','DHDN to ETRS89 for City of 
> Minden.','For applications requiring an accuracy of 
> cm.','EPSG','9615','NTv2','EPSG','4313','EPSG','4258','EPSG','1625',NULL,'EPSG','8656','Latitude
>  and longitude difference 
> file','Minden.gsb',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);
> 
> (adapting the BWTA2017 record) and restarting QGIS the transformation appears 
> in the Select Datum Transformations-dialog. It seems to work and the result 
> is visibly more accurate than the BETA2007.
> 
> But I get a waring everytime the transformation is applied or loaded:
> 
> An alternative, ballpark-only transform was used when transforming 
> coordinates between EPSG:31467 - DHDN / 3-degree Gauss-Kruger zone 3 and 
> EPSG:25832 - ETRS89 / UTM zone 32N. The results may not match those obtained 
> by using the preferred operation:
> +proj=pipeline +step +inv +proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=350 
> +y_0=0 +ellps=bessel +step +proj=hgridshift +grids=Minden.gsb +step +proj=utm 
> +zone=32 +ellps=GRS80
> Possibly an incorrect choice of operation was made for transformations 
> between these reference systems. Check the Project Properties and ensure that 
> the selected transform operations are applicable over the whole extent of the 
> current project.
> 
> (in German:
> Eine alternative ungenaue Transformaton wurde zur Koordinatentransformation 
> zwischen EPSG:31467 - DHDN / 3-degree Gauss-Kruger zone 3 und EPSG:25832 - 
> ETRS89 / UTM zone 32N. Die Ergebnisse könnten nicht mit denen der bevorzugten 
> Operation übereinstimmen. 
> Möglicherweise wurde eine falsche Operation zwischen den Referenzsystemen 
> gewählt. Bitte die Projekteigenschaften prüfen und sicherstellen das die 
> gewählten Transformationsoperationen auf das ganze Projektausmaß anwendbar 
> sind.)
> 
> Don't know what exactly this tries to tell me, but I think something is still 
> missing and so far I was not able to find a correct "operation" to point to 
> in proj.db.
> Or is it because of the area_of_use, which is far bigger than the grid 
> extend? Or the missing accuracy? - Sarching for ballpark I found this issue 
> #34983[1] but can't really say that I understand the comments.
> 
> [1] https://github.com/qgis/QGIS/issues/34983
> 
> Btw, certainly you are absolutely right regarding the publication with PROJ 
> and registration of our gsb-file and therefore I contacted the authors for 
> the nessesary informations...
> 
> Greetings
> Thomas
> 
> 
> >

Re: [Qgis-user] (how to) register gsb transformation in proj.db?

2020-06-04 Thread Thomas Schüttenberg
Hi Even,
thank you! After the

INSERT INTO "grid_transformation" VALUES(
'PROJ','Minden','DHDN to ETRS89 (Minden)','DHDN to ETRS89 for City of 
Minden.','For applications requiring an accuracy of 
cm.','EPSG','9615','NTv2','EPSG','4313','EPSG','4258','EPSG','1625',NULL,'EPSG','8656','Latitude
 and longitude difference 
file','Minden.gsb',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);

(adapting the BWTA2017 record) and restarting QGIS the transformation appears 
in the Select Datum Transformations-dialog. It seems to work and the result is 
visibly more accurate than the BETA2007.

But I get a waring everytime the transformation is applied or loaded:

An alternative, ballpark-only transform was used when transforming coordinates 
between EPSG:31467 - DHDN / 3-degree Gauss-Kruger zone 3 and EPSG:25832 - 
ETRS89 / UTM zone 32N. The results may not match those obtained by using the 
preferred operation:
+proj=pipeline +step +inv +proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=350 
+y_0=0 +ellps=bessel +step +proj=hgridshift +grids=Minden.gsb +step +proj=utm 
+zone=32 +ellps=GRS80
Possibly an incorrect choice of operation was made for transformations between 
these reference systems. Check the Project Properties and ensure that the 
selected transform operations are applicable over the whole extent of the 
current project.

(in German:
Eine alternative ungenaue Transformaton wurde zur Koordinatentransformation 
zwischen EPSG:31467 - DHDN / 3-degree Gauss-Kruger zone 3 und EPSG:25832 - 
ETRS89 / UTM zone 32N. Die Ergebnisse könnten nicht mit denen der bevorzugten 
Operation übereinstimmen. 
Möglicherweise wurde eine falsche Operation zwischen den Referenzsystemen 
gewählt. Bitte die Projekteigenschaften prüfen und sicherstellen das die 
gewählten Transformationsoperationen auf das ganze Projektausmaß anwendbar 
sind.)

Don't know what exactly this tries to tell me, but I think something is still 
missing and so far I was not able to find a correct "operation" to point to in 
proj.db.
Or is it because of the area_of_use, which is far bigger than the grid extend? 
Or the missing accuracy? - Sarching for ballpark I found this issue #34983[1] 
but can't really say that I understand the comments.

[1] https://github.com/qgis/QGIS/issues/34983

Btw, certainly you are absolutely right regarding the publication with PROJ and 
registration of our gsb-file and therefore I contacted the authors for the 
nessesary informations...

Greetings
Thomas


> Even Rouault  hat am 3. Juni 2020 15:37 
> geschrieben:
> 
> 
> > Is it correct, that the tranformations in this dialog are read from
> > \share\proj\proj.db and therefore this is the place to add my
> > configuration?
> Yes
> > I found that there is a record for the (not shipped)
> > BWTA2017.gsb. in table grid_transformation of proj.db. So, do I just have
> > to add a record to grid_transformation for my gridfile in the same way?
> Yes
> > What would be the correct parameters? Is there another table that has to be
> > adapted to make it work?
> The critical parameters to set are the EPSG code of the source and target 
> CRS. You must use the geographic CRS ones that correspond to the projected 
> one you mentions. So EPSG:4314 (DHDN) as the source and EPSG:4258 (ETRS89) as 
> the target. Starting from the record for BWTA2017 should be a good idea.
> For the area of use, you may want to look at the "area" table for a code that 
> fits the bounding box of the grid, or create a new one if there is no match
> For the auth_name of the transformation use 'PROJ', and for the code give 
> some name like 'EPSG_4314_TO_EPSG_4258_FOR_AREA_'
> Utimately, if this grid is open data matching the criteria mentioned at 
> https://github.com/OSGeo/PROJ-data, you may want to submit for inclusion here 
> *and* also make sure the grid is registered in the EPSG database by 
> contacting IOGP:
> http://www.epsg.org/EPSGDataset/Makechangerequest.aspx
> Once donce, that would avoid you in the future to have to hack the PROJ 
> database.
> Note: there are a number of other grids for Germany listed at
> https://github.com/OSGeo/proj-datumgrid/issues that would be candidates for 
> such a process.
> Even
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
___
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) register gsb transformation in proj.db?

2020-06-03 Thread Thomas Schüttenberg
Hi there!

After upgrading my QGIS rollout from 3.4 to 3.10 I try to implement our local 
gsb gridfile for layer transformations: DHDN GK3 (EPSG:31467) to ETRS89 UTM 32N 
(EPSG:25832).

Since Proj 6 (QGIS 3.10) the former method of just placing the .gsb to 
\share\proj and updating tbl_srs in \apps\qgis-ltr\resources\srs.db in order to 
make this transformation the default seems to be unsufficient now. The 
configurations do not show up when asked for datum transformation if several 
are available [1]. 

Is it correct, that the tranformations in this dialog are read from 
\share\proj\proj.db and therefore this is the place to add my configuration?
I found that there is a record for the (not shipped) BWTA2017.gsb. in table 
grid_transformation of proj.db. So, do I just have to add a record to 
grid_transformation for my gridfile in the same way? What would be the correct 
parameters? Is there another table that has to be adapted to make it work?

cheers
Thomas

[1] 
https://docs.qgis.org/3.10/en/docs/user_manual/working_with_projections/working_with_projections.html#datum-transformations
___
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] "Oops! No help available"

2020-05-07 Thread Thomas Schüttenberg
Hi Richard,
thanks for your suggestions.
I tested with QGIS versions 3.4.12, 3.10.5, 3.12.1, 3.13.0 and the results are 
all the same:

1) QDesktopServices.openUrl(QUrl(... from the Python console works allways, 
opens in the browser.
2) Menu Help (F1) or any other Help-button in a dialog gives me the turning 
hourglass followed by nohelp.html

Resolving the helpPath variables 
https://docs.qgis.org/$qgis_short_version/$qgis_locale/docs/user_manual/ in the 
systems settings has no effect. 
Using http:// or https:// also makes no difference.

It is absolutely possible that it is a local problem, but I have no clue.

Cheers
Thomas

> Richard Duivenvoorde  hat am 7. Mai 2020 12:47 
> geschrieben:
> 
>  
> Hi Thomas,
> 
> Which QGIS version are you trying?
> 
> With me for example if I run 3.10 I I go to the WMS-dialog and push the
> button there, I see in (I have a debug build on Linux) in the log output:
> 
> Trying to open help using key
> 'working_with_ogc/ogc_client_support.html'. Full URI is
> 'https://docs.qgis.org/3.10/en/docs/user_manual/working_with_ogc/ogc_client_support.html'…
> 
> 3.12 shows:
> 
> Trying to open help using key
> 'working_with_ogc/ogc_client_support.html'. Full URI is
> 'https://docs.qgis.org/3.12/en/docs/user_manual/working_with_ogc/ogc_client_support.html'…
> 
> And those are then (serverside) being redirected to 'testing':
> 
> https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/ogc_client_support.html
> 
> Code for this is around here:
> 
> https://github.com/qgis/QGIS/blob/master/src/gui/qgshelp.cpp#L81-L178
> 
> It tests if it is a valid url en and then uses Qt-Desktop-services tools
> to open it:
> 
> https://github.com/qgis/QGIS/blob/master/src/gui/qgshelp.cpp#L38
> 
> You should be able to test this in the Python console:
> 
> QDesktopServices.openUrl(QUrl('https://docs.qgis.org/3.12/en/docs/user_manual/working_with_ogc/ogc_client_support.html'))
> 
> Is that opening you browser with:
> 
> https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/ogc_client_support.html
> ?
> 
> Because this is vanilla Qt, I would think that it will use your proxy
> settings... It is NOT using/going through QNetworkAccessManager, so the
> Network Logging plugin will not pick it up.
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> 
> 
> 
> 
> 
> 
> On 5/7/20 11:55 AM, Thomas Schüttenberg wrote:
> > Hi!
> > Unfortunately I constantly face the issue, that the QGIS help is not 
> > retrievable here from my office pc (windows), I only get the "Oops no help 
> > available" site and (most likely) a timeout. This affects at least any QGIS 
> > 3.x version so far. No matter if the options setting HELP_LOCATION is set 
> > to the default path or an explicit url without variables. - At home (no 
> > proxy at all; ubuntu) it works though!
> > 
> > First thing you think is certaily: bad proxy. But the proxy setting (ever 
> > since) is "use DefaultProxy", which works for any other part of QGIS, 
> > including open github pages in browser (chrome) from the add plugin dialog 
> > (if that is comparable).
> > 
> > I was not able to pick up the request in the browser, because it opens a 
> > new browser tab. I also tried the Network Logging plugin to get some 
> > insight, but it did not show anything, maybe it does not listen to such 
> > requests.
> > 
> > Does anybody has a tip for me?
> > 
> > Cheers
> > Thomas
> > ___
> > 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] "Oops! No help available"

2020-05-07 Thread Thomas Schüttenberg
Hi!
Unfortunately I constantly face the issue, that the QGIS help is not 
retrievable here from my office pc (windows), I only get the "Oops no help 
available" site and (most likely) a timeout. This affects at least any QGIS 3.x 
version so far. No matter if the options setting HELP_LOCATION is set to the 
default path or an explicit url without variables. - At home (no proxy at all; 
ubuntu) it works though!

First thing you think is certaily: bad proxy. But the proxy setting (ever 
since) is "use DefaultProxy", which works for any other part of QGIS, including 
open github pages in browser (chrome) from the add plugin dialog (if that is 
comparable).

I was not able to pick up the request in the browser, because it opens a new 
browser tab. I also tried the Network Logging plugin to get some insight, but 
it did not show anything, maybe it does not listen to such requests.

Does anybody has a tip for me?

Cheers
Thomas
___
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-user Digest, Vol 169, Issue 8 / Relation table

2020-03-04 Thread Thomas Struller
Hall Matt,

you manged your problem, that ist very fine. Would you please so kind to 
explain much more in detail how. I have nearly the same challenge but until now 
I did not find a proper solution. Your solution seems to be thats what i'm 
looking for, but I can't follow your description.

Kind regards / Mit freundlichen Grüßen

Thomas Struller
Diplom Geologe BDG, V18
Akademischer Geoinformatiker
Sachverständiger nach §18 BBodSchG,
SG1 flächenhafte Erkundung und historische Recherche
SG2 Pfad Boden - Gewässer

Mail  thomas.strul...@lga-geo.de




 Weitergeleitete Nachricht 
Von: qgis-user-requ...@lists.osgeo.org<mailto:qgis-user-requ...@lists.osgeo.org>
Antwort an: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org>
An: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org>
Betreff: Qgis-user Digest, Vol 169, Issue 8
Datum: Wed, 04 Mar 2020 12:00:02 -0800


Re: Relations table (Matt Boyd)

Handelsregister: AmtsG Nürnberg HRB 18895
Umsatzst.-IdNr.:DE219281492
StNr.:  241/131/30489

Geschäftsführer: Carlo Schillinger, Dr. Jürgen Kisskalt
___
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] Setting default options for advanced configuration snapping

2019-12-18 Thread Thomas Wyse
Version3.10.0-A

I have a project file with many layers with different snapping parameters,
and I would like to set identical snapping parameters for all layers in the
Advanced Configuration mode.  I'd like the snapping type, tolerance and
units to be identical.  Is there an easy way to make them all identical, or
do I have to set them all manually?

*Thomas Wyse | Forester*
608.606.5815



416 East Court Street,Viroqua, Wisconsin 54665
http://www.thomaswyseforestry.com
___
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] Modeler: point input from clicked coordinates

2019-09-13 Thread Thomas Schüttenberg
Hi Alexander,

you are right. After adding the model into the toolbox and execuing it from 
there the point clicking works as expected. - When executing the model from the 
model builder window the picking functionality is not there, though.

never mind, thanks!

Thomas

> Alexander Bruy  hat am 13. September 2019 um 10:42 
> geschrieben:
> 
> 
> Hi Thomas,
> 
> there is no need to select point in the modeler. Just add point input
> and use it your model.
> When you will run your model you will be able to select point on the canvas.
> 
> Hope this helps.
> 
> пт, 13 вер. 2019 о 11:31 Thomas Schüttenberg  пише:
> >
> > Hi!
> > Just started with QGIS (3.4) modeler and stumbled across a - hopefully 
> > simple - question: how to input a point (coordinates) picked by a mouse 
> > click?
> >
> > When using the shortest path (point to point) alg direct from the 
> > processing toolbox I have the oportunity to pick start and end points with 
> > a mouse-click after clicking the button with the three dots [...]; the 
> > window moves aside and the mouse cursor turns into a crosshair for picking. 
> > -  So far, so good.
> >
> > But when using this algorithm in a model the mentioned button doesn't work 
> > like this: the window minimizes, but the cursor keeps beeing an arrow and 
> > does not pick a coordinate/point.
> > My input parameter for start and end is 'point' with no default defined.
> >
> > Any hint and help appreciated, thanks.
> >
> > Thomas
> > ___
> > 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
> 
> 
> 
> -- 
> Alexander Bruy
___
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] Modeler: point input from clicked coordinates

2019-09-13 Thread Thomas Schüttenberg
Hi!
Just started with QGIS (3.4) modeler and stumbled across a - hopefully simple - 
question: how to input a point (coordinates) picked by a mouse click?

When using the shortest path (point to point) alg direct from the processing 
toolbox I have the oportunity to pick start and end points with a mouse-click 
after clicking the button with the three dots [...]; the window moves aside and 
the mouse cursor turns into a crosshair for picking. -  So far, so good.

But when using this algorithm in a model the mentioned button doesn't work like 
this: the window minimizes, but the cursor keeps beeing an arrow and does not 
pick a coordinate/point. 
My input parameter for start and end is 'point' with no default defined.

Any hint and help appreciated, thanks.

Thomas
___
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: raster layer turn white

2019-08-19 Thread Thomas Schüttenberg
Hi there!

I'm trying to serve a raster terrain model as a wms with QGIS server 3.4. The 
layer is a virtual raster consiting of geotiffs with external pyramids and the 
server has access to all files. 
As well as in QGIS desktop the wms it is correctly displayed when served (QGIS 
as client), but only at relatively small scales (in this case > ~1:12800). When 
zooming in, the wms rasterlayer disapears, or better said, only a white picture 
is served. 

I have no clue why this happens, there are no errors in the logs. Has anyone 
experienced such behavior? 

Note: certainly there is no scale dependant visibility configured in the .qgs! 
;-)

All the best
Thomas
___
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] Vertex Tool: Move multiple nodes at the same time QGIS 3

2019-04-25 Thread Matthew Yandell-Thomas
Hi all,

Is it possible to move multiple nodes at the same time with the edit vertex
tool in QGIS 3?

It was possible to do so in 2.XX but I can't seem to figure it out in 3.

Many thanks,

Matthew

-- 



*Matthew Yandell-ThomasSenior GIS AnalystEnvironment Systems*
Tel: +44 (0) 1970 626688
www.envsys.co.uk

The information contained in this e-mail is intended only for the use of
the person(s) to whom it is addressed and may contain confidential or
privileged information. If you have received this e-mail in error please
contact the sender and delete the material without copying, distributing or
disclosing the content. All reasonable precautions have been taken to
ensure that this e-mail is free from any virus, however, the recipient
should verify this to be the case. Please 'think before you print'
___
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] River Flood modelling

2019-01-26 Thread Thomas Götzelt

Hi Nicolas and Jonathan,

and not to forget Whitebox as extra hydrological software the results of
which may be imported:

http://www.uoguelph.ca/~hydrogeo/Whitebox/

Thomas

Am 25.01.2019 um 23:54 schrieb Jonathan Moules:

Hi Nicolas,

If you don't get a reply here that solves your issue it may be worth
asking on the GRASS mailing list. I know GRASS has a lot of
hydrographic tools and it's integrated into QGIS so...

https://lists.osgeo.org/mailman/listinfo/grass-user

Jonathan


On 2019-01-25 06:52, Nicolas Cadieux wrote:

Hi,

I know it can't be that simple but I would like to model a river
flood in a mountainous area.  I am looking for something like the
Saga Lake flood module with a LiDAR derived DEM, a seed but with the
possibility to add X amount of water.  It's basically a lake and dam
scenario and you just add water and figure out where the water goes
down the valley when it goes over the dam. Of course I can't use the
normal lake flood modules because rivers are not flat therefore I
need something that takes the downhill valley shape into
consideration.  Also, I am not looking for a simple channel network
map with lines and points. I would like the actual polygon or raster
representation of the 2D shape of the river channel.  Can you please
point me in the right direction.

Nicolas

___
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 and pg_service.conf

2018-10-10 Thread Thomas Schüttenberg
Update:
in the apache configuration for a QGIS server 3.2 (on windows) a 
pg_service.conf must be set with: 
FcgidInitialEnv PGSERVICEFILE 
[server]\\dings\\bums\\pgconf\\pg_service.conf 
not with SetEnv ... (2.18)

This aspect has to be corrected in the documentation[1], if it is not os 
specific, I think.

[1] 
https://docs.qgis.org/testing/en/docs/training_manual/qgis_server/install.html

happy QGISing
Thomas


> Thomas Schüttenberg  hat am 9. Oktober 2018 um 15:23 
> geschrieben:
> 
> 
> Hi again,
> 
> in further tests - now with QGIS server 3.2.3 - the SetEnv PGSERVICEFILE 
> resp. PGSYSCONFDIR configuration of my httpd-vhosts.conf did not work as it 
> did in QGIS 2.18.24  (see below) :-(
> 
> I tried several notations of the file path an also put pg_service.conf on the 
> local machine. No effect. QGIS 3.2.3 Desktop is fine with the service file 
> connection.
> 
> NB: the authentication system has not been used, as supposed here 
> https://lists.osgeo.org/pipermail/qgis-user/2018-September/041021.html 
> 
> clueless (again)
> Thomas
> 
> > Thomas Schüttenberg  hat am 8. Oktober 2018 um 11:20 
> > geschrieben:
> > 
> > 
> > Hi!
> > Picking up my earlier thread on pg_service.conf in QGIS server 
> > [https://lists.osgeo.org/pipermail/qgis-user/2018-September/041014.html] I 
> > can gladly tell you that I figured it out!
> > 
> > As said, setting the environment variables on the operating system(s) was 
> > ok, but I missed to define it ALSO in the apache configuration 
> > (httpd-vhosts.conf), as it is stated in the documentation: 
> > https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/ogc_server_support.html#connection-to-service-file
> >  
> > https://docs.qgis.org/2.18/en/docs/training_manual/qgis_server/install.html 
> > 
> > After fiddeling with the UNC for the path to the service file (between 
> > unix/linux doc and windows machine) it both worked on win 7 64bit with 
> > SetEnv PGSERVICEFILE [server]\\dings\\bums\\pgconf\\pg_service.conf
> > or
> > SetEnv PGSYSCONFDIR \\\\[server]\\dings\\bums\\pgconf\\
> > 
> > (This tread was also very helpful 
> > http://osgeo-org.1560.x6.nabble.com/pg-services-on-Windows-td5284889.html )
> > 
> > happy QGISing!
> > Thomas
___
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 and pg_service.conf

2018-10-09 Thread Thomas Schüttenberg
Hi again,

in further tests - now with QGIS server 3.2.3 - the SetEnv PGSERVICEFILE resp. 
PGSYSCONFDIR configuration of my httpd-vhosts.conf did not work as it did in 
QGIS 2.18.24  (see below) :-(

I tried several notations of the file path an also put pg_service.conf on the 
local machine. No effect. QGIS 3.2.3 Desktop is fine with the service file 
connection.

NB: the authentication system has not been used, as supposed here 
https://lists.osgeo.org/pipermail/qgis-user/2018-September/041021.html 

clueless (again)
Thomas

> Thomas Schüttenberg  hat am 8. Oktober 2018 um 11:20 
> geschrieben:
> 
> 
> Hi!
> Picking up my earlier thread on pg_service.conf in QGIS server 
> [https://lists.osgeo.org/pipermail/qgis-user/2018-September/041014.html] I 
> can gladly tell you that I figured it out!
> 
> As said, setting the environment variables on the operating system(s) was ok, 
> but I missed to define it ALSO in the apache configuration 
> (httpd-vhosts.conf), as it is stated in the documentation: 
> https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/ogc_server_support.html#connection-to-service-file
>  
> https://docs.qgis.org/2.18/en/docs/training_manual/qgis_server/install.html 
> 
> After fiddeling with the UNC for the path to the service file (between 
> unix/linux doc and windows machine) it both worked on win 7 64bit with 
> SetEnv PGSERVICEFILE [server]\\dings\\bums\\pgconf\\pg_service.conf
> or
> SetEnv PGSYSCONFDIR [server]\\dings\\bums\\pgconf\\
> 
> (This tread was also very helpful 
> http://osgeo-org.1560.x6.nabble.com/pg-services-on-Windows-td5284889.html )
> 
> happy QGISing!
> Thomas
___
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 and pg_service.conf

2018-10-08 Thread Thomas Schüttenberg
Hi!
Picking up my earlier thread on pg_service.conf in QGIS server 
[https://lists.osgeo.org/pipermail/qgis-user/2018-September/041014.html] I can 
gladly tell you that I figured it out!

As said, setting the environment variables on the operating system(s) was ok, 
but I missed to define it ALSO in the apache configuration (httpd-vhosts.conf), 
as it is stated in the documentation: 
https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/ogc_server_support.html#connection-to-service-file
 
https://docs.qgis.org/2.18/en/docs/training_manual/qgis_server/install.html 

After fiddeling with the UNC for the path to the service file (between 
unix/linux doc and windows machine) it both worked on win 7 64bit with 
SetEnv PGSERVICEFILE [server]\\dings\\bums\\pgconf\\pg_service.conf
or
SetEnv PGSYSCONFDIR [server]\\dings\\bums\\pgconf\\

(This tread was also very helpful 
http://osgeo-org.1560.x6.nabble.com/pg-services-on-Windows-td5284889.html )

happy QGISing!
Thomas
___
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 and pg_service.conf

2018-09-06 Thread Thomas Schüttenberg
Hi!

Yes, I did that. The environment variable PGSYSCONFDIR is set also on the 
server machine, it points to the same connection file and it works: QGIS on the 
server pc can load layers with this service parameter.

That's why I expected my (bundeled) QGIS server to do the same and use the pg 
service within the wms, but it gives only an empty wms, named like the .qgs, 
without the actual layers.
I'm using QGIS 2.18.23 here, maybe it's a bug?

Beste regards
Thomas


> Carlos López PSIG  hat am 6. September 2018 um 13:03 
> geschrieben:
> 
> 
> Hi,
> You should to define environment variables to use pg_service.conf in server
> too.
> Of course, the service should to use tha same name.
> 
> Test without define connection to database using "service", therefore write
> host/port/databse/user& password to confirm that the connection it's ok.
> 
> luck,
> 
> Best regards,
> 
> * <http://psig.es>*
> *PSIG*
> Implementació, gestió i formació SIG
> 
> *Carlos López Quintanilla*
> 
> www.psig.es
> carlos.lo...@psig.es
> +34 699.680.261
> 
> Nota legal: Este mensaje y cualquier archivo adjunto está destinado
> únicamente a la
> persona a quien se dirige y es confidencial. Si usted ha recibido este
> mensaje por
> error, por favor, comuníqueselo al remitente y bórrelo inmediatamente. La
> utilización ,
> revelación y/o reproducción del mensaje puede constituir un delito.
> 
> Protección de Datos: Le informamos que sus datos de contacto electrónico se
> hallan
> incorporados a un fichero titularidad de CARLOS LÓPEZ QUINTANILLA, al
> objeto de
> envío de información, respuesta a consultas y contactos genéricos.
> Puede ejercer los derechos de acceso, rectificación, cancelación y
> oposición que
> establece la LOPD en cualquier momento, mediante escrito, acompañado de
> copia de
> documento oficial que le identifique, dirigido a CARLOS LÓPEZ QUINTANILLA
> CL. P
> arellada, 8 E2 de Corbera de Llobregat, 08757-Barcelona.
> 
> También podrá oponerse a nuestros envíos de comunicaciones comerciales
> (Art.21.2
> de la LSSI) a través de la siguiente dirección de correo electrónico:
> ad...@psig.es
> 
> 
> 
> El jue., 6 sept. 2018 a las 12:37, Thomas Schüttenberg ()
> escribió:
> 
> > Hi there!
> >
> > I wonder if/how the QGIS server (2.18) is able to use PostgeSQL service
> > connection files [1].
> >
> > I have a project file with postgis layers, that are connected via the
> > service parameter (instead of hostname/port...). These are defined in
> > pg_service.conf and work.
> >
> > When I serve this project with QGIS server 2.18 as wms, connecting the wms
> > (in QGIS desktop) works, but it does not contain any layers.
> >
> > A WMS made from the same project and datasource but with full database
> > credentials works als usual.
> >
> > Thanks for any hint, maybe I just miss something.
> >
> > Cheers
> > Thomas
> > ___
> > 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] QGIS server and pg_service.conf

2018-09-06 Thread Thomas Schüttenberg
Hi there!

I wonder if/how the QGIS server (2.18) is able to use PostgeSQL service 
connection files [1]. 

I have a project file with postgis layers, that are connected via the service 
parameter (instead of hostname/port...). These are defined in pg_service.conf 
and work.

When I serve this project with QGIS server 2.18 as wms, connecting the wms (in 
QGIS desktop) works, but it does not contain any layers.

A WMS made from the same project and datasource but with full database 
credentials works als usual.

Thanks for any hint, maybe I just miss something.

Cheers
Thomas
___
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 Anwendertreffen 14.09.2018

2018-09-03 Thread Thomas Schüttenberg
Liebe QGIS- und FOSSGIS-Freunde!

Es sei nochmal erinnert an das QGIS Anwendertreffen am Freitag, den 14. 
September. DAS QGIS Community Event zum Erscheinen von QGIS 3.4 LTR beginnt um 
9:00 Uhr, in diesem Jahr in Essen im Haus der Technik direkt am Hauptbahnhof. 

Das Programm aus Vorträgen von QGIS Anwendern sowie Themen-Stammtischen und 
Workshops, u.a. zu QGIS 3 oder XPlanung mit QGIS findet sich auf der QGIS-DE 
Webseite https://qgis.de 

Die Teilnahme an Vorträgen und Diskussionen (Themen-Stammtischen) ist wie immer 
kostenfrei. Für die Teilnahme an einem Workshop wird ein Kostenbeitrag von 100 
Euro erhoben. Es gibt noch freie Plätze! Die Anmeldung  schließt in zehn Tagen, 
am Donnerstag den 13.9.

Schnell noch anmelden, wir freuen uns auf Euch!

https://qgis.de/doku.php?id=site:anwendertreffen:essen2018

herzliche Grüße
Thomas Schüttenberg
QGIS-DE e.V. - Anwendergruppe Deutschland



-- 
QGIS Anwendergruppe Deutschland e.V. | https://qgis.de| anwen...@qgis.de 
qgis...@lists.osgeo.org| QGIS rockt! => https://plugins.qgis.org/planet/
___
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] Error while editing Oracle View without ROWID

2018-07-13 Thread Thomas Baschetti
Hi,

have a problem here with editing an Oracle View:
QGIS 3.2.0-Bonn

The view is defined between a table with geodata and an alphanumeric:

CREATE OR REPLACE FORCE EDITIONABLE VIEW "C ## GIS". "VW_GEO_TEST" ("GID",
"PNAME", "GEOM",
CONSTRAINT "VW_TEST_PK" PRIMARY KEY ("GID") DISABLE) AS
  (select b.gid, a.name pname, a.geom
from GEO_QGIS_TEST a, geo_alpha_test b
where to_char (id) = b.gid);


To edit the view I defined an instead of triggers, for insert:

CREATE OR REPLACE EDITIONABLE TRIGGER "C ## GIS". "IOFT_INSERT_VW_GEO_TEST"
INSTEAD OF INSERT ON VW_GEO_TEST
FOR EACH ROW
DECLARE
BEGIN
insert into GEO_QGIS_TEST (id, name, geom) values ​​(to_number (: NEW.gid)
,: NEW.pname,: NEW.geom);
insert into geo_alpha_test (gid, at1) values ​​(: NEW.gid,: NEW.pname);
END ioft_insert_vw_all_abs;
/
ALTER TRIGGER "C ## GIS". "IOFT_INSERT_VW_GEO_TEST" ENABLE;


In the view I can easily insert objects via SQL, they appear correctly in
both tables.

If I digitize a new object via QGIS and then save the changes, the data is
also saved in both tables, but then QGIS issues an error message:

==
Konnte Änderungen am Layer VW_GEO_TEST nicht festschreiben

Fehler: FEHLER: Ein Objekt nicht hinzugefügt.

Datenanbieterfehler:
  Oracle-Fehler beim Attributhinzufügen: Oracle-Fehler: Konnte
Objektkennung -4 nicht laden
SQL: ORA-01445: Kann keine ROWID aus einer Join-View ohne Basistabelle
(der View) auswählen oder erfassen
Konnte Anweisung nicht ausführen
Fehler: SELECT "GID" FROM "C##GIS"."VW_GEO_TEST" WHERE ROWID=:a

==


The error message is somewhat misleading here, the object was actually
saved in the database, but then QGIS probably tries to read the object
again via a ROWID and fails.
Unfortunately, this view has no ROWID:

> select a.rowid, a. * from VW_GEO_TEST a;
results
ORA-01445: Can not select or capture a ROWID from a join view without a
base table (the view)
01445. 0 - "can not select ROWID from, or sample, a join view without a
key-preserved table"
* Cause:
* Action:
Error in line: 59 Column: 25

Is this so intentional or a mistake of QGIS? Mistake of me?
Looking at the sourcecode at src/providers/oracle/qgsoracleprovider.cpp it
seems to that this is done intentionally but perhaps changeable.
My poor C++-Skills are not good enough to estimate the effort... Should i
ask in qgis-developer?

I read a similar question on
https://gis.stackexchange.com/questions/188339/edits-in-oracle-spatial-layers
but not a solution for me.

Regards
Thomas
___
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] Issue editing nodes on a PostGIS table via QGIS

2018-04-25 Thread Thomas WILLIAMSON
Hi all,

I load a PostGIS table via QGIS DB Manager tool . The table geometry is
"MultiPolygon" and SRID is 3947. The project SRID is 3947 without OTF
option. I can toggle both "Toggle editing" and "Node tool" buttons. When I
click on map canvas in order to move nodes, I get the following message:
"Could not snap to a feature in the current layer". And nodes cannot be
modified at all.

The Log Messages Panel shows:

Fetching from cursor qgis_3 failed
Database error: ERROR:  Operation on mixed SRID geometries
Query: CLOSE qgis_3 returned 7 [ERROR:  current transaction is aborted,
commands ignored until end of transaction block]
1 cursor states lost.
SQL: CLOSE qgis_3
Result: 7 (ERROR:  current transaction is aborted, commands ignored until
end of transaction block)


I can update attributes values and move features on the table. The issue
seems to be on editing nodes only.

After having read several posts about editing a PostGIS table from QGIS,
I've tried the followings without success:

 - Connection parameters to DB using postgres default user or other user
 - PostGIS table has both a primary key and an index on the geometry column
 - Function `ST_IsValid()` returns only TRUE values (no invalid geometries)
 - I can't connect directly via the "Add PostGIS layers" button's dialog
for the DB is too big (over 50 schemas) and displaying the content is very
long... Thus I use DB Manager instead
 - Settings > Options > Digitizing: tried different tolerance values both
in map units and pixels. Also tried to set "To vertex" or "To vertex and
segments"
 - Settings > Snapping options: same tests
 - Checked SRID either for table and QGIS project which are exactly the
same...

This question has been posted on GIS Stack Exchange without any satisfying
answer (see here : https://gis.stackexchange.com/q/280745/22693).


What could I be missing?

Thomas


--

Specs : PostgreSQL 9.4.17 - PostGIS 2.1.8 - QGIS 2.18.19 LTR
___
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] Question on Georeferencer

2018-03-19 Thread Thomas WTS
Hi, 

 

I'm trying to georeference a map using the georeferencer. The map is in the
USA, which has negative latitude values. When I georeference, the lat values
come out wrong as they convert the negative values into positive. Any tips
on how to use the georeferencer so as to avoid this problem? 

 

My settings at the moment are as below.

 



 

Many thanks,

Thomas 

___
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] Free/Open Data Maps list

2018-02-28 Thread Thomas Gratier
Hi,

If on QGIS 3 as QuicKMapServices is not supported at the moment, you may
want to use https://qms.nextgis.com/ as it's this service that provides
QuickMapServices list of TMS/OSM tiles servers.
It remains your responsibility to use these servers as licences can differ
from source to source.

Regards

Thomas Gratier

2018-02-27 17:22 GMT+01:00 Seán Lynch :

> Hi,
>
> Feel welcome to use any data from OpenLitterMap.com
>
> Happy mapping!
>
> Seán
>
> On 27 February 2018 at 16:19, Nicolas Cadieux <
> nicolas.cadi...@archeotec.ca> wrote:
>
>> Hi,
>>
>> The Quickmap plugin is indeed full of data specially if you add the extra
>> providers in the plugin settings.  Most importantly, it gives you an idea
>> of who is giving what data. After that, you can find the original data
>> (much more useful) from the provider.  I do the same thing with wms.  If
>> you google ,for example, “wms Canada nrcan”, you will find many links to
>> various servers providing wms layers.  After that, you can search for  the
>> original data sources from these providers.
>>
>> It could also help if you specify the region you are working on.
>> Cheers!
>> Nicolas
>>
>>
>> Le 27 févr. 2018 à 04:51, Albin Blaschka > se.net> a écrit :
>>
>> Am 27.02.2018 10:30, schrieb Idan Miara:
>>
>> Hi,
>>
>> I'm looking for different maps (preferably global maps) to use as a
>> background in QGIS
>> (Topographic maps, Orthophoto, DTM etc).
>> Is there a list/plugin with a collection of free/open data maps that I
>> can use?
>>
>>
>>
>> For QGIS 2.x there is the Quickmapservices-Plugin for various Background
>> maps, as far as I know, it is not yet ported to QGIS 3
>>
>> As far as DTMs are concerned, there are different websites, where you can
>> download such data (ASTER & Co.), a nice compilation is
>> http://viewfinderpanoramas.org/
>>
>>
>> HTH,
>> Albin
>>
>> --
>> | Dr.rer.nat. Albin Blaschka
>> | Etrichstrasse 26, A-5020 Salzburg
>> | * www.standortsanalyse.net *
>> | * www.researchgate.net/profile/Albin_Blaschka *
>> | - It's hard to live in the mountains, hard but not hopeless!
>>
>> ___
>> 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
>>
>
>
>
> --
> https://openlittermap.com @OpenLitterMap (Fb, Tw, Ig)
> M.Sc. Coastal & Marine Environments (NUIG, 2015)
> M.Sc. GIS & Remote Sensing (UCC, 2014)
> B.A. Geography & Economics (UCC, 2011)
> ie.linkedin.com/in/seanlynchgis
>
> ___
> 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] New plugin: Water Network Toolbox

2017-09-26 Thread Thomas Kandler

Dear QGIS community,

please allow me to share with you the release of a plugin called wntOS 
(Water Network Toolbox Open Source). We developed the plugin during a 
grant programme and used it for an international development cooperation 
project. It is certainly not on par with established solutions and, 
further, in experimental status, yet we wanted to share the code and 
logic. Maybe someone can benefit from it, since QGIS has not too much 
choices in this domain (water).


See the following links for more information:

http://plugins.qgis.org/plugins/wntOS/
https://github.com/gc-i/wntOS

Thank you for the attention & all the best
Thomas


--

___
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 connect live with gps receiver

2017-04-06 Thread thomas reinfelder
Hi,

 

who has experience with qgis in connection with a receiver.

I want to map a track (live). I have a tablet PC with receiver.
What do I need for this project (extension, other software

e.g GPSBabel?)

 

Thanks for help,

 

 

thomas

 
___
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] Drones in forestry

2016-12-01 Thread Thomas Stanley-Jones
I operate drones in Canada.  I would suggest a Phantom 3 'Professional'.
It will give you a decent range compared to the other versions of the
Phantom 3 ('Standard','Advanced', and '4k'), since it uses Lightbridge for
it's control link and video feedback.  Since it's 2 generations old you
will be able to find them relatively cheaply.  You could use any small
drone as long as it's camera is GPS enabled and it's sending the video back
to the pilot.  That being said, the Mavic is a much better machine for a
good price.  Really small size for what it does and has a better flight
time which would be helpful for your case.  But twice the price of a P3Pro.

I envision your workflow to be:
1. Fly the drone around the perimeter of the area you are mapping, taking
pictures all the way around.  Use the downward facing camera to ensure you
are positioned properly.
2. Use one of QGIS' extensions to import the pictures and create a point
file.
3. Transform using the points to polygons and you've got your areas.

Should work well.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

  1   2   3   >