[QGIS-it-user] Assegnare geometria a tabella dati esistenti

2021-09-30 Per discussione Alberto Poggi
Buongiorno a tutti, ho un problema che non riesco a risolvere con una
tabella dati in postgis.
La tabella contiene i dati di fosse imhoff esistenti. Ho la necessità di
registrare anche il punto di scarico di queste imhoff e il modo più
"semplice" mi è sembrato quello di aggiungere un altro campo geometrico nel
quale registrare il punto di scarico.
Ho quindi sulla stessa riga due campi geometrici, uno per la imhoff e uno
per lo scarico.
Ho collegato due volte la stessa tabella in qgis, vestendola in modo
diverso, utilizzando il primo campo geometrico per rappresentare la fossa
imhoff  e il secondo per lo scarico.

Il problema è: come faccio ad assegnare la geometria dello scarico alla
singola riga della tabella già esistente?

Ho cercato in rete e ho visto che la procedura in qgis dovrebbe utilizzare
la funzionalità "fondi attributi degli elementi selezionati" ma non sono
riuscito ad ottenere nulla.
Qualcuno mi può aiutare?
grazie in anticipo
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Store .qlr file into postgresql/postgis?

2021-09-30 Per discussione celati Laurent
Good morning,

As far as i know,  it is possible to store in postgresql / postgis qgis
style files (QML format), qgis project files (QGS format).
Is it possible to store .QLR format files (XML file which contains a
pointer to the data source in addition to the style information).
Do other users share an interest in being able to do this?

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] Store .qlr file into postgresql/postgis?

2021-09-30 Per discussione Richard McDonnell
Hi,
When you save a style to postgres/PostGIS you save the QML and the SLD format 
styles. When you save it as a default style for the layer, Style => Save as 
Default => Datasource Database, it automatically has that link to the data 
source.
Regards,

Richard

——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
From: Qgis-user  On Behalf Of celati Laurent
Sent: 30 September 2021 10:50
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Store .qlr file into postgresql/postgis?

Good morning,

As far as i know,  it is possible to store in postgresql / postgis qgis style 
files (QML format), qgis project files (QGS format).
Is it possible to store .QLR format files (XML file which contains a pointer to 
the data source in addition to the style information).
Do other users share an interest in being able to do this?

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] Info click with geometry generator

2021-09-30 Per discussione Paul Wittle
Hi,

I've added a geometry generator to a line feature layer to buffer the line by 
150m. This works fine in terms of the way it is displayed but when you info 
click on the buffered area it does not return any results.

Is there a way to make the info click query based on the full extent of the 
styling rather than just the feature itself?

This would be the same as what happens when you use WMS GetFeatureInfo; in that 
situation the infoclick is based on the rendered result rather than just the 
underlying data.

Any hints would be appreciated.
Thanks,
Paul
This e-mail and any files transmitted with it are intended solely for the use 
of the individual or entity to whom they are addressed. It may contain 
unclassified but sensitive or protectively marked material and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All traffic may be subject to recording and/or monitoring 
in accordance with relevant legislation. Any views expressed in this message 
are those of the individual sender, except where the sender specifies and with 
authority, states them to be the views of Dorset Council. Dorset Council does 
not accept service of documents by fax or other electronic means. Virus 
checking: Whilst all reasonable steps have been taken to ensure that this 
electronic communication and its attachments whether encoded, encrypted or 
otherwise supplied are free from computer viruses, Dorset Council accepts no 
liability in respect of any loss, cost, damage or expense suffered as a result 
of accessing this message or any of its attachments. For information on how 
Dorset Council processes your information, please see 
www.dorsetcouncil.gov.uk/data-protection
___
Qgis-user mailing list
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] R: Assegnare geometria a tabella dati esistenti

2021-09-30 Per discussione Gennaro Comite
Io inserirei un punto per lo scarico in una tabella differente dove riporti 
tutti i suoi attributi incluso il codice vasca da cui deriva.
Nelle Imhoff riporti il codice dello scarico interessato e gestisci tutto 
impostando una relazione tra tabelle madre (imhoff) e tabelle figlio (scarichi)…

In alternativa in postgis avresti la geometria multipoint.

Genna


Da: QGIS-it-user  Per conto di Alberto 
Poggi
Inviato: giovedì 30 settembre 2021 10:00
A: QGIS-it-user@lists.osgeo.org
Oggetto: [QGIS-it-user] Assegnare geometria a tabella dati esistenti

Buongiorno a tutti, ho un problema che non riesco a risolvere con una tabella 
dati in postgis.
La tabella contiene i dati di fosse imhoff esistenti. Ho la necessità di 
registrare anche il punto di scarico di queste imhoff e il modo più "semplice" 
mi è sembrato quello di aggiungere un altro campo geometrico nel quale 
registrare il punto di scarico.
Ho quindi sulla stessa riga due campi geometrici, uno per la imhoff e uno per 
lo scarico.
Ho collegato due volte la stessa tabella in qgis, vestendola in modo diverso, 
utilizzando il primo campo geometrico per rappresentare la fossa imhoff  e il 
secondo per lo scarico.

Il problema è: come faccio ad assegnare la geometria dello scarico alla singola 
riga della tabella già esistente?

Ho cercato in rete e ho visto che la procedura in qgis dovrebbe utilizzare la 
funzionalità "fondi attributi degli elementi selezionati" ma non sono riuscito 
ad ottenere nulla.
Qualcuno mi può aiutare?
grazie in anticipo

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] R: Assegnare geometria a tabella dati esistenti

2021-09-30 Per discussione francesco marucci
ciao,
concettualmente io credo che l'unica soluzione sia quella di gestire i
due oggetti in due layer (tabelle) distinti: nel caso di una geometria
multipoint non hai la possibilità di caratterizzare il punto (se
imhoff o scarico), mentre nella soluzione che stai provando in QGIS
(due campi geometry nella stessa tabella) non è possibile aggiungere
una geometria (lo scarico) ad un record esistente (imhoff) e comunque
si tratta di due oggetti distinti e ti troverai sicuramente ad avere
dei dati riferiti ad uno e dati all'altro, violando quindi la più
basilare norma dei database (normalizzazione).
in generale in un GIS l'elemento geografico non è un attributo in più
di un altro elemento, ma è una primitiva che contiene degli attributi
(che tu stai rappresentando).

saluti,
francesco


> Da: QGIS-it-user  Per conto di Alberto 
> Poggi
> Inviato: giovedì 30 settembre 2021 10:00
> A: QGIS-it-user@lists.osgeo.org
> Oggetto: [QGIS-it-user] Assegnare geometria a tabella dati esistenti
>
>
>
> Buongiorno a tutti, ho un problema che non riesco a risolvere con una tabella 
> dati in postgis.
>
> La tabella contiene i dati di fosse imhoff esistenti. Ho la necessità di 
> registrare anche il punto di scarico di queste imhoff e il modo più 
> "semplice" mi è sembrato quello di aggiungere un altro campo geometrico nel 
> quale registrare il punto di scarico.
>
> Ho quindi sulla stessa riga due campi geometrici, uno per la imhoff e uno per 
> lo scarico.
>
> Ho collegato due volte la stessa tabella in qgis, vestendola in modo diverso, 
> utilizzando il primo campo geometrico per rappresentare la fossa imhoff  e il 
> secondo per lo scarico.
>
>
>
> Il problema è: come faccio ad assegnare la geometria dello scarico alla 
> singola riga della tabella già esistente?
>
>
>
> Ho cercato in rete e ho visto che la procedura in qgis dovrebbe utilizzare la 
> funzionalità "fondi attributi degli elementi selezionati" ma non sono 
> riuscito ad ottenere nulla.
>
> Qualcuno mi può aiutare?
>
> grazie in anticipo
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] ordinary kriging parameters

2021-09-30 Per discussione Maria Eugenia Gomez
Hi,
I am using QGIS 3.16.9 Hannover. I want to create a surface (with kriging) from 
a list of points whose SRC is WGS84. They are in decimal degrees covering a 
surface of 10km x 9km. I can see the points correctly-

My problem comes with the "Ordinary Kriging" setup. I unchecked "block kriging" 
and used the following options:
quality measure: stand. dev.
Logarithmic transf.
variogram model: linear
fit:nodes
search range: local
search directions: all directions
number of points: max. number of points

But when I have to fill "cell size", "maximum search distance, block size.. 
etc", I do not understand the units and I think this is the problem. Which type 
of units should I use? I tried to use decimal degrees units but then the number 
of iterations was so high that my computer hangs.

Can somebody help me with this? I searched on the QGIS documentation but it 
does not say anything about units.
Thanks in advance,
Maria

___
Qgis-user mailing list
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] Configuring QGIS server on Ubuntu 20.4

2021-09-30 Per discussione Mats Elfström
Hi!
I am setting up a Geodata stack. I have installed PostgreSQL/Postgis and
Geoserver under Tomcat9 and FME:d a lot of data to PostGIS. All is up and
running.
Then I installed QGIS 3.20. No problems so far. Then I decided to try QGIS
server as an alternative to Geoserver. But I am having trouble configuring
QGIS server, or Apache2 rather.
Over the past 5-6 years, I have spent more time and energy than I care to
mention trying to make QGIS server run on Windows servers. Asking for
advice on those occasions, I have more than once got the advice to use
Linux instead, since no QGIS developers really know Windows servers. And
Linux would be much easier.
Fair enough. So now I am on Ubuntu, sudoing this and that and it works
pretty well.
Apart from QGIS server. I find the same mess of incomplete or contradictory
instructions. No wonder QGIS server is under-used.
If Linux(Ubuntu) is so simple, how come no one has put together a working
script to configure and deploy QGIS server on a standard setup?
I am most disappointed, having spent yet 5 hrs that I will never get back
on QGIS server.

Regards, Mats.E

-- 


*GisKraft*, Geodatakonsult

Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
tel: +46 70 595 39 35 / www.giskraft.se
___
Qgis-user mailing list
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] Configuring QGIS server on Ubuntu 20.4

2021-09-30 Per discussione Alessandro Pasotti
Hi, I'm sorry to hear that: we have even recently spent a considerable
amount of time (and money, because it was financed with a grant) to rewrite
the QGIS Server documentation with detailed information about deployment
[1], we have clearly missed the goal if you couldn't find what you needed
in these pages.

It would be useful to know what exactly were your problems and what did you
try to do.

A common problem with server deployments is that there are multiple ways of
doing things, it really depends on what you need, for example we are now
commonly using docker containers (there are many out there that provide a
QGIS Server working installation almost without the need to manually
configure anything).

Also, I tend to use nginx, but apache is totally fine too.

[1]
https://docs.qgis.org/3.16/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems


On Thu, Sep 30, 2021 at 8:24 PM Mats Elfström 
wrote:

> Hi!
> I am setting up a Geodata stack. I have installed PostgreSQL/Postgis and
> Geoserver under Tomcat9 and FME:d a lot of data to PostGIS. All is up and
> running.
> Then I installed QGIS 3.20. No problems so far. Then I decided to try QGIS
> server as an alternative to Geoserver. But I am having trouble configuring
> QGIS server, or Apache2 rather.
> Over the past 5-6 years, I have spent more time and energy than I care to
> mention trying to make QGIS server run on Windows servers. Asking for
> advice on those occasions, I have more than once got the advice to use
> Linux instead, since no QGIS developers really know Windows servers. And
> Linux would be much easier.
> Fair enough. So now I am on Ubuntu, sudoing this and that and it works
> pretty well.
> Apart from QGIS server. I find the same mess of incomplete or
> contradictory instructions. No wonder QGIS server is under-used.
> If Linux(Ubuntu) is so simple, how come no one has put together a working
> script to configure and deploy QGIS server on a standard setup?
> I am most disappointed, having spent yet 5 hrs that I will never get back
> on QGIS server.
>
> Regards, Mats.E
>
> --
>
>
> *GisKraft*, Geodatakonsult
>
> Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
> tel: +46 70 595 39 35 / www.giskraft.se
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user