Re: [Qgis-user] Historical data in QGIS-PostGIS

2020-11-13 Thread Richard Duivenvoorde
On 11/14/20 12:11 AM, Vanildo Heleno Pereira wrote:
> Hello everyone.
> I would like to know if there is a possibility to work with historical 
> versions of geographic data in QGIS / PostGIS?
> The geometries need to be stored in a single database table (PostgreSQL) and 
> you will receive data (new records from the same location) annually and I 
> need to visualize each one in a different layer.

Hi Vanildo,

What do you mean with 'historical version of geographical data'?
Is it that you have different versions of a certain geometric feature (be it a 
border, a street or an animal), and that versions actually has (should have) 2 
(date)time columns, being 'first appearance' and 'last appearance'?
If so, this kind of data is to be viewed in a sort of 'time-frames'?

So say you have a set of streetdata, you could show a layer as: show me streets 
all streets of 1800-1900 as a dataset in which you have a filter like 
(first_appeareance > 1800 AND < 1900) or (last_appearance > 1800 AND < 1900) 
(or variations like this).
Then you can create views in the database with these filter queries, but you 
can also do that in different layers in QGIS (both if you want to be able to 
show different timeframes at a time)

You could also do this using the 'temporal controller' which is now in QGIS, 
then you kan keep it one layer and use the controller to show one certain 'time 
frame' at a time.

Or do I misunderstand you question?

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] Historical data in QGIS-PostGIS

2020-11-13 Thread chris hermansen
Brent, Vanildo, list;

On Fri, Nov 13, 2020 at 5:23 PM Brent Wood  wrote:

> I think this is straightforward, if I understand you correctly...
>
> Assuming each year comprises a separate version of the data, have the year
> as a column in the table, which allows you to select by year, group by year
> in the database, on an indexed integer value, which is very fast.
>

This is true if all the spatial elements are discrete and newer versions
fully replace older versions.  However if they group and ungroup I'm not
sure how that would be maintained in your scenario.  Having said that, I'm
not sure if SPI will support that either.

On page 272 of Obe and Hsu PostGIS in Action the authors talk about time
travel and the KNN operator; they say "Backwards time travel is something
PostGIS does not yet support!".

So it may also be worthwhile to pursue this KNN operator business.


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Historical data in QGIS-PostGIS

2020-11-13 Thread Brent Wood
I think this is straightforward, if I understand you correctly...

Assuming each year comprises a separate version of the data, have the year as a 
column in the table, which allows you to select by year, group by year in the 
database, on an indexed integer value, which is very fast.

In terms of displaying as layers in QGIS, there are two approaches which should 
work, which one is better is something you'd need to work out for your use case:

  1.  Open the table, apply a filter for just the desired year(s). Rename the 
QGIS layer as the year(s) to avoid confusion later. Apply whatever symbology 
you desire. Repeat for each year (or set of years) that you want to plot. This 
gives very good control of each year (set) of data as a separate layer, but can 
be complicated with many years (layers) of data.
  2.  Open the table and set the layer symbology to categorised, then 
categorise by the year column. You have a single layer, but can set the 
symbology for each year and turn individual categories (years) on/off as 
desired. Not quite as powerful as completely separate layers, but much easier 
when you have lots of categories.

I'm not sure how much data you have, but if you have 100's of millions of 
records, using Postgis to manage geometries, Timescaledb to manage timeseries 
data and hstore or JSONB to manage multiple readings per sample (depending on 
just what your data are) can give huge space & performance benefits. (I have 
just done this with a sensor dataset of 1.2b readings)

Something else I have done that you may find useful. You can write R functions 
to use as SQL using PL/R. This means you can select data & generate a plot 
directly from Postgres SQL - just run the SQL & then look at the output 
graphic. If you have the image open & generate a new graphic via SQL, at least 
on Linux, the image viewer recognises the change & refreshes the screen. This 
is MUCH easier & faster than any other way I have tried to visualise my data 
directly from a database.


Cheers

Brent Wood

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


From: Qgis-user  on behalf of Vanildo Heleno 
Pereira 
Sent: Saturday, November 14, 2020 12:11
To: qgis-user@lists.osgeo.org 
Subject: [Qgis-user] Historical data in QGIS-PostGIS

Hello everyone.
I would like to know if there is a possibility to work with historical versions 
of geographic data in QGIS / PostGIS?
The geometries need to be stored in a single database table (PostgreSQL) and 
you will receive data (new records from the same location) annually and I need 
to visualize each one in a different layer.
Thanks and regards.
Att.
Vanildo Heleno

[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] Historical data in QGIS-PostGIS

2020-11-13 Thread chris hermansen
Vanildo and list;

On Fri, Nov 13, 2020 at 3:11 PM Vanildo Heleno Pereira 
wrote:

> Hello everyone.
> I would like to know if there is a possibility to work with historical
> versions of geographic data in QGIS / PostGIS?
> The geometries need to be stored in a single database table (PostgreSQL)
> and you will receive data (new records from the same location) annually and
> I need to visualize each one in a different layer.
>

PostgreSQL used to implement a concept called "time travel", but alas no
longer.  However there is some ability to accomplish a similar task (caveat
- I haven't used it):

https://www.postgresql.org/docs/current/contrib-spi.html


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Historical data in QGIS-PostGIS

2020-11-13 Thread Vanildo Heleno Pereira
Hello everyone.
I would like to know if there is a possibility to work with historical
versions of geographic data in QGIS / PostGIS?
The geometries need to be stored in a single database table (PostgreSQL)
and you will receive data (new records from the same location) annually and
I need to visualize each one in a different layer.
Thanks and regards.
Att.
Vanildo Heleno
___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread Andreas Neumann
QGIS allows you to setup relations between different data sources. But 
of course you need common keys to link the tables.


So you could have a relation between a Oracle DB and a CSV file. But you 
need to setup this relation with the foreign key manually in menu 
"Project" --> "Properties" --> "Relations".


Once you've set up these relations you can use the relation reference 
widgets in the forms.


Andreas

Am 13.11.20 um 17:33 schrieb L.W.:

thats true, but i need to add the foreign key to work with this relation.


Am 13.11.2020 um 17:10 schrieb Andreas Neumann:

Hi,

To me this sounds like you want to set up a relation and define forms
with relation reference and relation widgets (with or without embedded
forms).

In the project settings you can define relations between tables and
once you have defined them, they appear in the forms section of the
involved layers.

But as others have pointed out, you probably want (or need) a proper
database, like PostgreSQL. If you have setup your relations in this
database, QGIS will autodetect them and you can directly use them in
your forms.

Greetings,

Andreas


Am 13.11.20 um 16:58 schrieb L.W.:

Use-Case:

I add a Point on map, the attribute-editor opens and I give some Data
to it.

want-to-have:

I want to add a foreign-Key id, but can not add a search-form in this
gui. so my idea was to search in the foreign table with a search-term
and get the id of the found row.

with this id I can add the new point.


my biggest problem, I do not like python as much ... I can write
'python' but none line of code ;-)


Am 13.11.2020 um 16:52 schrieb Richard Duivenvoorde:

Please describe your use-case more specific.

What is the end result you want:
- a location?
- a value of a record (but not the one you search for?

Can you use the filter function in the table? And maybe dock the
table as a dockwidget?
Can you implement a 'locator' yourself (python coding)?
Or else write a small plugin for this?

Regards,

Richard

On 11/13/20 4:43 PM, L.W. wrote:

and this is the point:

"With f @columname you search in the values of 'columname' in current
active layer"

I do want to search every time independant of the active layer ... 
and

the search-field is not the result-field I need.


Am 13.11.2020 um 16:37 schrieb Richard Duivenvoorde:

Have a look in the settings/configure (right mouse context in the
locator bar).

With f ... you search in current active layer
With f @columname you search in the values of 'columname' in
current active layer

(same with 'af' but then for all layers)
See
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#locator-settings 



Hope this helps

Regards,

Richard Duivenvoorde

On 11/13/20 4:30 PM, L.W. wrote:

no, I have never used it, but, there are a hugh list of layers in
my project and it seemed that I can not search in a specific layer.

I only need result of one field displayed in a text field.


Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:

Hi L.W.,

You already have a search toolbar, at the lower left corner.
There are several search options. Have you tried them?

Regards,

Jorge Gustavo

Às 14:39 de 13/11/20, L.W. escreveu:

Hi,

is there a default option / way to have a textfield for
searching in a
layer at the toolbar (or dock-window)? Ill like to get the
"fieldname"-value of the found dataset / attribute.

regards


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

--
Email Signature
Logo 
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga


___
Qgis-user mailing list
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

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

___

Re: [Qgis-user] Update second table

2020-11-13 Thread L.W.

they are not in the same database at the same datebase-server :-(

i forgot to tell ...


Am 13.11.2020 um 17:02 schrieb chris hermansen:

L.W. and list

On Fri, Nov 13, 2020, 06:39 L.W. mailto:eagl...@gmx.de>> wrote:

hi,

can I update a second table autom. if the value of first table
changes?


This is pretty easy if the tables are in a relational database. You
use a thing called a trigger, perhaps together with a stored procedure.

It seems that SQLite has triggers so I imagine you can do this within
a geopackage. Certainly if your data is in PostGIS / PostgreSQL.

Chris
___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread L.W.

thats true, but i need to add the foreign key to work with this relation.


Am 13.11.2020 um 17:10 schrieb Andreas Neumann:

Hi,

To me this sounds like you want to set up a relation and define forms
with relation reference and relation widgets (with or without embedded
forms).

In the project settings you can define relations between tables and
once you have defined them, they appear in the forms section of the
involved layers.

But as others have pointed out, you probably want (or need) a proper
database, like PostgreSQL. If you have setup your relations in this
database, QGIS will autodetect them and you can directly use them in
your forms.

Greetings,

Andreas


Am 13.11.20 um 16:58 schrieb L.W.:

Use-Case:

I add a Point on map, the attribute-editor opens and I give some Data
to it.

want-to-have:

I want to add a foreign-Key id, but can not add a search-form in this
gui. so my idea was to search in the foreign table with a search-term
and get the id of the found row.

with this id I can add the new point.


my biggest problem, I do not like python as much ... I can write
'python' but none line of code ;-)


Am 13.11.2020 um 16:52 schrieb Richard Duivenvoorde:

Please describe your use-case more specific.

What is the end result you want:
- a location?
- a value of a record (but not the one you search for?

Can you use the filter function in the table? And maybe dock the
table as a dockwidget?
Can you implement a 'locator' yourself (python coding)?
Or else write a small plugin for this?

Regards,

Richard

On 11/13/20 4:43 PM, L.W. wrote:

and this is the point:

"With f @columname you search in the values of 'columname' in current
active layer"

I do want to search every time independant of the active layer ... and
the search-field is not the result-field I need.


Am 13.11.2020 um 16:37 schrieb Richard Duivenvoorde:

Have a look in the settings/configure (right mouse context in the
locator bar).

With f ... you search in current active layer
With f @columname you search in the values of 'columname' in
current active layer

(same with 'af' but then for all layers)
See
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#locator-settings

Hope this helps

Regards,

Richard Duivenvoorde

On 11/13/20 4:30 PM, L.W. wrote:

no, I have never used it, but, there are a hugh list of layers in
my project and it seemed that I can not search in a specific layer.

I only need result of one field displayed in a text field.


Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:

Hi L.W.,

You already have a search toolbar, at the lower left corner.
There are several search options. Have you tried them?

Regards,

Jorge Gustavo

Às 14:39 de 13/11/20, L.W. escreveu:

Hi,

is there a default option / way to have a textfield for
searching in a
layer at the toolbar (or dock-window)? Ill like to get the
"fieldname"-value of the found dataset / attribute.

regards


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

--
Email Signature
Logo 
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga


___
Qgis-user mailing list
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

___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread Andreas Neumann

Hi,

To me this sounds like you want to set up a relation and define forms 
with relation reference and relation widgets (with or without embedded 
forms).


In the project settings you can define relations between tables and once 
you have defined them, they appear in the forms section of the involved 
layers.


But as others have pointed out, you probably want (or need) a proper 
database, like PostgreSQL. If you have setup your relations in this 
database, QGIS will autodetect them and you can directly use them in 
your forms.


Greetings,

Andreas


Am 13.11.20 um 16:58 schrieb L.W.:

Use-Case:

I add a Point on map, the attribute-editor opens and I give some Data 
to it.


want-to-have:

I want to add a foreign-Key id, but can not add a search-form in this
gui. so my idea was to search in the foreign table with a search-term
and get the id of the found row.

with this id I can add the new point.


my biggest problem, I do not like python as much ... I can write
'python' but none line of code ;-)


Am 13.11.2020 um 16:52 schrieb Richard Duivenvoorde:

Please describe your use-case more specific.

What is the end result you want:
- a location?
- a value of a record (but not the one you search for?

Can you use the filter function in the table? And maybe dock the 
table as a dockwidget?

Can you implement a 'locator' yourself (python coding)?
Or else write a small plugin for this?

Regards,

Richard

On 11/13/20 4:43 PM, L.W. wrote:

and this is the point:

"With f @columname you search in the values of 'columname' in current
active layer"

I do want to search every time independant of the active layer ... and
the search-field is not the result-field I need.


Am 13.11.2020 um 16:37 schrieb Richard Duivenvoorde:
Have a look in the settings/configure (right mouse context in the 
locator bar).


With f ... you search in current active layer
With f @columname you search in the values of 'columname' in 
current active layer


(same with 'af' but then for all layers)
See 
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#locator-settings


Hope this helps

Regards,

Richard Duivenvoorde

On 11/13/20 4:30 PM, L.W. wrote:
no, I have never used it, but, there are a hugh list of layers in 
my project and it seemed that I can not search in a specific layer.


I only need result of one field displayed in a text field.


Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:

Hi L.W.,

You already have a search toolbar, at the lower left corner. 
There are several search options. Have you tried them?


Regards,

Jorge Gustavo

Às 14:39 de 13/11/20, L.W. escreveu:

Hi,

is there a default option / way to have a textfield for 
searching in a

layer at the toolbar (or dock-window)? Ill like to get the
"fieldname"-value of the found dataset / attribute.

regards


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

--
Email Signature
Logo 
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga


___
Qgis-user mailing list
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] Update second table

2020-11-13 Thread chris hermansen
L.W. and list

On Fri, Nov 13, 2020, 06:39 L.W.  wrote:

> hi,
>
> can I update a second table autom. if the value of first table changes?
>

This is pretty easy if the tables are in a relational database. You use a
thing called a trigger, perhaps together with a stored procedure.

It seems that SQLite has triggers so I imagine you can do this within a
geopackage. Certainly if your data is in PostGIS / PostgreSQL.

Chris

>
___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread L.W.

Use-Case:

I add a Point on map, the attribute-editor opens and I give some Data to it.

want-to-have:

I want to add a foreign-Key id, but can not add a search-form in this
gui. so my idea was to search in the foreign table with a search-term
and get the id of the found row.

with this id I can add the new point.


my biggest problem, I do not like python as much ... I can write
'python' but none line of code ;-)


Am 13.11.2020 um 16:52 schrieb Richard Duivenvoorde:

Please describe your use-case more specific.

What is the end result you want:
- a location?
- a value of a record (but not the one you search for?

Can you use the filter function in the table? And maybe dock the table as a 
dockwidget?
Can you implement a 'locator' yourself (python coding)?
Or else write a small plugin for this?

Regards,

Richard

On 11/13/20 4:43 PM, L.W. wrote:

and this is the point:

"With f @columname you search in the values of 'columname' in current
active layer"

I do want to search every time independant of the active layer ... and
the search-field is not the result-field I need.


Am 13.11.2020 um 16:37 schrieb Richard Duivenvoorde:

Have a look in the settings/configure (right mouse context in the locator bar).

With f ... you search in current active layer
With f @columname you search in the values of 'columname' in current active 
layer

(same with 'af' but then for all layers)
See 
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#locator-settings

Hope this helps

Regards,

Richard Duivenvoorde

On 11/13/20 4:30 PM, L.W. wrote:

no, I have never used it, but, there are a hugh list of layers in my project 
and it seemed that I can not search in a specific layer.

I only need result of one field displayed in a text field.


Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:

Hi L.W.,

You already have a search toolbar, at the lower left corner. There are several 
search options. Have you tried them?

Regards,

Jorge Gustavo

Às 14:39 de 13/11/20, L.W. escreveu:

Hi,

is there a default option / way to have a textfield for searching in a
layer at the toolbar (or dock-window)? Ill like to get the
"fieldname"-value of the found dataset / attribute.

regards


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

--
Email Signature
Logo 
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga


___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread Richard Duivenvoorde
Please describe your use-case more specific.

What is the end result you want:
- a location?
- a value of a record (but not the one you search for?

Can you use the filter function in the table? And maybe dock the table as a 
dockwidget?
Can you implement a 'locator' yourself (python coding)?
Or else write a small plugin for this?

Regards,

Richard

On 11/13/20 4:43 PM, L.W. wrote:
> and this is the point:
> 
> "With f @columname you search in the values of 'columname' in current
> active layer"
> 
> I do want to search every time independant of the active layer ... and
> the search-field is not the result-field I need.
> 
> 
> Am 13.11.2020 um 16:37 schrieb Richard Duivenvoorde:
>> Have a look in the settings/configure (right mouse context in the locator 
>> bar).
>>
>> With f ... you search in current active layer
>> With f @columname you search in the values of 'columname' in current active 
>> layer
>>
>> (same with 'af' but then for all layers)
>> See 
>> https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#locator-settings
>>
>> Hope this helps
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
>> On 11/13/20 4:30 PM, L.W. wrote:
>>> no, I have never used it, but, there are a hugh list of layers in my 
>>> project and it seemed that I can not search in a specific layer.
>>>
>>> I only need result of one field displayed in a text field.
>>>
>>>
>>> Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:
 Hi L.W.,

 You already have a search toolbar, at the lower left corner. There are 
 several search options. Have you tried them?

 Regards,

 Jorge Gustavo

 Às 14:39 de 13/11/20, L.W. escreveu:
> Hi,
>
> is there a default option / way to have a textfield for searching in a
> layer at the toolbar (or dock-window)? Ill like to get the
> "fieldname"-value of the found dataset / attribute.
>
> regards
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
 -- 
 Email Signature
 Logo 
 *Geomaster*
 *Jorge Gustavo Rocha* | Software Engineer
 *e:*j...@geomaster.pt | *m:*+351 910 333 888
 *g:*41.54094,-8.40490 | *v: *510 906 109
 *a: * Rua António Cândido Pinto, 67, 4715-400 Braga


 ___
 Qgis-user mailing list
 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] Add Layer Search to Toolbar

2020-11-13 Thread L.W.

and this is the point:

"With f @columname you search in the values of 'columname' in current
active layer"

I do want to search every time independant of the active layer ... and
the search-field is not the result-field I need.


Am 13.11.2020 um 16:37 schrieb Richard Duivenvoorde:

Have a look in the settings/configure (right mouse context in the locator bar).

With f ... you search in current active layer
With f @columname you search in the values of 'columname' in current active 
layer

(same with 'af' but then for all layers)
See 
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#locator-settings

Hope this helps

Regards,

Richard Duivenvoorde

On 11/13/20 4:30 PM, L.W. wrote:

no, I have never used it, but, there are a hugh list of layers in my project 
and it seemed that I can not search in a specific layer.

I only need result of one field displayed in a text field.


Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:

Hi L.W.,

You already have a search toolbar, at the lower left corner. There are several 
search options. Have you tried them?

Regards,

Jorge Gustavo

Às 14:39 de 13/11/20, L.W. escreveu:

Hi,

is there a default option / way to have a textfield for searching in a
layer at the toolbar (or dock-window)? Ill like to get the
"fieldname"-value of the found dataset / attribute.

regards


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

--
Email Signature
Logo 
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga


___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread Richard Duivenvoorde
Have a look in the settings/configure (right mouse context in the locator bar).

With f ... you search in current active layer
With f @columname you search in the values of 'columname' in current active 
layer

(same with 'af' but then for all layers)
See 
https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#locator-settings

Hope this helps

Regards,

Richard Duivenvoorde

On 11/13/20 4:30 PM, L.W. wrote:
> no, I have never used it, but, there are a hugh list of layers in my project 
> and it seemed that I can not search in a specific layer.
> 
> I only need result of one field displayed in a text field.
> 
> 
> Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:
>>
>> Hi L.W.,
>>
>> You already have a search toolbar, at the lower left corner. There are 
>> several search options. Have you tried them?
>>
>> Regards,
>>
>> Jorge Gustavo
>>
>> Às 14:39 de 13/11/20, L.W. escreveu:
>>> Hi,
>>>
>>> is there a default option / way to have a textfield for searching in a
>>> layer at the toolbar (or dock-window)? Ill like to get the
>>> "fieldname"-value of the found dataset / attribute.
>>>
>>> regards
>>>
>>>
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> -- 
>> Email Signature
>> Logo   
>> *Geomaster*
>> *Jorge Gustavo Rocha* | Software Engineer
>> *e:*j...@geomaster.pt | *m:*+351 910 333 888
>> *g:*41.54094,-8.40490 | *v: *510 906 109
>> *a: * Rua António Cândido Pinto, 67, 4715-400 Braga
>>
>>
>> ___
>> Qgis-user mailing list
>> 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] Add Layer Search to Toolbar

2020-11-13 Thread L.W.

no, I have never used it, but, there are a hugh list of layers in my
project and it seemed that I can not search in a specific layer.

I only need result of one field displayed in a text field.


Am 13.11.2020 um 16:24 schrieb Jorge Gustavo Rocha:


Hi L.W.,

You already have a search toolbar, at the lower left corner. There are
several search options. Have you tried them?

Regards,

Jorge Gustavo

Às 14:39 de 13/11/20, L.W. escreveu:

Hi,

is there a default option / way to have a textfield for searching in a
layer at the toolbar (or dock-window)? Ill like to get the
"fieldname"-value of the found dataset / attribute.

regards


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

--
Email Signature
Logo 
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga


___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread Jorge Gustavo Rocha
Hi L.W.,

You already have a search toolbar, at the lower left corner. There are
several search options. Have you tried them?

Regards,

Jorge Gustavo

Às 14:39 de 13/11/20, L.W. escreveu:
> Hi,
>
> is there a default option / way to have a textfield for searching in a
> layer at the toolbar (or dock-window)? Ill like to get the
> "fieldname"-value of the found dataset / attribute.
>
> regards
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-- 
Email Signature
Logo  
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga

___
Qgis-user mailing list
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] Add Layer Search to Toolbar

2020-11-13 Thread L.W.

Hi,

is there a default option / way to have a textfield for searching in a
layer at the toolbar (or dock-window)? Ill like to get the
"fieldname"-value of the found dataset / attribute.

regards


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

[Qgis-user] Update second table

2020-11-13 Thread L.W.

hi,

can I update a second table autom. if the value of first table changes?

regards

___
Qgis-user mailing list
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] Dynamic Line

2020-11-13 Thread Andreas Neumann

Hi Nicolas,

Yes - but that doesn't magically turn a "non geometry" table into a 
"geometry table" - as far as I know. So you probably need to create a 
"Virtual Layer" and create the geometry similar to what you propose.


Andreas

Am 13.11.20 um 15:22 schrieb Nicolas Cadieux:

Hi,
You can create a geometry from WKT if you have x and y fields using 
and expression in the field calculator.

|geom_from_wkt('POINT('||"x"||' '||"y"||')')|

https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry

Nicolas Cadieux


Le 13 nov. 2020 à 09:07, Andreas Neumann  a écrit :



Hi

Neither GeometryGenerators nor Vector Field Markers work on tables 
without geometry, unfortunately. You didn't inform us, that you don't 
have geometry in your table.


You can, however, create a "Virtual Layer" and write some SQL to 
create a geometry from your attributes: menu "Layer" --> "Create 
Layer" --> "New Virtual Layer" - where you can use your existing 
tables and create a new geometry column with SQL. See 
https://docs.qgis.org/testing/en/docs/user_manual/managing_data_source/create_layers.html#creating-virtual-layers


Or, if your table is a CSV file, then you can assign attribute 
columns to a point geometry and then just hide the point rendering if 
you don't need it.


This is an unfortunate limitation of QGIS, that there is no "easy" 
way to add a geometry column to table that doesn't have geometry (or 
if it is possible, then I don't know it).


Hope this helps you,

Andreas

Am 13.11.20 um 14:52 schrieb L.W.:


Does it works on Layers with no geometry?

My layers do not have a geometry.


Am 13.11.2020 um 11:56 schrieb Andreas Neumann:


Yes, you need point data to start from, but then vectors can 
bei/are generated from the attributes you mentioned.


Andreas

Am 13.11.20 um 11:47 schrieb L.W.:


from the docs ...

It can only be used to render point data


12.2.2.2.6.The Vector Field Marker



The vector field marker is used to display vector field data such 
as earth deformation, tidal flows, and the like. It displays the 
vectors as lines (preferably arrows) that are scaled and oriented 
according to selected attributes of data points. It can only 
be used to render point data; line and polygon layers are not 
drawn by this symbology.


The vector field is defined by attributes in the data, which can 
represent the field either by:


 *

*cartesian*components (|x|and|y|components of the field)

 *

or*polar*coordinates: in this case, attributes
define|Length|and|Angle|. The angle may be measured either
clockwise from north, or Counterclockwise from east, and may
be either in degrees or radians.

 *

or as*height only*data, which displays a vertical arrow scaled
using an attribute of the data. This is appropriate for
displaying the vertical component of deformation, for example.

The magnitude of field


Am 13.11.2020 um 11:34 schrieb Andreas Neumann:

Or even easier: use the "Vector Field Marker":

https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?#the-vector-field-marker 



Am 13.11.20 um 11:33 schrieb Andreas Neumann:

Hi,

Yes - you can use Geometry Generators for that. Use the 
make_point() and make_line() expressions for that.


See 
https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator


Greetings,
Andreas

Am 13.11.20 um 11:26 schrieb L.W.:

Hi,

is it possible to draw automatically a line between two points 
defined

by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor 
want to

draw the line by hand.

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

___
Qgis-user mailing list
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 mailin

Re: [Qgis-user] Dynamic Line

2020-11-13 Thread Nicolas Cadieux
Hi,
You can create a geometry from WKT if you have x and y fields using and 
expression in the field calculator.
geom_from_wkt('POINT('||"x"||' '||"y"||')')

https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry

Nicolas Cadieux

> Le 13 nov. 2020 à 09:07, Andreas Neumann  a écrit :
> 
> 
> Hi
> 
> Neither GeometryGenerators nor Vector Field Markers work on tables without 
> geometry, unfortunately. You didn't inform us, that you don't have geometry 
> in your table.
> 
> You can, however, create a "Virtual Layer" and write some SQL to create a 
> geometry from your attributes: menu "Layer" --> "Create Layer" --> "New 
> Virtual Layer" - where you can use your existing tables and create a new 
> geometry column with SQL. See 
> https://docs.qgis.org/testing/en/docs/user_manual/managing_data_source/create_layers.html#creating-virtual-layers
> 
> Or, if your table is a CSV file, then you can assign attribute columns to a 
> point geometry and then just hide the point rendering if you don't need it.
> 
> This is an unfortunate limitation of QGIS, that there is no "easy" way to add 
> a geometry column to table that doesn't have geometry (or if it is possible, 
> then I don't know it).
> 
> Hope this helps you,
> 
> Andreas
> 
>> Am 13.11.20 um 14:52 schrieb L.W.:
>> Does it works on Layers with no geometry?
>> 
>> My layers do not have a geometry.
>> 
>> 
>> 
>> Am 13.11.2020 um 11:56 schrieb Andreas Neumann:
>>> Yes, you need point data to start from, but then vectors can bei/are 
>>> generated from the attributes you mentioned.
>>> 
>>> Andreas
>>> 
 Am 13.11.20 um 11:47 schrieb L.W.:
 from the docs ...
 
 It can only be used to render point data
 
 12.2.2.2.6. The Vector Field Marker
 
 The vector field marker is used to display vector field data such as earth 
 deformation, tidal flows, and the like. It displays the vectors as lines 
 (preferably arrows) that are scaled and oriented according to selected 
 attributes of data points. It can only be used to render point 
 data; line and polygon layers are not drawn by this symbology.
 
 The vector field is defined by attributes in the data, which can represent 
 the field either by:
 
 cartesian components (x and y components of the field)
 or polar coordinates: in this case, attributes define Length and Angle. 
 The angle may be measured either clockwise from north, or Counterclockwise 
 from east, and may be either in degrees or radians.
 or as height only data, which displays a vertical arrow scaled using an 
 attribute of the data. This is appropriate for displaying the vertical 
 component of deformation, for example.
 The magnitude of field
 
 
 
 Am 13.11.2020 um 11:34 schrieb Andreas Neumann:
> Or even easier: use the "Vector Field Marker": 
> 
> https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?#the-vector-field-marker
>  
> 
>> Am 13.11.20 um 11:33 schrieb Andreas Neumann: 
>> Hi, 
>> 
>> Yes - you can use Geometry Generators for that. Use the make_point() and 
>> make_line() expressions for that. 
>> 
>> See 
>> https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator
>> 
>> Greetings, 
>> Andreas 
>> 
>>> Am 13.11.20 um 11:26 schrieb L.W.: 
>>> Hi, 
>>> 
>>> is it possible to draw automatically a line between two points defined 
>>> by 4 fields (x1,y1 - x2,y2) in an attributetable? 
>>> 
>>> but I do not want to add a line-layer based on this table nor want to 
>>> draw the line by hand. 
>>> 
>>> 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 
> ___ 
> Qgis-user mailing list 
> 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://list

Re: [Qgis-user] Dynamic Line

2020-11-13 Thread Andreas Neumann

Hi

Neither GeometryGenerators nor Vector Field Markers work on tables 
without geometry, unfortunately. You didn't inform us, that you don't 
have geometry in your table.


You can, however, create a "Virtual Layer" and write some SQL to create 
a geometry from your attributes: menu "Layer" --> "Create Layer" --> 
"New Virtual Layer" - where you can use your existing tables and create 
a new geometry column with SQL. See 
https://docs.qgis.org/testing/en/docs/user_manual/managing_data_source/create_layers.html#creating-virtual-layers


Or, if your table is a CSV file, then you can assign attribute columns 
to a point geometry and then just hide the point rendering if you don't 
need it.


This is an unfortunate limitation of QGIS, that there is no "easy" way 
to add a geometry column to table that doesn't have geometry (or if it 
is possible, then I don't know it).


Hope this helps you,

Andreas

Am 13.11.20 um 14:52 schrieb L.W.:


Does it works on Layers with no geometry?

My layers do not have a geometry.


Am 13.11.2020 um 11:56 schrieb Andreas Neumann:


Yes, you need point data to start from, but then vectors can bei/are 
generated from the attributes you mentioned.


Andreas

Am 13.11.20 um 11:47 schrieb L.W.:


from the docs ...

It can only be used to render point data


12.2.2.2.6.The Vector Field Marker



The vector field marker is used to display vector field data such as 
earth deformation, tidal flows, and the like. It displays the 
vectors as lines (preferably arrows) that are scaled and oriented 
according to selected attributes of data points. It can only be 
used to render point data; line and polygon layers are not drawn 
by this symbology.


The vector field is defined by attributes in the data, which can 
represent the field either by:


 *

*cartesian*components (|x|and|y|components of the field)

 *

or*polar*coordinates: in this case, attributes
define|Length|and|Angle|. The angle may be measured either
clockwise from north, or Counterclockwise from east, and may be
either in degrees or radians.

 *

or as*height only*data, which displays a vertical arrow scaled
using an attribute of the data. This is appropriate for
displaying the vertical component of deformation, for example.

The magnitude of field


Am 13.11.2020 um 11:34 schrieb Andreas Neumann:

Or even easier: use the "Vector Field Marker":

https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?#the-vector-field-marker 



Am 13.11.20 um 11:33 schrieb Andreas Neumann:

Hi,

Yes - you can use Geometry Generators for that. Use the 
make_point() and make_line() expressions for that.


See 
https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator


Greetings,
Andreas

Am 13.11.20 um 11:26 schrieb L.W.:

Hi,

is it possible to draw automatically a line between two points 
defined

by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor 
want to

draw the line by hand.

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

___
Qgis-user mailing list
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
___
Qgis-user mailing list
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] Dynamic Line

2020-11-13 Thread L.W.

Does it works on Layers with no geometry?

My layers do not have a geometry.


Am 13.11.2020 um 11:56 schrieb Andreas Neumann:


Yes, you need point data to start from, but then vectors can bei/are
generated from the attributes you mentioned.

Andreas

Am 13.11.20 um 11:47 schrieb L.W.:


from the docs ...

It can only be used to render point data


12.2.2.2.6.The Vector Field Marker



The vector field marker is used to display vector field data such as
earth deformation, tidal flows, and the like. It displays the vectors
as lines (preferably arrows) that are scaled and oriented according
to selected attributes of data points. It can only be used to
render point data; line and polygon layers are not drawn by this
symbology.

The vector field is defined by attributes in the data, which can
represent the field either by:

 *

*cartesian*components (|x|and|y|components of the field)

 *

or*polar*coordinates: in this case, attributes
define|Length|and|Angle|. The angle may be measured either
clockwise from north, or Counterclockwise from east, and may be
either in degrees or radians.

 *

or as*height only*data, which displays a vertical arrow scaled
using an attribute of the data. This is appropriate for
displaying the vertical component of deformation, for example.

The magnitude of field


Am 13.11.2020 um 11:34 schrieb Andreas Neumann:

Or even easier: use the "Vector Field Marker":

https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?#the-vector-field-marker


Am 13.11.20 um 11:33 schrieb Andreas Neumann:

Hi,

Yes - you can use Geometry Generators for that. Use the
make_point() and make_line() expressions for that.

See
https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator

Greetings,
Andreas

Am 13.11.20 um 11:26 schrieb L.W.:

Hi,

is it possible to draw automatically a line between two points
defined
by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor want to
draw the line by hand.

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

___
Qgis-user mailing list
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] Dynamic Line

2020-11-13 Thread Andreas Neumann
Yes, you need point data to start from, but then vectors can bei/are 
generated from the attributes you mentioned.


Andreas

Am 13.11.20 um 11:47 schrieb L.W.:


from the docs ...

It can only be used to render point data


12.2.2.2.6.The Vector Field Marker



The vector field marker is used to display vector field data such as 
earth deformation, tidal flows, and the like. It displays the vectors 
as lines (preferably arrows) that are scaled and oriented according to 
selected attributes of data points. It can only be used to render 
point data; line and polygon layers are not drawn by this symbology.


The vector field is defined by attributes in the data, which can 
represent the field either by:


 *

*cartesian*components (|x|and|y|components of the field)

 *

or*polar*coordinates: in this case, attributes
define|Length|and|Angle|. The angle may be measured either
clockwise from north, or Counterclockwise from east, and may be
either in degrees or radians.

 *

or as*height only*data, which displays a vertical arrow scaled
using an attribute of the data. This is appropriate for displaying
the vertical component of deformation, for example.

The magnitude of field


Am 13.11.2020 um 11:34 schrieb Andreas Neumann:

Or even easier: use the "Vector Field Marker":

https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?#the-vector-field-marker 



Am 13.11.20 um 11:33 schrieb Andreas Neumann:

Hi,

Yes - you can use Geometry Generators for that. Use the make_point() 
and make_line() expressions for that.


See 
https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator


Greetings,
Andreas

Am 13.11.20 um 11:26 schrieb L.W.:

Hi,

is it possible to draw automatically a line between two points defined
by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor want to
draw the line by hand.

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

___
Qgis-user mailing list
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] Dynamic Line

2020-11-13 Thread L.W.

from the docs ...

It can only be used to render point data


   12.2.2.2.6.The Vector Field Marker
   


The vector field marker is used to display vector field data such as
earth deformation, tidal flows, and the like. It displays the vectors as
lines (preferably arrows) that are scaled and oriented according to
selected attributes of data points. It can only be used to render
point data; line and polygon layers are not drawn by this symbology.

The vector field is defined by attributes in the data, which can
represent the field either by:

 *

   *cartesian*components (|x|and|y|components of the field)

 *

   or*polar*coordinates: in this case, attributes
   define|Length|and|Angle|. The angle may be measured either clockwise
   from north, or Counterclockwise from east, and may be either in
   degrees or radians.

 *

   or as*height only*data, which displays a vertical arrow scaled using
   an attribute of the data. This is appropriate for displaying the
   vertical component of deformation, for example.

The magnitude of field


Am 13.11.2020 um 11:34 schrieb Andreas Neumann:

Or even easier: use the "Vector Field Marker":

https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?#the-vector-field-marker


Am 13.11.20 um 11:33 schrieb Andreas Neumann:

Hi,

Yes - you can use Geometry Generators for that. Use the make_point()
and make_line() expressions for that.

See
https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator

Greetings,
Andreas

Am 13.11.20 um 11:26 schrieb L.W.:

Hi,

is it possible to draw automatically a line between two points defined
by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor want to
draw the line by hand.

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

___
Qgis-user mailing list
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] Dynamic Line

2020-11-13 Thread Andreas Neumann

Or even easier: use the "Vector Field Marker":

https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?#the-vector-field-marker

Am 13.11.20 um 11:33 schrieb Andreas Neumann:

Hi,

Yes - you can use Geometry Generators for that. Use the make_point() 
and make_line() expressions for that.


See 
https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator


Greetings,
Andreas

Am 13.11.20 um 11:26 schrieb L.W.:

Hi,

is it possible to draw automatically a line between two points defined
by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor want to
draw the line by hand.

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

___
Qgis-user mailing list
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] Dynamic Line

2020-11-13 Thread Andreas Neumann

Hi,

Yes - you can use Geometry Generators for that. Use the make_point() and 
make_line() expressions for that.


See 
https://docs.qgis.org/3.10/en/docs/user_manual/style_library/symbol_selector.html?highlight=geometry%20generator#the-geometry-generator


Greetings,
Andreas

Am 13.11.20 um 11:26 schrieb L.W.:

Hi,

is it possible to draw automatically a line between two points defined
by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor want to
draw the line by hand.

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] Problems to upload *.nc files in QGIS ver 3.16

2020-11-13 Thread Carolina Lang
Great, thanks Pedro

El jue., 12 nov. 2020 a las 15:28, Pedro Venâncio (<
pedrongvenan...@gmail.com>) escribió:

> It was already fixed in OGeo4W Carolina:
> https://github.com/qgis/QGIS/issues/39729
>
> Standalone shall be fixed in the next point release, next week.
>
> Best regards,
> Pedro
>
>
> Carolina Lang  escreveu no dia quinta, 12/11/2020
> à(s) 22:30:
>
>>
>>
>>
>>
>>
>>
>>
>> *Hello Everyone, I´m working on QGIS version 3.16.0. And I´m having
>> problems to upload *.nc files ( SeaSurfaceTemperature from satellite data),
>> and cannot do it, Is someone dealing with the same issue, or someone has
>> any idea how to fix it?. Any comment I´ll appreciate it, I have a couple of
>> days working on this without results!!Thanks*
>>
>> Carolang
>>
>>
>>
>>
>>
>>
>>
>> C*ertificación ISO 9001/2015*: Sistema de Datos
>> Biológico-Pesqueros (Arica, Iquique, Coquimbo, Valparaíso, San Antonio,
>> Talcahuano y Calbuco, pesquerías industriales y artesanales)
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>

-- 
Carolina Lang Abarzúa
Investigadora DED
Instituto de Fomento Pesquero
Almte Blanco N°839, Valparaíso, Chile
Fono: (32) 2151572-2151500
IFOP.CL 

-- 
C*ertificación ISO 9001/2015*: Sistema de Datos Biológico-Pesqueros (Arica, 
Iquique, Coquimbo, Valparaíso, San Antonio, Talcahuano y Calbuco, 
pesquerías industriales y artesanales)
___
Qgis-user mailing list
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] Dynamic Line

2020-11-13 Thread L.W.

Hi,

is it possible to draw automatically a line between two points defined
by 4 fields (x1,y1 - x2,y2) in an attributetable?

but I do not want to add a line-layer based on this table nor want to
draw the line by hand.

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] Qgis startup crashes on Debian 10

2020-11-13 Thread Patrick Dunford
Again as we saw with builds earlier this year, the latest 3.10.11 build 
will crash on startup. This happens on anything I can find running 
Debian 10.


There aren't seen anything similar on Ubuntu.

Is there likely to be some sort of issue with the build environment that 
affects Debian 10 compatibility?


The below is a K crash dump.

Application: qgis (qgis), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7feb14a2ce40 (LWP 11173))]

Thread 8 (Thread 0x7feafc8bd700 (LWP 11185)):
#0  0x7feb1d38f3f9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x7feb1d9490fc in QWaitCondition::wait(QMutex*, unsigned long) 
() from /lib/x86_64-linux-gnu/libQt5Core.so.5

#2  0x7feb1d9411f2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x7feb1d948a67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7feb1d388fa3 in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0

#5  0x7feb1d49d4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7feafd0be700 (LWP 11184)):
[KCrash Handler]
#6  0x7feb1df11b84 in ?? () from 
/lib/x86_64-linux-gnu/libQt5Network.so.5
#7  0x7feb1df10c49 in ?? () from 
/lib/x86_64-linux-gnu/libQt5Network.so.5
#8  0x7feb1db1a072 in QObject::event(QEvent*) () from 
/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x7feb20c2d4c1 in QApplicationPrivate::notify_helper(QObject*, 
QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x7feb20c34970 in QApplication::notify(QObject*, QEvent*) () 
from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x7feb246c680b in QgsApplication::notify(QObject*, QEvent*) () 
from /lib/libqgis_core.so.3.10.11
#12 0x7feb1daf0489 in QCoreApplication::notifyInternal2(QObject*, 
QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x7feb1daf346b in 
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) 
() from /lib/x86_64-linux-gnu/libQt5Core.so.5

#14 0x7feb1db42103 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x7feb1bbc0f2e in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0

#16 0x7feb1bbc11c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x7feb1bbc125c in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x7feb1db41727 in 
QEventDispatcherGlib::processEvents(QFlags) 
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x7feb1daef15b in 
QEventLoop::exec(QFlags) () from 
/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x7feb1d93ee76 in QThread::exec() () from 
/lib/x86_64-linux-gnu/libQt5Core.so.5

#21 0x7feb1d948a67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x7feb1d388fa3 in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0

#23 0x7feb1d49d4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7feafd8bf700 (LWP 11183)):
#0  0x7feb1d492819 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7feb1bbc1136 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7feb1bbc125c in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7feb1db41743 in 
QEventDispatcherGlib::processEvents(QFlags) 
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7feb1daef15b in 
QEventLoop::exec(QFlags) () from 
/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x7feb2488e3d0 in QgsNetworkContentFetcherTask::run() () from 
/lib/libqgis_core.so.3.10.11
#6  0x7feb2499a262 in QgsTask::start() () from 
/lib/libqgis_core.so.3.10.11

#7  0x7feb1d940fe1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7feb1d948a67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x7feb1d388fa3 in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0

#10 0x7feb1d49d4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7feafe15f700 (LWP 11182)):
#0  0x7feb1d48e537 in write () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7feb1bc06b5a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7feb1daf39b5 in QCoreApplication::postEvent(QObject*, QEvent*, 
int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x7feb1db1954a in QMetaObject::activate(QObject*, int, int, 
void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7feb1df37c64 in 
QNetworkConfigurationManagerPrivate::updateConfigurations() () from 
/lib/x86_64-linux-gnu/libQt5Network.so.5
#5  0x7feb1dfc470d in ?? () from 
/lib/x86_64-linux-gnu/libQt5Network.so.5
#6  0x7feb1db1a072 in QObject::event(QEvent*) () from 
/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x7feb1daf0466 in QCoreApplication::notifyInternal2(QObject*, 
QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7feb1daf346b in 
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) 
() from /lib/x86_64-linux-gnu/libQt5Core.so.5

#9  0x7feb1db42103 in ?