Re: [Qgis-user] adding a simple filled polygon

2021-12-17 Per discussione Johan De Groote
Hello Bernard,

Thanks. I found it eventually. First the pencil and then the "amoeba" to add a 
polygon. Then capturing the points and with the vertex tool editing them in the 
list to get the points at the required place.

After all this was reasonably easy. This is a tool I'll use more.

I'm aware that I have a lot to learn about coordinate systems and projections. 
But the equipment we use gives us WGS84. So that is what I use. And the 
required precision isn't that taxing. We are on board of vehicles and get a 
point every second. So running at 70 km/h is about 20 meters between points. I 
take it that the error between a cilindrical projection and WGS84 is below that.

Thanks again,
Johan

On Fri, 17 Dec 2021 12:04:18 +0100
Bernd Vogelgesang  wrote:

> Hi,
> 
> from what I understand, you just need to make your new layer editable
> (pencil symbol), then you can see the symbol for adding a polygon.
> 
> Besides that: Be aware that the original coordinate system of GPS points
> is EPSG 4326 (unit degrees), and so is the default CRS for layers in
> QGIS. In case you want to do more sophisticated operations later with
> your data, you should reproject them to a local metric coordinate
> system. Tricky topic for beginners. The toolbox is your friend.
> 
> Cheers,
> 
> Bernd
> 
> Am 17.12.21 um 11:10 schrieb Johan De Groote:
> > Hello, I'm new to QGIS (and gis in general). For the job I need to make 
> > events logged form a GPS visible on a map. The events are when we enter or 
> > leave a zone defined as a polygon.
> >
> > I managed to get the openstreet view in the background and each type of 
> > events (entering and leaving) on a separate layer. This worked fine 
> > following a tutorial I found on the net. Just what I need.
> >
> > But now I want to enter the zones. These are defined as polygons with each 
> > cornerpoint defined by GPS coordinates. I have already set those points on 
> > a separate layer. Now I read the handbook but it is not very clear. It 
> > starts with adding a new shape layer (ok). But then it gets very muddly for 
> > me. I tried a tutorial but this is for older versions of QGIS (just as the 
> > training manual on the QGIS website) and they talk about "click the add a 
> > polygon icon" which isn't to be found.
> >
> > So is there somewher a tutorial on how to add a filled polygon on a map 
> > when you have the points as GPS coordinates? I can add the polygon 
> > capturing the points on the map, that kind of precision is acceptable for 
> > my needs.
> >
> > Thanks,
> > Johan
> >
> > Using:
> >
> > QGIS version
> > 3.22.0-Białowieża
> > QGIS code branch
> > Release 3.22
> > Qt version
> > 5.15.2
> > Python version
> > 3.9.9
> > GDAL/OGR version
> > 3.3.3
> > PROJ version
> > 8.2.0
> > EPSG Registry database version
> > v10.038 (2021-10-21)
> > GEOS version
> > 3.10.0-CAPI-1.16.0
> > SQLite version
> > 3.35.5
> > PostgreSQL client version
> > No support
> > SpatiaLite version
> > 5.0.1
> > QWT version
> > 6.1.5
> > QScintilla2 version
> > 2.11.6
> > OS version
> > Gentoo/Linux
> > ___
> > Qgis-user mailing list
> > 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 customized importing apparently causes problems with type checkers/Intellisense

2021-12-17 Per discussione Ari Meyer
That's interesting, Richard.  I'm not sure if this is new with 3.22 or is
supposed to be the case for all V2 installs, but it's definitely not in
mine.  I used the network installer for 3.16.9 LTR.

Could anyone with a similar build seeing those same interface files who
uses VS Code see if it makes any difference with the Pylance language
server?

Thanks,
Ari

On Fri, Dec 17, 2021 at 1:21 AM Richard Duivenvoorde 
wrote:

> On 12/17/21 02:05, Ari Meyer wrote:
> >
> > I do not see any *.pyi files in my 3.16.9
> LTR's C:\OSGeo4W\apps\qgis-ltr\python\qgis dir nor in any of the subdirs.
> Should I be?
>
> On my virtual windows machine, I installed recently installed a fresh QGIS
> using the new osgeo4w v2 installer, and there I have:
>
> c:\osgeo4w\apps\qgis\python\qgis\_3d.pyi
> c:\osgeo4w\apps\qgis\python\qgis\_analysis.pyi
> c:\osgeo4w\apps\qgis\python\qgis\_core.pyi
> c:\osgeo4w\apps\qgis\python\qgis\_gui.pyi
>
> I had a look, and apparently I installed 'qgis-full' (giving me 3.22)
> there using the 'advanced' route
>
> Hope this helps, (did not try to do the full route though)
>
> 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 simple filled polygon

2021-12-17 Per discussione Bernd Vogelgesang

Hi,

from what I understand, you just need to make your new layer editable
(pencil symbol), then you can see the symbol for adding a polygon.

Besides that: Be aware that the original coordinate system of GPS points
is EPSG 4326 (unit degrees), and so is the default CRS for layers in
QGIS. In case you want to do more sophisticated operations later with
your data, you should reproject them to a local metric coordinate
system. Tricky topic for beginners. The toolbox is your friend.

Cheers,

Bernd

Am 17.12.21 um 11:10 schrieb Johan De Groote:

Hello, I'm new to QGIS (and gis in general). For the job I need to make events 
logged form a GPS visible on a map. The events are when we enter or leave a 
zone defined as a polygon.

I managed to get the openstreet view in the background and each type of events 
(entering and leaving) on a separate layer. This worked fine following a 
tutorial I found on the net. Just what I need.

But now I want to enter the zones. These are defined as polygons with each cornerpoint 
defined by GPS coordinates. I have already set those points on a separate layer. Now I 
read the handbook but it is not very clear. It starts with adding a new shape layer (ok). 
But then it gets very muddly for me. I tried a tutorial but this is for older versions of 
QGIS (just as the training manual on the QGIS website) and they talk about "click 
the add a polygon icon" which isn't to be found.

So is there somewher a tutorial on how to add a filled polygon on a map when 
you have the points as GPS coordinates? I can add the polygon capturing the 
points on the map, that kind of precision is acceptable for my needs.

Thanks,
Johan

Using:

QGIS version
3.22.0-Białowieża
QGIS code branch
Release 3.22
Qt version
5.15.2
Python version
3.9.9
GDAL/OGR version
3.3.3
PROJ version
8.2.0
EPSG Registry database version
v10.038 (2021-10-21)
GEOS version
3.10.0-CAPI-1.16.0
SQLite version
3.35.5
PostgreSQL client version
No support
SpatiaLite version
5.0.1
QWT version
6.1.5
QScintilla2 version
2.11.6
OS version
Gentoo/Linux
___
Qgis-user mailing list
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] adding a simple filled polygon

2021-12-17 Per discussione Johan De Groote
Hello, I'm new to QGIS (and gis in general). For the job I need to make events 
logged form a GPS visible on a map. The events are when we enter or leave a 
zone defined as a polygon.

I managed to get the openstreet view in the background and each type of events 
(entering and leaving) on a separate layer. This worked fine following a 
tutorial I found on the net. Just what I need.

But now I want to enter the zones. These are defined as polygons with each 
cornerpoint defined by GPS coordinates. I have already set those points on a 
separate layer. Now I read the handbook but it is not very clear. It starts 
with adding a new shape layer (ok). But then it gets very muddly for me. I 
tried a tutorial but this is for older versions of QGIS (just as the training 
manual on the QGIS website) and they talk about "click the add a polygon icon" 
which isn't to be found.

So is there somewher a tutorial on how to add a filled polygon on a map when 
you have the points as GPS coordinates? I can add the polygon capturing the 
points on the map, that kind of precision is acceptable for my needs.

Thanks,
Johan

Using:

QGIS version
3.22.0-Białowieża
QGIS code branch
Release 3.22
Qt version
5.15.2
Python version
3.9.9
GDAL/OGR version
3.3.3
PROJ version
8.2.0
EPSG Registry database version
v10.038 (2021-10-21)
GEOS version
3.10.0-CAPI-1.16.0
SQLite version
3.35.5
PostgreSQL client version
No support
SpatiaLite version
5.0.1
QWT version
6.1.5
QScintilla2 version
2.11.6
OS version
Gentoo/Linux
___
Qgis-user mailing list
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-it-user] errore nel collegamento di due algoritmi di processing nello stesso script

2021-12-17 Per discussione Giacomo Fontanelli
Andrea grazie mille
speriamo risolvano questo bug

l'ultima domanda: mi hai segnalato che l'errore è in
# 4C Output stack
stackOut = self.parameterAsOutputLayer(
parameters,
self.OUTPUT,
context)

Come sarebbe la versione corretta della sintassi?

Grazie di nuovo

Giacomo

Il giorno ven 17 dic 2021 alle ore 08:56 Andrea Giudiceandrea <
andreaer...@libero.it> ha scritto:

> Il 16/12/2021 17:45, Andrea Giudiceandrea ha scritto:
>
> Invece, dei "Warning" non so ancora spiegare il motivo...
>
>
> Gli avvisi "Impossibile aprire ..." (che comunque non sono "errori"),
> presenti nel tab OGR del pannello del log dei messaggi, sono generati
> dall'algoritmo "Merge" di GDAL (gdal:merge).
>
> Tale algoritmo genera gli stessi warning anche quando utilizzato
> direttamente in maniera interattiva dal pannello degli strumenti di
> processing.
>
> Il bug era già stato segnalato https://issues.qgis.org/issues/19597
> qualche anno fa ed era stata implementata anche una patch
> https://github.com/qgis/QGIS/pull/7608 che avrebbe dovuto risolverlo...
> ma evidentemente non è stata risolutiva.
>
> A presto.
>
> Andrea
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user