[Qgis-user] Replay GPS data

2022-07-15 Thread Brent Wood via Qgis-user
Hi,

I have a log file of GPS NMEA messages captured during a survey.

I'm working with QGIS for real time data capture during these surveys.

For demo/training/dev purposes I'd like to pass the file of GPS messages into 
QGIS via teh GPS panel to simulate the real world survey.

Any suggestions as to how I can do this (running on Linux at present)??

I've tried gpsfake with gpsd but just run into network/port errors I can't 
resolve. I can uset netcat -l to listen then send the NMEA messages via netcat 
using a bash script, but can't see how to get netcat to work with QGIS as a 
listener.


Any advice appreciated!

Thanks

Brent Wood

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

From: Qgis-user  on behalf of Nyall Dawson 
via Qgis-user 
Sent: Tuesday, July 12, 2022 13:08
To: Piet 
Cc: qgis-user 
Subject: Re: [Qgis-user] Qgis 3.22.8 Error messages displayed in the GUI

On Mon, 11 Jul 2022 at 21:40, 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?

This particular one is now filtered out for 3.26+, as it's not
reflective of a bug in QGIS.

The others still remain, as they likely ARE indicative of something
which needs fixing in QGIS. If you encounter them, you should open
tickets for each so that the underlying cause can be identified.

Nyall

>
> 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://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=05%7C01%7Cbrent.wood%40niwa.co.nz%7Ca0912e2b56df488e420408da63a31907%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637931849460706969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=ns3H5qS%2B0FYP5BVATejnMsFyGGc7%2BTPvKV%2BDicosqZM%3Dreserved=0
> Unsubscribe: 
> https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=05%7C01%7Cbrent.wood%40niwa.co.nz%7Ca0912e2b56df488e420408da63a31907%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637931849460706969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=ns3H5qS%2B0FYP5BVATejnMsFyGGc7%2BTPvKV%2BDicosqZM%3Dreserved=0
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=05%7C01%7Cbrent.wood%40niwa.co.nz%7Ca0912e2b56df488e420408da63a31907%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637931849460706969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=ns3H5qS%2B0FYP5BVATejnMsFyGGc7%2BTPvKV%2BDicosqZM%3Dreserved=0
Unsubscribe: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-userdata=05%7C01%7Cbrent.wood%40niwa.co.nz%7Ca0912e2b56df488e420408da63a31907%7C41caed736a0c468aba499ff6aafd1c77%7C0%7C0%7C637931849460706969%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=ns3H5qS%2B0FYP5BVATejnMsFyGGc7%2BTPvKV%2BDicosqZM%3Dreserved=0
[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png] 

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

National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz 
Facebook 
LinkedIn 
Twitter 
Instagram
To ensure compliance with legal requirements and to maintain cyber security 
standards, NIWA's IT systems are subject to ongoing monitoring, activity 
logging and auditing. This monitoring and auditing service may be provided by 
third parties. Such third parties can access information transmitted to, 
processed by and stored on NIWA's IT systems
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library

2022-07-15 Thread Chris George via Qgis-user
Having a similar problem I discovered that somewhere between 3.22.4 and 
3.22.8 the version of GDAL used by QGIS (and supplied with it) changed 
from 304 to 305.  Is this your problem?


Chris

On 7/15/2022 10:52 AM, Nelson Ribeiro via Qgis-user wrote:

Dear list,

I have some large raster datasets to process statistics, but it was not 
working. Time consuming aligned, reprojected, changed data type, all I 
could to try to make it work, and finally concluded, after testing with 
smaller datasets, that the problem wasn’t with the data grass r.series 
had stopped working.


ERROR: Unable to load GDAL library

Loading resulting layers

The following layers were not correctly generated.

I tried uninstalling reinstalling QGIS, the problem persists.

I’m using:

QGIS version 3.22.8-Białowieża

Windows 11 Home

Version 21H2

OS build 22000.795

All updates.

I had to resource to ArcMap cell statistics to do it but would like to 
solve the issue and have QGIS with complete processing tools option.


Any suggestion? Did anyone else had this happening?

Thank you very much!

Nelson Ribeiro


___
Qgis-user mailing list
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] Offline background map for large regions

2022-07-15 Thread Andreas via Qgis-user

Hi Asim,

I think postgres itself is not the problem at all, but the scripts that
move the vector tiles into the database. In the instructions for usage
of these import scripts is written that they need at least as much RAM
as the size of the vector file. So I assume it has to load the whole
file into memory before it can be processed. Using an SSD for swap may
be possible, but would increase processing time dramatically because
it's extremely slow compared to RAM.

My system can handle no more than 16 GB and currently I have 8 GB, so
processing a 20 GB file is not an option for me. But maybe I can split
up and import the countries separately.

Regards

Andreas




Am 15.07.22 um 07:27 schrieb Asim:


On 7/15/22 5:05 AM, Andreas via Qgis-user wrote:

Postgres may not work for me, as I read it needs at least as much RAM as
the file size to import the map into the database. My vector tiles have
20 GB while my PC only 8 GB. It may run out of memory.



Not intending to diverge from the main topic of this thread but just out
of curiosity, can you please share some pointers where this limitation
of PostgreSQL is discussed?  My impression of PostgreSQL is it remains
functional with fairly ancient hardware and limited resources.

By the way, thank you Andreas for starting this thread, I'm learning a
lot from the discussions.

Asim




___
Qgis-user mailing list
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] Offline background map for large regions

2022-07-15 Thread Patrick Dunford via Qgis-user
What you are talking about is vector based data which can be put into a 
project as either raster tiles generated statically, or vector tiles 
generated on the fly, and what you can actually get in practice will 
depend on what you have the skill or ability to implement. Implementing 
a tileserver of any kind requires quite a skillset.


I would go back to the shapefiles and look at the amount of detail that 
is needed at each zoom level. You can implement style rules that work at 
different scale levels, meaning the level of detail that is displayed at 
a small scale can be simplified quite a lot. I use this for generating 
XYZ tiles for a web site I maintain, because zoomed right out at zoom 
level 1 (something like a scale of 1:500 000) it is much easier to find 
the general area of the map without a lot of unnecessary clutter and has 
the bonus of taking less time to render.


On 15/07/22 11:35, Andreas via Qgis-user wrote:

Hi Paul,

thank you for the links!

Despite this is for Windows (I use Linux), it is for a XYZ tileserver
but I need vector tiles. Raster tiles may be too many for whole Europe
in plenty zoom levels. And I don't know where to get them, as everywhere
I know you can only download small regions; the mentioned link in the
video opentiles.com does not exist any more.

Postgres may not work for me, as I read it needs at least as much RAM as
the file size to import the map into the database. My vector tiles have
20 GB while my PC only 8 GB. It may run out of memory.

But probably this points me to the right direction. I just discovered
there is tileserver-GL https://tileserver.org/ and tileserver-PHP
available and I gave them a try.

Don't know why, but tileserver-gl can not be installed on Linux with nmp
(compile error due to unexpected OS), and there are only the options npm
or Docker. Docker is not in the standard repositories so foreign package
sources shall be added, what I really want to avoid because of the high
security risk. I tried also tileserver-PHP, but strangely as it is
intended as a local installation, it shows not even a configuration
interface without  internet access. It pulls its css and some javascript
from an external server :-/  Also, I can not get it running with the
maptiler .mbtiles because the WMTS capabilities (.mbtiles is read!)
seems to be provided in a wrong syntax.

So, still stuck...

Regards,

Andreas


___
Qgis-user mailing list
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] GRASS r.series - ERROR: Unable to load GDAL library

2022-07-15 Thread Nelson Ribeiro via Qgis-user
Dear list,

I have some large raster datasets to process statistics, but it was not 
working. Time consuming aligned, reprojected, changed data type, all I could to 
try to make it work, and finally concluded, after testing with smaller 
datasets, that the problem wasn't with the data grass r.series had stopped 
working.

ERROR: Unable to load GDAL library
Loading resulting layers
The following layers were not correctly generated.

I tried uninstalling reinstalling QGIS, the problem persists.
I'm using:
QGIS version 3.22.8-Białowieża
Windows 11 Home
Version 21H2
OS build 22000.795
All updates.

I had to resource to ArcMap cell statistics to do it but would like to solve 
the issue and have QGIS with complete processing tools option.
Any suggestion? Did anyone else had this happening?
Thank you very much!

Nelson Ribeiro
___
Qgis-user mailing list
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-it-user] Problemi buffer

2022-07-15 Thread Claudio Bonadio
Buongiorno,

seguendo l'esercitazione per l'utilizzo di QGis 3.22.4 alla prova
dell'utilizzo del Buffer questi non viene come ispessimento delle linee ma
come risultato viene un poligono circolare.

Ho allineato gli SR del layer, "roads_34S, sia del progetto al 32734.

In attesa cordiali saluti
Claudio Bonadio
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user