Re: [Qgis-user] Looking for assistance with fixing RTL label bugs

2024-05-28 Thread Richard Duivenvoorde via QGIS-User

Nyall,

I cannot read a RTL language myself, but we do have some RTL languages as 
site/documentation translations.

If I remember correct it was actually pretty easy and worked remarkebly good 
for the site:

See for example: https://qgis.org/fa/site/

All rtl language inclused this css:

https://qgis.org/fa/_static/qgis-style-rtl.css

with only:

body {
direction: rtl !important;
}


in it.

Not sure if that is possible on other elements though.

Regards, hoping this is helpful :-)

Richard Duivenvoorde



On 5/28/24 04:56, Nyall Dawson via QGIS-User wrote:

Hi lists,

I'm looking for some assistance in fixing the right-to-left labeling
issues described in https://github.com/qgis/QGIS/issues/54098 . While
I can fix the code issues, I don't have the linguistic understanding
to know how right-to-left text SHOULD behave in QGIS labels!

Is there anyone out there from a RTL language background who can add
the missing information to the above ticket and help get this bug
fixed?

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


___
QGIS-User 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] Multiple styles saved in database, how to choose one?

2024-03-15 Thread Richard Duivenvoorde via QGIS-User

Ah! Thanks, found it now! I was apparently to eager to find a dropdown 
somewhere in my UI :-)

Besides your solution you also get the list in a little table when you go to 
the Layer Styling Panel, select the 'Style Manager' tab there and the choose 
'Load style', and then select the 'From datasource database' option...

Regards,

Richard Duivenvoorde

PS: still would like to restructure the style menu a little: maybe add the 
option Copy All STyle Categories (so no need to open the next level), and 'Use 
Style' (only in case there are saved styles in the db... But: future :-)


On 3/15/24 11:31 AM, Richard McDonnell wrote:

Hi Richard,
You can indeed load others.
 From the layer properties, select the style button, usually bottom left. Then 
select Load Styles, all other styles in the database will be listed there. You 
can select any other ones you set up for that layer from there.
Kind Regards,

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


[Qgis-user] Multiple styles saved in database, how to choose one?

2024-03-15 Thread Richard Duivenvoorde via QGIS-User

Hi,

I'm busy loading a lot of datasets in a Postgis database.

For vectordata it is possible to save the QGIS style IN the database.
Off course you can save several styles for the same table in the database.
But I fail to find a way to choose between those.

Am I missing an option? Or is this not yet implemented?
(would be cool to have it in Browser too :-) )

Thanks in advance,

Richard Duivenvoorde

PS: I was also missing this option for Raster files (saved in Postgis).
Created a Feature Request for that one: 
https://github.com/qgis/QGIS/issues/56870

___
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] help with lost meta search engine list

2024-03-10 Thread Richard Duivenvoorde via QGIS-User

On 3/9/24 7:42 PM, Jeff L Licht via QGIS-User wrote:

Things were going along swimmingly until I opened QGIS today and my list of 
search engines under Web-meta search was gone. Is there a 'switch' which turned 
this off? Is it possible to delete this list unknowingly? Can anyone help me 
even its instructions as to build this list back from scratch.


See 
https://github.com/qgis/QGIS/blob/master/python/plugins/MetaSearch/dialogs/manageconnectionsdialog.py#L99
MetaSearch saves the connections in the 'MetaSearch' node in QGIS.ini

You can either edit the .ini file, or you can view it via Options/Advanced (and 
do NOT use the 'new settings tree widget').
See screenshot.

Not sure how this could vanish.
Maybe you create a new profile?
Or did that QGIS.ini file got corrupt (not very likely)?

(to check: create a new/fresh profile and use the 'Add default services' to 
have that list, and then look into the settings.

Regards,

Richard Duivenvoorde___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] can't apply mask on labels

2024-03-07 Thread Richard Duivenvoorde via QGIS-User

Hi People,


FYI: current messages are too big for the mailing list. We have a max of 200KB 
per messages.

We manually let all message through which are larger.

When you answer, a large mail with a lot of images, please do not include the 
full answer mail.

That way the response will even be bigger, and be held by the mail list 
software (until one of the admins releases these mails)...

Thanks,

Richard Duivenvoorde

PS: even better: do not create html mails :-)  Keep your mails clean (text 
only) with optionally some attachments for images...

___
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] Primary key and spatial index

2024-02-16 Thread Richard Duivenvoorde via QGIS-User

On 2/16/24 10:09, Richard Duivenvoorde via QGIS-User wrote:

QGIS should NOT crash though.
If THAT is the case, please file a bug in our QGIS' tracker (with a 
reproducable scenario).


Mmm, I can reproduce the crash, in Master, but NOT in recent 3.34...
And only with a new project which I did not save yet.

I created an issue: https://github.com/qgis/QGIS/issues/56379

Feel free to add info

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] Primary key and spatial index

2024-02-16 Thread Richard Duivenvoorde via QGIS-User

And in addition of Chris's answer:

The user you connect with, should have enough permissions to create or update 
an index.

If not, QGIS (or yourself via psql or another client) will also not be able to 
create the index/pk.
In that case you need to rise the permissions of your user, OR use another user 
to create it.

QGIS should NOT crash though.
If THAT is the case, please file a bug in our QGIS' tracker (with a 
reproducable scenario).

Regards,

Richard Duivenvoorde

PS which QGIS version are you using here? I cannot get this message visible 
(but I do not have large tables at hand currently)...


On 2/16/24 06:56, chris hermansen via QGIS-User wrote:

Rikesh and list,

On Thu, Feb 15, 2024, 18:40 Rikesh Lad via QGIS-User mailto:qgis-user@lists.osgeo.org>> wrote:

Hello,

Please see attached. Does anyone know how to add a primary key and spatial 
index to a large layer without the software crashing?

image.png



Here is some reference info about adding a primary key to a PostgreSQL table

https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-primary-key/#:~:text=To%20add%20a%20primary%20key%20to%20an%20existing%20table%2C%20you,to%20the%20primary%20key%20constraint
 
.



Here is some reference info that explains how to add a spatial index

https://postgis.net/workshops/postgis-intro/indexing.html 



Both require the use of a PostgreSQL client for example "psql".



___
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] Plugin available on repo but not in QGIS

2024-01-25 Thread Richard Duivenvoorde via QGIS-User

Mmm, so it is in QGIS
3.35
not in
3.34

while minimum version is 3.34.2 (note the .2 !)

I remember we had lengthy discussions about this.

Short solution: remove your version 2.2 and upload it again with minimum 
version 2.33 (or maybe 2.34.0, or 2.33.99)

Longer solution and explanation (and showing some difficulties when using 
version numbers :-) )
https://github.com/qgis/QGIS-Django/pull/224
and
https://github.com/qgis/QGIS-Django/pull/325

Regards,

Richard Duivenvoorde

On 1/25/24 14:39, Julien Moura (Oslandia) via QGIS-User wrote:

Indeed, I can't find the 2.2 version in 
view-source:https://plugins.qgis.org/plugins/plugins.xml?qgis=3.34=true

Le 25/01/2024 à 14:33, Jérémy Garniaux via QGIS-User a écrit :


Richard,

Thanks for chiming in.

Jérémy Garniaux +336 24 25 01 00 https://mapper.fr https://mapstodon.space
Le 25/01/2024 à 14:13, Richard Duivenvoorde a écrit :

It is approved, so should be in plugins.xml

BUT(!) as it is experimental, you only see it when you have the 'Show  also 
Experimental Plugins' checkbox checked in the repo settings.

You probably have, but it is default UNchecked.


Indeed - it is checked though.

Best regards,

J.


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




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


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


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


Re: [Qgis-user] Plugin available on repo but not in QGIS

2024-01-25 Thread Richard Duivenvoorde via QGIS-User

It is approved, so should be in plugins.xml

BUT(!) as it is experimental, you only see it when you have the 'Show  also 
Experimental Plugins' checkbox checked in the repo settings.

You probably have, but it is default UNchecked.

Regards,

Richard Duivenvoorde

On 1/25/24 12:12, Jérémy Garniaux via QGIS-User wrote:

Hi,

Version 2.2 (experimental) of the BADASS plugin has been available for a couple 
of days:
https://plugins.qgis.org/plugins/badass/#plugin-about 1 


However it's doesn't seem to be visible from my (or my colleague's) QGIS 
install.

Any idea why?

Thanks,

Jeremy

Version de QGIS 3.34.2-Prizren  Révision du code7d199797fcc 

Version de Qt   5.15.10 

Version de Python   3.11.6  

Version de GDAL/OGR 3.7.1   

Version de Proj 9.2.1   

Version de la base de données du registre EPSG  v10.088 (2023-05-13)

Version de GEOS 3.12.0-CAPI-1.18.0  

Version de SQLite   3.42.0  

Version du client PostgreSQL15.5 (Ubuntu 15.5-0ubuntu0.23.10.1) 

Version de SpatiaLite   5.1.0   

Version de QWT  6.1.4   

Version de QScintilla2  2.14.1  

Version de l’OS Ubuntu 23.10





Extensions Python actives   


QuickOSM2.2.3   

Qgis2threejs2.7.1   

qconsolidate3   0.2.0   

profiletool 4.2.6   

pgRoutingLayer  3.0.2   

GeoCoding   2.19

TerrainShading  0.9.4   

kart1.0.14  

koordinates 3.0.0   

qgis-maptiler-plugin3.2 

cartogram3  3.1.5   

mmqgis  2021.9.10   

zoom_level  0.1 

qgiscloud   3.9.2   

SemiAutomaticClassificationPlugin   8.2.0   

track_profile_2_web 1.3 

geometry_paster 0.4 

rvt-qgis0.9.6   

open_lidar_tools2.2.2   

qgis_resource_sharing   1.0.0   

otbprovider 2.12.99 

MetaSearch  0.3.6   

processing  2.12.99 

db_manager  0.1.20  

grassprovider   2.12.99

--
Jérémy Garniaux
https://mapper.fr
https://mapstodon.space


___
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] Decimal delimiter different in label and attribute table

2024-01-11 Thread Richard Duivenvoorde via QGIS-User

Mmm, did some further testing, and it appears to me that the number formatting 
seems to be ignored for labeling

Created an issue for it: https://github.com/qgis/QGIS/issues/55822

So I think indeed you end up formatting the numbers yourself with an expression 
for now

Regards,

Richard Duivenvoorde

On 1/11/24 16:14, Richard Duivenvoorde via QGIS-User wrote:

Data in the gepackage looks like numbers/double.

What to use as separators depends on the language settings.
Besides the language there is also a setting for the Date/time/numbers 
separators.

See screenshot

I think it should be possible to show those numbers with comma's if you choose 
a locale with 'Fliesskommazahl' :-)

You probably have to restart QGIS to see it.
If not working please let us know.

Regards,

Richard Duivenvoorde

On 1/11/24 15:13, Huesmann, Michaela via QGIS-User wrote:

Hello all,

I created a geopackage layer with a column of fieldtype „Decimal (Double)“. In 
the Attribute Table I can see the decimal delimiter as comma as I want it in 
Germany. But the labels display the delimiter as point. Where do I change the 
delimiter for labels?

Best regards,

Michaela


Kreisstadt Steinfurt <http://www.steinfurt.de>

  - 48565 Steinfurt
www.steinfurt.de <http://www.steinfurt.de>

Mit freundlichen Grüßen
im Auftrag
MichaelaHuesmann
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


___
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] Decimal delimiter different in label and attribute table

2024-01-11 Thread Richard Duivenvoorde via QGIS-User

Data in the gepackage looks like numbers/double.

What to use as separators depends on the language settings.
Besides the language there is also a setting for the Date/time/numbers 
separators.

See screenshot

I think it should be possible to show those numbers with comma's if you choose 
a locale with 'Fliesskommazahl' :-)

You probably have to restart QGIS to see it.
If not working please let us know.

Regards,

Richard Duivenvoorde

On 1/11/24 15:13, Huesmann, Michaela via QGIS-User wrote:

Hello all,

I created a geopackage layer with a column of fieldtype „Decimal (Double)“. In 
the Attribute Table I can see the decimal delimiter as comma as I want it in 
Germany. But the labels display the delimiter as point. Where do I change the 
delimiter for labels?

Best regards,

Michaela


Kreisstadt Steinfurt 

  - 48565 Steinfurt
www.steinfurt.de 

Mit freundlichen Grüßen
im Auftrag
MichaelaHuesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: 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
___
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] Opening the Data Source Manager crashes QGIS

2023-11-09 Thread Richard Duivenvoorde via QGIS-User

Hi Rob,

IF it is indeed a google earth plugin, which is causing the crash, reinstalling 
will not help because plugins are installed in your (QGIS)-profile, not in your 
installation.

Is it constantly crashing?

So either remove the plugin (via the plugin manager), or go into your profile 
(Settings/User Profiles) and remove the plugin by hand.
A last option is to create a fresh profile, which will give you a profile 
without any plugin.
See 
https://docs.qgis.org/3.28/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles

Hope This Helps :-)

Richard Duivenvoorde

On 11/9/23 11:47, Rob Dingen via QGIS-User wrote:

Dear Forum,
Forgive my ignorance and infancy level using QGIS
Installed on IOS:

QGIS version3.32.3-Lima
Qt version5.15.2
Python version3.9.5
When I try to open the Data Source Manager the application crashes. I probably 
did something wrong with a google earth plugin.

Removing and installing a new copy does not help
Could anyone advise how to install a clean version without importing the files 
which cause the crash?
Please keep in mind I am a novel user .. not a developer

Grateful!
Best
Rob

___
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] International/Local Labeled World Basemap in QGIS. Protomaps?

2023-10-24 Thread Richard Duivenvoorde via QGIS-User

On 10/24/23 14:38, Greg Troxel via QGIS-User wrote:

   I, and I suspect many others, often want basemaps for a much more
   limited area.  For 95% of what I do, a basemap that only covers
   Massachusetts, US, is just fine.  It would be great if I could take a
   regional extract and produce by own file that is only 200 or so MB.  I
   realize that's more of a comment about protomaps, and likely
   supported, unless there's some doctrine against it, but I wanted to
   inject the thought into qgis planning.   I think this is mostly just
   "be able to point to file or URL of your choice" and everything else
   is bug fixes. 


This is provided by Protomaps itself, so people could do that if they want.

And: no planning yet, I was just wondering wat other felt/thought.

I've been playing with it, and at this moment it lacks (in QGIS) proper style 
handling, I think.


   I am unclear on how we are dealing with the required OSM attribution
   in qgis.  I have added OSM tiles with quickosm, and the main map view
   lacks attribution.  I did publish a pdf map of local conservation, and
   I was careful in the map composer to attribute OSM (required) and
   MassGIS (polite).  I suspect at least some are not so careful.
   Leaflet has a default or at least more in-the-groove attribution path,
   and I think adding OSM to qgis should too.   This is not specifically
   about this vs TMS, but if starting from scratch I think we should
   significantly try.


Agreed, but I do not have a solution for that either. Not sure if QGIS should 
enforce this or it is actually the responsibility of the producer of a map.

Regards,

Richard



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


Re: [Qgis-user] International/Local Labeled World Basemap in QGIS. Protomaps?

2023-10-24 Thread Richard Duivenvoorde via QGIS-User

On 10/24/23 13:40, Greg Troxel via QGIS-User wrote:

I am not sure how I feel about "range requests are the right answer" vs
tiles, as from a CS viewpoint it seems to be the same thing and it feels
a little like "you have to do it our way now", and it's not clear to me
that there is a layer that basically extracts tiles from the big file,
separating the tiles/range issue from the rest.  I hope it is that way.
I can see that currently people can host a big file with ranges more
easily than a hierarchy of files.


I'm not a specialist in this, but my point in this, is that it is easy to fetch 
this big file from the build page (or use the tools to create it theirself).

And as it looks like all this is very good cache-able I think it is better then 
having a more heavy solution like mapservers or mapproxy servers?
 
I'm ok both with a Object storage solution (with range requests if I'm right) OR with some small proxy in front to handle xyz/pbf requests.



My impression is that there is js for browsers to obtain the bits via
range requests and then render.  Is there a plugin that will effectively
fetch the tiles from this alternate (non-TMS, non-OGC) representation?
And then render?  Or is your idea to obtain vector data, and have a
separate qgis-specific rendering pipeline?


We could start (with the xyz version which is already available (after getting 
a key):
https://api.protomaps.com/tiles/v2/{z}/{x}/{y}.pbf?key=
crux here is to get styles which work in QGIS.

I also do like the work of Jochen Topf (see an earlier mail of me):
https://dev.jochentopf.com/osm/{z}/{x}/{y}.pbf
with style
https://dev.jochentopf.com/projects/map/colorful.json

Crux there is to setup the infrastructure (including postgis/osm) and creation 
of tiles.


Saying "host a 110 Gb" file leads to the obvious question of update
rate, but monthly updates would be decent for many uses.


Not sure, but as a basemap lacks a lot of details, once per 1,2 or 3 months 
seems reasonable to me?


But this is vector.  Are you suggesting that this be geodetic in
ITF2014, instead of projected?


No, just that people maybe prefer (national) vector tile sets in their own 
local crs's.
Maybe I'm the only one looking for World-maps :-)


I wonder how this compares to loading OSM in postgis and styling it.
It would be nice to have consistent methods so that one can mix and
match the various architectural (vs GIS) layers in the stack without
them being siloed.


I've been trying that, but styling is too much work for me, the labeling alone 
(have all the proper fonts available) is already a lot of work.

Regards,

Richard

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


[Qgis-user] International/Local Labeled World Basemap in QGIS. Protomaps?

2023-10-24 Thread Richard Duivenvoorde via QGIS-User

Hi All,

Looking at Protomaps [0], and see that it's tools are OpenSource, data 
from OSM data, and you should be able to host a 110Gb file via CDN as 
basemap.


Would it be an idea (doable) for us as QGIS Community to host/CDN this, 
make sure we can handle a couple of styles/themes very well and then add 
it to QGIS as base map ( EPSG:3857 only sorry :-) )?


OR would 'we' prefer to have vector tiles in 'proper' crs's?

Myself I'm looking for a proper WORLD-map with both English and Local 
labels/placenames (or easy switchable between those).
And even downloading a 100Gb file and installing locally would be OK for 
me.


Others maybe had a look or better idea's?

Regards,

Richard Duivenvoorde

[0] https://github.com/protomaps
___
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] Portable GIS

2023-10-12 Thread Richard Duivenvoorde via QGIS-User

Windows I presume? What exactly is not working with your versions?

Also I would guess that a normal QGIS install and copying it to usb would work?

What exactly do you need: a full QGIS or fieldwork functionality?

Regards,

Richard Duivenvoorde

On 10/12/23 14:40, Michael Jabot via QGIS-User wrote:

I am trying to create a Portable QGIS to test before an international
project

I have followed the ideas from (
https://www.sigterritoires.fr/index.php/en/portable-version-of-qgis-3-32-0/)
but am not having luck with QGIS running from the USB

I had used Portable GIS from OSGeo in the past but the link I had is no
longer working

Thank you for any ideas/suggestions that anyone has

Mike



*

Michael Jabot, Ph.D.
SUNY Distinguished Professor, Science Education

US Partner - NASA GLOBE Program

NASA Earth Ambassador
Director, Institute for Research in Science Teaching

Chancellor's Award Recipient for Excellence in Research
The State University of New York at Fredonia


716.320-0189 (Google Voice)

ja...@fredonia.edu

E250 Thompson Hall
280 Central Avenue

Fredonia, NY  14063
*


___
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] Jochens OSM vector tiles demo

2023-09-29 Thread Richard Duivenvoorde via QGIS-User

For those interested, Jochen Topf of OSM fame put a demo together about a 
realtime OSM vector tile server.

See: https://community.openstreetmap.org/t/minutely-updated-vector-tiles/104197

You can add it to QGIS too, and it looks very nice, see my comments there on 
what to use as source url's:

https://community.openstreetmap.org/t/minutely-updated-vector-tiles/104197/13

Would be nice if every country in the world would serve up OSM vector tiles in 
their own CRS's :-)

Regards,

Richard Duivenvoorde
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] STEPS TO BUILD FROM SOURCE QGIS DESKTOP INCLUDING ORACLE LIBRARIES

2023-09-29 Thread Richard Duivenvoorde via QGIS-User

Hi Juergen,

Ubercool! These lines even work on my current Debian Bookworm \o/

One question: the result is:
qgis-build-deps_3.32.3~sid~oracle1_all.deb

but where does it install after
sudo dpkg -i qgis-build-deps_3.32.3~sid~oracle1_all.deb
or
sudo gdebi qgis-build-deps_3.32.3~sid~oracle1_all.deb

I could not find it in /usr/bin. I can only find it in the
qgis-3.32.3~sid~oracle1/debian/build/output/bin/qgis
or
qgis-3.32.3~sid~oracle1/debian/qgis/usr/bin/qgis

should it not be installed on the user's disk?

PS: I think this deserves a place in the (linux specific) docs ( while it is 
working :-) )...

Regards,

Richard Duivenvoorde

On 9/29/23 08:04, Jürgen E. Fischer via QGIS-User wrote:

Hi Fredy,

On Thu, 28. Sep 2023 at 14:32:26 +, Fredy Varon via QGIS-User wrote:

Anyone has the steps to build and compile qgis desktop on Linux Ubuntu to
permits Access to Oracle databases


sudo apt install devscripts alien
curl -JLO 
https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-devel-21.11.0.0.0-1.el8.x86_64.rpm
curl -JLO 
https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-basiclite-21.11.0.0.0-1.el8.x86_64.rpm
fakeroot alien oracle-instantclient-devel-21.11.0.0.0-1.el8.x86_64.rpm 
oracle-instantclient-basiclite-21.11.0.0.0-1.el8.x86_64.rpm
sudo dpkg -i oracle-instantclient-devel_21.11.0.0.0-2_amd64.deb 
oracle-instantclient-basiclite_21.11.0.0.0-2_amd64.deb

curl -JLO https://download.qgis.org/downloads/qgis-3.32.3.tar.bz2
tar xjf qgis-3.32.3.tar.bz2
cd qgis-3.32.3
sed -i -e "s#18.5#21#" debian/rules
sed -i -e "s#12.1##" debian/control.in
dch -l ~sid~oracle --force-distribution --distribution sid-oracle "sid build with 
oracle"
debian/rules templates
sudo mk-build-deps -i
dpkg-buildpackage -us -uc -b


Jürgen


___
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] Config qgis desktop on Linux to DISPLAY Oracle connections

2023-09-22 Thread Richard Duivenvoorde via QGIS-User

Hi Fredy,

The oracle oci library needed to connect to Oracle is not free, so not 
available in any Linux distro.
That is the reason that QGIS on Linux is never linked to these libraries, and 
that is why you do not see the Oracle connection in your Data Source Manager.

If you really want this to work on Linux, you have to:
- download the oci/client libraries yourself from Oracle
- build QGIS yourself with instructions where the Oracle libs are etc

Not done this recently, but here is an old blogpost to get the idea:
https://zuidt.nl/blog/html/2015/10/12/build_qgis_master_with_oracle_provider_yourself_on_centos7.html

Depends on your needs and if you are tech savvy enough, if you want to go 
through this hassle.

Which Linux Distro are you on?
I think it is easiest on Debian or Fedora and related distro's

Regards,

Richard Duivenvoorde

On 9/21/23 20:49, Fredy Varon via QGIS-User wrote:

Hi.

I need to configure qgis desktop on Linux enviroment and enable in the explorer 
the opción tio connect to Oracle databases

Please any guise ti do this, un Windows works if before i install Oracle 
client, in Linux i configure the same but dont enable this type of connections 
in qgis

Thanks for any help

Fredy Varón

Obtener Outlook para Android 

___
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] Set max. scale for WMTS layer

2023-09-21 Thread Richard Duivenvoorde via QGIS-User

Hi Roland,

For what I know the behaviour you described is QGIS default behaviour.

As an example, use this url (our national Aerials):
https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0?request=GetCapabilities=WMTS

You can keep zooming if you want (after the last Z) till pixel level.

I think the issue is that the capabilties:
https://mapsneu.wien.gv.at/basemapneu/1.0.0/WMTSCapabilities.xml
report that there is a Z-20, so QGIS will try to retrieve that as last possible 
Z level, but the service returns an 404 if Z20 is actually requested:

https://mapsneu.wien.gv.at/basemap/geolandbasemap/normal/google3857/20/369196/569325.png

Best option(?) would be to either let mapsneu.wien.gv.at the level 20 from the 
capabilities, OR ask them to actually render the Z-20 tiles :-)

Regards,

Richard Duivenvoorde

On 9/21/23 17:04, Roland Spielhofer via QGIS-User wrote:

Hi,
I am using
an WMTS orthofoto layer in QGIS:
https://basemap.at/orthofoto/
https://mapsneu.wien.gv.at/basemapneu/1.0.0/WMTSCapabilities.xml
Below the scale of ~1:1000 the layer is not shown anymore.
I would like to see the layer also on a scale of e.g. 1:500 - I know it will 
get coarse, but for orientation it would be definitely helpful.
I guess it has to do with

20
533.18239597
in the WTMSCapabilities.xml - ?
Is there a way to set a min/max scale for the WMS in QGIS and make the layer 
visible also in high scales?
Thanks in advance!
Regards,
Roland

___
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] I really need help with a WMS source...

2023-09-21 Thread Richard Duivenvoorde via QGIS-User

Hi Marcus,

it's better to reply to the Mailing list, so others can learn/chip in.

The url you gave me works in my QGIS Lima. It's all EPGS:3035 layers, and they 
are zoom scale visible (you need to zoom in to 1:5 or so to see them)?

In the screendump you sent, you can mouse-rightclick on a url and then choose 
'Open URL', this will open/show that url in your internet browser. Like (click 
on this one):

https://ext-geoportal.lansstyrelsen.se/wmsproxy/wms/fastighet?SERVICE=WMS=1.1.1=GetMap=4569191.854855537415%2C4435522.874560302123%2C4582551.454591747373%2C178.582475369796=EPSG%3A3035=1954=1266=granser==image%2Fpng=96_RESOLUTION=96_OPTIONS=dpi%3A96=TRUE

you should see the image that QGIS is requesting for you. If not, show me what 
it tells you in the browser.

Also: can your Lima get other wms's, eg:

https://service.pdok.nl/kadaster/bestuurlijkegebieden/wms/v1_0?request=GetCapabilities=WMS

Regards,

Richard Duivenvoorde

On 9/21/23 15:31, Marcus Levaux wrote:

This is not my speciality Don't understand much of this "programmer" 
computer language and processes, bur here I think I did it?

The WMS currently does work in older projects but not in new ones, and it does 
not work in a browser, here I will share it below:

https://ext-geoportal.lansstyrelsen.se/wmsproxy/wms/fastighet 


// Marcus Leveaux

Junior project developer, EEW

-Ursprungligt meddelande-
Från: Richard Duivenvoorde 
Skickat: den 21 september 2023 15:22
Till: Marcus Levaux ; Marcus Levaux via QGIS-User 

Ämne: Re: [Qgis-user] I really need help with a WMS source...

[Du får inte e-post ofta från rdmaili...@duif.net . Läs 
om varför det här är viktigt på https://aka.ms/LearnAboutSenderIdentification 
 ]

Hi Marcus,

Can you please open the dev-panel via F12 in QGIS and check (and report back) 
the url's that are failing?

Sometimes replaying the url in a browser (as all WMS url's you can also view in 
a browser) already reveal issues.

Or else maybe share the capabilities url here with us?

Regards,

Richard Duivenvoorde

On 9/21/23 15:18, Marcus Levaux via QGIS-User wrote:

 > So, I really need help with a WMS source, soon wasted one full day of work 
on this issue and it is driving me crazy… Yesterday everything was working fine, 
then today I tried installing and updated version of QGIS, the latest LIMA 
edition. And suddenly when I create new projects, there is one specific and very 
important WMS source that I cannot view. It loads into the project without any 
issues, other WMS sources load and are visible, but this one is not. The weird 
thing is that I can load the troublesome WMS source in already existing projects, 
but not in new ones. I have no clue why. The CRS is correct and the same across 
all my projects and WMS sources, it’s never been an issue before. I am using the 
same version of QGIS I have been using for the past months, but still it wont be 
visible. Anyone got a clue on why this is? It drives me insane….

 >

 > Best Regards | Vänlig Hälsning

 >

 > *Marcus Leveaux*

 >

 > Junior Solar Projects Development Manager

 >

 > M: +46 73 532 08 97

 > E: ml@eew.solar  >

 > W: www.eew.solar  >

 >

 > Logo Description automatically generated

 >

 > 13 Hanover Square, London, W1S 1HN

 >

 > /This e-mail contains confidential and privileged information intended only 
for the addressee(s). Please do not read it unless you are the addressee. If you 
are not an addressee, please call me at the number shown above, reply to this 
e-mail, and delete the message. You are hereby notified that any dissemination, 
distribution, copying, or other use of this e-mail or any attachments thereto 
without express written authorisation from the sender is strictly prohibited. 
Thank you/

 >

 >

 > ___

 > 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] I really need help with a WMS source...

2023-09-21 Thread Richard Duivenvoorde via QGIS-User

Hi Marcus,

Can you please open the dev-panel via F12 in QGIS and check (and report back) 
the url's that are failing?
Sometimes replaying the url in a browser (as all WMS url's you can also view in 
a browser) already reveal issues.

Or else maybe share the capabilities url here with us?

Regards,

Richard Duivenvoorde

On 9/21/23 15:18, Marcus Levaux via QGIS-User wrote:

So, I really need help with a WMS source, soon wasted one full day of work on 
this issue and it is driving me crazy… Yesterday everything was working fine, 
then today I tried installing and updated version of QGIS, the latest LIMA 
edition. And suddenly when I create new projects, there is one specific and 
very important WMS source that I cannot view. It loads into the project without 
any issues, other WMS sources load and are visible, but this one is not. The 
weird thing is that I can load the troublesome WMS source in already existing 
projects, but not in new ones. I have no clue why. The CRS is correct and the 
same across all my projects and WMS sources, it’s never been an issue before. I 
am using the same version of QGIS I have been using for the past months, but 
still it wont be visible. Anyone got a clue on why this is? It drives me 
insane….

Best Regards | Vänlig Hälsning

*Marcus Leveaux*

Junior Solar Projects Development Manager

M: +46 73 532 08 97
E: ml@eew.solar 
W: www.eew.solar 

Logo Description automatically generated

13 Hanover Square, London, W1S 1HN

/This e-mail contains confidential and privileged information intended only for 
the addressee(s). Please do not read it unless you are the addressee. If you 
are not an addressee, please call me at the number shown above, reply to this 
e-mail, and delete the message. You are hereby notified that any dissemination, 
distribution, copying, or other use of this e-mail or any attachments thereto 
without express written authorisation from the sender is strictly prohibited. 
Thank you/


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

2023-09-16 Thread Richard Duivenvoorde via QGIS-User

On 9/16/23 09:37, Thomas Lavergne via QGIS-User wrote:

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.


Hi Thomas,

I'm a QGIS NetCDF user.

Let me start to say that you can open a netcdf file in QGIS both as a Raster 
and as a Mesh.
And 'netcdf' is a very broad definition with a lot of members, all to be 
handled/defined differently :-)

I think you are using the Mesh dialog, so the Mesh provider:
https://github.com/qgis/QGIS/tree/master/src/providers/mdal

Loading of the crs is done here:
https://github.com/qgis/QGIS/blob/master/src/providers/mdal/qgsmdalprovider.cpp#L493

BUT(!) the actual interpretation (the heavy lifting of all the different Mesh 
types) of the data is done using the MDAL library:
https://github.com/lutraconsulting/MDAL

There are a lot of different mesh data types which MDAL can handle:
https://github.com/lutraconsulting/MDAL/tree/master/mdal/frmts

And as said: all different netcdf flavours have their own handling:
CF files:
https://github.com/lutraconsulting/MDAL/blob/master/mdal/frmts/mdal_cf.hpp
Netcdf ugrids for example:
https://github.com/lutraconsulting/MDAL/blob/master/mdal/frmts/mdal_ugrid.cpp
etc

Not sure if this helps to find out who is to blame:
- the definition/quircks of the data   <= very often :-)
- QGIS
- MDAL

Since you are a programmer, you can try to create your own Netcdf files, for 
example with python
https://unidata.github.io/python-training/workshop/Bonus/netcdf-writing/
and try to create tiny nc files with your exact used dimensions and variables.
Then you can try to find out some scenario's and hopefully find out who is to 
'blame' :-)

(Maybe your actual question is better suited as an issue at the MDAL lib)

Regards,

Richard Duivenvoorde






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


Re: [Qgis-user] Error message

2023-09-08 Thread Richard Duivenvoorde via QGIS-User

Hi Fred,

This probably means that you opted somewhere in QGIS to save your database in 
the Authentication manager (secured with a password)[1].
Maybe accidently, but QGIS created a master password (sqlite) database for that.

Either try to remember the password you used, OR go into your QGIS profile 
directory [0] and move the qgis-auth.db file (which is the actual sqlite db) to 
another place. If not there search for it  in your QGIS install dir?

Else try to move our QGIS profiles folder (unless you use a lot of profiles and 
have a lot of configuration in them) [0]

Hope this helps

Richard Duivenvoorde

[0] 
https://docs.qgis.org/3.28/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles
[1] 
https://docs.qgis.org/3.28/en/docs/user_manual/auth_system/auth_overview.html#authentication-database
[2] 
https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook/authentication.html

On 9/7/23 14:36, Fred Wanyama via QGIS-User wrote:

Greetings Team,
Whenever I open QGIS, the following message comes.
What should i do to stop it?
Kind regards,
Fredrick



___
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] Error message

2023-09-08 Thread Richard Duivenvoorde via QGIS-User

Hi Fred,

This probably means that you opted somewhere in QGIS to save your database in 
the Authentication manager (secured with a password)[1].
Maybe accidently, but QGIS created a master password (sqlite) database for that.

Either try to remember the password you used, OR go into your QGIS profile 
directory [0] and move the qgis-auth.db file (which is the actual sqlite db) to 
another place. If not there search for it  in your QGIS install dir?

Else try to move our QGIS profiles folder (unless you use a lot of profiles and 
have a lot of configuration in them) [0]

Hope this helps

Richard Duivenvoorde

[0] 
https://docs.qgis.org/3.28/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles
[1] 
https://docs.qgis.org/3.28/en/docs/user_manual/auth_system/auth_overview.html#authentication-database
[2] 
https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook/authentication.html

On 9/7/23 14:36, Fred Wanyama via QGIS-User wrote:

Greetings Team,
Whenever I open QGIS, the following message comes.
What should i do to stop it?
Kind regards,
Fredrick



___
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] Problems Initializing qgis

2023-08-26 Thread Richard Duivenvoorde via QGIS-User

Hi Juan,

I would try to start with a new profile; a profile contains all your plugins, 
but also all your settings.

Normally (when QGIS is working fine), you create a fresh profile by going to 
Settings / User Profiles / New Profile
A profile is nothing more then a folder... in the QGIS profiles folder, which 
on WIndow you can find:
c:\Users\YOU\AppData\Roaming\QGIS\QGIS3\profiles

You could move/rename the QGIS3 folder to create a super fresh profiles folder, 
and see if that helps.

Another option would go to current profile, probably
c:\Users\YOU\AppData\Roaming\QGIS\QGIS3\profiles\default
and remove the one plugin that uses Google EA, and then install it from within 
you then started QGIS

Regards,

Richard Duivenvoorde

On 8/25/23 23:20, Juan Rafael Suárez via QGIS-User wrote:

Good morning everybody, I am having several problems with qgis, I hope somebody 
may help me.

I am working in windows 10.0 System 32.0
I upgraded to Qgis 3.28.10
Now I have these issues:
When I start the program at the first time nothing happens.
Then I start by the second time, and the the program starts, but I get this 
message:
"Creation of missing tbl_srs in the private qgis.db failed
disl I/O error"
I click on the OK button and the program starts.
Then at starting it appears this message:
"This plugin uses Google Earth Engine API and it looks like it is not yet 
authenticated on this machine. You have to need a google account registered on Earth 
Engine to continue.
Click OK to open a web browser and starts the authentication process. Or click 
cancel to stop the authentication process."
I click OK but it never finishes the process, although I have an account on 
goggle and I work frequently with google earth. Then I cancel and returns to 
qgis.
I can work on qgis, but in the moment I select any layer, and I try to go to 
the properties form, the program crashes, doesnot work any longer and I receive 
this message:
"qgis-ltr-bin.exe is not responding"
I dont know what is the problem.
If somebody knows and may help me I will appreciate so much.


___
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] Possible bug?

2023-07-23 Thread Richard Duivenvoorde via QGIS-User

On 7/23/23 11:34, Nyall Dawson wrote:

It's actually an operating system (well, gtk library) issue. The same thing 
happens in other apps too on that same platform.

Nyall
Please file an issue (https://github.com/qgis/QGIS/issues 
), this seems easily fixable.
Regards,

Richard Duivenvoorde


Ok, not easy fixable...
When will live ever be as easy as I hope/think... :-)

Thanks Nyall

Richard

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


Re: [Qgis-user] Possible bug?

2023-07-23 Thread Richard Duivenvoorde via QGIS-User

Hi Roxo,

You are right, I can confirm this with a very recent build of QGIS:

- with extension we ask for confirmation of overwriting
- without extension we silently overwrite an old file

Please file an issue (https://github.com/qgis/QGIS/issues), this seems easily 
fixable.
See 
https://qgis.org/en/site/getinvolved/development/bugreporting.html#bugs-features-and-issues

Regards,

Richard Duivenvoorde

On 7/22/23 20:21, Fernando M. Roxo da Motta via QGIS-User wrote:



   Hi all,

   Today I was exporting some QGis projects as PNG images
(project>import/export>export map to image).   At certain point I made
a mistake and repeated the name of the previous map, and QGis happily
overwrote the previous image, without asking before.  I tried to repeat
the action giving the full name of the file (map10.png) and QGis asked
for confirmation.The difference was that the first time I gave jjust
a name, without the "extension" .png.

   It seems that even if QGis will give the default "extension" to the
filename, it does not verify the prior existence of the file after it
attach the "extension".

   This was in a QGis 3.26.0 on Linux Xubuntu 20.04.   I know that both
the QGis and system are kind of old, but if this "feature" is present
in current versions it can be cumbersome.



   Roxo



___
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] Exporting maps out of QGIS into Adobe Pro to create layered pdf files

2023-07-12 Thread Richard Duivenvoorde via QGIS-User

Hi Jamie,

There are several tastes of pdf...

One of them is 'GeoPDF', a layered pdf, which you can create if you create a 
layout first in QGIS and then export that to pdf.
For the options see: https://duif.net/pdfoptions.png
I've exported a simple map of two layers to: https://duif.net/nl.pdf
In most pdf viewers you can check/uncheck both layers, AND you can 'identify' 
objects there.

Can you check if that is what can be handled by your tools?

Regards,

Richard Duivenvoorde





On 7/12/23 22:10, Jamie Gould via QGIS-User wrote:

Good afternoon,

I am trying to export out my map in QGIS into Adobe Pro to create a layered PDF 
that I could toggle separate layers on and off.

In the past I have done this through arcGIS, but I am currently at a company 
that uses geoSCOUT and you can't export a map in PDF form in geoSCOUT.  So, a 
former colleague told me that I can import shapefiles into QGIS and export the 
map to PDF that way - which works! However, when I bring the map into Adobe 
Pro, none of the separate layers show up and it's just a static PDF image.

I just spent an hour with the Adobe help desk and the person I dealt with did 
all the things on the Adobe side and asked me to reach out to someone with QGIS 
to see if anyone has dealt with this before and how to get it working? Perhaps 
I have a setting off that I should have enabled, I'm really not sure.

Any help is greatly appreciated. Thank you in advance,

*Jamie**Gould*, *C. Tech*




___
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] Idea for an actual 'events' timeline in QGIS

2023-06-28 Thread Richard Duivenvoorde via QGIS-User

Hi,

I'm involved in a project about mapping bat sensor data over time.
So 'sound' events with timestamp and (approximate) location, in Postgis db.
Some OGC-API features service in front.

Of course this is loaded in QGIS using the Temporal Controller...

But because the data is pretty sparse (over time)... so 'finding' a 'slot' 
filled with data is not so easy: you want to have time steps of an hour, 
looking at data of say a couple of days...

No I was thinking about some visualization of the events on a time line...

Like a time line with tick's or dot's on time positions where there was an 
actual event (on a second canvas?).
The ideal would be that I could click that event and then the location of the 
event(s) would be selected/flashed on the map on the map canvas...

I was thinking to so some second canvas with a slider (like temporal 
controller), but QtSlider is not so easy to adapt (in my experience)...

Or maybe is a combination with Data Plotly?

Anybody build something like that?

Or has ideas for it?

Regards,

Richard Duivenvoorde


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


Re: [Qgis-user] Saving QGIS attribute form?

2023-06-22 Thread Richard Duivenvoorde via QGIS-User

Hi Brent,

I just tested, I think you can save the layer + Form in a 'Layer 
Definition file'..
So first in your old project make you layer active, then Layer/Save as 
Layer Definition File, that will create a qlr with 
styling/datasource/forms etc etc


Then in your new project import that qlr.

Another option, I think: you can copy paste a form to, according to 
Active layer/Styles/Copy Style/Forms


HTH, Regards,

Richard Duivenvoorde



On 2023-06-21 23:09, Brent Wood via QGIS-User wrote:

Thanks, but that only lets me copy them from my existing layer. If
that layer is removed from a project, the form is lost.

 I can't copy them to another computer and apply them to another
instance without copying the entire project, what I'd like to be able
to do is save/export/import the form, much like a QGIS style can be
saved to an XML file.

 Is this possible?

Brent Wood

Principal Technician, Fisheries
NIWA
DDI:  +64 (4) 3860529

-

From: info 
Sent: Wednesday, June 21, 2023 21:47
To: Brent Wood ; qgis-user@lists.osgeo.org

Subject: Re: [Qgis-user] Saving QGIS attribute form?

Hi Brent,

'Copy attributes' from your "form'ed" layer and 'paste attributes' to
your other layer(s) should work.

Regards,
Benoit

On 21/06/2023 01:45, Brent Wood via QGIS-User wrote:


I have created a data entry form for a Spatialite table using the
new functionality implemented by Nyall Dawson in the dev version.

It is for station data for fisheries surveys. This form takes some
time to create, and is linked to the QGIS layer in the project file.


I'd like to be able to save the form & re-use it for the same table
in other, similar databases.

Can someone suggest how this can be done?

Thanks

Brent Wood

Principal Technician, Fisheries
NIWA
DDI:  +64 (4) 3860529

-

[1]
Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529

National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz [1] Facebook [2] LinkedIn [3] Twitter
[4] Instagram [5] YouTube [6]

To ensure compliance with legal requirements and to maintain cyber
security standards, NIWA's IT systems are subject to ongoing
monitoring, activity logging and auditing. This monitoring and
auditing service may be provided by third parties. Such third
parties can access information transmitted to, processed by and
stored on NIWA's IT systems.
Note: This email is intended solely for the use of the addressee and
may contain information that is confidential or subject to legal
professional privilege. If you receive this email in error please
immediately notify the sender and delete the email.

___
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



Links:
--
[1] https://www.niwa.co.nz/
[2] https://www.facebook.com/nzniwa
[3] https://www.linkedin.com/company/niwa
[4] https://twitter.com/niwa_nz
[5] https://www.instagram.com/niwa_science
[6] https://www.youtube.com/channel/UCJ-j3MLMg1H59Ak2UaNLL3A
___
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-Developer] Proposal? Set 'Use Proxy for Web Access' default ON to 'DefaultProxy'

2023-06-19 Thread Richard Duivenvoorde via QGIS-User



Hi, created a PR for this:

https://github.com/qgis/QGIS/pull/53424

Nobody have this issue/urge?
@Juergen: as you are our 'Windows'-man ;-)  do you see an issue with 
this (defaulting to 'Use Default Proxy'?)


Regards,

Richard Duivenvoorde


On 2023-05-17 09:47, Richard Duivenvoorde via QGIS-Developer wrote:

Hi All,

Currently a fresh install/profile has 'Use Proxy for Web Access' 
UNchecked.


I propose to set it CHECKED and then 'Proxy type' to DefaultProxy (all
see Network Settings)

This means that if you are in an environment without proxy, it will
not be in your system environment, so will not be used.
While if the admins setup the proper proxy, it will also 'just work'.

Anybody aware of a reason to NOT do this?

Background: working at institutions/companies which often have some
kind of proxy enabled, I often have the hassle of making the users
aware on how to set the web proxy... (because they often want WMS/WFS
layers from outside the local network)...

If we would set it by default to "use system proxy" (for what I know
that is also how most browsers are working), that would solve a lot of
'web issues', while (for what I know) would not affect normal use
without proxies?

Anybody would have or see an issue with that?

Regards,

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

___
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] Call of testing of nightlies on hi-dpi displays

2023-05-29 Thread Richard Duivenvoorde via QGIS-User

Hi Nyall,

Happy to do some testing, I do have a (dual boot) laptop/tablet with 3000x2000 
screen (that's high-dpi, yes?), but in Gnome I set the Display 'Scale' on 200% 
to have proper applications (an to me readable text :-) ).

Is there some test plan/idea's?
Is my setup something you want to test (200%), or is is preferred to use the 
100% scale?
I'm not sure what is supposed to be the 'normal' way of scaling (like what does 
a mac do)?
Or is it more to try to see if the icons/widgets scale up/down when fidling 
with scale (or what it is called in Windows)?

Regards,

Richard Duivenvoorde

On 5/29/23 06:01, Nyall Dawson via QGIS-Developer wrote:

Hi lists,

For the upcoming QGIS 3.32 release a change has been made in how QGIS
handles high dpi (and retina) displays. This should ultimately make
QGIS behave MUCH better on these displays, but there's likely some
short-term fallout and regressions caused by the change.

If you've access to a high-dpi display, please test out the nightly
releases and file bug reports on github for any regressions you spot
-- in particular we are looking for widgets and places where the QGIS
interface is now looking pixelated or where the scale / sizes of
objects are incorrect.

(Currently there's known regressions for the icons shown in the layer
tree panel, and for pixelated icons in the style manager dialog.)

Thanks in advance!
Nyall
___
QGIS-Developer mailing list
qgis-develo...@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
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: strange slowness if outside extent

2023-05-22 Thread Richard Duivenvoorde via QGIS-User

Mmm, looks to have something to do with the GPKG format.
If I create shp and use it, there is no slowness...

First thought that it has something to do with the read/write 
permissions in the mounted /etc/qgisserver volumen... but that did not 
help too


(note, trying out to run this in a kubernetes cluster)

Regards,

Richard


On 2023-05-22 15:34, Richard Duivenvoorde via QGIS-User wrote:

Having a QGIS-container servicing a very simple country file with
labels (EPSG:28992).
All is super responsive < 150ms as long as I stay within the bbox of
the country...
As soon as I zoom out further, the response time goes up to 3 -4 
seconds...


QGIS_CATCH_SEGV=1
QGIS_SERVER_LOG_LEVEL=0
there is no sign of errors in the logs...

Anybody a clue for a reason that is happening?

Regards for any input,

Richard Duivenvoorde
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

___
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: strange slowness if outside extent

2023-05-22 Thread Richard Duivenvoorde via QGIS-User
Having a QGIS-container servicing a very simple country file with labels 
(EPSG:28992).
All is super responsive < 150ms as long as I stay within the bbox of the 
country...
As soon as I zoom out further, the response time goes up to 3 -4 
seconds...


QGIS_CATCH_SEGV=1
QGIS_SERVER_LOG_LEVEL=0
there is no sign of errors in the logs...

Anybody a clue for a reason that is happening?

Regards for any input,

Richard Duivenvoorde
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Proposal? Set 'Use Proxy for Web Access' default ON to 'DefaultProxy'

2023-05-17 Thread Richard Duivenvoorde via QGIS-User

Hi All,

Currently a fresh install/profile has 'Use Proxy for Web Access' UNchecked.

I propose to set it CHECKED and then 'Proxy type' to DefaultProxy (all see 
Network Settings)

This means that if you are in an environment without proxy, it will not be in 
your system environment, so will not be used.
While if the admins setup the proper proxy, it will also 'just work'.

Anybody aware of a reason to NOT do this?

Background: working at institutions/companies which often have some kind of 
proxy enabled, I often have the hassle of making the users aware on how to set 
the web proxy... (because they often want WMS/WFS layers from outside the local 
network)...

If we would set it by default to "use system proxy" (for what I know that is 
also how most browsers are working), that would solve a lot of 'web issues', while (for 
what I know) would not affect normal use without proxies?

Anybody would have or see an issue with that?

Regards,

Richard Duivenvoorde
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] WhiteTools error

2023-04-28 Thread Richard Duivenvoorde via QGIS-User

Hi Dario,

See: https://plugins.bruy.me/ for his message about the Russian aggression 
against Ukraine.

In short: you install a plugin from a third party (Alex), and he (hopefully 
temporarily) shut down his plugin repo...
Best to find an alternative?

Regards,

Richard Duivenvoorde

On 4/28/23 13:39, Dario C via QGIS-User wrote:

Hi,

I have this error if I open Plugins panel or general settings:

image.png

even if I uninstall whitetools from installed plugins.
*
*
Can you help me please?
Thank you in advance.

Dario

___
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-Developer] PSA: Don't update to Gnome 44!

2023-04-27 Thread Richard Duivenvoorde via QGIS-User

Ooh, tricky! Thanks Nyall for this heads up!

Was 44 already released actually?

As Debian testing/sid is now in something-freeze (and on 43).. I do not think 
it will enter 44 before release of Bookworm..?
So at least Debianista's are good untill that.

Reading the issue, I see it's about Qt5 AND Qt6, and there seems to be some 
work-around running applications in native Wayland mode (but in that QGIS has 
other issues...)

Hope this will be fixed soon...

Regards,

Richard

On 4/28/23 07:25, Nyall Dawson via QGIS-Developer wrote:

Hi lists,

Just a quick PSA: If you're using QGIS (or any Qt based app), I recommend 
avoiding an upgrade to any gnome 44 based distribution for now.

You'll get hit with this nasty bug: 
https://gitlab.gnome.org/GNOME/mutter/-/issues/2715 
 which breaks drag and 
drop functionality in all Qt applications. And in the process, basically makes QGIS 
unusable... 

You've been warned!

Nyall


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


___
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] Opening GEOTIFF file in QGIS support request

2023-04-27 Thread Richard Duivenvoorde via QGIS-User

Hi Gino (please also keep the mailing list into the loop :-) ),

What I see in your screenshot looks fine?
I see you loaded a project in EPSG:4326 (lower right corner), and you data is 
apparently also fine, as I see coordinates 32/-116 (northern Mexico, or 
southern California?).
This is not what you supposed to see? Raster data (unlike aerials etc) are 
squares, with one or more data value's for every square. Which historically is 
shown in a white to black styling (as you can see).
You can put the OpenStreetMap beneath it, to have more reference (and an idea 
about the size/precision of your data)?

About ogrinfo.. sorry I meant gdalinfo this is a commandline too (also in the 
QGIS install of Windows), which shows information about gis-data (gdalinfo for 
rasters, ogrinfo for vector)..

Or am I missing your point?
Can you share you download url from the Wind Atlas? (I see they have a lot of 
types of data). And as asked: what were you hoping to see?

Regards,

Richard Duivenvoorde

On 4/26/23 21:31, ginol...@aol.com wrote:

Hi Richard,
Thank you for your reply. It looks like I’m actually able to open the file; 
however, I’m not seeing any GIS-data. Yes, it’s a GEOTIFF file. There is annual 
wind energy production sample test data in the file but after opening it in 
QGIS what I see is just the screenshot below. Could this be due to an error in 
creating the file?  For “output of ‘ogrinfo” do you mean the file name? It’s 
“gwa3_hh100m_tl10_FLH_m0_582qxe1h.tif”. This is a file download from Global 
Wind Atlas.
Screen Shot 2023-04-26 at 12.03.55 PM.png

Still not quite sure what I’m doing wrong :/
Kind regards,
Gino

-Original Message-
From: Richard Duivenvoorde via QGIS-User 
To: qgis-user@lists.osgeo.org
Cc: Qgis-user@lists.osgeo.org 
Sent: Tue, Apr 25, 2023 7:44 pm
Subject: Re: [Qgis-user] Opening GEOTIFF file in QGIS support request

Hi GIno,

QGIS should 'just show/open/ geotiff's fine.

Can you open the geotiff in another viewer?
If not, or uncertain, are you sure it is a GEO-tiff (that is it contains the 
spatial info?) and not a 'normal tiff'?
If so: can you provide the output of 'ogrinfo ? This should show you 
info about the CRS/bbos/scale etc...

Is the CRS (Coordinate Projection System / 'projection') of your tiff set to 
the right value (comparted to your other layers or project crs)?

Regards,

Richard Duienvoorde

On 4/25/23 21:53, Gino via QGIS-User wrote:
 > Hello,
 > Good afternoon. Just wanted to send an email to request advice on opening a 
GEOTIFF file in QGIS. I'm trying to open a .tif file with QGIS; however, unable to 
view the data and not sure why. Please let me know best way to view this file type 
in QGIS.
 > Thank you,
 > Gino
 >
 > ___
 > 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://lists.osgeo.org/mailman/listinfo/qgis-user>
 > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
<https://lists.osgeo.org/mailman/listinfo/qgis-user>

___
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://lists.osgeo.org/mailman/listinfo/qgis-user>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
<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] Opening GEOTIFF file in QGIS support request

2023-04-25 Thread Richard Duivenvoorde via QGIS-User

Hi GIno,

QGIS should 'just show/open/ geotiff's fine.

Can you open the geotiff in another viewer?
If not, or uncertain, are you sure it is a GEO-tiff (that is it contains the 
spatial info?) and not a 'normal tiff'?
If so: can you provide the output of 'ogrinfo ? This should show you 
info about the CRS/bbos/scale etc...

Is the CRS (Coordinate Projection System / 'projection') of your tiff set to 
the right value (comparted to your other layers or project crs)?

Regards,

Richard Duienvoorde

On 4/25/23 21:53, Gino via QGIS-User wrote:

Hello,
Good afternoon. Just wanted to send an email to request advice on opening a 
GEOTIFF file in QGIS. I'm trying to open a .tif file with QGIS; however, unable 
to view the data and not sure why. Please let me know best way to view this 
file type in QGIS.
Thank you,
Gino

___
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] How to permanently enable a plugin?

2023-04-07 Thread Richard Duivenvoorde via QGIS-User

On 4/7/23 13:36, Adam Nielsen via QGIS-User wrote:

Is there a way to permanently have them ticked, like the system plugins
are, so that I don't have to go in and re-enable them every time I load
QGIS?


Hi Adam,

Your preferred behavior IS the normal behavior so it is strange that in 
your environment QGIS behaves as is...

Normally when QGIS starts, it uses a so called 'profile folder' (see 
Settings/User Profiles/Open Active Profile folder).
QGIS saves a lot of state and information in that folder. To be precise, in the 
file (in that folder) QGIS/QGIS3.ini you find a block: [PythonPlugins] which 
has all 'activated' plugins. So next time QGIS starts it will enable those 
again.

If this is not working for you, I could think of some reasons:
- your profile folder is read only (OR the QGIS3.ini is not writable)
- your company let you start every time with a pristine copy of your profile 
(loosing your 'ticks')
Is that possible?

If all fails: you can start qgis (on the command line) by pointing to another 
place for all profiles:
qgis --profiles-path 
makes qgis start with a fresh profile in that folder

Hth, regards,

Richard Duivenvoorde

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


Re: [Qgis-user] Couldn't load plugin XY due to an error when calling its classFactory() method

2023-03-23 Thread Richard Duivenvoorde via QGIS-User

On 3/23/23 14:00, Bruno Streit wrote:

Thank you, that works perfectly! I've set the userLocal with 
QSettings().setValue('locale/userLocale', 'en_US'). Now the plugins work.

But how do I happen to miss this setting (on more than one computer)? In 
Options - General, I override the System Local, use 'American English' as User 
Interface and 'German Switzerland (de_CH)' al locale for numbers, date and 
currency formats. Is it because of this settings, that I need to set 
locale/userLocale via python console? Would it be wort filling a bug report for 
the missing setting?


No, the locale on your computer is not connected to the locale in QGIS' 
QSettings.
There is a QSettings set in every QGIS profile.

If nothing has SET it yet, it is not there. Software should check IF it is set, 
OR give a default.

Regards,

Richard

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


Re: [Qgis-user] Couldn't load plugin XY due to an error when calling its classFactory() method

2023-03-23 Thread Richard Duivenvoorde via QGIS-User


This means that you do not have a 'locale/userLocale' setting...
Which if the plugin tries to find out your language receiveds 'None'
Which it cannot get the first 2 chars from (using [0:2])

If you open the python console in QGIS, and paste/enter:

QSettings().value('locale/userLocale')
you will probably see nothing or None or Null or so.
With me it shows 'en_US'

To make sure you HAVE such a setting, you could SET it (in python console):
QSettings().setValue('locale/userLocale', 'en_US')
or another preferred language
QSettings().setValue('locale/userLocale', 'nl_NL')
QSettings().setValue('locale/userLocale', 'de_DE')

Then all plugins checking the language in one way or another will at least get 
the right locale.

It would even be better, if the code in the plugin code would be changed from:
QSettings().value('locale/userLocale')
to
QSettings().value('locale/userLocale', 'en_US')
because THEN if a user does not have a locale/userLocale setting it will return 
a default en_US value

(@gary: I'm not sure but I think this comes from the plugin builder, is that 
possible?)

Hope this helps.

Regards,

Richard Duivenvoorde



On 3/23/23 09:23, Bruno Streit via QGIS-User wrote:

Hi List
I keep getting an error when loading or installing plugins as 'Geometry 
Paster', 'Geodata to ENVI-met' and many others. It seems not to be a plugin 
related error, since it happens with many plugins. Or is it?
I'm working with QGIS Firenze ltr and had the problem with Biatowieza before. 
The plugins where updated in this year and are not outdated. In the web I find 
old error reports but the solutions seem not to fit. It seems to have to do 
with a 'locale' Setting:
locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'NoneType' object is not subscriptable
Any hints, how I could solve this?
Thank you.
Bruno
The whole report:
Couldn't load plugin 'geodata2envimet' due to an error when calling its 
classFactory() method


  TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):
   File "C:\PROGRA~1/QGIS32~1.4/apps/qgis-ltr/./python\qgis\utils.py", line 
423, in _startPlugin
     plugins[packageName] = package.classFactory(iface)
   File 
"C:\Users/icuser/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\geodata2envimet\__init__.py",
 line 36, in classFactory
     return Geo2ENVImet(iface)
   File 
"C:\Users/icuser/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\geodata2envimet\geodata2ENVImet.py",
 line 2553, in __init__
     locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'NoneType' object is not subscriptable


Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 
64 bit (AMD64)]
QGIS version: 3.28.4-Firenze Firenze, fd0fb72ab3


Python Path:

  * C:/PROGRA~1/QGIS32~1.4/apps/qgis-ltr/./python
  * C:/Users/icuser/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  * C:/Users/icuser/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
  * C:/PROGRA~1/QGIS32~1.4/apps/qgis-ltr/./python/plugins
  * C:\Program Files\QGIS 3.28.4\bin\python39.zip
  * C:\PROGRA~1\QGIS32~1.4\apps\Python39\DLLs
  * C:\PROGRA~1\QGIS32~1.4\apps\Python39\lib
  * C:\Program Files\QGIS 3.28.4\bin
  * C:\Users\icuser\AppData\Roaming\Python\Python39\site-packages
  * C:\PROGRA~1\QGIS32~1.4\apps\Python39
  * C:\PROGRA~1\QGIS32~1.4\apps\Python39\lib\site-packages
  * C:\PROGRA~1\QGIS32~1.4\apps\Python39\lib\site-packages\win32
  * C:\PROGRA~1\QGIS32~1.4\apps\Python39\lib\site-packages\win32\lib
  * C:\PROGRA~1\QGIS32~1.4\apps\Python39\lib\site-packages\Pythonwin
  * C:/Users/icuser/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  * C:/data/Solothurn_Mikroklima


___
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] Restrict User's access to extensions

2023-03-23 Thread Richard Duivenvoorde via QGIS-User


Pff, best to use paper maps and a calculator then ;-)

But seriously: disabling selective extensions (I think you mean the python 
'plugins') is hard and totally remove python makes QGIS a lot less 
productive/usable.

Not sure if you can remove the default qgis plugins repo (or make it 
unreachable for your users), but if(!) so, you could try to remove that url, 
and create your own repo which ONLY holds plugins you allow (but then you are 
responsible to periodically update them). And off course a user can always 
download the plugin from plugins.qgis.org as zip and install it (or even copy 
it from another computer).

Or do you mean other extensions?

Regards,

Richard Duivenvoorde



On 3/22/23 14:00, Rummer, Patrick (SGD Süd) via QGIS-User wrote:

Hello there,

i don’t know if this ist he right list, so pardon me if not.

I have the unpleasant task to deploy QGIS to all of our users via matrix42 
which is a problem in itself.

Anyways, the question of our - let’s call him „CSO“ – is if we can restrict the 
access to extensions.

I know that you can disable it from within the program but anyone could simply 
reactivate it or use zip-files or whatever.

Is it possible to restrict that somehow?

Kind regards,

Patrick


___
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] Disable anti-aliasing on XYZ layer

2023-03-09 Thread Richard Duivenvoorde via QGIS-User

( bringing it back to the list :-) )

And are you sure the image retrieved from the xyz server is not a jpeg 
(compared to your original png)?
You can try to see the actual url's used via F12 (the Debugging Development 
Tools panel) in QGIS.

Another option: QGIS does not respect the xyz-zoomlevels always.. so it is very 
easy to go to a zoomlevel in which QGIS has to resize the original image a 
little (and 'resample' it, see Rendering/Raster settings in the Options). So to 
really compare QGIS image to the original one, you have to use the 'Zoom to 
native resolution' in the legend/layer context menu).

Last idea: is your project in the same CRS as the xyz service (probably 
EPSG:3857?) Because if not, QGIS will also resample your original image to 
'fit' the tile in the right position in that other crs

(and again: I know nothing about Qt image rendering )

Regards,

Richard Duivenvoorde

On 3/9/23 15:36, Stephane Goldstein wrote:

I can see the difference by comparing the .png file in an image editor 
(https://pasteboard.co/YodS7tuhtzSC.png ) and 
how it's rendered in QGIS (https://pasteboard.co/tcGLRc7XrsNj.png 
).
The examples are at the same zoom level.

On Thu, 9 Mar 2023 at 21:46, Richard Duivenvoorde mailto:rdmaili...@duif.net>> wrote:

On 3/9/23 14:05, Stephane Goldstein via QGIS-User wrote:
 > Hi.
 > Is there a way to disable anti-aliasing of the png tiles loaded on an 
XYZ layer ?

Hi Stephane,

  From what do you conclude that there is anti-aliasing going on with XYZ 
layers?
I use xyz layers also but I'm not aware of such behaviour?

FYI: this is the code rendering the images:
https://github.com/qgis/QGIS/blob/master/src/providers/wms/qgswmsprovider.cpp 

(tried to search for 'alias' but could not find anything)

Note, I'm not an expert in this field, so just wondering...

Regards,

Richard Duivenvoorde




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


Re: [Qgis-user] Timestep for (Temporal) Mesh/netcdf layers?

2023-03-09 Thread Richard Duivenvoorde via QGIS-User

Hi Vincent,

Thanks for the clarifications!

I am aware that netcdf's can have variable time steps. But in my case the dataset 
are all run from a model which runs at variable lengths but in fixed time steps, 
outputting >60 variables.
So a run of 24 hour of every hour, or one of 3 days per 6 hours or 6 hours per 
10 minutes.

So the timestep are the same in one netcdf, it is just that I need to find out 
what the used 'timestep' is; actually to set the timecontroller timestep, 
because it is not set when I load a mesh using pyqgis (I have to download the 
model output zipped from some service endpoint, and put custom (logaritmic) 
classification styling on it...)

So the datasetMetadata (I think) does not give me that info? As it gives the 
timerange of the full dataset, but I would have to know the length of the 
variables then to know my timestep?

Thanks for your time!

Regards,

Richard Duivenvoorde


On 3/9/23 15:03, Vincent Cloarec wrote:

Hi Richard,

First, mesh layer time step is not supposed to be constant. Some dataset could 
have variable time steps, so there is not ONE time step available for each mesh 
layer or dataset group.

If you need one time step, you can deduced if by using one of these ways:
- QgsMeshLayer::datasetMetadata() that will return the metadata of the dataset, 
this metadata contains the method time() that will return the time of the 
dataset in hours from the reference time
- QgsMeshLayer::datasetRelativeTime() that will return a QgsInteval that is the 
time of the dataset from the reference time
- QgsMeshLayer::datasetRelativeTimeInMilliseconds(), same but return in 
milliseconds.

By soustraction of two dataset, you will have a time step, and if your data has 
constant time step it will be THE time step.
The reference time is not needed in your case but it can be obtained through 
the meta data of the dataset group.

Or you can also use your method with the temporalCapabilities that should give 
the same results, but it is more related to the data provider, and I would 
avoid using it as it could have some issues with dataset group indexes.

Note that the temporalUnit() of the temporal capabilities is not the unit of 
the time returned by the layer, but it the the data provider must considerer to 
read the times value. Default is hour for MDAL, but in certain case, when MDAL 
can't know the time unit, the user specify this unit.

Hope this helps.

Regards.

Vincent

Le mer. 8 mars 2023 à 10:42, Richard Duivenvoorde via QGIS-User 
mailto:qgis-user@lists.osgeo.org>> a écrit :

Ok, found it. It is in the temporalCapabilities...

So given a loaded netcdf/mesh with time.
Easiest is the firstTimeStepDuration(i) of 
QgsMeshDataProviderTemporalCapabilities:

   >>> p = iface.activeLayer().dataProvider().temporalCapabilities()
   >>> p
   
   >>> p.timeExtent()
   
   >>> p.temporalUnit()
      <<< ?
   # datasetTime() Returns the relative time in milliseconds of the dataset
   >>> p.datasetTime(QgsMeshDatasetIndex(0,0))
   360
   >>> p.datasetTime(QgsMeshDatasetIndex(0,1))
   720
   >>> p.datasetTime(QgsMeshDatasetIndex(0,2))
   1080
   # firstTimeStepDuration() Returns the duration of the first time step of 
the dataset group with index \a group
   # in milliseconds
   p.firstTimeStepDuration(0)
   360  == 3600 s = 1 hours
   p.firstTimeStepDuration(0)
   2160  == 21600 s == 360 minute == 6 hours

Only strange thing is that the temporalUnit() always returns 'hours', while 
the actual data time is relative in minutes...

    Regards,

Richard Duivenvoorde

On 3/8/23 10:46, Richard Duivenvoorde via QGIS-User wrote:
 > Hi,
 >
 > (trying here too, sorry for cross posting)
 >
 > When loading (temporal) Netcdf files (as MeshLayers), the 'timestep'
 > that you see in the Temporal Controller does not change.
 >
 > I had a look at the api, but could not find any indication of knowledge
 > by the QgsMeshLayer of the size of the timesteps of the data.
 >
 > Within netcdf's it is common to define the timesteps as something like:
 > "minutes since 2022-11-27 16:00:00.0Z"
 > then the first set has 0, and then the next one for example 60 for
 > hourly data or 10 for 10-minute data.
 >
 > Question: IS a temporal mesh layer aware of the timesteps used?
 >
 > Or if not: I seem not to be able to inspect the data array of the 'time'
 > dimension. Should/can I?
 >
 > IF so, we could we could deduct from the first 2 or 3 timesteps, the
 > size of the timestep.
 >
 > Anybody a hint or idea?
 >
 > Regards,
 >
 > Richard Duivenvoorde
 >
 > _

Re: [Qgis-user] Disable anti-aliasing on XYZ layer

2023-03-09 Thread Richard Duivenvoorde via QGIS-User

On 3/9/23 14:05, Stephane Goldstein via QGIS-User wrote:

Hi.
Is there a way to disable anti-aliasing of the png tiles loaded on an XYZ layer 
?


Hi Stephane,

From what do you conclude that there is anti-aliasing going on with XYZ layers?
I use xyz layers also but I'm not aware of such behaviour?

FYI: this is the code rendering the images:
https://github.com/qgis/QGIS/blob/master/src/providers/wms/qgswmsprovider.cpp
(tried to search for 'alias' but could not find anything)

Note, I'm not an expert in this field, so just wondering...

Regards,

Richard Duivenvoorde


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


Re: [Qgis-user] Timestep for (Temporal) Mesh/netcdf layers?

2023-03-08 Thread Richard Duivenvoorde via QGIS-User

Ok, found it. It is in the temporalCapabilities...

So given a loaded netcdf/mesh with time.
Easiest is the firstTimeStepDuration(i) of 
QgsMeshDataProviderTemporalCapabilities:

 >>> p = iface.activeLayer().dataProvider().temporalCapabilities()
 >>> p
 
 >>> p.timeExtent()
 
 >>> p.temporalUnit()
<<< ?
 # datasetTime() Returns the relative time in milliseconds of the dataset
 >>> p.datasetTime(QgsMeshDatasetIndex(0,0))
 360
 >>> p.datasetTime(QgsMeshDatasetIndex(0,1))
 720
 >>> p.datasetTime(QgsMeshDatasetIndex(0,2))
 1080
 # firstTimeStepDuration() Returns the duration of the first time step of the 
dataset group with index \a group
 # in milliseconds
 p.firstTimeStepDuration(0)
 360  == 3600 s = 1 hours
 p.firstTimeStepDuration(0)
 2160  == 21600 s == 360 minute == 6 hours

Only strange thing is that the temporalUnit() always returns 'hours', while the 
actual data time is relative in minutes...

Regards,

Richard Duivenvoorde

On 3/8/23 10:46, Richard Duivenvoorde via QGIS-User wrote:

Hi,

(trying here too, sorry for cross posting)

When loading (temporal) Netcdf files (as MeshLayers), the 'timestep'
that you see in the Temporal Controller does not change.

I had a look at the api, but could not find any indication of knowledge
by the QgsMeshLayer of the size of the timesteps of the data.

Within netcdf's it is common to define the timesteps as something like:
"minutes since 2022-11-27 16:00:00.0Z"
then the first set has 0, and then the next one for example 60 for
hourly data or 10 for 10-minute data.

Question: IS a temporal mesh layer aware of the timesteps used?

Or if not: I seem not to be able to inspect the data array of the 'time'
dimension. Should/can I?

IF so, we could we could deduct from the first 2 or 3 timesteps, the
size of the timestep.

Anybody a hint or idea?

Regards,

Richard Duivenvoorde

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


___
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] Timestep for (Temporal) Mesh/netcdf layers?

2023-03-08 Thread Richard Duivenvoorde via QGIS-User

Hi,

(trying here too, sorry for cross posting)

When loading (temporal) Netcdf files (as MeshLayers), the 'timestep'
that you see in the Temporal Controller does not change.

I had a look at the api, but could not find any indication of knowledge
by the QgsMeshLayer of the size of the timesteps of the data.

Within netcdf's it is common to define the timesteps as something like:
"minutes since 2022-11-27 16:00:00.0Z"
then the first set has 0, and then the next one for example 60 for
hourly data or 10 for 10-minute data.

Question: IS a temporal mesh layer aware of the timesteps used?

Or if not: I seem not to be able to inspect the data array of the 'time'
dimension. Should/can I?

IF so, we could we could deduct from the first 2 or 3 timesteps, the
size of the timestep.

Anybody a hint or idea?

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] QGIS on tablets

2023-02-17 Thread Richard Duivenvoorde via QGIS-User

I'm (just playing) with this tablet: ThinkPad X1 Tablet Gen3
It comes with Windows, but I run Debian Testing on it and I really like it, 
even the use of the pen.
Not sure about ruggedized cases for it though.

I'm afraid you will end up with the normal ruggedized Windows tablets which are 
available (and pretty expensive)?

Regards,

Richard Duivenvoorde

On 2/17/23 14:43, Chiz Harward via QGIS-User wrote:

Hi,

I am looking for suggestions/spec for a Windows* tablet** that can run QGIS 
during data collection and recording on archaeological sites (dusty, sometimes 
damp). The work is recording simple attributes and short text comments onto 
shapefiles of e.g. wall elevations (up to 20,000 polygons, although these could 
be split up). There will be geo-tif orthophotos of the wall elevations/plans as 
well, although these could be lo-res. All processing and analysis will be done 
in office on a desktop, tablet is just for recording.

Need a tablet that can work rapidly without beachballing between commands or 
when pan across mapping. SSD, 8GB RAM enough? Any advice appreciated,

*QField is not suitable for this project

**must be a tablet that can fit in a ruggedised case, laptops are no good for 
the work

Best wishes


Chiz


___
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 under Arch-Linux

2023-02-16 Thread Richard Duivenvoorde via QGIS-User

On 2/16/23 11:38, Ujaval Gandhi via QGIS-User wrote:

You can try installing using conda. The latest LTR and Current releases are 
available on conda-forge


OR is flatpak an option in Arch?
https://qgis.org/en/site/forusers/alldownloads.html#flatpak

Regards,

Richard Duivenvoorde
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] CSV layer, Time column null expressie to test for NULL/empty?

2023-01-18 Thread Richard Duivenvoorde via QGIS-User

Pff, ok found a solution:

"bezoek.begintijd" IS NULL

works

So if I want to test for empty strings, or NULL (like strings), AND real NULLS, 
I use now:

( "bezoek.begintijd" IS NULL   OR   "bezoek.begintijd"  in ('', ' ', 'NULL') )

Regards,

Richard Duivenvoorde

On 1/18/23 18:31, Richard Duivenvoorde via QGIS-User wrote:

We have csv data, which is loaded as layer via the Delimited Text Layer 
provider.

The data contains both a date and a time column, which we have to format as 
isodatetime using an QGIS Expression.

BUT sometimes time column is empty/no value (in which case we have to format it 
as isoTIME only).

So we have to check IF the time column is empty, then only format the Date, 
else use Date AND Time.

My problem is that I fail to create an expression for the test IF the column 
(see screenshot) is empty.

I thought to use (our column is called "bezoek.begintijd"):

"bezoek.begintijd"  in ('', ' ', NULL)

BUT this does NOT return True or False, but NULL !!

But:


("bezoek.begintijd"  in ('', ' ', NULL)) = NULL
does ALSO NOT resolve to True... (also NULL)

When the record has no data (the csv holds no data for that record), it shows

if it has data:


Anybody an idea what test I can use to test if the time column (which is typed 
as Time) is empty/null/none?

Thanks for any pointers.

Regards,

Richard Duivenvoorde

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


___
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] CSV layer, Time column null expressie to test for NULL/empty?

2023-01-18 Thread Richard Duivenvoorde via QGIS-User

We have csv data, which is loaded as layer via the Delimited Text Layer 
provider.

The data contains both a date and a time column, which we have to format as 
isodatetime using an QGIS Expression.

BUT sometimes time column is empty/no value (in which case we have to format it 
as isoTIME only).

So we have to check IF the time column is empty, then only format the Date, 
else use Date AND Time.

My problem is that I fail to create an expression for the test IF the column 
(see screenshot) is empty.

I thought to use (our column is called "bezoek.begintijd"):

"bezoek.begintijd"  in ('', ' ', NULL)

BUT this does NOT return True or False, but NULL !!

But:


("bezoek.begintijd"  in ('', ' ', NULL)) = NULL
does ALSO NOT resolve to True... (also NULL)

When the record has no data (the csv holds no data for that record), it shows

if it has data:


Anybody an idea what test I can use to test if the time column (which is typed 
as Time) is empty/null/none?

Thanks for any pointers.

Regards,

Richard Duivenvoorde___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to build qgis

2022-12-19 Thread Richard Duivenvoorde via QGIS-User

Hi Deimer,

You did not provide very much information :-)

But from your second link I concluded that you are building on Windows x?

Not so many Windows users (OR developers) build QGIS their selves (me included) 
on their own machines. On Linux it is a lot easier as the most lib will be 
provided by your distro. On Windows it is (for what I know) best to stick to 
the Osgeo4w packages.
Note that building a complex beast as QGIS (+needed modules/libs) isn't easy, 
so unless you have experience or really want to build experience,  I think it 
is best to try to compile the same way as the Windows packagers do

IF you need help on Win builds, it is better to sent an email to the Qgis-dev 
list AND provide more information (what tools are you using, what errors do you 
see, what Windows version etc etc)...

Regards,

Richard Duivenvoorde

On 12/19/22 22:14, Deimer Caldera via QGIS-User wrote:

Hi.

I have tried to build qgis from source with this document 
https://github.com/qgis/QGIS/blob/ltr-3_22/INSTALL.md 
 but I got many errors. 
Recently I found this guide
https://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg52306.html 
 but 
the build gives me some errors (error LNK2019: unresolved external symbol).

Is there any updated documentation to make the build successful?

Thank so much for your attention.

--
Deimer Caldera

___
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 behavior for DB table with single general geometry column vs table with multiple specific geometry columns

2022-11-30 Thread Richard Duivenvoorde via Qgis-user

Hi Johannes,

A good idea, which I think is not yet implemented in browser, for what I know.

I know that there has been some funding on moving DB Manager functionality to 
the browser. So browser/database function getting better and better with every 
QGIS version.

Not sure if this would be an idea for a next funding round?

Regards,

Richard Duivenvoorde


On 11/28/22 14:39, Johannes Echterhoff via Qgis-user wrote:

Hi all,

This topic may have come up before, in which case I apologize up-front. I just 
want to make sure that I am not missing anything.

My question is about the behavior in QGIS for a database table, let's call it 
"ft_geometry", with a single, general geometry column (geometry type is GEOMETRY), 
compared to the behavior of a table "ft_multi" which has multiple columns with a specific 
geometry type (for example, one column with MULTIPOINT and one with MULTILINESTRING). When I 
connect to such a database - e.g., a PostgreSQL one - and open it in the project browser, then 
ft_geometry is not shown at all, while ft_multi is shown as many times as there are columns with 
specific geometry type.

QGIS allows adding ft_geometry manually, thereby choosing a specific geometry type for editing, via the Data Source Manager and via the DB Manager. I'll explain that using an example database schema and QGIS screenshots in more detail below, just for reference. However, what I am wondering is: Is it possible to somehow achieve, that, when opening the database in the project browser, ft_geometry is also shown with a list of specific geometry types (e.g., point and line)? Is there maybe a configuration option where one could set the desired specific geometry types, to be used in such a scenario, or a plugin? I've scanned the list of available plugins in QGIS 3.28.0, without success - but I may very well have missed something there. The background of why I'd like to have a certain list of specific geometry types is that in my use case, objects represented by tables like ft_geometry always have the same list of specific geometry types - and there can be many such tables in the 
database, which is why I am searching for a way to avoid manually adding such tables (each as many times as the specific geometry types that are needed).


Any help or guidance would be very appreciated.

Best regards,

Johannes

P.S.: Here is the database schema as well as QGIS screenshots

--

CREATE EXTENSION postgis;

CREATE TABLE ft_geometry (

    _id bigserial NOT NULL PRIMARY KEY,

    name text,

    position geometry(GEOMETRY,25832)

);

CREATE TABLE ft_multi (

    _id bigserial NOT NULL PRIMARY KEY,

    name text,

    position_point geometry(MULTIPOINT,25832),

    position_line geometry(MULTILINESTRING,25832),

    position_polygon geometry(MULTIPOLYGON,25832)

);

CREATE INDEX idx_ft_geometry_position ON ft_geometry USING GIST (position);

CREATE INDEX idx_ft_multi_position_point ON ft_multi USING GIST 
(position_point);

CREATE INDEX idx_ft_multi_position_line ON ft_multi USING GIST (position_line);

CREATE INDEX idx_ft_multi_position_polygon ON ft_multi USING GIST 
(position_polygon);

--

My test project, in which I've connected to the "test_geometry" database; table ft_geometry is not 
shown in the project browser ("Also list tables with no geometry" is enabled in the connection 
settings, as is "Don't resolve type of unrestricted columns (GEOMETRY)"); table ft_multi is shown 
three times:

One can add ft_geometry via the Data Source Manager, by manually selecting the 
spatial type:

Another way to add ft_geometry is via the DB Manager; here is the view of 
ft_geometry in the DB Manager:

And here is the view in the DB Manager for ft_multi (just in case):

By selecting ft_geometry in the DB Manager view of database test_geometry, then 
right-clicking, the dialog with the option to "Add Layer (Advanced)..." opens:

There, one can choose the specific geometry type - as well as CRS (which should 
be chosen to match the one defined in the column geometry definition):


___
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] Problem Noticed with QGIS

2022-11-29 Thread Richard Duivenvoorde via Qgis-user

On 2022-11-29 16:17, Richard McDonnell via Qgis-user wrote:

We run the Check Geometries Tool and it flags the data as Geometry
Type Error. So I run the Multipart to Singlepart tool and….well
that's where the problem is…


Which 'Check Geometries Tool'?

What kind of data/file are you 'checking'? Shape file or Geopackage?


1.   If I use the option [Create temporary Layer] it produces a
Singlepart Geometry as Expected, If I save the output to a File, the
resultant geometry is stated as Polygon (MultiPolygon) Its the same
for Linestrings also.


If you say "save data to File": do you mean Geopackage?


Now I did find this.. https://github.com/qgis/QGIS/issues/50720 [1]
which flags the same issues, but states that its down to the Shapefile
Specification.


I read that issues as: there is (for QGIS or other tools), no way to 
write a singlepart line or polygon in a shapefile as the shapefile spec 
would not have a way to write that types in the shapefile.
So when you'll ask a shapefile 'what kind of geoms have you in your 
belly' it could actually not tell, unless it goes over all geoms and 
check what is in it...


Do you have examples of files which are OK?

What kind of tools do you use to check?

What does for example 'ogrinfo' report to you about your 'files'?

Regards,

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


Re: [Qgis-user] Missing python plugin support on Win7

2022-11-25 Thread Richard Duivenvoorde via Qgis-user

WIndows dropped support for the latest python versions.
Or de other way around, Python did not support Windows 7 anymore, I forgot.

Anyway, you will not be able to run the latest version of QGIS on a Win7 
machine. Because QGIS depends on a newer Python version then will run on your 
Win7 machine.

You can download an older QGIS version (3.14 if I'm correct) which contains a 
Python which is working on Win7.

Or: try to upgrade to Windows 10
Or: install Ubuntu on your machine ( <= my preferred solution ;-) )

Regards,

Richard Duivenvoorde

On 11/25/22 08:07, Antonio Valanzano via Qgis-user wrote:

I have used the latest osgeo4w-setup.exe (which includes the patch for Win7)  
on a pc with Win7 and I have installed QGIS 3.22.13-Białowieża.

It starts but when I try to install a plugin I do not see a list of available plugins and 
in the "settings" tab there is this message

Python_support_missing.JPG


So in Win7 is not possible to use any plugin apart from these 3

Available_plugins.JPG



Is there a way to activate the Python support choosing some options in the 
setup program ?
I have accepted all the default options during the installation.

Antonio




___
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] Coordinate display in different coordinate systems

2022-10-28 Thread Richard Duivenvoorde via Qgis-user

Right-click in the mapcanvas shows you 'Copy coordinates', with the crs's which 
are in your project (I think).
You can also add a custom crs.

It shows them, AND you can copy one of them.

That is not what you want?

Regards,

Richard Duivenvoorde


On 10/28/22 15:30, Tanja Hartinger via Qgis-user wrote:

Hello
I have a question about the coordinate display. Is it possible that I
can display the coordinates in several coordinate systems (I am in
Germany and therefore in my case it is about the coordinate systems
Gauß-Krüger and UTM) somewhere on a map at the same time? I don't want
to set an object there. Ideally, I click somewhere and then the
coordinates are displayed in several coordinate systems. Is this
possible in any way?
Thank you very much in advance.
Many greetings,
Tanja

___
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] Generate XYZ Tiles in QGIS from OSM? Broken?

2022-10-03 Thread Richard Duivenvoorde via Qgis-user

Hi,

I tried to create a small off line version of OSM for a municipality from a 
OpenStreetMap xyz layer.
More or less like this clip: https://www.youtube.com/watch?v=IWGkW0_DrHo

But... if I do this (even with the exact example from the youtube movie), 
nothing is generated...
QGIS starts at 1% and stays there, no requests being fired, nothing generated, 
nothing...?

I've tried on 3.22 and master, all the same result.

Anybody here can succesfully create an MBtiles file from for example Cyprus?

Or did anything change, that makes it fail with me?

Thanks for any info.

Regards,

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


Re: [Qgis-user] Profile data (other than plugins) that can cause crashes?

2022-09-22 Thread Richard Duivenvoorde via Qgis-user

Not sure if this is in your capabilities, but I would try to compile/install 
QGIS myself (in debug mode).
Then read up a little about the first steps of gdb, and start QGIS via gdb, 
then upon a crash the debugger will jump in and you will get some context about 
the crash.
Even without debugger a in debug mode compiled QGIS will show a lot of info in 
it's stacktrace.

I'm not aware of other methods (on Kubuntu) to show this..

Some other options:
- try to close the 'browser-panel', I've seen some issues with that one (though 
not crashes)
- minimize your plugins, or if possible try if you can make QGIS crash without 
any plugin
- maybe make a list of types of data you load in your projects (to see if it 
could be data related)
- is it project file related (are you using older projects, not that that 
should be a problem, but..)

Please create an issue report, with as much info as possible

Others?

Regards,

Richard Duivenvoorde


On 9/22/22 04:31, Patrick Dunford via Qgis-user wrote:

Good day

Since I first began to use Kubuntu 22.04 from the .0 release I started to see 
crashes on Qgis that weren't experienced on the same versions running on 
previous releases of Kubuntu (certainly the case on 20.04). These seem to come 
and go depending on some random factors, which makes it extremely hard to write 
up a meaningful bug report for the issue which is why so far all that has been 
filed is one with the Ubuntu project bug reporting system.

All of these crashes occur when Qgis attempts to display a file operation 
dialog (e.g. add a layer, save a layer definition file, etc).

Today I started to see these issues happening on a system that has been trouble 
free for weeks if not months, the crashes became very consistent / repetitive 
which had not been observed for a long time up to now if at all.

I have tried a new profile and at the moment that makes the problem go away. 
However the next question would be what might be contained within a profile 
that could cause such an issue. Often it is considered the most likely issue in 
a profile is to do with installed plugins. In this case, both profiles contain 
the same plugins which are the 10 that are installed as core plugins (5 
selected by default). If the issue is within a profile, it must be some other 
part of the profile.

Is there any base of experience about other parts of a profile (such as user 
settings) which can cause issues?

The most obvious different between profiles in this case is previewImages 
folder, however removing these images made no difference to the issue. It would 
require further testing or analysis to try to find out where the issue might be 
occurring. Nevertheless a bug report has been filed, attaching the old and new 
profiles.

Is there any straightforward way of producing a comparison between different 
versions of the databases (which must include all the user settings) in a 
profile.

T.I.A.
___
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] Issues by using a script inside the python console

2022-09-13 Thread Richard Duivenvoorde via Qgis-user

I use succesfully the following in a script and a plugin:

# Voronoing ONLY the selected
# NOTE: the colon (:) behind 'memory' in the 'OUTPUT' param is 
mandatory,
# else QGIS will create a geopackage!
selected = True
params = {
'INPUT': QgsProcessingFeatureSourceDefinition(point_layer.id(), 
selectedFeaturesOnly=selected),
'OUTPUT': 'memory:',
'BUFFER': 5,
}
result = processing.run("qgis:voronoipolygons", params)

Maybe you can use that to reconstruct your call?

Regards,

Richard Duivenvoorde


On 9/13/22 10:52, Hesels, Marie-Christine via Qgis-user wrote:

Hi all,


I am currently using the "Snap to Roads" script inside my qgis environment, to match 
gpx-points to the OSM (https://spatialthoughts.com/2020/02/22/snap-to-roads-qgis-and-osrm/ 
).

I am able to execute the Script by using the QGIS Script Environment:



Unfortunatly, I would like to run the script via python console inside QGiS, 
but this doesn't work at all ...


By executing the following command:


layer_SnappedLine = processing.run("script:snap_to_roads",
{'INPUT':layer_GPX_Points['OUTPUT'],
'SERVICE':'http://127.0.0.1:5000',
'TOLERANCE':10,
'OUTPUT':'TEMPORARY_OUTPUT'})

I receive the error message:

"Traceback (most recent call last):

   File "C:\PROGRA~1\QGIS32~1.10\apps\Python39\lib\code.py", line 90, in runcode
     exec(code, self.locals)
   File "", line 1, in 
   File 
"C:\PROGRA~1/QGIS32~1.10/apps/qgis-ltr/./python/plugins\processing\tools\general.py",
 line 108, in run
     return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, 
context)
   File 
"C:\PROGRA~1/QGIS32~1.10/apps/qgis-ltr/./python/plugins\processing\core\Processing.py",
 line 205, in runAlgorithm
     layer = context.takeResultLayer(result)  # transfer layer ownership out of 
context
TypeError: QgsProcessingContext.takeResultLayer(): argument 1 has unexpected type 
'QgsFeatureSink'"

Can anybody help me with this issue? I am using QGIS Version 3.22.10

Regards and thanks,
Marie


___
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 freezes at loading screen

2022-09-10 Thread Richard Duivenvoorde via Qgis-user

On 9/9/22 17:06, Torben Kreuzberg via Qgis-user wrote:

Hello everyone,
i have the following problem:
when i try to start QGIS it freezes at the loading screen at last step ("QGIS is 
ready"/"QGIS ist startklar").
It happens at the start of every project i try to open.


And it is at the end finally loading (if so, could it be a proxy setting? Qgis 
maybe trying to fetch stuff from internet, OR trying to open network 
connections (QGIS browser panel?)?

If all fails, either create a new profile in QGIS or just move you 'default' 
profile folder and let QGIS create a new one?
You can always try to move back or copy over plugins/scripts/whatever you need 
from your old profile

HTH

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] [QGIS-Developer] Model for Temporal Measurement (vector) Datasets ?

2022-09-04 Thread Richard Duivenvoorde via Qgis-user

On 9/4/22 15:27, Matthias Kuhn wrote:

Hi Richard,

It seems to me this should be possible using:

1. Two tables:
- Points
- Measurements (Timestamp, Measured attribute)

2.  A view (Points LEFT JOIN Measurements)



What would be the actual result in your case (eg in the case of 2 points with 
100 measurements each)?

That would be 2 records/features isn't it? With..., I dont know, the last join?
OR 200 records (which is the actual way QGIS/GIS is handling this?

Note that I'm not talking about storage here.
I'm looking in a way, the temporal controller (or something else) can 
(separately from the geometries) request the timestamp/value data.
For example: FIRST requests all Locations of Sensors,
Then (based on the status of some (temporal) controller) request a subset of 
the values/timestamps.

I'm looking into this, because I'm searching for a way to handle massive 
datasets, in which it is such overkill to again and again sent over the 
geometries (be it points or polygons)...
Or another use case: I want points on the map, and timestamps/values flying in 
realtime as they are measured...
Or: you have a giant km grid covering the whole of europe, and data (per hour) 
for 7 days of data, and you can request (remotely!) the value for every grid 
cell per 10 minutes (without having to request the geometry every time...)

Regards & all thanks for the input,

Regards,

Richard



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


Re: [Qgis-user] [QGIS-Developer] Model for Temporal Measurement (vector) Datasets ?

2022-09-04 Thread Richard Duivenvoorde via Qgis-user

On 9/4/22 14:35, Tim Sutton wrote:

Hi Richard

Don’t people normally use things like https://www.timescale.com/ 


For this? In any case some of our clients that are doing things like vehicle 
tracking are…


Yes to *store* it, but my point is: given 2 points with 100 timesteps, QGIS 
will create 200 features for it to be able to display it...
So to 'view' that data in (Q)GIS, you have to flatten it to a 'table' with 200 
features...

While the actual interesting part is the value and the time, NOT those 2 xy 
fields... (the case of moving vehicles is slightly different, there the xy 
values also change)...
Maybe I'm in the wrong crowd here to tell the geoms are not so much of interest 
in my case ;-)

I'm looking for a way/model (non tabular) that QGIS creates 2 
geometries/features, and then will style/paint it based on the timestamps and 
values

The use case here: having 5000 sensors in Europe, having 500.000.000 
measurements in total, I don not want to create 500.000.000 features.

I'd preferred to create those 5000 features, and then get the 
geom-id/value/timestamp for a given filter range and repaint my canvas.

Something like 'dynamic' joins: the geometries will stay the same, but the 
'joined' columns/table will change based on the 'temporal filter' requested.

Sorry if I can not make myself more clear (or making it more complex that it 
maybe is...) :-)

Regards,

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


[Qgis-user] Model for Temporal Measurement (vector) Datasets ?

2022-09-02 Thread Richard Duivenvoorde via Qgis-user

Hi All,

Anybody is aware of a model in which data owns a location, but THAT location 
has a (growing) set of [timestamp, value] observation data to it

In GIS/QGIS everything is tabular (talking about vector here, I know meshes can 
have more shapes).

But in the IOT world the 'location' is 'just an attribute', and the 'other' 
data is actually more of interest (and growing in time).

Currently to view measurements, 'we' often replicate the location for every 
value/measurement: we create a 'Feature' for every time step (eg for example 
via a WFS)

The OGC has a SensorThingsApi (STA) standard, in which for given location you 
can request all values/observations (of filter a certain sensortype/parameter). 
So one geometry has a full table of data to it.

BUT to 'work' with that data in QGIS, you always have to 'flatten' it, one way 
or another, (I think), for every time step: create a feature with: location, 
time, value...

My Question:

- isn't there some model (or can we come up with one) in which a location can 
actually have a range of time/value data (like some table join like), and when 
you use the Temporal Controller, you style your layer by RE-using the one 
location, but getting the value for current Timestamp (in the TimeController). 
Some sort of indirect filtering?

- or is this the mesh model (I know netcdf's in which you have often predefined 
meshes/location and the data/time vector is growing)?
And would a solution be to have some kind of in memory vector -> mesh loader or 
so???

I hope this makes sense to others. Any input appreciated.

Regards,

Richard Duivenvoorde

PS, if you want to play with SensorThingsApi:
- install: https://github.com/AirBreak-UIA/SensorThingsAPI_QGIS-plugin
- connect it to: 
https://airquality-frost.k8s.ilt-dmz.iosb.fraunhofer.de/v1.1/Locations
(around 5000 location and 500-million 'observations')
- load all locations in one layer, and click on a location
My point: the data is then viewable/selectable by table and graph, but NOT 
loadable in a sense way (yet) in QGIS...
___
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] mdal / mesh simple formats

2022-08-26 Thread Richard Duivenvoorde via Qgis-user

Hi Matt,

I'm not a Mesh expert either, but I use (and create) netcdf using python using 
the
https://github.com/Unidata/netcdf4-python module

Netcdf is pretty good supported in QGIS in my experience
 
Our data has also a time dimension so we use the CF convention [0] and fiddling around with the so called UGRID convention [1] But maybe that is both too much for a simple tin...


I Googled:
https://stackoverflow.com/questions/48864357/convert-hdf5-to-netcdf4-in-bash-r-python-or-ncl
as being able to convert hdf5 to netcdf... didn't/couldn't try/test though..

Regards,

Richard Duivenvoorde

[0] https://en.wikipedia.org/wiki/Climate_and_Forecast_Metadata_Conventions
[1] http://ugrid-conventions.github.io/ugrid-conventions/#data-variables

On 8/26/22 03:32, Matt Boyd via Qgis-user wrote:

Thanks, thats pretty helpful.
I'm running QGIS 3.26.2-Buenos Aires installed from osgeo.
under the xdmf directory there the xmf/hdf files look pretty similar
to what I'm using but they won't load. there's a partial duplicate of
the data in the hdf file in that directory as a 2dm file which does
work.
I'm still not sure if I'm supposed to be able to load the xmf/hdf
files directly using mdal? I can easily drop out my hdf5 data to the
2dm format is this the proposed way to do it?

Thanks again
Matt

On Fri, Aug 26, 2022 at 4:09 AM Delaz J via Qgis-user
 wrote:


Hi Matt,

The mdal repo has a number of mesh data
(https://github.com/lutraconsulting/MDAL/tree/master/tests/data) but
whether these are simple meshes/formats or not is beyond my
understanding of this data type.

Hope that helps,

Harrissou

Le 25/08/2022 à 09:41, Matt Boyd via Qgis-user a écrit :


Hi QGIS people,
I asked something like this a couple of years ago, managed to find
some workarounds and now that I know a little more about what I'm
doing I could use a bit of help.
I've got some simple tin meshes that I'd like to drop into QGIS, they
get generated in a python modelling software I'm using.
The data all sits in a single hdf5 file, points with coordinates, the
cells which are just the indexes of 3 points, plus attributes for each
point. About the simplest mesh setup I can imagine.
I'm trying to find the simplest format that mdal supports with an
example dataset so I can make something similar. (ideally hdf5 so I
don't need to work out how to use anything new in python).

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

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

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


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


Re: [Qgis-user] Problem reading QGIS menus or tool tips in Ubuntu MATE

2022-08-26 Thread Richard Duivenvoorde via Qgis-user

QGIS, in the end, delegates the creation of Tooltips and Menu's to the 
Qt-Toolkit.

The Qt-Toolkit then has different implementations to actually draw those, 
depending on your Operating System.

I'm not familiar with Ubuntu MATE, but maybe it's not fully supported by Qt? In 
other Linux distro's there are often different themes/window managers to choose 
from, would that help?

Ubuntu to me is well known as "the company who tries to know better... and give up 
after some time"...

Is there a special reason to NOT use Gnome as desktop? I'm in favour of 
diversity, but I think as we (as linux users) are already a minority, we should 
try to focus/support on not too many flavours.
( I'm OK with KDE/Kubuntu too :-) )

Sorry to be not more helpfull, maybe other MATE users have an idea?

Regards,

Richard Duivenvoorde

PS, googling how MATE differs from Gnome I found: 
https://itsfoss.com/which-ubuntu-install/
It's based on (OLD!!) gnome2... Please give the new Gnome a try, it's my daily 
driver for years now, and I'm very happy with it

On 8/26/22 01:27, Herman Felderhof via Qgis-user wrote:

Background: I have recently upgraded from Ubuntu 20.04 LTS (Focal), to Ubuntu 
22.04 (Jammy). QGIS was upgraded at the same time to 3.22 LTR Białowieża. I 
think I may have had 3.16 LTR Hannover before that but I'm not certain.

The Problem: I can only read either the drop down menus in QGIS or the tool 
tips, it doesn't matter if I choose a light to a dark theme in Ubuntu MATE 
22.04. When I switch to a dark theme the menus are okay and I can read them, 
they have light text on a dark background, but when I hover over an icon the 
tool tips have light text on a light background and are therefore illegible. 
The opposite problem occurs whenever I switch to a light theme.

What I have tried: Opening other applications to see if it's only QGIS, and no 
other applications seem to have this problem. I have tried changing to several 
different themes in Ubuntu MATE, opening and closing QGIS after resetting the 
theme, rebooting, trying in a different computer, looking to see if I can find 
any settings to fix the problem, upgrading QGIS from 3.22 LTR Białowieża to 
3.26 Buenos Aires, searching web forums in case somebody else has the same 
problem and a solution is already known.

My questions: Are there any settings available to users that I can use to fix 
this problem? Or is this a bug and outside the scope of ordinary users 
control?I am not afraid of using the command line or editing files if 
necessary, especially if I have clear instructions.

Thanks for any help or even just comments.

___
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] Drag/drop style.qml files?

2022-08-25 Thread Richard Duivenvoorde via Qgis-user

:-) Yes, I know those are working

But my use case are users which download daily netcdf's from a external server 
which contain all kind of weather data ('layers'). I thought to create a good 
style for all those and then make them available to them, and tell them: 'just 
drag/drop rain.qml over the precipiation layer'

A .qlr file also holds a handle to the data/file, which in my usecase is 
different every day...

But I'm afraid that will be a Feature Request then ...

Thanks,

Richard



On 8/25/22 15:27, Wouter Impens wrote:

Hi Richard,

I think you've been dreaming about the .qlr file :)
Difference between Layer Definition File (qlr) and QGIS Layer Style File (qml)? - 
Geographic Information Systems Stack Exchange 
<https://gis.stackexchange.com/questions/330532/difference-between-layer-definition-file-qlr-and-qgis-layer-style-file-qml#:~:text=The%20QML%20file%20(.,layer%20source%20pointer%20%2B%20style%20information>

Greetings
Wouter

On Thu, 25 Aug 2022 at 11:14, Richard Duivenvoorde via Qgis-user 
mailto:qgis-user@lists.osgeo.org>> wrote:

Hi,

Did I dream about this, or did I see some demo somewhere about dragging and 
dropping a style layer file (.qml) on a layer (in the layer panel) to style a 
layer?

I just tried, and failed, I googled but hit only info about Qt-QML...

Anybody can help me? Dream or Reality :-) ?

Regards,

Richard Duivenvoorde
___
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://lists.osgeo.org/mailman/listinfo/qgis-user>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
<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] Drag/drop style.qml files?

2022-08-25 Thread Richard Duivenvoorde via Qgis-user

Hi,

Did I dream about this, or did I see some demo somewhere about dragging and 
dropping a style layer file (.qml) on a layer (in the layer panel) to style a 
layer?

I just tried, and failed, I googled but hit only info about Qt-QML...

Anybody can help me? Dream or Reality :-) ?

Regards,

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


Re: [Qgis-user] Latest development version of QGIS as a .msi standalone installer ?

2022-08-25 Thread Richard Duivenvoorde via Qgis-user

On 8/17/22 10:48, Bo Victor Thomsen via Qgis-user wrote:

I have a customer who would like to follow the development cycle of the latest 
development versions of QGIS (i.e. QGIS ver. 3.27.nnn) .

I know you can use the OsGeo4W installer to install the development version of 
QGIS. However, the customer is not able to use this solution because of a veto 
from his IT department.

So is there a http- or ftp- location where I can download the QGIS development 
version as a msi package ?


Hi Bo,

Via https://github.com/qgis/QGIS-Website/pull/1044

Andrea made me aware that we have a weekly (!) msi build of

- LTR
- current stable
- current developement

See
 
https://download.osgeo.org/qgis/windows/weekly/?C=M=D%3E


So I think THAT is what you/r client wants :-)

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] Latest development version of QGIS as a .msi standalone installer ?

2022-08-24 Thread Richard Duivenvoorde via Qgis-user

On 8/24/22 10:00, Luca Manganelli via Qgis-user wrote:

I confirm Python problems with the latest QGIS LTR MSI installer (3.22.10). At 
launch, QGIS cannot load qgispyrhon.dll.


Hi Luca,

Are you sure there is not something wrong with your install/OS?

Trying to confirm this I just downloaded/installed 3.22 from:

https://download.osgeo.org/qgis/windows/QGIS-OSGeo4W-3.22.10-1.msi

And everything was working fine?

Regards,

Richard Duivenvoorde



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


Re: [Qgis-user] Latest development version of QGIS as a .msi standalone installer ?

2022-08-19 Thread Richard Duivenvoorde via Qgis-user

On 8/19/22 08:38, Andrea Giudiceandrea via Qgis-user wrote:

Hi Richard,
AFAIK Python works without issues with the MinGW64 Windows Build of QGIS on 
Windows 10 64 bit.


Hi Andrea,

YOU are right ! \o/  So this way you can have a working Windows QGIS 'from the 
edge'!?

Sorry I was told earlier that python wasn't working, and I did not have time 
yesterday to do thorough testing in my virtual windows env, so when I saw a 
python error (from tile... something), when starting QGIS, I just quit it and 
wrongly concluded python was missing.

@bo IF your client can just 'run' such executables, this could be a way to 
'test' out development versions (in which I want to note: it's not 'supported 
nightlies', these are pull request binaries, so DRAGONS can be at the edges!!!

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] Latest development version of QGIS as a .msi standalone installer ?

2022-08-18 Thread Richard Duivenvoorde via Qgis-user

On 8/17/22 10:48, Bo Victor Thomsen via Qgis-user wrote:

So is there a http- or ftp- location where I can download the QGIS development 
version as a msi package ?


Depending on WHAT exactly you want to test (only core stuff), you can download 
a windows 'artifact' from a pull request with all tests succeeded and run that.

BUT BUT !!! this is without any python stuff I'm told So barely usable, 
unless you want to test something from core.

Anyway, this is an example:

https://github.com/qgis/QGIS/pull/49824/checks

and then from the Windows build get the 'QGIS for Windows 64bit' zip (NOTE: 
ONLY when you logged in you can download the artifact, else it is just not a 
link!)

Unzip it (folder QGIS-Portable) and run the qgis binary from the bin folder

(mmm, just checked but you get a lot of warnings from windows not sure if 
it is helpfull for somebody who is fleeing from admins... :-))

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] OGC API and paging

2022-08-02 Thread Richard Duivenvoorde via Qgis-user

On 8/1/22 17:26, nagyrobi_r--- via Qgis-user wrote:

Hei everybody!

As far as i see, adding a new OGC-API layer is done much in the same way as 
adding a WFS layer.
I just need to sediment some information in my head, so:
1. Max number of features would be the number of features that the service 
would respond even though the number of rows can be larger than the max number 
of features.
2. Page size would then split up the response so one response would only have 
the number of rows that correspond to page size. For example max number of 
features is 100, page size is 20, we would then have 5 responses, since 20*5 = 
100.

  I was curious, does Enabling feature paging, and setting the page size have 
any effect on an OGC api?


Hi Robert,

I have the exact same question, after seeing OGC-API client in QGIS only 
requesting 100 features, instead of paging.

I managed to get paging work (in combination with 'within current view') using 
PyQGIS partially (no apparent caching or use of ID's, QGIS always 
requesting/paging ALL features within the view),see

https://github.com/qgis/QGIS/issues/49404

Not sure if this is helpful, I hope someone really into the API will follow up

Regards,

Richard Duivenvoorde


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


Re: [Qgis-user] qt designer does not have/show QgsDateEdit widget

2022-07-20 Thread Richard Duivenvoorde via Qgis-user

Hi Janneke,

I'm on master here with designer with all qgs widgets, and I do not have it 
either.

When I create a form though, with a field which has a datetime field, I CAN set 
the 'Field Format' to 'Date'-only...

So maybe there is some extra sip/development work needed to make this widget 
also available in QtDesigner?
(try to ask this question on the defv list?)

Or (not tested), maybe you can create an ui iwth QgsDateTime, and manually edit 
the ui file?

HTH, Regards,

Regards,

Richard Duivenvoorde

On 7/19/22 20:28, Janneke van Dijk via Qgis-user wrote:

Dear all,

I need a date widget that can be set to a null date. From 
https://qgis.org/pyqgis/master/gui/QgsDateEdit.html#module-QgsDateEdit 
 I 
understand that this should be possible (from 3.14 upwards). In Qt Designer 
(osgeo4W/bin/qgis-designer.bat which I understand is shipped with QGIS 3.26) I only 
see the QgsDateTimeEdit widget.

image.png

How can I use the QgsDateEdit widget?

___
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 error and missing directories under Fedora 36

2022-07-19 Thread Richard Duivenvoorde via Qgis-user

On 7/19/22 07:12, Patrick Dunford via Qgis-user wrote:

Hello

The metasearch error is the same one that often comes up running the Flatpak 
edition of Qgis, however the Gis works well.

Are you running the Flatpak edition? The directory path may in fact be 
/.var/app/share etc.

Errors dues to the Flatpak environment are possibly down to Flatpak packaging 
and not necessarily in the software itself.


See: https://github.com/flathub/org.qgis.qgis/issues/174

Regards,

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


Re: [Qgis-user] Qgis 3.22.8 Error messages displayed in the GUI

2022-07-11 Thread Richard Duivenvoorde via Qgis-user

Hi Piet,

Better to sent this to the dev list, I think...

If I'm correct, there was a time in history, where all Qt warnings/errors were 
hidden, thereby eventually hiding real issues.
Now, (only if you have a debug build), these are very, very visible :-)

You could propose (on the dev list) to create some option/flag for it?
Or else do a release build?

Mmm, looking into the code:
https://github.com/qgis/QGIS/blob/master/src/app/main.cpp#L435
telling:
"// also be super obnoxious -- we DON'T want to allow these errors to be 
ignored!!"

not sure if you succeed

:-)

Regards,

Richard Duivenvoorde


On 7/11/22 13:39, Piet via Qgis-user wrote:

Dear List,

I used a selfcompiled Qgis, build with 'Debug-Option' set in ccmake.

Now there's a small red window in the main window which displayed 
errors/warning.

In my case "Qt: QXcbConnection: XCB error: 3 (BadWindow), sequence: 65154, resource 
id: 11286601, major code: 40 (TranslateCoords), minor code: 0",

which seems to be a known QT-Bug.

Can I turn of this error window?

Because it's upset me a bit and I can see the warnings in a console as well.

Thank you for any hint!

Kind regards

Piet


___
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] Uninsstalled 3.22.7 - RE: Burned by QGIS again - Windows 10 QGIS 3.22.8

2022-07-06 Thread Richard Duivenvoorde via Qgis-user

Hi Jeff,

Can you check this: 
https://qgis.nl/2021/11/05/qgis-on-windows-oops-could-not-load-qgis_app-dll-message/

With us it was a opencl.dll which is wrongly copied/not removed by Windows (see 
links in the post).

Short version: make sure you have the good copy of opencl.dll either in the 
QGIS install dir OR in the c:/windows/system32 directory. See 
https://github.com/qgis/QGIS/issues/44806#issuecomment-908976764 for more info 
about it.

HTH,

Richard Duivenvoorde

On 7/6/22 03:31, Jeff Sonnentag via Qgis-user wrote:

Extra info. . . .

Uninstalled the previous version (3.22.7-1) same as always and then installed 
3.22.8-3 (freshly downloaded QGIS-OSGeo4W-3.22.8-3.msi 
).  Error never 
has appeared before when doing the same kind of uninstall of previous version and 
install of latest LTR. . . .

*From:* Qgis-user  *On Behalf Of *Jeff 
Sonnentag via Qgis-user
*Sent:* Tuesday, July 5, 2022 6:25 PM
*To:* qgis-user 
*Subject:* [Qgis-user] Burned by QGIS again - Windows 10 QGIS 3.22.8

Well, burned by a QGIS installation again, and this time a LTR version late in 
the game.

Windows 10 and all previous installations have started up at least fine from 
all previous installations and updates.  Who knows which of the NUMEROUS 
environmental paths it doesn’t think is right.  Another non-informative error 
message. . . .


___
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] Scrolling using the mouse wheel in a layout >-- CRASH

2022-07-04 Thread Richard Duivenvoorde via Qgis-user

On 7/4/22 01:32, Tony Shepherd (FarmMaps NZ) via Qgis-user wrote:

Hi

Is anybody else having issues when using a mouse scroll wheel for zooming in a 
layout window that QGIS continually crashes?  This has only started happening 
since upgrading to 3.26


Hi Tony,

Can you please first confirm that this also happens when you start a new 
profile without ANY plugin in it?

Because experience tells us that this most of the time is a rogue plugin... 
(which 'listens' to events, doing something and maybe the scrollwheel is too 
much for it)...

Thanks & Regards,

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


Re: [Qgis-user] adding a layer from a zipped file

2022-05-30 Thread Richard Duivenvoorde via Qgis-user

Hi Stephen,

Wild guessing here (not tested).

I think: GDAL is responsible for loading the data from shape OR zipped shape
QGIS is responsible for loading of a corresponding qml file.

Normally, when QGIS (using GDAL) loads foo.shp, it will check if there is a 
foo.sld or foo.qml NEXT to it, and if so, uses it to STYLE the data.

Now if you zipped foo.shp+files into foo.zip...
Maybe QGIS is clever enough to ALSO look INTO the zip (and if not, this would 
be a nice Feature Request...)
But else: try to put foo.qml next to the foo.zip

But if you zipped the files into bar.zip...
Then I would try to put a 'bar.qml' next to it (and hoping that QGIS decides 
that it has the same 'base name'.

If all that fails: I would create a Feature Request for it (or start using 
Geopackages ...)

Note that using geopackages, you also have 1 file, and you can save style INTO 
the geopackage (and even put more layers+styles into it etc etc).

Regards,

Richard Duivenvoorde



On 5/29/22 19:02, Stephen Sacks via Qgis-user wrote:

Hi Phil,
    Thanks for your reply.   This morning I updated my QGIS from version 3.16.3 
to version 3.22.7 .  With complete optimism, I reloaded several layers from 
zipped shapefiles, but alas the problem remains:  polygons appear in random 
colors and without labels and point layers have dots instead of the svg icons 
they have when I load the same layers from the un-zipped six shapefile files.  
When I examine the zip files with Windows File Explorer, I see the .qml files 
are there and uncorrupted.
    I'm using a five-year-old plain vanilla Dell desktop running 64-bit Windows 
10.
    I did the zipping with Thunderbird's Archive.  Then, separately, zipped one 
layer with Windows File Explorer zipper. Same result.
    Am I doing something wrong?  Shall I try updating to  QGIS 3.24 ?  Is it "stable"?  
What does it mean that version 3.22 is "stable"?

    Steve


On 5/29/2022 12:03 AM, Phil Wyatt wrote:


Hi Stephen,

You might let us know your operating system and which version of QGIS you are 
using because it works as you desire in the latest development (3.24.3)  and 
Long Term Release versions (3.22.7). It may just be a matter of updating QGIS.

Cheers - Phil

*From:*Qgis-user  *On Behalf Of *Stephen 
Sacks via Qgis-user
*Sent:* Sunday, 29 May 2022 5:29 AM
*To:* qgis forum 
*Subject:* [Qgis-user] adding a layer from a zipped file


When I write a layer as a shape file, it appears on my C: drive as six files, all with the same name but 
different extensions.  Then I zip those six into a single file (xxx.zip).  When I reload that layer from 
the zip file (Layer > AddLayer > VectorLayer > File > Dataset > xxx.zip), QGIS is almost 
smart enough to restore the layer correctly.  The polygon features are in the right place and their 
attribute table is correct. *My problem* is that it ignores one of the six files, the "style" 
file (xxx .qml) which  specifies color, labeling, and symbol).  Do I  have to unzip before restoring layer 
xxx ?  I know I could open the layer's properties and use  Style > Load Style from  file xxx.qml .  But 
when I'm restoring several layers that's a lot of key strokes (and may require that I unzip).  It seems to 
me that this shouldn't be necessary.  [I encounter the same problem with point layers and polygon layers.]




___
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] No Quickmap Plugin For New Versions of QGis

2022-05-13 Thread Richard Duivenvoorde via Qgis-user

The menu will 'fill' itself according to needs.
So if you do not have any 'web' plugins, the 'web'-menu will not show.

Use the Plugin Manager to install QuickMap plugin (and google around for 
further instructions)

Regards,

Richard Duivenvoorde

On 5/12/22 21:25, Dan Grasso via Qgis-user wrote:

Good Day,

>
> I was hoping you could help describe how to download the Quickmap plugin for 
version 3.24.  The plugin menu is a lot different than version  3.14.  A lot more 
plug in categories are listed in 3.14.
>
> Also the plugins used to show up in the Web column after they were 
downloaded.  However every version  after 3.14 deleted the web column.
>
> When I try to search for plugins I have no luck finding Quickmaps.
>
> Can you  please tell me how to download Quickmaps in the new version 3.24?
>
> Also can you please explain why the plugin menu is now a lot less helpful 
than version 3.14?
>
> Can you also please explain why you deleted the web column which allowed me 
to view the plugins I downloaded?
>
> If these items have been moved to another place, can you please explain so I 
can actually try to use the new version?
>
> Thanks alot!
> Have a great day!
> Dan Grasso



___
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] ask for help

2022-05-13 Thread Richard Duivenvoorde via Qgis-user

On 5/12/22 11:00, arnold via Qgis-user wrote:

Dear Sir :

        I installed QGIS 3.22. When I use it , the contents are nothing in the 
pulldown menu.  I tried resetting the UI to default, But it didn't work. Please 
tell me how to do it !
Thank you very much!


Which Operating System? Windows?
Which language? zh-Hans or zh-Hant?
With me both work, I have working menu's.
QGIS will never show a map on startup.
You can open OpenStreetMap from the Browser (see screenshot)
Regards,
Richard Duivenvoorde___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Attribute table issue

2022-05-13 Thread Richard Duivenvoorde via Qgis-user

Hi,

The attribute table is a 'view' on your data. The (technical) order of your 
data is not important is it?

Anyway: you can click on the ID column to make the attribute table sort on ID 
column (or click again to do a reverse sort)

HTH

Regards,

Richard Duivenvoorde

On 5/13/22 07:59, Lester Anderson via Qgis-user wrote:

Hello all,

I had to apply a "fix geometries" on a shapefile which worked fine. However, it 
appears to move the fixed elements to the top of the table and as a result the sequence 
is out of order, e.g.:


image.png
Is it possible to put things back in the correct order (by ID); 12 and 13 
should be the last rows ?

Thanks

Lester

___
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] Configuration for PostgreSQL

2022-05-12 Thread Richard Duivenvoorde via Qgis-user

Hi,

This is just the way the Linux install's software.
I think you installed only postgres-server...

And yes you probably need a lot of header files (often residing the in the 
'*-dev' packages).

But have a look into:

https://github.com/qgis/QGIS/blob/master/INSTALL.md

There is a lot of info to compile it on Debian or Ubuntu, including the full 
apt-get line to get all the dependencies:

https://github.com/qgis/QGIS/blob/master/INSTALL.md#33-install-build-dependencies
(pick the focal line)

A question: do you really want to compile yourself? Or do you just want to run 
QGIS?
Because, if the last: 
https://qgis.org/en/site/forusers/alldownloads.html#quickstart

FYI: my line to build/install master (I'm on Debian), after you checked out 
from git. From withing the ~/git/qgis folder:

 # MASTER DEBUG with server and 3D in ~/bin/qgis_
 mkdir build;cd build;ccmake -GNinja -DBUILD_TESTING=FALSE -DENABLE_TESTS=OFF 
-DWITH_SERVER=TRUE -DWITH_3D=TRUE 
-DCMAKE_INSTALL_PREFIX=~/bin/qgis_/master/debug -DWITH_QWTPOLAR=OFF 
-DCMAKE_BUILD_TYPE=Debug 
-DQT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so 
-DWITH_GRASS=TRUE -DGRASS_PREFIX7=/usr/lib/grass78 ..

Hope this helps.

Regards,

Richard Duivenvoorde


On 5/12/22 15:09, vicentesmith via Qgis-user wrote:

Hello,
I'm new to QGIS and this is my first try at installing it (using cmake). My 
system is running Ubuntu 20.04 so I used /apt/ to install PostgreSQL. /apt/ 
decided that the way to go was to install all the components at the 
/usr/lib/postgresql/12 subdirectory, where it created 2 subdirectories bin and 
lib, but not include. I modified the cmake menu accordingly:
  POSTGRESQL_PREFIX                /usr/lib/postgresql/12
  POSTGRES_CONFIG                  /usr/lib/postgresql/12/bin/pg_config
  POSTGRES_CONFIG_PREFER_PATH      /usr/lib/postgresql/12/bin
  POSTGRES_INCLUDE_DIR             /usr/include/postgresql
  POSTGRES_LIBRARY                 /usr/lib/postgresql/12/lib
However, the configuration still fails with:
  Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
  Found PostgreSQL: /usr/lib/postgresql/12/lib
This makes sense because (1) I'm not really telling it which library to load 
and (2) there is no /usr/include/postgresql subdirectory (although I could 
manually create /usr/lib/postgresql/12/include). Just for completion, the 
/usr/lib/postgresql/12/lib subdirectory has the following files:
_int.so              dict_xsyn.so lo.so plpgsql.so 
           utf8_and_euc_jp.so
adminpack.so earthdistance.so ltree.so 
              postgres_fdw.so       utf8_and_euc_kr.so
amcheck.so           euc2004_sjis2004.so moddatetime.so 
refint.so             utf8_and_euc_tw.so
ascii_and_mic.so     euc_cn_and_mic.so pageinspect.so seg.so 
               utf8_and_gb18030.so
auth_delay.so        euc_jp_and_sjis.so passwordcheck.so 
sepgsql.so            
utf8_and_gbk.so
auto_explain.so      euc_kr_and_mic.so      pg_buffercache.so sslinfo.so 
           utf8_and_iso8859.so
autoinc.so           euc_tw_and_big5.so     pg_freespacemap.so 
tablefunc.so          utf8_and_iso8859_1.so
bitcode              file_fdw.so            pg_prewarm.so tcn.so 
               utf8_and_johab.so
bloom.so fuzzystrmatch.so       
pg_stat_statements.so  test_decoding.so      utf8_and_sjis.so
btree_gin.so hstore.so              pg_trgm.so             
tsm_system_rows.so    utf8_and_sjis2004.so
btree_gist.so        insert_username.so     pg_visibility.so       
tsm_system_time.so    utf8_and_uhc.so
citext.so isn.so pgcrypto.so 
unaccent.so           utf8_and_win.so
cube.so              latin2_and_win1250.so pgoutput.so 
           utf8_and_ascii.so uuid-ossp.so 
cyrillic_and_mic.so  latin_and_mic.so pgrowlocks.so       
   utf8_and_big5.so
dblink.so libpqwalreceiver.so 
pgstattuple.so         
utf8_and_cyrillic.so
dict_int.so llvmjit.so pgxml.so             
  utf8_and_euc2004.so
dict_snowball.so     llvmjit_types.bc       pgxs                   
utf8_and_euc_cn.so

My questions are which library(ies) QGIS needs for building and if QGIS also 
needs any header from PostgreSQL. Thanks.

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



Re: [Qgis-user] ReportLab integration into QGIS returns error message "no module named reportlab"

2022-05-09 Thread Richard Duivenvoorde via Qgis-user

Hi Julio,

That is probably because QGIS does not use your system Python, but it's own 
installed version, so instlaling it in your globabl one does not make it 
available for QGIS.

I googled (qgis pip install) this one for you:
https://landscapearchaeology.org/2018/installing-python-packages-in-qgis-3-for-windows/

Regards,

Richard Duivenvoorde


On 5/9/22 04:52, julio cesar oliveira via Qgis-user wrote:

Dears,

I want to use ReportLab in my own plugin which I have written for QGIS.

I have installed ReportLab for the python versions 3.10.

The package is respectively installed into the site-packages folder (e.g. 
C:\Users\olive\AppData\Local\Programs\Python\Python310\Lib\site-packages\reportLab).

If I want to use the tool in my plugin (from reportlab.pdfgen import canvas), the plugin 
returns the error "ImportError: no module named reportLab".

**

C:\PyQgis\cav> pip install reportlab

Requirement already satisfied: reportlab in 
c:\users\olive\appdata\local\programs\python\python310\lib\site-packages (3.6.9)
Requirement already satisfied: pillow>=4.0.0 in 
c:\users\olive\appdata\local\programs\python\python310\lib\site-packages (from 
reportlab) (9.1.0)

**

Do you have any other suggestions or ideas?


Thanks


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


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


Re: [Qgis-user] Trapping Kyb/Mouse events during a QGIS geometry edit process

2022-05-07 Thread Richard Duivenvoorde via Qgis-user

I'd start to look into the advanced digitizing tools code, or in some (older?) 
cad-like plugins (QAD is a pretty extensive one)? They often also show 
position/angle/whatever info?

The 'thing' you see during digitizing, is (I think) a QgsGeometryRubberBand

https://qgis.org/pyqgis/3.22/gui/QgsGeometryRubberBand.html#module-QgsGeometryRubberBand

That one has a lot of events

HTH,

Richard

On 5/7/22 10:46, Zoltan via Qgis-user wrote:

Hi Listers,
I'm looking for some pointers as where to start, or keywords to google or 
recipes to follow (if any).

I'm looking to trap kyb/mouse events whilst in the middle of a geometry edit.
If a suitable event is trapped, then to run a subroutine and then return to the 
edit process by either handing the edit process the same event or generating 
another event for the edit routine to continue the geometry edit with.

So I suppose my question is, is where do I insert such kyb/mse event filter.

Any pointers would be welcome.

Thanks in advance,
Zoltan



___
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] Questions of a newbie starting with QGIS Server

2022-04-21 Thread Richard Duivenvoorde via Qgis-user

On 4/21/22 11:57, DelazJ wrote:


The GDAL_DATA path you will need when you use for example the ECW or other 
drivers
QGIS_AUTH_DB_DIR_PATH is maybe only needed when you have a project which 
uses authentication profiles? Others?

So it could make sense to have them added to the default httpd_qgis.conf 
file...?


Probably yes, others?

Regards,

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


Re: [Qgis-user] [QGIS-Developer] Questions of a newbie starting with QGIS Server

2022-04-20 Thread Richard Duivenvoorde via Qgis-user

Hi Harrissou,

I think your pretty close :-)

Some remarks from the times I installed on Windows:
- I used a vanilla apache installer from https://www.apachelounge.com/
- indeed used the httpd.conf from osgeo4w to set all paths and env vars, VERY 
convenient
- are you sure the Qt vs qt is an issue? Thought Windows paths were not case 
sensitive?

The GDAL_DATA path you will need when you use for example the ECW or other 
drivers
QGIS_AUTH_DB_DIR_PATH is maybe only needed when you have a project which uses 
authentication profiles? Others?

When you have a WMS/WFS server running normally you do not have a web app yet.
You either use the WMS of WFS as datasource in QGIS (or other clients)
or you use OpenLayer/Leaflet to create an app in a browser using javascript.

Alessandro also created a landing page for WFS3/OGC API:
https://docs.qgis.org/3.22/en/docs/server_manual/services/ogcapif.html
but I found that sometimes tricky to setup...

Maybe others can share more info/experience

Regards,

Richard Duivenvoorde




On 4/20/22 18:58, Harrissou s. via QGIS-Developer wrote:

Hi QGISers (sorry for cross-posting)

I'm trying to setup a QGIS Server... on Windows and I'd like to share some
suggestions/issues I faced in the process and ultimately ask for help on a
bigger issue.
I'm following the QGIS documentation instructions [0] and took the
opportunity to update the docs[1][2], given that osgeo4w provides means to
install apache. Review welcome, thanks.

In the docs, it is suggested to add at the end of the httpd.conf file a
set of variables. But I notice that *most* of them are already set in the
httpd_qgis.conf file that is #included at the end of the httpd.conf file. I
hence ignored the addition but, Questions:
- are the GDAL_DATA and QGIS_AUTH_DB_DIR_PATH necessary for any purpose?
- If so, for what? And is it possible (does it make sense) to add them to the
httpd_qgis.conf file also?

- Issue report: I think there is a typo in the httpd_qgis.conf file
setting PATH and QT_PLUGIN_PATH. It mentions apps/qt5/ while it should be
apps/Qt5/ (uppercase Q).

In my process, I didn't set the gdal or db paths above, I fixed the
uppercase typo and when I tested I could get a reply for GetCapabilities as in
the docs. Using the QGIS training project, I could do a GetMap which 
successfully returned my map canvas image. Good! My server is OP!
Well, this is where I got lost. I thought the request would output in the
browser some image i could zoom in, pan, maybe identify... But NO, I got a
plain, static image. What am I supposed to do next? How can I make my
project queryable, zoomable, pannable, anythingable... in a web browser?
I might have overlooked, but the docs does not seem t provide any information 
for
newbies like me, for the next step. Where should I look now? Your help to
get out of this trouble would be much appreciated. Thanks.

Regards,
Harrissou

[0]
https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-windows
 

[1] reading:
https://github.com/DelazJ/QGIS-Documentation/blob/installQGISServerWindows/docs/server_manual/getting_started.rst
 

[2] pull-request: https://github.com/qgis/QGIS-Documentation/pull/7508 


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


___
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] Adding python package dependencies to a QGIS plugin

2022-04-20 Thread Richard Duivenvoorde via Qgis-user

Hi,

if you would ask me, I'd advice:
- small (python) modules? Add a copy in your plugin
- others: instruct users to install them (depending on OS this is more or less 
difficult)

Your methods all need some 'magic' to happen, which will probably break, but 
feel free to try.

Regards,

Richard Duivenvoorde

On 4/19/22 23:08, nagyrobi_r--- via Qgis-user wrote:

Hei everybody!

I am trying to develop a QGIS plugin, and the plugin requires python modules 
that are not present in the basic QGIS python install. Since i want these 
packages to install for users that might wish to use the plugin, what method 
would be the correct one to install the dependencies? I am thinking that some 
users might have multiple python installs at once, multiple pythonpaths etc.

1. Method using setup.py when installing the module. But how would that run? or 
when would it run? Very open for suggestions here.
2. Using subprocess with a try and except clause: prone for errors, since any 
python instance might be called :
 import sys
     import subprocess

 # implement pip as a subprocess:
 subprocess.check_call(['python', '-m', 'pip', 'install',
 ''])
3. Using pip.main, which seems to warn about a deprecation possibilities for 
the future
import pip
pip.main(['install', package])

Method 1 could run one time at the plugin install, whilst methods 2 and 3 would 
run at every plugin load.
How do you go about adding dependencies to your package?

Kind regards,
Robert Nagy


___
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] Questions regarding WMS layers

2022-04-13 Thread Richard Duivenvoorde via Qgis-user

On 4/13/22 17:07, nagyrobi_r--- via Qgis-user wrote:

I'd say: start using it, and do not use the parts you have questions about :-)
Those are mostly used for 'special' cases (I'll try to explain below).


1. I have seen these settings in ADD new WMS connection. Could anybody explain 
to me what are the settings marked with yellow? What do they do? When to use 
them? HTTP headers?  Advanced? Ignore GetMap URI reported in the get 
capabilities? Ignore Getfeatureinfo URI reported in the get capabilities?


HTTP Headers: some services need a special 'referer'-Header, else they will not 
work (these are there to make it more difficult for others to use the 
service). But by setting this (http) Header we can sometimes fool the 
service a little.

The Advanced section is actually the same: some (not so standard) services want 
special HTTP-headers to work. Http Headers are always key-value pairs, so in 
this way you can add some custom header key/value pairs, which QGIS then will 
sent with every request. Normally these are not needed.

Ignore Get*
The 'GetCapabilities'-request is the request you sent before requesting a map, 
just to know what the available (in the service) layers/styles/crs's etc etc 
are).
In early days, a lot of WMS services were not very well configured.
So in the xml then the 'url's' for all kind of services were set to 
'http://localhost/', which makes it for QGIS impossible to retrieve the 
/tile/map/legendgraphic/featureinfo. But we knew most of the time, that we 
actually needed to use the same hostname/url as used for the 
GetCapabilities-url... So in this way you could handle bad configured WMS's.

As said: nowadays you can (unless you have issues) just ignore these 'work 
arounds'...


2. When adding a new WMS layer. Could anybody explain what does the Step Size mean? when 
to use it? What is "contextual WMS legend" when to use it?


For these I'm not clear, but I think these are related to tiled-WMS (in which 
you are not trying to get one image, but you request them in parts like 256x256 
pixels).
I'm not sure what 'stepsize' is... others?

A contextual legend is (I think) a legend which changes based on the zoom level 
or area you are in.
I think it makes QGIS request fresh legend (images) for every change of 
zoom/pan... but others please correct me if wrong.

Again: leave all those blank and try if that works for you :-)

Regards,

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


Re: [Qgis-user] [QGIS-Developer] Use of NE(SW) in the showing of (ordered) coordinates within QGIS

2022-04-12 Thread Richard Duivenvoorde via Qgis-user

On 2022-04-11 14:38, Greg Troxel via QGIS-Developer wrote:

Thanks Greg,

I think we should never copy the characters, only numbers ( well, except 
when using W/S/E/N :-) )..


I also understood from somebody that when using latlon coordinates the 
minus sign is actually redundant, as you should use the WSEN?



Part of the underlying trouble is that in qgis/proj we blur:
  datum
  projection
into
  CRS
except that some CRS are datum only, and some are datum+projection.


But isn't that the 'difference' in what QGIS (in the CRS dialog) calls 
'Geographic Coordinate Systems' vs 'Projected Coordinate Systems'?


So: that would make (?): if crs.isGeographic() [0] we should/could use 
WSEN, and if not then we should NOT use WSEN (and optionally x/y if that 
is more clear)... except when copying coordinates, because that would 
mess up parsers :-)


Regards,

Richard

[0] 
https://qgis.org/pyqgis/master/core/QgsCoordinateReferenceSystem.html?#qgis.core.QgsCoordinateReferenceSystem.isGeographic

___
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] Use of NE(SW) in the showing of (ordered) coordinates within QGIS

2022-04-11 Thread Richard Duivenvoorde via Qgis-user

Hi List(s),

Recently the (showing) order of coordinates was 'fixed': eg EPSG-4326 
coordinates LatLon(y,x) are properly shown as LatLon while other crs's 
stay being shown as x,y
You can check this by looking into master vs 3.24 and clicking on The 
Netherlands to Copy a Coordinate.


In 3.24 you will see something like "WGS84 5.2 52,3"
While in master it shows: "WGS84 52.3N 5.2E"  (note the N and E)

For WGS84 I think this is normal (to show WSEN), but for other crs's I 
think it is overkill?


In 3.24: "EPSG:28992 (15,45)"
In master now I see: "EPSG:28992 (150702E,466216N)"

From comments (see screenies there too) at 
https://github.com/qgis/QGIS/pull/48156
I understand the E and N are added just to make it clear what x and y 
are...


What do others think: is that OK? I'm just not used to it.
Would it be an idea to show it as x/y, or is that just plain wrong:
"EPSG:28992 (x:150702,y:466216)"
and for EPSG:4326 then either:
"WGS84 52.3N 5.2E"
or also (?)
"WGS84 y:52.3 x:5.2"

Any input appreciated (here at the pull 48156)

Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] again: Create Geospatial PDF producing faulty output

2022-03-21 Thread Richard Duivenvoorde via Qgis-user

Hi Uwe,

Sometimes these things are hard to reproduce by others with their own 
data.


In that case it is best to:
- create a minimal dataset needed to reproduce your issue
- create an issue at https://github.com/qgis/QGIS/issues
- attaching that dataset
- describing the exact steps to reproduce, in your case also adding the 
faulty pdf's maybe


On topic, just guessing: could it be something with the Simplification 
of your features? That is a setting in the General Settings / Rendering 
tab.
I could imagine that maybe small features will not be rendered, giving 
they may maybe also not be exported to pdf???


Regards,

Richard Duivenvoorde

On 2022-03-21 14:41, Uwe Fischer via Qgis-user wrote:

Hello dear friends on the list,

I'm sorry but I have to ask again about „Creating Geospatial PDF"
from the 3.22 Print Composer:

does nobody have problems like missing features in the PDF output? The
problem is very important for me, so any idea what the reason is would
be appreciated. Not a single answer until now.

The problem description: some features (in my case line features) are
omitted when QGIS writes the geospatial PDF. Normal PDF output works
fine, as well as TIF image output. So the problem cannot be in the
data.

Please help!

Thanks, Uwe

Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag
von Uwe Fischer via Qgis-user
Gesendet: Mittwoch, 16. März 2022 16:26
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Create Geospatial PDF producing faulty output

Hello,

when I chose „Create Geospatial PDF" from the print composer in
3.22, I get a PDF with some missing vector lines. I can see no pattern
or something like that in what features are skipped.  „Normal" PDF
output (as well as TIF image output) is working fine. The setting for
„Simplify vectors" does not make a difference. Was the same error
already in 3.18.

Can anybody please tell me what is going wrong? Creating georeferenced
PDFs with Layer structure is important to my current projects.

And by the way: what is the difference between „Append georeference"
and „Create Geospatial" in terms of geolocating?

Thank you and regards, Uwe
___
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] Model Designer - GDAL - Vector Conversion

2022-03-09 Thread Richard Duivenvoorde via Qgis-user

On 3/9/22 00:41, Johanna Botman via Qgis-user wrote:

I am trying to use the Model Designer to automate the creation of Tab files 
from SQL Database Tables.

I am using GDAL – Vector Conversion – Convert format

The resulting Tab file is missing the Primary Key field.

If use that same algorithm to export to a Geopackage, the PK is there.

I know that I can right click the SQL Table and select Export. That Tab file 
contains the PK. I need to export 30 tables so am looking for some automation.

Why does the algorithm produce a table without the key field?


Hi Johanna,

Are you using 'Convert Format' which 'uses' ogr2ogr to convert?

Because in that dialog you can add 'Advanced parameters' and if I am right you 
can add specific driver params there.

The 'tab'-driver though:
https://gdal.org/drivers/vector/mitab.html
does not mention a primary key...

I also found:
https://github.com/OSGeo/gdal/issues/2651
which mentions a  -preserve_fid (advanced param)
see https://gdal.org/programs/ogr2ogr.html

So you can actually add some specific gdal params there...?

HTH, Regards,

Richard Duivenvoorde



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


Re: [Qgis-user] Fwd: Your message to Qgis-user awaits moderator approval

2022-03-08 Thread Richard Duivenvoorde via Qgis-user

Yep, we are short in moderators :-)

But... I could not find it. Can you resent?

Richard

On 3/8/22 19:04, Cory Albrecht via Qgis-user wrote:


Could a moderator deal with this, please? It's been sitting for a few days. I 
attached some images to explain my problem. Thanks in advance.

-- Forwarded message -
From: mailto:qgis-user-ow...@lists.osgeo.org>>
Date: Sat, Mar 5, 2022 at 5:22 PM
Subject: Your message to Qgis-user awaits moderator approval
To: mailto:m...@hanfastolfe.com>>


Your mail to 'Qgis-user' with the subject

     Dynamic, per-feature control over feature rendering?

Is being held until the list moderator can review it for approval.

The reason it is being held:

     Message body is too big: 682355 bytes with a limit of 100 KB

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:

https://lists.osgeo.org/mailman/confirm/qgis-user/5755de8ba5d92f917687b0d3ab9a692ce6ab339e
 



___
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] PDFs for testing documentation

2022-03-04 Thread Richard Duivenvoorde via Qgis-user

On 3/5/22 07:48, Andrea Giudiceandrea via Qgis-user wrote:


Anyway, AFAIK specific docs for non LTR versions (like 3.18, 3.20) of the 3.x 
series were never made available.


Right! We just have not doc writers enough to justify the build of a doc site 
for every version.
We are always in need of doc writers!

@Julian: we als provide a zipped version of the website:
https://docs.qgis.org/testing/zip/

This could also be used to be viewed locally when offline, either via a 
browser, OR by setting the right path in QGIS.

Regards,

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


Re: [Qgis-user] Windows 11

2022-03-03 Thread Richard Duivenvoorde via Qgis-user

On 3/4/22 06:03, Grant Boxer via Qgis-user wrote:

I have a client who is running QGIS under Windows 11 and is having all sorts of 
stability problems and has gone back to version 3.4. Has anyone used QGIS with 
Windows 11?


Hi Grant,

One of my clients are heavy LTR user (still on 3.16) on Win11 working ok.

One ("work-aroundable") issue I had with a new plugin I'm building for them was
https://github.com/qgis/QGIS/issues/47165
But that one is not crashing QGIS or making it unstable.

Would be good to know what they are doing exactly AND which plugins they are 
using.
Maybe they could also try to work with NO plugins first in a fresh profile and 
gradually add the needed plugins?

Another option (not sure about this): install (osgeo4w) a version which 
generates debug info, which give (for what I know) a more usable stacktrace?

Regards,

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


Re: [Qgis-user] PDFs for testing documentation

2022-03-03 Thread Richard Duivenvoorde via Qgis-user

Hi Julian,

We are more or less planning to create a those sites in coming week.

But in general:
- when 3.22 is LTR we use current /testing version of the docs to create a 
/3.22 in the docs site and we start translating it
- all newer versions will be redirected to the testing version (only in English)

So in your case you are right:
3.18, and up all point to the testing english version of the doc build
And apparently the  pdf build is broken of that, I will look into it:
https://docs.qgis.org/testing/pdf/en/
In the meantime you could take 3.16 version:
https://docs.qgis.org/3.16/pdf/en/
those are also translated:
https://docs.qgis.org/3.16/pdf/

your other questions:
- every version has it own daily build but only LTR has translated builds
- you could/should take testing to have the latest version, we are working on 
making that one 3.22 version

Regards,

Richard Duivenvoorde

On 3/4/22 01:32, Julian Pecenco via Qgis-user wrote:

I recently upgraded to the latest 3.24 release of QGIS, and tried to download 
the new PDF of the Desktop User Guide as well. (I like to have it on my tablet 
for offline use.) Only after downloading and overwriting my old version did I 
realize that the file contains no content. Checking the pdfs for all of the 
post 3.16 versions, I noticed that they are all only 1.6 M files, so it appears 
that the PDFs are not being properly generated. The training manual is 
available, but all of the other files seem to be too small to have any content.

https://docs.qgis.org/testing/pdf/en/ (replacing testing with 3.22, 3.20 or 
3.18 shows the same issue.)

I'm almost certain I had a  Desktop User Guide PDF for some of these older 
versions, but there's nothing there now. I presume they are bulk processed?

Does it take a while after a new release for the PDFs to become available, or 
is this an issue that should be reported somewhere?


Thanks,

Julian



___
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