Re: [Qgis-user] AREA DE MAIOR INTERSEÇÃO

2024-04-27 Thread Alexandre Neto via QGIS-User
Sim, eu percebi o objectivo. Diria que q tua expressão devia funcionar, mas só 
experimentando. Não podes antes usar ferramentas de geoprocessamento para fazer 
isso? Ou tem mesmo de ser dinâmico? É que com a quantidade de intersecções, se 
as camadas tiverem muitos poligonos a coisa pode ficar muito lenta.

Sent with Shortwave 
<https://www.shortwave.com?utm_medium=email_content=signature_source=c2VuaG9yLm5ldG9AZ21haWwuY29t>

On Sat Apr 27, 2024, 03:07 AM GMT, Bruno Feliciano 
<mailto:brunofelicianodelima...@gmail.com> wrote:
> Vou explicar o que eu quero
>
> Digamos que você tenha uma camada chamada "IMÓVEIS_RURAL" e outra chamada 
> "LIMITE_MUNICIPAL". Na camada "LIMITE_MUNICIPAL", há duas áreas em que um 
> imovel(lote) se sobrepõem: uma área de 10.395,32 m² e outra de 19.604,69 m². 
> Você deseja calcular a área de sobreposição e identificar a maior área de 
> sobreposição, que é de 19.604,69 m². Em seguida, você quer usar o valor da 
> coluna "município" na camada "LIMITE_MUNICIPAL" correspondente a essa maior 
> área de sobreposição e preencher o valor desejado!
>
> Espero que essa seja uma boa forma de explica onde eu quero chegar.
>
>
>
>
> Em sex., 26 de abr. de 2024 às 19:01, Alexandre Neto  <mailto:senhor.n...@gmail.com>> escreveu:
>> Ah sim, essa expressão faz sentido. Que resultados devolve?
>>
>> A sexta, 26/04/2024, 21:00, Bruno Feliciano 
>> > <mailto:brunofelicianodelima...@gmail.com>> escreveu:
>>> Tentei e não funcionou.
>>> Acabei optando por outra expressão e também não funcionou.
>>>
>>> Essa no caso, não retornou o resultado que eu esperava.
>>>
>>> aggregate(
>>> layer:= 'LIMITE_MUNICIPAL',
>>> aggregate:='max',
>>> expression:=municipio,
>>> filter:=intersects($geometry, geometry(@parent)),
>>> order_by:=area(intersection($geometry, geometry(@parent)))
>>> )
>>>
>>> Em sex., 26 de abr. de 2024 às 11:34, Alexandre Neto >> <mailto:senhor.n...@gmail.com>> escreveu:
>>>> Boa tarde,
>>>>
>>>> Com esta expressão ele está a obter um array com todos os valores e não 
>>>> apenas o primeiro.
>>>> Em vez de "array_agg", talvez tenha de usar o minimun ou maxumum, mas 
>>>> colocando na opção order by a coluna ou o cálculo da área.
>>>>
>>>> Cumprimentos,
>>>>
>>>> Alexandre Neto
>>>>
>>>>
>>>> On Tue, 23 Apr 2024 at 21:40, Bruno Feliciano via QGIS-User 
>>>> mailto:qgis-user@lists.osgeo.org>> wrote:
>>>>> Olá, estou usando essa expressão para puxar de uma camada um determinado 
>>>>> valor, em casos onde minha poligonal intersecta com duas com duas, ele 
>>>>> está trazendo o valor aleatório (ou o primeiro).
>>>>>
>>>>> Estou buscando uma expressão para puxar apenas o valor onde minha área 
>>>>> faz maior intersecção.
>>>>>
[image]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> QGIS-User mailing list
>>>>> QGIS-User@lists.osgeo.org <mailto:QGIS-User@lists.osgeo.org>
>>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
>>>>> <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
>>>>> <https://lists.osgeo.org/mailman/listinfo/qgis-user>___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] AREA DE MAIOR INTERSEÇÃO

2024-04-26 Thread Alexandre Neto via QGIS-User
Ah sim, essa expressão faz sentido. Que resultados devolve?

A sexta, 26/04/2024, 21:00, Bruno Feliciano <
brunofelicianodelima...@gmail.com> escreveu:

> Tentei e não funcionou.
> Acabei optando por outra expressão e também não funcionou.
>
> Essa no caso, não retornou o resultado que eu esperava.
>
> aggregate(
> layer:= 'LIMITE_MUNICIPAL',
> aggregate:='max',
> expression:=municipio,
> filter:=intersects($geometry, geometry(@parent)),
> order_by:=area(intersection($geometry, geometry(@parent)))
> )
>
> Em sex., 26 de abr. de 2024 às 11:34, Alexandre Neto <
> senhor.n...@gmail.com> escreveu:
>
>> Boa tarde,
>>
>> Com esta expressão ele está a obter um array com todos os valores e não
>> apenas o primeiro.
>> Em vez de "array_agg", talvez tenha de usar o minimun ou maxumum, mas
>> colocando na opção order by a coluna ou o cálculo da área.
>>
>> Cumprimentos,
>>
>> Alexandre Neto
>>
>>
>> On Tue, 23 Apr 2024 at 21:40, Bruno Feliciano via QGIS-User <
>> qgis-user@lists.osgeo.org> wrote:
>>
>>> Olá, estou usando essa expressão para puxar de uma camada um determinado
>>> valor, em casos onde minha poligonal intersecta com duas com duas, ele
>>> está trazendo o valor aleatório (ou o primeiro).
>>>
>>> Estou buscando uma expressão para puxar apenas o valor onde minha área
>>> faz maior intersecção.
>>>
>>> [image: image.png]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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] AREA DE MAIOR INTERSEÇÃO

2024-04-26 Thread Alexandre Neto via QGIS-User
Boa tarde,

Com esta expressão ele está a obter um array com todos os valores e não
apenas o primeiro.
Em vez de "array_agg", talvez tenha de usar o minimun ou maxumum, mas
colocando na opção order by a coluna ou o cálculo da área.

Cumprimentos,

Alexandre Neto


On Tue, 23 Apr 2024 at 21:40, Bruno Feliciano via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Olá, estou usando essa expressão para puxar de uma camada um determinado
> valor, em casos onde minha poligonal intersecta com duas com duas, ele
> está trazendo o valor aleatório (ou o primeiro).
>
> Estou buscando uma expressão para puxar apenas o valor onde minha área faz
> maior intersecção.
>
> [image: image.png]
>
>
>
>
>
>
>
>
>
>
> ___
> 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 Add Polygons Generate new OBJECTIDs

2024-04-16 Thread Alexandre Neto via QGIS-User
I have no experience with oracle databases, but transposing the problem to
PostgreSQL, you would need to create mechanism to get the next value as a
default. In PostgreSQL, it's called a sequence. That stores the last id
used and retrieves the next value every time a new feature is created. QGIS
understand that default function and fill it down when new features are
created.

Hope it helps.

Alexandre Neto

A terça, 16/04/2024, 16:10, Kobben, Barend (UT-ITC) via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> Hi there,
>
>
>
> From what I read this is about adding a database table in Oracle with data
> coming from an ArcGIS Pro Feature Table...? Not really a QGIS error or
> problem as such I think?
>
>
>
> yours
>
> *-- *
>
> *Barend Köbben*
>
>
>
>
>
> On 16/04/2024, 16:14, "QGIS-User" 
> wrote:
>
>
>
> Hi Community
>
>
>
> We have rise the following question, we really appreciate your support:
>
>
>
>
> https://gis.stackexchange.com/questions/480009/maintain-objectid-for-new-added-polygons-using-qgis-to-an-oracle-geodatabase-fea
>
> [image: Image removed by sender.]
> ___
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [QGIS-Developer] A load of updates in OSGeo4W

2024-04-15 Thread Alexandre Neto via QGIS-User
Hi,

I will run the manual tests both for qgis.ltr.full and qgis-full.

Thanks,

Alex Neto

Sent with Shortwave 


On Sun Apr 14, 2024, 11:02 PM GMT, Jürgen E. Fischer via QGIS-Developer 
 wrote:
> Hi there,
>
> I just uploaded an update to OSGeo4W. It is basically a rebuild of everything
> with a newer compiler (Visual C++ 2022) and updates of almost all versions.
> The update should work cleanly and cause no visual changes.
>
> The main change is the move from Python 3.9.18 to 3.12.3. But there's also an
> update to Qt 5.15.13, OpenSSL 3. Qt6 was also added enabling an experimental
> build of QGIS master with Qt6. Based on that there is also an experimental
> version of QField.
>
> GDAL and PROJ also were updated to the latest version.
>
> The legacy GRASS 7 was removed because it doesn't support Python 3.12. GRASS 8
> was already available and QGIS switch to it long before this update.
>
> Please test and report.
>
>
> Jürgen
>
>
> More details in the commit message:
>
> A load of updates (fixes #788, #810, #816, #819, #820, #823, closes 
> jef-n/OSGeo4W#21, refs qgis/QGIS#54491, qgis/QGIS#56499)
>
> Highlights:
> Switched to Visual Studio 2022
> Qt6 6.6.3, PyQt6 6.6.1
> Qt5 5.15.13, PyQt5 5.15.10
> Python 3.12.3
> OpenSSL 3.0.13
> PROJ 9.4.0
> GDAL 3.8.5
> qgis-qt6-dev based on Qt6 next to qgis-dev based on Qt5
> experimental QField based on Qt6 / qgis-qt6-dev
>
> Details:
> Removed:
> libjpeg (already replaced with libjpeg-turbo earlier)
> python3-clcache (replaced by ccache)
> python3-pyuv (dependency of python3-clcache)
>
> Updated:
> apache 2.4.52 -> 2.4.58
> arrow-cpp 7.0.0 -> 15.0.2
> boost 1.74.0 -> 1.84.0
> brotli 1.0.9 -> 1.1.0
> curl 8.4.0 -> 8.6.0
> draco 1.5.6 -> 1.5.7
> exiv2 0.27.3 -> 0.28.2
> expat 2.2.10 -> 2.6.2
> ffmpeg 5.1 -> 6.1.1
> freetype 2.10.2 -> 2.13.2
> gdal 3.8.4 -> 3.8.5
> gpsbabel 1.8.0 -> 1.9.0
> grass 7.8.8 -> 8.3.2
> grass8 8.3.2 -> 99 (transitional; depends on grass)
> gsl 2.6 -> 2.7.1+
> hdf4 4.2.16 -> 4.3.0
> hdf5 1.14.0 -> 1.14.3
> kealib 1.4.14 -> 1.5.3
> lerc 3.0 -> 4.0.0
> libharu 2.3.0 -> 2.4.4
> libiconv 1.16 -> 1.17
> libjpeg-turbo 2.0.7-esr -> 3.0.2
> libjxl 0.8.1 -> 0.10.2
> libmysql 8.0.21 -> 8.2.0
> libosmium-devel 2.18.0 -> 2.20.0
> libpng 1.6.37 -> 1.6.43
> libtiff 4.5.1 -> 4.6.0
> libxml2 2.9.10 -> 2.12.5
> libxslt 1.1.34 -> 1.1.39
> libzip 1.7.3 -> 1.10.1
> lua 5.4.4 -> 5.4.6
> lz4 1.9.3 -> 1.9.4
> minizip-ng-devel 3.0.2 -> 4.0.4
> node 16.14.0 -> 20.11.1
> oci 19.11 -> 21.13
> ogdi 4.1.0 -> 4.1.1
> opencl 2.0.10 -> 2023.12.14
> openfyba-devel 20150103 -> 20240408
> openjpeg 2.4.0 -> 2.5.2
> openssl 1.1.1w -> 3.0.13
> osm2pgsql 1.8.1 -> 1.11.0
> osmium 1.15.0 -> 1.16.0
> pdal 2.6.0 -> 2.6.3
> poppler 23.07.0 -> 24.04.0
> proj 9.3.1 -> 9.4.0
> proj-data 1.16 -> 1.17
> python3 3.9.18 -> 3.12.3
> protobuf-devel 3.13.0 -> 25.3
> qca 2.3.1 -> 2.3.8
> qscintilla 2.13.4 -> 2.14.1
> qt5 5.15.3 -> 5.15.13
> qtkeychain 0.13.2 -> 0.14.2
> qwc2 20220311-671a6e7 -> 20240408-3d95409
> qwt 6.1.6 -> 6.2.0
> saga 7.8.2 -> 9.3.1
> saga9 9.2.0 -> 99 (transitional; depends on saga)
> snappy-devel 1.1.9 -> 1.1.10
> spdlog-devel 1.10.0 -> 1.13.0
> sqlite3 3.41.1 -> 3.45.1
> swig 4.0.2 -> 4.2.1
> thrift 0.16.0 -> 0.20.0
> transifex-cli 1.6.5 -> 1.6.10
> utf8proc 2.7.0 -> 2.9.0
> wxwidgets 3.2.1 -> 3.2.4
> xerces-c 3.2.3 -> 3.2.5
> xz 5.2.5 -> 5.4.5
> yarnpkg 1.22.17 -> 1.22.21
> zlib 1.2.12 -> 1.3.1
> zstd 1.4.5 -> 1.5.5
>
> Updated Python extensions:
> python3-access 1.1.1 -> 1.1.9
> python3-affine 2.3.0 -> 2.4.0
> python3-alabaster 0.7.12 -> 0.7.16
> python3-argon2-cffi 20.1.0 -> 23.1.0
> python3-atomicwrites 1.4.0 -> 1.4.1
> python3-attrdict 2.0.1 -> python3-attrdict3 2.0.2
> python3-attrs 20.2.0 -> 23.2.0
> python3-autopep8 2.0.1 -> 2.1.0
> python3-babel 2.8.0 -> 2.14.0
> python3-backports.entry-points-selectable 1.1.0 -> 1.3.0
> python3-beautifulsoup4 4.9.3 -> 4.12.3
> python3-bleach 3.2.1 -> 6.1.0
> python3-certifi 2020.6.20 -> 2024.2.2
> python3-cffi 1.14.3 -> 1.16.0
> python3-cftime 1.2.1 -> 1.6.3
> python3-chardet 3.0.4 -> 5.2.0
> python3-click 7.1.2 -> 8.1.7
> python3-cligj 0.7.0 -> 0.7.2
> python3-colorama 0.4.4 -> 0.4.6
> python3-coverage 5.3 -> 7.4.4
> python3-cycler 0.10.0 -> 0.12.1
> python3-decorator 4.4.2 -> 5.1.1
> python3-defusedxml 0.6.0 -> 0.7.1
> python3-distlib 0.3.2 -> 0.3.8
> python3-docutils 0.16 -> 0.20.1
> python3-entrypoints 0.3 -> 0.4
> python3-esda 2.3.1 -> 2.5.1
> python3-exifread 2.3.2 -> 3.0.0
> python3-filelock 3.0.12 -> 3.13.3
> python3-fiona 1.9.5 -> 1.9.6
> python3-fonttools 4.28.5 -> 4.51.0
> python3-future 0.18.2 -> 1.0.0
> python3-gdal 3.8.4 -> 3.8.5
> python3-geoalchemy2 0.12.5 -> 0.14.7
> python3-geographiclib 1.50 -> 2.0
> python3-geopandas 0.14.1 -> 0.14.3
> python3-giddy 2.3.3 -> 2.3.5
> python3-greenlet 1.1.1 -> 3.0.3
> python3-h5py 3.8.0 -> 3.10.0
> python3-httplib2 0.18.1 -> 0.22.0
> 

Re: [Qgis-user] Migrating QGIS User mailing list to OSGeo Discourse, yes or no?

2024-01-17 Thread Alexandre Neto via QGIS-User
I am just starting the discussion. I don't have a strong opinion about this.

I agree with Adam. For me, any platform is good enough if it's helpful for 
those that volunteer to answer questions. There are plenty of chat, facebook 
groups, linkedin, slack, telegram where people find request help. Nevertheless, 
the mailing lists are seen as the official way of project to comunicate with 
users. Therefore are a bit more important.

Also agree with Greg. It's discourse is something that is not widely accepted 
yet. My message was just to alert people for this possibility and see what 
people think.

Alex

Sent with Shortwave 
<https://www.shortwave.com?utm_medium=email_content=signature_source=c2VuaG9yLm5ldG9AZ21haWwuY29t>

On Wed Jan 17, 2024, 03:52 PM GMT, Antonio Viscomi 
<mailto:antovisc...@gmail.com> wrote:
> Indeed, it would be interesting if there was the possibility for a user to 
> participate only in the categories of their interest when logging in
>
> Saluti
>
> Antonio
>
>
> Il giorno mer 17 gen 2024 alle ore 16:49 Antonio Viscomi 
> mailto:antovisc...@gmail.com>> ha scritto:
>> Yes @senhor.n...@gmail.com <mailto:senhor.n...@gmail.com> of course,
>> but a newby should first study how it works.
>> That said, I'm not against migration, if that doesn't become too burdensome 
>> for you staff
>>
>> Saluti
>>
>> Antonio
>>
>>
>> Il giorno mer 17 gen 2024 alle ore 16:35 Alexandre Neto 
>> mailto:senhor.n...@gmail.com>> ha scritto:
>>> There will be categories. QGIS is already there. Then, there would be a 
>>> subcategory for qgis-user.
>>>
>>> A quarta, 17/01/2024, 15:31, Antonio Viscomi via QGIS-User 
>>> mailto:qgis-user@lists.osgeo.org>> escreveu:
>>>> I personally believe that merging QGIS "question/answer" topics with those 
>>>> of all OSGEO could generate confusion,
>>>> unless "osgeo discourse" dedicates a page/session only to the QGIS mailing 
>>>> list
>>>>
>>>> Greetings
>>>>
>>>> Antonio
>>>>
>>>>
>>>> Il giorno mer 17 gen 2024 alle ore 02:55 Adam Nielsen via QGIS-User 
>>>> mailto:qgis-user@lists.osgeo.org>> ha scritto:
>>>>> > The main advantage of the forum like mode is the ability to search
>>>>> > for old topic and possibly easily get answers for your questions
>>>>> > before posting a new question
>>>>>
>>>>> Perhaps it needs to be a bit more obvious, but you can search the list
>>>>> for old topics if you use a query like this in most search engines:
>>>>>
>>>>> site:lists.osgeo.org/pipermail/qgis-user/ 
>>>>> <http://lists.osgeo.org/pipermail/qgis-user/> search terms here
>>>>>
>>>>> There is also https://gis.stackexchange.com/ 
>>>>> <https://gis.stackexchange.com/> which has a lot of Q
>>>>> posts related to QGIS for people who prefer a more modern interface.
>>>>>
>>>>> > also might be a bit more attractive for new comers
>>>>>
>>>>> I think the main issue when discussing where to provide support is
>>>>> what's easiest for the people who answer the questions. If you make it
>>>>> too easy for people to post questions, they will post before doing their
>>>>> own research which just leads to the same questions coming up
>>>>> repeatedly. If you make it too hard for the people with the answers -
>>>>> like asking them to refresh a dozen different web pages every day
>>>>> looking for new questions - then they will give up and the questions
>>>>> will go unanswered.
>>>>>
>>>>> So really, where the communication happens is ultimately up to whoever
>>>>> is willing to answer the incoming questions. The people with questions
>>>>> will find you no matter where you are, it's the ones willing to provide
>>>>> the answers that you need to cater for.
>>>>>
>>>>> Personally, having the questions arrive with no interaction on my part,
>>>>> and all in one place (my inbox, from many different projects, not just
>>>>> QGIS) and only requiring one button click to send a reply, makes it
>>>>> really easy to send a response if I feel I can provide an answer. So as
>>>>> long as a new system makes the process just as easy then there's
>>>>> certainly no harm in trying it out.
>>>>>

Re: [Qgis-user] Migrating QGIS User mailing list to OSGeo Discourse, yes or no?

2024-01-17 Thread Alexandre Neto via QGIS-User
There will be categories. QGIS is already there. Then, there would be a
subcategory for qgis-user.

A quarta, 17/01/2024, 15:31, Antonio Viscomi via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> I personally believe that merging QGIS "question/answer" topics with those
> of all OSGEO could generate confusion,
> unless "osgeo discourse" dedicates a page/session only to the QGIS mailing
> list
>
> Greetings
>
> Antonio
>
>
> Il giorno mer 17 gen 2024 alle ore 02:55 Adam Nielsen via QGIS-User <
> qgis-user@lists.osgeo.org> ha scritto:
>
>> > The main advantage of the forum like mode is the ability to search
>> > for old topic and possibly easily get answers for your questions
>> > before posting a new question
>>
>> Perhaps it needs to be a bit more obvious, but you can search the list
>> for old topics if you use a query like this in most search engines:
>>
>>   site:lists.osgeo.org/pipermail/qgis-user/ search terms here
>>
>> There is also https://gis.stackexchange.com/ which has a lot of Q
>> posts related to QGIS for people who prefer a more modern interface.
>>
>> > also might be a bit more attractive for new comers
>>
>> I think the main issue when discussing where to provide support is
>> what's easiest for the people who answer the questions.  If you make it
>> too easy for people to post questions, they will post before doing their
>> own research which just leads to the same questions coming up
>> repeatedly.  If you make it too hard for the people with the answers -
>> like asking them to refresh a dozen different web pages every day
>> looking for new questions - then they will give up and the questions
>> will go unanswered.
>>
>> So really, where the communication happens is ultimately up to whoever
>> is willing to answer the incoming questions.  The people with questions
>> will find you no matter where you are, it's the ones willing to provide
>> the answers that you need to cater for.
>>
>> Personally, having the questions arrive with no interaction on my part,
>> and all in one place (my inbox, from many different projects, not just
>> QGIS) and only requiring one button click to send a reply, makes it
>> really easy to send a response if I feel I can provide an answer.  So as
>> long as a new system makes the process just as easy then there's
>> certainly no harm in trying it out.
>>
>> Cheers,
>> Adam.
>> ___
>> 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] Migrating QGIS User mailing list to OSGeo Discourse, yes or no?

2024-01-16 Thread Alexandre Neto via QGIS-User
Hi all,

Seems that OsGeo is providing a Discourse instance. Discourse seems to be 
something that can work both as a mailing list and a forum. The main advantage 
of the forum like mode is the ability to search for old topic and possibly 
easily get answers for your questions before posting a new question. also might 
be a bit more attractive for new comers (but that's a bold statement).

https://discourse.osgeo.org/ <https://discourse.osgeo.org/>

Seems that the full archive of the current mailing list can be imported into 
discourse, and users using the same email address to register in discourse will 
get their messages linked to their user. Discourse can also work as a read only 
mirror of the current mailing list to allow searching, but not posting new 
stuff.

https://discourse.osgeo.org/t/moving-your-mailing-list-to-osgeo-discourse/6765 
<https://discourse.osgeo.org/t/moving-your-mailing-list-to-osgeo-discourse/6765>

The biggest threat is, as always, scattering the community a bit more.

For folks that cannot follow community chats (very time consuming with no 
historic) mailing lists and forums may be a better alternative.

Alexandre Neto

Sent with Shortwave 
<https://www.shortwave.com?utm_medium=email_content=signature_source=c2VuaG9yLm5ldG9AZ21haWwuY29t>___
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] IDW Interpolation not working, help!?

2023-12-08 Thread Alexandre Neto via QGIS-User
Can you share the log of the processing tool?

Sent with Shortwave 
<https://www.shortwave.com?utm_medium=email_content=signature_source=c2VuaG9yLm5ldG9AZ21haWwuY29t>

On Fri Dec 8, 2023, 05:14 PM GMT, Jos Thio <mailto:t...@geoscience.co.uk> wrote:
> Hi Alexandre,
>
> Yes, I've tried it with various datasets and started from scratch a few times.
>
> Very confused and frustrated at the moment.
>
> Thanks,
> Jos
>
> Sent from  Outlook for Android <https://aka.ms/AAb9ysg>
--
> From: Alexandre Neto 
> Sent: Friday, December 8, 2023 5:12:25 PM
> To: Jos Thio 
> Cc: QGIS User 
> Subject: Re: [Qgis-user] IDW Interpolation not working, help!?
> Have you tried with a clean profile?
> Have you tried with a different dataset?
>
> Best regards,
>
> Alexandre Neto
>
>
> A sexta, 8/12/2023, 14:18, Jos Thio via QGIS-User  <mailto:qgis-user@lists.osgeo.org>> escreveu:
>> Hi All,
>>
>> I have been attempting to interpolate some data, but have been unable to 
>> make any progress. The function is not working - I have already uninstalled 
>> two new versions of Q to see if it works before returning to Firenze. 
>> However, still no luck.
>>
>> I hit 'Run' - the meter shoots to 99% - before dropping to 0% and hanging.
>>
>> Can anyone suggest a fix or know what is going on?
>>
>> - which QGIS version ? - 3.28.13
>> - what are you expecting to get? - an interpolated surface made from z-value 
>> in points shapefile cut to the extent of a polygon
>> - if applicable, what have you tried and the result you got? - No results, 
>> simply left hanging on 0% for over 40 minutes before quitting application
>>
[image]
>>
>>
>>
>> Jos Thio
>> Geothermal Geologist
>> GeoScience Limited
[image]
>> Oilfield Geomechanics <https://www.geoscience.co.uk/oilfieldgeomechanics>- 
>> Geothermal Engineering <https://www.geoscience.co.uk/geothermal> - Ground 
>> Source Heat Pumps <https://www.geoscience.co.uk/gshp>
[image]
>> tel: +44 (0) 1326 211070 | web: www.geoscience.co.uk 
>> <http://www.geoscience.co.uk/>
>> _
>> Falmouth Business Park | Bickland Water Rd | Falmouth | Cornwall | TR11 4SZ 
>> | UK
>> Registered in England No: 1930745
>>
>> IMPORTANT NOTICE: This email is confidential, may be legally privileged, and 
>> is for the intended recipient only. Access, disclosure, copying, 
>> distribution or reliance on any of it by anyone else is prohibited and may 
>> be a criminal offence. If you have received this email in error please 
>> inform the sender and delete it from your mailbox or any other storage 
>> mechanism. Any communication of a personal nature in this message is not 
>> made by or on behalf of any GeoScience Group company. Please note that the 
>> sender’s email address and all other GeoScience Group email addresses are 
>> not valid addresses for the service of legal proceedings.
>> ___
>> QGIS-User mailing list
>> QGIS-User@lists.osgeo.org <mailto:QGIS-User@lists.osgeo.org>
>> List info:  https://lists.osgeo.org/mailman/listinfo/qgis-user 
>> <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>> Unsubscribe:  https://lists.osgeo.org/mailman/listinfo/qgis-user 
>> <https://lists.osgeo.org/mailman/listinfo/qgis-user>___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Official check of plugins on "official" repository?

2023-11-16 Thread Alexandre Neto via QGIS-User
Maybe some platform to report faulty plugins, so that the plugins team can
talk with the plugin developer and eventually mark the plugins as
experimental in that case.

I agree that that message would be nice to have in the plugin menu. Maybe
open a feature request for it?

Thanks for your suggestions.

A quinta, 16/11/2023, 19:34, Agustin Lobo  escreveu:

> Dear Alexandre,
> I understand the limitations of human resources. And my acknowledgment
> to those involved in the QGIS project.
> All I'm asking is a consistent terminology so that users are fully
> aware of the potential problems: the only "official" or
> fully tested plugins should be those which are now named "featured".
> And the notice "Plugins are developed by independent organizations and
> developers,
> the QGIS organization does not take any responsibility for them" (or
> similar), should be in QGIS Plugins/Manage and Install Plugins.
> I'm already very involved on reporting issues in the github systems of
> the plugins I use. Perhaps a system to report eventual problems caused
> by the plugins in QGIS
> could be considered so that QGIS users could use that information to
> decide whether to install a given plugin or not. The current situation
> in which installing or running a plugin can crash QGIS goes
> against QGIS being contemplated as a stable and reliable software.
> Hope QGIS developers find my comments useful.
> Best,
>
> On Thu, Nov 16, 2023 at 10:23 AM Alexandre Neto via QGIS-User
>  wrote:
> >
> > Hello Agustin,
> >
> > I understand your point and I understand the value of what you propose.
> Nevertheless, a full functionality check of each plugin would require human
> resources that the qgis.org project does not have.
> >
> > The meaning of oficial plugin repository comes from a time that there
> was no centralized place to search for plugins. You would need to find
> repositories scattered all over the internet and add it manually. At some
> point it was decided to centralise it as much as possible in one place.
> >
> > The only plugins that are under qqgis.org responsibility are the core
> plugins, the ones that come installed with QGIS.
> >
> > Obviously that, in an ideal world, all plugins would be highly tested
> before being allowed into the repository. But the small team responsible
> for accepting the plugins already struggle to do a "simple" requirements
> check, with all the new plugins and updates.
> >
> > Please consider to support the testing efforts. Make sure to report the
> issues to the respective plugin bug trackers. Consider supporting the
> developer's of the plugins you depend the most, so it becomes more stable
> and reliable.
> >
> > Alex Neto
> >
> > On Thu Nov 16, 2023, 08:23 AM GMT, Agustin Lobo wrote:
> >
> > Thanks for the clarification,
> >
> > They are called featured plugins
> >
> >
> > Thus, the term is misleading. "featured" does not mean "certified".
> > In any case, the bottom issue is that plugins causing problems in QGIS
> > beyond the plugin itself, and in particular those just crashing QGIS
> > should not be entitled to be in the official repository or, at least,
> > required to keep the "experimental" tag.
> > In the absence of further information, the term "official" implies,
> > for the (naive?) user, a commitment to their functionality from the
> > QGIS steering committee.
> > I believe that the note in the QGIS plugins web portal;
> > "Plugins are developed by independent organizations and developers,
> > the QGIS organization does not take any responsibility for them."
> > is somehow conflicting with the term "official". And while all users
> > will read the term "official", very few will reach the aforementioned
> > note.
> > (perhaps this notice should also be in the QGIS plugins menu itself).
> >
> > Hope this helps to keep QGIS to be seen as a stable and reliable tool.
> >
> > Agus
> >
> > On Wed, Nov 15, 2023 at 2:08 PM Alexandre Neto 
> wrote:
> >
> >
> > Hello Agustin,
> >
> >
> > Due to the nature/diversity of QGIS third party plugins design there's
> no automatic review of the plugins. There's a manual review process to
> confirm that they comply with some rules [1], but nothing to test if the
> plugin does what it advertises or if in some situations may cause crashes.
> >
> > This being said, there are few plugins that have the qgis.org
> "certification". They are called featured plugins.
> >
> > Hope it helped
> >
> 

Re: [Qgis-user] Official check of plugins on "official" repository?

2023-11-16 Thread Alexandre Neto via QGIS-User
Hello Agustin,

I understand your point and I understand the value of what you propose. 
Nevertheless, a full functionality check of each plugin would require human 
resources that the qgis.org <http://qgis.org> project does not have.

The meaning of oficial plugin repository comes from a time that there was no 
centralized place to search for plugins. You would need to find repositories 
scattered all over the internet and add it manually. At some point it was 
decided to centralise it as much as possible in one place.

The only plugins that are under qqgis.org <http://qqgis.org> responsibility are 
the core plugins, the ones that come installed with QGIS.

Obviously that, in an ideal world, all plugins would be highly tested before 
being allowed into the repository. But the small team responsible for accepting 
the plugins already struggle to do a "simple" requirements check, with all the 
new plugins and updates.

Please consider to support the testing efforts. Make sure to report the issues 
to the respective plugin bug trackers. Consider supporting the developer's of 
the plugins you depend the most, so it becomes more stable and reliable.

Alex Neto

On Thu Nov 16, 2023, 08:23 AM GMT, Agustin Lobo <mailto:alobolis...@gmail.com> 
wrote:
> Thanks for the clarification,
>> They are called featured plugins
>
> Thus, the term is misleading. "featured" does not mean "certified".
> In any case, the bottom issue is that plugins causing problems in QGIS
> beyond the plugin itself, and in particular those just crashing QGIS
> should not be entitled to be in the official repository or, at least,
> required to keep the "experimental" tag.
> In the absence of further information, the term "official" implies,
> for the (naive?) user, a commitment to their functionality from the
> QGIS steering committee.
> I believe that the note in the QGIS plugins web portal;
> "Plugins are developed by independent organizations and developers,
> the QGIS organization does not take any responsibility for them."
> is somehow conflicting with the term "official". And while all users
> will read the term "official", very few will reach the aforementioned
> note.
> (perhaps this notice should also be in the QGIS plugins menu itself).
>
> Hope this helps to keep QGIS to be seen as a stable and reliable tool.
>
> Agus
>
> On Wed, Nov 15, 2023 at 2:08 PM Alexandre Neto  wrote:
>>
>> Hello Agustin,
>>
>>
>> Due to the nature/diversity of QGIS third party plugins design there's no 
>> automatic review of the plugins. There's a manual review process to confirm 
>> that they comply with some rules [1], but nothing to test if the plugin does 
>> what it advertises or if in some situations may cause crashes.
>>
>> This being said, there are few plugins that have the qgis.org 
>> "certification". They are called featured plugins.
>>
>> Hope it helped
>>
>>
>> [1] https://plugins.qgis.org/publish/
>>
>> A quarta, 15/11/2023, 07:16, Agustin Lobo via QGIS-User 
>>  escreveu:
>>>
>>> I am surprised that some plugins downloaded from the official qgis
>>> repository cause problems in QGIS, sometimes even a crash.
>>> In the R project, there is a review system that automatically checks
>>> packages to be uploaded (and to remain) on the equivalent official
>>> repository.
>>> Is there an equivalent checking process for QGIS plugins? As a lot of
>>> important GIS functionality in QGIS is provided by plugins, I think
>>> this stability check would avoid a lot of user frustration.
>>>
>>> Agus
>>> ___
>>> 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] Official check of plugins on "official" repository?

2023-11-15 Thread Alexandre Neto via QGIS-User
Hello Agustin,


Due to the nature/diversity of QGIS third party plugins design there's no
automatic review of the plugins. There's a manual review process to confirm
that they comply with some rules [1], but nothing to test if the plugin
does what it advertises or if in some situations may cause crashes.

This being said, there are few plugins that have the qgis.org
"certification". They are called featured plugins.

Hope it helped


[1] https://plugins.qgis.org/publish/

A quarta, 15/11/2023, 07:16, Agustin Lobo via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> I am surprised that some plugins downloaded from the official qgis
> repository cause problems in QGIS, sometimes even a crash.
> In the R project, there is a review system that automatically checks
> packages to be uploaded (and to remain) on the equivalent official
> repository.
> Is there an equivalent checking process for QGIS plugins? As a lot of
> important GIS functionality in QGIS is provided by plugins, I think
> this stability check would avoid a lot of user frustration.
>
> Agus
> ___
> 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 3.32 Lima desktop missing vector tab data management use ; vectorlayers merge ( samenvoegen )

2023-08-07 Thread Alexandre Neto via QGIS-User
Hello Marc,

Enable the processing toolbox in the processing menu.

Then, in the processing toolbox use the search to find vector merge.

Best regards,
Alexandre Neto

A segunda, 7/08/2023, 23:19, marc.devits--- via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> In an older  QGis   installation on windows  msi  , Hannover , I  used
> the  tab   “ vector “  and  the  possibility  of  datamanagement use  to be
> able  to  merge   vectorlayers .  I manage to merge  about  100 of
> individual layers ( shp  files )  into 1  layer  . This I could  export
> as   kml  file   and  so I did  install  1 map  at  my maps in google.
>
> I did  install this week  the  QGis 3.32  latest  version  but I miss now
> this  possibility  .  and  also in my older  QGis  hannover installation
> this possibility did  disappear .  Should I install  a  specific  plug in
> for this  ?
>
>
>
> I did  already uninstall  the  Q Gis 3.32 from my desktop computer  and
> reinstalled  today  but  still missing the vector merging possibility. In
> the first  QGis 3.32 Lima  installation I did install  the  GPS  plugin
> and   this  was obvious under the  vector  tab .
>
>
>
> Hope for help
>
>
>
> Marc
> ___
> 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] Dot Density Symbology

2023-07-27 Thread Alexandre Neto via QGIS-User
Hello Hugh,

https://docs.qgis.org/3.28/en/docs/user_manual/style_library/symbol_selector.html#random-marker-fill

Check the random marker fill. I believe it's what you are looking for. As
you can see in the docs, you can decide how many points you want to insert
inside the polygon. This option can be derived of each feature attributes

Best regards,

Alexandre Neto
User Support
www.qcooperative.net

A quinta, 27/07/2023, 18:27, C Hamilton via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> This may not be an answer to your question, but the Density Analysis
> plugin (https://plugins.qgis.org/plugins/densityanalysis/) will create a
> uniform set of polygons over an area of interest with a NUMPOINTS attribute
> of the number of points are contained within the polygon. The NUMPOINTS
> value can be weighted using some other attribute. It will automatically
> style the density map as well from a given color ramp.
>
> Calvin
>
> On Wed, Jul 26, 2023 at 8:06 PM Shinoto, PD Dr. Maria via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
>
>> Hi,
>>
>> I have a similar research problem, and the dots seem to be a wonderful
>> solution.
>>
>> So, this email does not give any assistance re the original question,
>> just an answer to the question below:
>>
>> Am 2023/07/27 um 03:45 schrieb chris hermansen via QGIS-User <
>> qgis-user@lists.osgeo.org>:
>>
>> Here's (apologies for the closed source link) an example of the type of
>>> map/symbology I'm trying to describe.
>>> https://www.arcgis.com/apps/mapviewer/index.html?webmap=30d2e10d4d694b3eb4dc4d2e58dbb5a5
>>>
>>> Thanks for any suggestions!
>>>
>>
>> What about just shading the polygons using a gray scale?
>>
>> Given that your polygons should generate a uniform density of dots within
>> the area they bound, I don't see value in generating the dots for symbology.
>>
>>
>> The polygon area may vary, as it does in my research (distribution of
>> burials in administrative areas). Therefore, a small area always looks
>> underrepresented as compared to a larger area, and vice versa. I have large
>> administrative areas with low densitiy, but they look well populated even
>> with a very light shade of grey.
>>
>> So I would like to try to find a solution to Chris' problem since the
>> representation with dots is closer to reality than colouring areas. I will
>> report when I found a solution for my use case -- though this may be
>> autumn...
>>
>> 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 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] doubts about the azimuth value obtained

2023-07-18 Thread Alexandre Neto via QGIS-User
According to documentation, the azimute function expects two point
geometries and calculates the angle in radians between the segment that
connect them and the North direction.

It's surprising to me if it accepts something that are not points. If it
does, I would assume it uses the geometries centroids, not the boundaries.

Best regards,

Alexandre Neto
User Support
www.qcooperative.net




A segunda, 17/07/2023, 20:42, Enrique Sagredo Blanco via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> Good afternoon:
> I am a professor at the University of Mondragon and for the research I am
> carrying out I am using QGIS. I want to obtain the azimuth value of the
> dwellings in a certain municipality, I have created a variable and using
> code I have generated this function which I have attached.
>
> degrees( azimuth(  start_point(  $geometry ), end_point(  $geometry )))
>
> The doubt arises when interpreting this data, since QGIS returns a value
> but I don't know how to obtain it. Since it is a unique value, I don't know
> how to interpret what it means on a map. Since the polygons analysed have
> four sides.
>
> Can you help me?
> Thank you very much.
>
> [image: image.png]
>
> ___
> 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] Measuring Map Rendering Time using PyQGIS

2023-06-26 Thread Alexandre Neto via QGIS-User
Hi,

I am looking for a way to audit a QGIS projects in terms of layer rendering
time.

I was able to measuring the rendering every time I refresh the the map
canvas, change layers or change extent, using the following code (inspired
by Anita code):

from datetime import datetime

def get_time():
t1 = datetime.now()
print('Rendering time:',t1-t0, 'seconds')

def reset_time():
global t0
t0 = datetime.now()

canvas = iface.mapCanvas()
canvas.mapCanvasRefreshed.connect(get_time)
canvas.extentsChanged.connect(reset_time)
canvas.layersChanged.connect(reset_time)

Now, I wanted to programmatically zoom in, zoom out, enable and disable
layers, etc... but If I give two or more of these commands together, each
command won't wait for the other to finish rendering, therefore I am unable
to measure the time.

For example:
iface.actionZoomFullExtent()
canvas.zoomByFactor(0.5)

Only returns the time for the last zoom to render.

I have tried using time.wait() but that stops the rendering all together.

Thanks,

Alexandre Neto
___
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-community-team] how to encrypt qgis files

2023-04-17 Thread Alexandre Neto via QGIS-User
Hi,

You had better subscribe and use the qgis-user@lists.osgeo.org mailing list.

This one is not suited for Questions and Answers, but for organizing QGIS
Project Documentation tasks, for example.

Alexandre Neto

 escreveu no dia sábado, 15/04/2023 à(s) 15:57:

> Hello QGIS gentlemen
>
> I want to put an encryption even project, that if any person outside the
> design area wants to see the information,
>
> he/she will ask for a password, either in the same work computer or in
> another computer.
>
> I would like to have a password, either on the same computer or on another
> computer.
>
> In order to keep the information private, I have tried the
> "Authentication" option but it is not clear to me.
>
> I have already used several options but it does not work, some time ago I
> was shown a user who did it as a final
>
> result, but not the process.
>
>
>
> Version of QGIS 3.28.5-Firenze
>
> Windows 10 Pro version 1903
>
>
>
>
>
> Saludos cordiales
>
> *Sergio Cuellar*
>
> Diseñador de Red
>
> Digital TV Cable Edmund S.R.L
>
> Av.Irala entre Vallegrande y Colon
>
> Santa Cruz – Bolivia
>
> [image: cid:image002.png@01D936F2.B4D34330]
>
>
> ___
> Qgis-community-team mailing list for organizing community resources such
> as documentation, translation etc..
> qgis-community-t...@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-community-team
>
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Issues installing QGIS via conda

2023-03-23 Thread Alexandre Neto via QGIS-User
Hello,

I see that you are trying to install it in a aarch64 machine, which is
quite new and probably not very well tested.

Can you please fill a bug report here:

https://github.com/conda-forge/qgis-feedstock/issues

Best regards,

Alexandre Neto

Alexandre Neto
User Support
alexandre.n...@qcooperative.net
www.qcooperative.net
[image: www.qcooperative.net] <http://www.qcooperative.net>

On Wed Mar 22, 2023, 11:43 PM GMT, afernandez  wrote:

Hello Alexandre,
Sorry for the delay. The requested info reads:
*(qgis_stable) ubuntu@ip-172-31-16-92:~$ conda list*
*# packages in environment at /home/ubuntu/anaconda3/envs/qgis_stable:*
*#*
*# NameVersion   Build  Channel*
*_openmp_mutex 4.5   2_gnuconda-forge*
*alsa-lib  1.2.8h4e544f5_0conda-forge*
*attr  2.5.1h4e544f5_1conda-forge*
*blosc 1.21.3   h9515e8b_0conda-forge*
*boost-cpp 1.78.0   ha1c1135_1conda-forge*
*brotlipy  0.7.0   py311hdfa8b44_1005
conda-forge*
*bzip2 1.0.8hf897c2e_4conda-forge*
*c-ares1.18.1   hf897c2e_0conda-forge*
*ca-certificates   2022.12.7h4fd8a4c_0conda-forge*
*cairo 1.16.0hd19fb6e_1014conda-forge*
*ceres-solver  2.1.0h8570a4c_1conda-forge*
*certifi   2022.12.7  pyhd8ed1ab_0conda-forge*
*cffi  1.15.1  py311h2e7898d_3conda-forge*
*cfitsio   4.2.0h8b262d6_0conda-forge*
*charset-normalizer2.1.1  pyhd8ed1ab_0conda-forge*
*coverage  7.2.2   py311h9f62e77_0conda-forge*
*cryptography  39.0.2  py311h7774351_0conda-forge*
*curl  7.88.1   h6ad7c7a_1conda-forge*
*dataclasses   0.8pyhc8e2a94_3conda-forge*
*dbus  1.13.6   h12b9eeb_3conda-forge*
*draco 1.5.6h4c384f3_0conda-forge*
*eigen 3.4.0hd62202e_0conda-forge*
*exiv2 0.27.6   h590727c_1conda-forge*
*expat 2.5.0ha18d298_0conda-forge*
*fftw  3.3.10  nompi_ha1d0423_106
conda-forge*
*font-ttf-dejavu-sans-mono 2.37 hab24e00_0conda-forge*
*font-ttf-inconsolata  3.000h77eed37_0conda-forge*
*font-ttf-source-code-pro  2.038h77eed37_0conda-forge*
*font-ttf-ubuntu   0.83 hab24e00_0conda-forge*
*fontconfig2.14.2   ha9a116f_0conda-forge*
*fonts-conda-ecosystem 1 0conda-forge*
*fonts-conda-forge 1 0conda-forge*
*freetype  2.12.1   hbbbf32d_1conda-forge*
*freexl1.0.6h4e544f5_1conda-forge*
*future0.18.3 pyhd8ed1ab_0conda-forge*
*gdal  3.6.3   py311h20ee345_0conda-forge*
*geos  3.11.1   h4de3ea5_0conda-forge*
*geotiff   1.7.1hb409bee_7conda-forge*
*gettext   0.21.1   ha18d298_0conda-forge*
*gflags2.2.2 h54f1f3f_1004conda-forge*
*giflib5.2.1hb4cce97_3conda-forge*
*glib  2.74.1   h7866ba4_1conda-forge*
*glib-tools2.74.1   h7866ba4_1conda-forge*
*glog  0.6.0h8ab10f1_0conda-forge*
*gmp   6.2.1h7fd3ca4_0conda-forge*
*graphite2 1.3.13h7fd3ca4_1001conda-forge*
*gsl   2.7  h294027d_0conda-forge*
*gst-plugins-base  1.22.0   h8a62080_2conda-forge*
*gstreamer 1.22.0   h1f26242_2conda-forge*
*gstreamer-orc 0.4.33   h4e544f5_0conda-forge*
*harfbuzz  6.0.0hbcb8a4f_0conda-forge*
*hdf4  4.2.15   hd566010_6conda-forge*
*hdf5  1.12.2  nompi_h3900512_101
conda-forge*
*httplib2  0.22.0 pyhd8ed1ab_0conda-forge*
*icu   70.1 ha18d298_0conda-forge*
*idna  3.4pyhd8ed1ab_0conda-forge*
*jack  1.9.22   hf8b18a5_0conda-forge*
*

Re: [Qgis-user] Issues installing QGIS via conda

2023-03-22 Thread Alexandre Neto via QGIS-User
Hello afernandez,

Can you please share the outputs of the following commands (in your
qgis_stable environment)

conda list

And

conda info

Best regards,

Alexandre Neto
User Support
www.qcooperative.net

A quarta, 22/03/2023, 20:02, afernandez via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> Hello,
> I'm trying to install QGISv3.30 via conda (have tried miniconda and
> anaconda) but, after installing QGIS and all dependencies, QGIS doesn't
> find the GL library (I checked and it's not in any subdirectory)
> *(qgis_stable) ubuntu@ip-172-31-28-50:~$ qgis*
> *qgis: error while loading shared libraries: libGL.so.1: cannot open
> shared object file: No such file or directory*
> I'm not that familiar with the conda environment so any suggestion would
> be welcome. 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] Adding road symbols to a map

2023-03-22 Thread Alexandre Neto via QGIS-User
Hello Mike,

That's in the labels properties, setting a label to show a column with the
road number, you can setup the shield in the background separator. See the
relevant documentation in here:

https://docs.qgis.org/3.28/en/docs/user_manual/style_library/label_settings.html#labels-background

Best regards,

Alexandre Neto
User support
www.qcooperative.net

A quarta, 22/03/2023, 16:26, ERT - Mike Breiding via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> Greetings,
> I have been reading tutorials and watching YouTube videos but I cannot
> find out how to add road symbols to lines such as interstate and US Highway
> shields.
>
> Any suggestions?
> Thanks,
> WV-Mike
> ___
> 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] Removing style symbol also removes label

2023-03-04 Thread Alexandre Neto via QGIS-User
Hello Patrick,

What version of QGIS are you using? What's the operating System?

What type of geometry are you labelling and what is the label placement 
settings?

Alexandre Neto

On Sat Mar 4, 2023, 02:43 AM GMT, Patrick Dunford via QGIS-User 
<mailto:qgis-user@lists.osgeo.org> wrote:
> Good day
>
> I have a vector layer that I am applying styles to. It has both symbols
> and labels applied in the styles.
>
> When choosing a symbol, there is a useful feature that I can choose
> whether or not to have a symbol displayed by a check box that I can
> check or uncheck.
>
> However it seems that if I uncheck the box to hide the symbol, the label
> is also hidden which I don't think should be happening. It looks like
> this is a bug in the software.
>
> Should it be worth while to file a bug report for this issue.
>
> TIA
>
> ___
> 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 not installing properly

2023-02-10 Thread Alexandre Neto via QGIS-User
I agree, Where that note appears,There should be a link to this section:

https://www.qgis.org/en/site/forusers/alldownloads.html#mac-os-x-macos

That we should expand with relevant information for using the installer and
to overcome certain difficulties. I wouldn't mind to try to tackle that
task, but I know nothing about Mac installation.

Alex

Andrea Giudiceandrea via QGIS-User  escreveu no
dia sexta, 10/02/2023 à(s) 07:27:

> *Alessandro Pasotti*
> *Thu Feb 9 13:18:33 PST 2023*
> --
>
> I am wondering if we (the QGS community) should put this information
> somewhere to make it easily findable.
>
>
> Hi Alessandro,
> in the macOS section of the QGIS website Download page there is the
> following note:
> "macOS High Sierra (10.13) or newer is required. QGIS is not yet notarized
> as required by macOS Catalina (10.15) security rules. On first launch,
> please right-click on the QGIS app icon, hold down the Option key, then
> choose Open."
>
> Anyway it seems those instructions are not correct. See the previous
> thread about the same topic [1] and one of the issue reports about macOS
> installation on qgis/QGIS [2] and the issue report on qgis/QGIS-Website [3]
> filed by me.
>
> Best regards.
>
> Andrea Giudiceandrea
>
>
> [1] https://www.mail-archive.com/qgis-user@lists.osgeo.org/msg51832.html
> [2] https://github.com/qgis/QGIS/issues/51616#issuecomment-1406762797
> [3] https://github.com/qgis/QGIS-Website/issues/1105
> ___
> 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] [Modeller] How to calculate area in the graphical modeler of QGIS

2023-01-30 Thread Alexandre Neto via QGIS-User
Hello Igor,

I don't have qgis here to test, but...


If I remember well, you need to  change the parameter type from value to
precalculated value.

If not, try adding single quotes around the expression.

Good luck,

Alexandre Neto

A segunda, 30/01/2023, 19:06, Igor Oliveira Ribeiro <
igorgeoinforma...@gmail.com> escreveu:

> Hey Alexandre, thanks for your reply.
> See below
> [image: image.png]
>
> On Mon, Jan 30, 2023 at 10:51 AM Alexandre Neto <
> alexandre.n...@qcooperative.net> wrote:
>
>> Hello Igor,
>>
>> Can you please explain what settings you have used in the field
>> calculator dialog. A screenshot would be helpful.
>>
>> Alexandre Neto
>> User Support
>> alexandre.n...@qcooperative.net
>> www.qcooperative.net
>> [image: www.qcooperative.net] <http://www.qcooperative.net>
>>
>> Igor Oliveira Ribeiro via QGIS-User  escreveu
>> no dia segunda, 30/01/2023 à(s) 13:14:
>>
>>> Hi community,
>>> I need your help. I'm using QGIS 3.10.11 with Grass 7.8.4. I'm building
>>> a QGIS modeler and I want to calculate the area of an input polygon.
>>>
>>> So, my input polygon is a vector feature. I tried using a field
>>> calculator ($area) and Advanced Python Field Calculator (Field "Formula", I
>>> used "value = $geom.area() ).
>>>
>>> However, nothing is working. When I run the modeler, there is no error
>>> message. But, I'dont have the area calculated either.
>>>
>>> Thanks for your help.
>>>
>>> --
>>>
>>> See our last paper:  <https://doi.org/10.1016/j.envpol.2020.114029>
>>>
>>> Impact of biomass burning on a metropolitan area in the Amazon during
>>> the 2015 El Niño: The enhancement of carbon monoxide and levoglucosan
>>> concentrations. <https://doi.org/10.1016/j.envpol.2020.114029>
>>>
>>> Igor Oliveira Ribeiro
>>>
>>> Post-Doc on Regional Climate Change, Vulnerability, Impacts and
>>> Adaptation - Cuomo Foundation/UEA
>>>
>>> +55 92 98103 7136 | skype: igorflorestal
>>>
>>> Universidade do Estado do Amazonas | Instituto Nacional de Pesquisas da
>>> Amazônia
>>>
>>> Visite: www.geoescrita.com.br
>>>
>>> <https://www.linkedin.com/in/igoroliveiraribeiro/>
>>> <https://www.instagram.com/geoescrita/>
>>> <https://www.researchgate.net/profile/Igor_Oliveira_Ribeiro>
>>> <http://lattes.cnpq.br/3909691804095045>
>>> <https://orcid.org/-0002-3529-0525> <https://www.geoescrita.com.br/>
>>>
>>> Think globally, act locally!
>>> ___
>>> 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
>>>
>>
>>
>> --
>> Alexandre Neto
>> User Support
>> alexandre.n...@qcooperative.net
>> www.qcooperative.net
>> [image: www.qcooperative.net] <http://www.qcooperative.net>
>>
>
>
> --
>
> See our last paper:  <https://doi.org/10.1016/j.envpol.2020.114029>
>
> Impact of biomass burning on a metropolitan area in the Amazon during the
> 2015 El Niño: The enhancement of carbon monoxide and levoglucosan
> concentrations. <https://doi.org/10.1016/j.envpol.2020.114029>
>
> Igor Oliveira Ribeiro
>
> Post-Doc on Regional Climate Change, Vulnerability, Impacts and Adaptation
> - Cuomo Foundation/UEA
>
> +55 92 98103 7136 | skype: igorflorestal
>
> Universidade do Estado do Amazonas | Instituto Nacional de Pesquisas da
> Amazônia
>
> Visite: www.geoescrita.com.br
>
> <https://www.linkedin.com/in/igoroliveiraribeiro/>
> <https://www.instagram.com/geoescrita/>
> <https://www.researchgate.net/profile/Igor_Oliveira_Ribeiro>
> <http://lattes.cnpq.br/3909691804095045>
> <https://orcid.org/-0002-3529-0525> <https://www.geoescrita.com.br/>
>
> Think globally, act locally!
>
___
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] [Modeller] How to calculate area in the graphical modeler of QGIS

2023-01-30 Thread Alexandre Neto via QGIS-User
Hello Igor,

Can you please explain what settings you have used in the field calculator
dialog. A screenshot would be helpful.

Alexandre Neto
User Support
alexandre.n...@qcooperative.net
www.qcooperative.net
[image: www.qcooperative.net] <http://www.qcooperative.net>

Igor Oliveira Ribeiro via QGIS-User  escreveu no
dia segunda, 30/01/2023 à(s) 13:14:

> Hi community,
> I need your help. I'm using QGIS 3.10.11 with Grass 7.8.4. I'm building a
> QGIS modeler and I want to calculate the area of an input polygon.
>
> So, my input polygon is a vector feature. I tried using a field calculator
> ($area) and Advanced Python Field Calculator (Field "Formula", I used
> "value = $geom.area() ).
>
> However, nothing is working. When I run the modeler, there is no error
> message. But, I'dont have the area calculated either.
>
> Thanks for your help.
>
> --
>
> See our last paper:  <https://doi.org/10.1016/j.envpol.2020.114029>
>
> Impact of biomass burning on a metropolitan area in the Amazon during the
> 2015 El Niño: The enhancement of carbon monoxide and levoglucosan
> concentrations. <https://doi.org/10.1016/j.envpol.2020.114029>
>
> Igor Oliveira Ribeiro
>
> Post-Doc on Regional Climate Change, Vulnerability, Impacts and Adaptation
> - Cuomo Foundation/UEA
>
> +55 92 98103 7136 | skype: igorflorestal
>
> Universidade do Estado do Amazonas | Instituto Nacional de Pesquisas da
> Amazônia
>
> Visite: www.geoescrita.com.br
>
> <https://www.linkedin.com/in/igoroliveiraribeiro/>
> <https://www.instagram.com/geoescrita/>
> <https://www.researchgate.net/profile/Igor_Oliveira_Ribeiro>
> <http://lattes.cnpq.br/3909691804095045>
> <https://orcid.org/-0002-3529-0525> <https://www.geoescrita.com.br/>
>
> Think globally, act locally!
> ___
> 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
>


-- 
Alexandre Neto
User Support
alexandre.n...@qcooperative.net
www.qcooperative.net
[image: www.qcooperative.net] <http://www.qcooperative.net>
___
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] transferring data from ArcGis to QGIS

2023-01-19 Thread Alexandre Neto via QGIS-User
Hello Janet,

It will really depend on what you mean by all your work. The projects and
layouts are hard to come by, as they are in closed source format, which
ain't interoperable with other software. But the data may be in one of
hundreads of formats readable by QGIS, like Shapefiles and Filegeodatabases.

There's a plugin that tries to import QrcGIS styles into QGIS, but not sure
what it can do. It's called SLYR, there a paid version and a community
version/



Janet via QGIS-User  escreveu no dia quinta,
19/01/2023 à(s) 21:20:

> For a number of years, whilst a student and on the staff of University I
> have used ArcGis.  After this year I will be retiring from University and
> losing this access.  I would like to copy all my work over to QGIS, so that
> I can continue my research, could you let me know if this is possible and
> where I can locate directions to do it.  I have all my work on an external
> hard drive.
>
> Many thanks
>
> Janet
> ___
> 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] Looking for application/server etc

2023-01-13 Thread Alexandre Neto via QGIS-User
Hello Dennis,

Vector tiles are probably the most straightforward solution. They have been
invented to solve that exact problem. Several simplified versions of your
polygons will be created for using at different scales. Then they are all
chopped into small pieces (tiles) so that when you are zooming to the
maximum scale in one place, you don't need to download/read the complete
polygon with all its vertices.

Alexandre Neto
User Support
alexandre.n...@qcooperative.net
www.qcooperative.net
[image: www.qcooperative.net] <http://www.qcooperative.net>

Dennis Burgess via QGIS-User  escreveu no dia
quinta, 12/01/2023 à(s) 16:01:

> Looking for something that can take a HUGE, say a 50-75 meg mutli-polygon
> (multi-state etc.), that has detail level down to 1meter, then parse it and
> display it within 1meg on top of mapping systems in a web browser ?
> Options?  Not to mention, we have a few thousand of these so we need to be
> able to call the mapping for any one of them.   We also need it to simplify
> it i.e. maybe deliver a max a 1 meg to the customer..  if they zoom out we
> want to make it simpler to deliver something to the customer..  I’m sure
> there is a way of doing this..
>
>
>
> I’m sure there is an application, server, something that can do this
> automatically..
>
>
>
>
>
>
>
> *Dennis Burgess*
> ___
> 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
>


-- 
Alexandre Neto
User Support
alexandre.n...@qcooperative.net
www.qcooperative.net
[image: www.qcooperative.net] <http://www.qcooperative.net>
___
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] Looking for application/server etc

2023-01-13 Thread Alexandre Neto via QGIS-User
Hello Dennis,

Vector tiles are probably the more straightforward solution. They have been
invented to solve that problem. Several simplified versions of your
polygons will be created to be used at different scales. Then they are all
chopped into small pieces (tiles) so that when you are zooming to the
maximum scale in one place, you don't need to download/read the complete
polygon with all its vertices.

Alexandre Neto
User Support
alexandre.n...@qcooperative.net
www.qcooperative.net
[image: www.qcooperative.net] <http://www.qcooperative.net>

chris hermansen via QGIS-User  escreveu no dia
quinta, 12/01/2023 à(s) 18:41:

> Dennis and list;
>
> On Thu, Jan 12, 2023 at 8:45 AM Dennis Burgess via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
>
>> But looking to only display what is on the customer screen.  We should
>> never get the 50 meg poly..
>>
>> 
>> *Subject:* RE: Looking for application/server etc
>>
>> [stuff deleted]
>
>>
>>
>> PostGIS with Geometry Index’s?!
>>
>> Set up Styles with Zoom Levels so as when zoomed in to 1:5000, that’s the
>> only time you have full LOD
>>
>
>
>> [stuff deleted]
>>
>> <https://www.opw.ie/en/disclaimer/>
>>
>
>
>> *From:* QGIS-User  *On Behalf Of *Dennis
>> Burgess via QGIS-User
>> *Sent:* 12 January 2023 15:43
>> *To:* qgis-user@lists.osgeo.org
>> *Subject:* [Qgis-user] Looking for application/server etc
>>
>>
>>
>> Looking for something that can take a HUGE, say a 50-75 meg mutli-polygon
>> (multi-state etc.), that has detail level down to 1meter, then parse it and
>> display it within 1meg on top of mapping systems in a web browser ?
>> Options?  Not to mention, we have a few thousand of these so we need to be
>> able to call the mapping for any one of them.   We also need it to simplify
>> it i.e. maybe deliver a max a 1 meg to the customer..  if they zoom out we
>> want to make it simpler to deliver something to the customer..  I’m sure
>> there is a way of doing this..
>>
>>
>>
>> I’m sure there is an application, server, something that can do this
>> automatically..
>>
>>
>>
> Dennis, do you mean your object of interest is a MULTIPOLYGON?  Because if
> so, your bounding box, and therefore your spatial index, is going to bound
> the entire polygon, and that's going to limit any kind of efficiency as you
> zoom in.
>
> You might consider splitting your MULTIPOLYGON into POLYGONs.  That way
> each POLYGON will have its own bounding box and therefore your spatial
> indexing scheme will have the chance to be more efficient.  But of course
> you have to watch out for polygons like the Mississippi River.
>
> This article might help
> https://www.alibabacloud.com/blog/postgresql-how-to-optimize-spatial-index-based-query-performance-for-multipolygon-data_597324
>
> I agree with Richard; PostGIS provides nice geometry indexing.  Probably
> other database managers do as well.
>
> I'm not certain that I follow what you are doing precisely, but one kind
> of architecture would be to have your database within PostgreSQL / PostGIS,
> being accessed by QGIS server and delivered to your clients that way.
>
> The QGIS server guide is here
> https://docs.qgis.org/3.22/en/docs/server_manual/index.html
>
> The PostGIS manual is here https://postgis.net/documentation/
>
> There are many, many resources available to learn PostGIS.  From personal
> experience I know this is a good one
> https://www.manning.com/books/postgis-in-action-third-edition
>
> --
> 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 mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.22 - Geometry by expression howto

2023-01-02 Thread Alexandre Neto via QGIS-User
For doing what you what, I think you can use the field calculator.

Use geometry as output field.


Alex

A domingo, 1/01/2023, 21:38, Andrea Giudiceandrea via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> Il 01/01/2023 19:22, Francesco Pelullo ha scritto:
> > By my exoeriences, this algorithm works _only_ if source layer has at
> > almost one feature.
>
> I think this expected and described in the docs [1]:
> """
> Geometry by expression
> Updates existing geometries (or creates new geometries) for input
> features by use of a QGIS expression.
> """
>
> You can update or create geometries only for the input feature(s).
>
>
> Best regards.
>
> Andrea
>
> [1]
>
> https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#geometry-by-expression
> ___
> 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] labeling individual roads

2022-12-28 Thread Alexandre Neto via QGIS-User
Hi Joe,

Check this page of the documentation:

https://docs.qgis.org/3.22/en/docs/user_manual/working_with_vector/vector_properties.html?highlight=toolbars#the-label-toolbar

You need to set the labels for all the roads (font type, color, general
position, and so on). Then, The show/hide button allows you to hide the
labels that you want or force show them. For the functionality like you
want to can use the hide option drawing a rectangle around all roads to
hide all labels, and then selectively click the road to show the ones you
want.

Hope I have helped.

Best regards,

Alexandre Neto
User Support
www.qcooperative.net
___
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] Parameters order in Model Designer input form

2022-12-26 Thread Alexandre Neto via QGIS-User
A segunda, 26/12/2022, 11:00, Francesco Pelullo via QGIS-User <
qgis-user@lists.osgeo.org> escreveu:

> Hi all and have a nice holydays,
>
> I'm trying to understand logic (if there Is one) of Model Designer
> parameters input form.
>
> I make a list of parameters needs to be input, but when the model runs,
> the form has a random order in parameters list to be input.
>
> Is there a method or some trick for let I have parameters input in some
> specific order I like?
>

There's a option to order the the inputs in the model menu.


> Also, is there any method for splitting parameters form in more than one
> form, e.g. making it more simplex with few parameters fields input and then
> a "NEXT" button for the others ?
>

Nop, not using the processing framework. You would need to design a GUI
manually.


> Please can anyone address me to some help page about processing models
> forms? It seems to me there aren't.
>
> QGIS 3.22 LTR on Win10.
>
> Thank you
>
> Francesco
>
> ___
> 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] Erro de instalação

2022-12-13 Thread Alexandre Neto via QGIS-User
Sim Nilo, são compativeis com Windows 10. Que versão de QGIS está tentar
instalar?


Nilo Cesar Coelho via QGIS-User  escreveu no dia
terça, 13/12/2022 à(s) 15:43:

> Não estou conseguindo instalar os pacotes com extensão msi.
> São incompatíveis com windows 10?
> ___
> 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] Intersect vs extractbylocation

2022-09-14 Thread Alexandre Neto via Qgis-user
Hi Dennis,

The intersects will try to combine the geometries of the two input layers.
In your case, it will always return a point anyway. Also, it will add both
input layer's attributes in the output file.
The Extract by location will just check which points are within the
polygons and present it as an output, hence much faster.

Alexandre Neto

Dennis Burgess via Qgis-user  escreveu no dia
quarta, 14/09/2022 à(s) 16:20:

> I have a shape file and a list of points..
>
>
> Trying to understand what the difference is between intersect vs
> exteactbylocation .
>
>
>
> Extract by location takes NO TIME, under a min on all of my runs, but
> intersection takes quite a bit of time..  In the end, all I want is what
> lines in the CSV (packaged as GPKG) are within or are contained within the
> Shapefile.
>
>
>
>
>
> *[image: LTI-Full_175px]*
>
>
> *Dennis Burgess, Mikrotik Certified Trainer MTCNA, MTCRE, MTCWE, MTCTCE,
> MTCINE, MTCSE, HE IPv6 Sage, Cambium ePMP Certified *
>
> Author of "Learn RouterOS- Second Edition”
>
> *Link Technologies, Inc* -- Mikrotik & WISP Support Services
>
> *Office*: 314-735-0270  Website: http://www.linktechs.net
>
> Need to Automate MikroTik Backups:  https://cloud.linktechs.net
>
> Create Wireless Coverage’s with www.towercoverage.com
>
>
> ___
> 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] Faster Intersects

2022-09-09 Thread Alexandre Neto via Qgis-user
Following raymond advice,

Move the CSV to a shapefile or geopackage and run the create spatial index
on it.

If you have very complex polygons, use suvdivide to create smaller ones
save it in shapefile or geopackage and run create spatial index on it.

https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#subdivide

I would try with a smaller subset of points to test the improvement speed
before trying to run on the full dataset again.

Answering your question, yes I am pretty sure postgis is much faster than
mssql, and yes I think most recent versions of PostgreSQL PostGIS make use
of more than one core.

Good luck

A sexta, 9/09/2022, 17:59, Dennis Burgess via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> In the format, are you talking about the shape or the CSV with 2million
> lines?
>
>
>
> Dennis Burgess
>
> Author of "Learn RouterOS- Second Edition”
> Link Technologies, Inc -- Mikrotik & WISP Support Services
> Office: 314-735-0270  Website: http://www.linktechs.net
> Create Wireless Coverage’s with www.towercoverage.com
> Need MikroTik Cloud Management: https://cloud.linktechs.net
>
> -Original Message-
> From: Qgis-user  On Behalf Of Raymond
> Nijssen via Qgis-user
> Sent: Friday, September 9, 2022 11:11 AM
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Faster Intersects
>
> Some things to check:
>
> * Is your data local?
> * Is it in a fast file format? (for example .gpkg or .shp and not .csv or
> .geojson)
> * Does the data have a spatial index?
> * Is the geometry very complicated, like a huge multi polygon with
> thousands of vertices and islands? In that case, split it up in several
> polygons.
>
> Hope this helps. Anyway, it should not need to take this long.
>
> Raymond
>
>
>
> On 09-09-2022 16:28, Dennis Burgess via Qgis-user wrote:
> > How can I speed up Intersects?  Right now I have a single geometry
> > file, but then have about 2 million points that I need to understand
> > what intersects that geometry.  Right now its taking 3 days?
> > QGIS-bin.exe is only using 11% CPU.. ☹
> >
> > Dennis
> >
> >
> > ___
> > 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] Faster Intersects

2022-09-09 Thread Alexandre Neto via Qgis-user
I don't know what is your data format, but make sure you have spatial index
in it.

For things with millions of points I would move the data into PostGIS for
definitely faster processing.

Alexandre Neto
User Support


A sexta, 9/09/2022, 15:50, Dennis Burgess via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> How can I speed up Intersects?  Right now I have a single geometry file,
> but then have about 2 million points that I need to understand what
> intersects that geometry.  Right now its taking 3 days?  QGIS-bin.exe is
> only using 11% CPU..  ☹
>
>
>
> Dennis
> ___
> 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 Atlas Print dpi street names

2022-08-15 Thread Alexandre Neto via Qgis-user
Check the maptiler plugin, it provides vector tiles, which are a great
alternative raster tiles and don't degrate with dpi changes.

A segunda, 15/08/2022, 08:15, Phil Wyatt via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> Hi Lars,
>
>
>
> If the background is a raster map (like OpenStreetMap) then no, you cant
> control the labelling. You would need to add a vector layer for the roads
> and then style the labels from that new layer.
>
>
>
> Cheers - Phil
>
>
>
> *From:* Qgis-user  *On Behalf Of *Lars
> Bendix via Qgis-user
> *Sent:* Sunday, 14 August 2022 9:55 PM
> *To:* qgis-user@lists.osgeo.org
> *Subject:* [Qgis-user] QGIS Atlas Print dpi street names
>
>
>
> Hello,
>
>
>
> Thank you so much for your help!!!
>
>
>
> I would like to print polygon objects using the atlas print function with
> 300 dpi instead of 75 dpi. But as I realized, the street names look too
> small now. Is there a way to adjust the font size of the street names in
> the atlas print preview?
>
>
>
> Thank you!
>
> Lars
> ___
> 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] Burned by QGIS again - Windows 10 QGIS 3.22.8

2022-07-07 Thread Alexandre Neto via Qgis-user
Just wanted to know if there was something we could test next time, but not
this one.

Thanks

A quinta, 7/07/2022, 08:40, Jürgen E. Fischer via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> Hi,
>
> On Thu, 07. Jul 2022 at 06:13:49 +0200, Andrea Giudiceandrea via Qgis-user
> wrote:
> > has reported in [1], [2] and [3], the issue only occurred on Windows
> systems
> > with CPU not supporting the AVX2 instruction set extension.
>
> which was even executed initializing of the tiledb support, which was
> happening
> on load of GDAL and in turn qgis and crssync and hence broke the whole
> show on
> those machines.  Otherwise hardly anyone would have noticed that tiledb was
> added at all.
>
> I guess there can always be such subtle things that slip through.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> 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] Burned by QGIS again - Windows 10 QGIS 3.22.8

2022-07-06 Thread Alexandre Neto via Qgis-user
Hi jurgen,

I didn't catch any of these issues during my testing, which got me
concerned, was there any particular test/or environment that should take
care for next time?

Thanks,

Alex Neto

Jürgen E. Fischer via Qgis-user  escreveu no dia
quarta, 6/07/2022 à(s) 12:30:

> Hi,
>
> On Wed, 06. Jul 2022 at 13:20:00 +0200, Jürgen E. Fischer wrote:
> > And in a few minutes more the download links on the website will be
> uptodate in
> > all languages.
>
> And the osuosl mirror will probably update soon too.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> https://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> 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] copy and paste very slow in qgis

2022-07-04 Thread Alexandre Neto via Qgis-user
Question:

Were you doing the copy-paste with the target attributes table open? Don't.

Do it in the map canvas.

Alexandre Neto

A segunda, 4/07/2022, 17:30, Michael.Dodd via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> Thanks that “Export->Save Features, ticking Save Only Selected Features”
> worked fine, took just a few seconds.
>
>
>
> Have not tried the other suggestion from someone else about the spatial
> index but the file I was pasting into was empty so I am not sure it had a
> spatial index to start with.
>
>
>
> *From:* David Strip 
> *Sent:* Monday, July 4, 2022 5:15 PM
> *To:* Michael.Dodd ; 'qgis-user@lists.osgeo.org'
> 
> *Subject:* Re: [Qgis-user] copy and paste very slow in qgis
>
>
>
> CAUTION: This mail comes from outside the University. Please consider this
> before opening attachments, clicking links, or acting on the content.
>
> On 7/4/2022 9:03 AM, Michael.Dodd via Qgis-user wrote:
>
> I am trying to copy points with their attributes from one layer to another
> (actually one geopackage file to another), the select is quick, couple of
> mins, bearing in mind there are 800,000 points but when pasting into the
> new empty geopackage file it is extremely slow. Less than 10% of the points
> need to be pasted but it was taking 40mins before I stopped it and I had no
> idea how much longer it would take. There was a hint that it may have done
> about 30,000 in 40mins.
>
> Is there another way to do this, I have also tried switching the selection
> and deleting the other 90% but this too is very slow and don’t see the end.
>
> Have you tried selecting the features, then Export->Save Features, ticking
> Save Only Selected Features?
> ___
> 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] most efficient way to digitize polygons

2022-06-17 Thread Alexandre Neto via Qgis-user
Hello Byron,

There are a couple of solutions I normally use in those situations.

But before that take a look at the snapping documentation:

https://docs.qgis.org/3.22/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#topological-editing

Also check the digitising on the layer properties to constantly validation:

https://docs.qgis.org/3.22/en/docs/user_manual/working_with_vector/vector_properties.html#digitizingmenu

Other than that, I normally prefer to create one by polygon and then split
it with the split geometries tool, but make sure to enable topological
editing.


The other option is using the avoid overlapping option, that way you can do
just a few click in the inside an neighbours polygons and qgis will draw
the boundary for yoy.

Third option, use the tracing tool.

Best regards,

Alexandre Neto
Users support
www.qcooperative.net



A quinta, 16/06/2022, 17:43, Nicolas Cadieux via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> Hi,
>
> Depending on what you are doing and what kind of results you are looking
> for, could you simply use "Polygonize" and then clean those results.  If
> your map are in RGB only, you could do a raster classification analysis
> before hand.  Line would follow pixels at first but those could be fixed
> using various vector tools.
>
> Just a thought!
>
> Nicolas
> On 2022-06-16 11:26 a.m., Firstname Lastname via Qgis-user wrote:
>
> i am a qgis newby and i am beginning a large project that involves
> digitizing several geology maps.  i am trying to determine the best way to
> manage the digitizing and avoid extra work.
> my question to the group is:  If i have several coloured polygons that are
> adjacent to each other, is there an efficient way to digitize one polygon
> and then use one edge of that polygon for the adjacent polygon so that i
> dont have to redigitize the same edge twice and so that i will have
> precisely overrlapping polys with no gaps?  should i digitize one polygon,
> export and rename it?  can i digitize one have of the next polygon and
> somehow merge it with the now re-imported polygon?
> is there a more efficient way to do this?
>
> many thanks
>
> --
> Byron Veilleux, MSc. P.Geo
> Conjugate Geologic Services Limited
> Calgary, Alberta Canada
> by...@conjugategeo.com
>
>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
> Nicolas Cadieuxhttps://gitlab.com/njacadieux
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] how to convert a circular string into a standard linestring?

2022-06-14 Thread Alexandre Neto via Qgis-user
Hello Richard,

Try to use the densify tools from the processing toolbox. Either densify by
count or densify by interval should work.

https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#densify-by-count

The tools can be used as in-place mode, so you can select a specific
feature are run the tools without creating a new layer.


Alexandre Neto
Users support
www.qcooperative.net

A terça, 14/06/2022, 19:24, Richard Greenwood via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> I used the Edit menu function "add Circular String" and got just what I
> wanted. But how can I convert it into a regular linestring with a bunch of
> vertices that approximate the curve? Specifically, I need to be able to
> trace the curve with the Split Features tool and trace it when drawing a
> polygon.
>
> Thanks
> --
> Richard W. Greenwood
> www.greenwoodmap.com
> ___
> 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] Tweaking an Atlas

2022-05-10 Thread Alexandre Neto via Qgis-user
Hi!

Sorry, I mislead you with a wrong name

It's the "Exclude item from exports"

https://docs.qgis.org/3.22/en/docs/user_manual/print_composer/composer_items/composer_items_options.html#rendering-mode

The data-defined expression expects a true or false (1 or 0) so you can use
whatever you prefer to check that out. In the limit, you can add an extra
boolean column to you atlas layer called "exclude_overview" and fill in a
yes for the features you don't want to show a overview. The use that column
in the data-defined properties of the "exclude item from export"

Alexandre Neto
User Support
www.qcooperative.net

A quarta, 11/05/2022, 04:18, Nicolas Cadieux 
escreveu:

> Hi Alexandre,
>
> In the layout, under Item Properties/Rendering, I was able to change the
> overview map opacity using IF (@atlas_featurenumber = '1','100','0').  Is
> there a better method?
>
> Thanks everyone for the tips, I am finally figuring this out slowly.
>
> Nicolas
>
>
>
> On 2022-05-10 5:07 p.m., Alexandre Neto wrote:
>
> All items in the layout have a render item in outputs option. It's
> data-defined. So you can put a expression like if @atlas_page in (3,6,9,12)
>
> Alexandre Neto
>
> A terça, 10/05/2022, 21:06, Alexis R.L. via Qgis-user <
> qgis-user@lists.osgeo.org> escreveu:
>
>>
>> You could use the Data-defined variables to move elements in and out of
>> the page layout depending on the atlas page name/number.
>>
>> Alex
>>
>>
>> Le mar. 10 mai 2022 à 13:58, Nicolas Cadieux via Qgis-user <
>> qgis-user@lists.osgeo.org> a écrit :
>>
>>> Hi,
>>>
>>> I have a series of map that could work well this an Atlas but I would
>>> need to add thing like Zoom in or Overview maps on some specific pages
>>> only.  Can we add objects like new maps on specific pages of an Atlas?
>>>
>>> If not, is there a function or way to go from Atlas page 2  -> New
>>> layout? I figure the only way to do this is to turn on the Atlas
>>> preview, go to the selected preview, turn the Atlas preview off and the
>>> save as a new layout? Is there a better way?
>>>
>>> --
>>> Nicolas Cadieux
>>> https://gitlab.com/njacadieux
>>>
>>> ___
>>> 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
>>
> --
> Nicolas Cadieuxhttps://gitlab.com/njacadieux
>
>
___
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] Tweaking an Atlas

2022-05-10 Thread Alexandre Neto via Qgis-user
All items in the layout have a render item in outputs option. It's
data-defined. So you can put a expression like if @atlas_page in (3,6,9,12)

Alexandre Neto

A terça, 10/05/2022, 21:06, Alexis R.L. via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

>
> You could use the Data-defined variables to move elements in and out of
> the page layout depending on the atlas page name/number.
>
> Alex
>
>
> Le mar. 10 mai 2022 à 13:58, Nicolas Cadieux via Qgis-user <
> qgis-user@lists.osgeo.org> a écrit :
>
>> Hi,
>>
>> I have a series of map that could work well this an Atlas but I would
>> need to add thing like Zoom in or Overview maps on some specific pages
>> only.  Can we add objects like new maps on specific pages of an Atlas?
>>
>> If not, is there a function or way to go from Atlas page 2  -> New
>> layout? I figure the only way to do this is to turn on the Atlas
>> preview, go to the selected preview, turn the Atlas preview off and the
>> save as a new layout? Is there a better way?
>>
>> --
>> Nicolas Cadieux
>> https://gitlab.com/njacadieux
>>
>> ___
>> 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] Insert Logo into the map composer

2022-04-24 Thread Alexandre Neto via Qgis-user
Hi,

If I am not wrong, I think you can simply drag and drop the jpeg file into
the layout.

Give it a try.

Alexandre Neto
User support
www.qcooperative.net

A sábado, 23/04/2022, 22:04, Nicolas Cadieux via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> Select raster image
>
> On 2022-04-23 2:52 p.m., krishna Ayyala wrote:
>
> Thank you. But that popup window is not allowing me to navigate to any
> jpeg file. only option it has is svg image.
> Regards.
>
> On Fri, Apr 22, 2022 at 9:35 AM Nicolas Cadieux <
> njacadieux.git...@gmail.com> wrote:
>
>> Hi,
>>
>>
>> https://docs.qgis.org/3.22/en/docs/training_manual/map_composer/map_composer.html
>>
>> You will see an Icon on the left (blue sky with a mountain). Or Add
>> Item/add picture.
>>
>> Nicolas
>>
>> On 2022-04-22 9:05 a.m., krishna Ayyala via Qgis-user wrote:
>> > Hello,
>> > I have a map in the map composer. How can I insert a logo which is a
>> > jpeg image into the map composer?
>> >
>> > 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
>>
>> --
>> Nicolas Cadieux
>> https://gitlab.com/njacadieux
>>
>> --
> Nicolas Cadieuxhttps://gitlab.com/njacadieux
>
> ___
> 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] Snap existing geometry to other layer

2022-04-08 Thread Alexandre Neto via Qgis-user
Hi Uwe,

The snap geometries to layer tool in processing toolbox can be used in
in-place feature editing, which does the changes without creating a new
layer.

https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#snap-geometries-to-layer

https://docs.qgis.org/3.22/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html?highlight=place#the-processing-in-place-layer-modifier

Best regards

Alexandre Neto
User support
www.qcooperative.net

Uwe Fischer via Qgis-user  escreveu no dia
sexta, 8/04/2022 à(s) 11:34:

> Hello,
>
>
>
> I need to snap individual features to another layer. It’s not new features
> but existing ones. And, the process should not create a new shapefile but
> it should modify existing features that were selected beforehand for
> snapping.
>
>
>
> Google told me that there is a Plugin called „Geometry Snapper“ but I
> could not find in for QGIS 3.22 LRT.
>
>
>
> Any ideas? Thank you so much!
>
>
>
> Regards, Uwe
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS freezes for minutes when updated SpatiaLite SQL Layer

2022-03-22 Thread Alexandre Neto via Qgis-user
It probably also has something to do with the query you are using.

Can you please create a ticket? Preferably with some sample data and
project and explaining the steps to reproduce the problem.

Thanks

Alexandre Neto

A terça, 22/03/2022, 09:24, SIGéal via Qgis-user 
escreveu:

> Hi list,
>
> QGIS 3.22/3.24 freezes with hourglass for about 2 minutes when I click
> on close button of Update SQL Layer dialog, even if I didn't modify the
> query.
> If I click on Execute button, I get this error : "an error occurred
> while opening GPKG dbname=..."
> This happens with a big database file (600 Mb), only with with query
> returning hundreds of rows.
>
> I don't have any problem at all with old behaviour on QGIS 3.16.16 : DB
> Manager opened when I click on Update SQL Layer.
> So this sounds clearly like a regression linked to the new "Update SQL
> Layer" dialog/behaviour.
>
> Thanks for any hint or work around,
>
> --
> Christophe Damour
>
> ___
> 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 - repeated connections

2022-03-08 Thread Alexandre Neto via Qgis-user
Hello Mauricio,

That is "normal". Several different components of QGIS can establish
different and independent connections to PostgreSQL. For example, the
browser panel can create a connection, the database manager another, and so
on.

Alexandre Neto

A terça, 8/03/2022, 20:14, Mauricio Vieira Cardoso Filho via Qgis-user <
qgis-user@lists.osgeo.org> escreveu:

> I use QGIS 3.16 and I'm having an operation that I believe to be abnormal.
> I use QGIS connected to a postgres database. My problem is that QGIS is
> creating five simultaneous connections for each database user. (For
> example, when opening qgis and connecting to the bank, on my server I have
> five connections created with my username). Does anyone have any idea what
> could be happening?
>
> Best
> Maurício Vieira Cardoso Filho
> Gerente TI Infra
> Tel: +556137995051
> email : mcard...@topocart.com.br;
> skype: mauricio.cardoso1974
> ___
> 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] Is it possible to import Arcgis Pro map to QGIS?

2022-03-01 Thread Alexandre Neto
So, apart from ESRI and Northroad :-)

A terça, 1/03/2022, 22:19, Nyall Dawson  escreveu:

> On Wed, 2 Mar 2022 at 08:13, Alexandre Neto  wrote:
> >
> > ArcGIS pro map is a binary (non-human-readable) proprietary format.
> Which means that, apart from ESRI, no one knows how to read and write those
> files.
> >
> >  So, no. You can't.
>
> Actually -- just to clarify. SLYR (https://north-road.com/slyr/)
> currently has support for reading ArcMap documents (including
> lyr/mxd/etc) and converting to QGIS, and is shortly to receive support
> for conversion of ArcGIS Pro lyrx/aprx documents too!
>
> Nyall
>
> >
> > A terça, 1/03/2022, 21:49, krishna Ayyala 
> escreveu:
> >>
> >> Hello,
> >> I have a Arcgis pro map saved with (.mapx ) extension.Is it possible to
> bring this map into QGIS without losing the symbology?
> >>
> >> 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 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] LAStools

2022-03-01 Thread Alexandre Neto
Unfortunately, due to the lack of QGIS "documenters", the documentation
main focus is in the users manual and the training manual is lagging behind
QGIS Development.

There's a testing version that is where the changes are being written, but
not sure if that section is updated

Alexandre Neto

A terça, 1/03/2022, 21:33, David Witton  escreveu:

> I'm working through the QGIS Training manual 3.16, module 14.8. In 14.8.1
> & 14.8.2, there are discrepancies between the instructions and the
> application.
> Specifically, an 'Advanced Interface' pull down is not available in the
> Processing toolbox, and I'm unable to locate the 'Tools for Lidar data'
> category.
> Can someone point me to a source for documentation that matches what I see
> in my version 3.16 software?
>
> --
> David Witton
> 307 413 2072
> ___
> 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] Is it possible to import Arcgis Pro map to QGIS?

2022-03-01 Thread Alexandre Neto
ArcGIS pro map is a binary (non-human-readable) proprietary format. Which
means that, apart from ESRI, no one knows how to read and write those files.

 So, no. You can't.

A terça, 1/03/2022, 21:49, krishna Ayyala 
escreveu:

> Hello,
> I have a Arcgis pro map saved with (.mapx ) extension.Is it possible to
> bring this map into QGIS without losing the symbology?
>
> 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 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 at The Economist magazine

2022-01-25 Thread Alexandre Neto
Nice one. Thanks for sharing.

A quarta, 26/01/2022, 00:10, David Strip 
escreveu:

> This article
> 
> has an interesting discussion on the use of projections in news graphics
> and cites Qgis numerous times as their mapping software.
> It also mentions projectionwizard.org, which I was not familiar with and
> is a useful to know about.
>
> ___
> 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] Lagging qgis

2022-01-19 Thread Alexandre Neto
Also, try a simple project with only the layer you are editing. If you have
too many layers and snapping enabled on all labels... It can be slow.

Alexandre Neto
User support
www.qcooperative.net

A quarta, 19/01/2022, 19:50, Richard Duivenvoorde 
escreveu:

> On 1/19/22 20:38, Alexandru Munteanu wrote:
> > Hi all,
> >
> > I'm having a really hard time editing shapes in qgis, any kind of shapes
> (lines, polygons, dots). And doesn't matter the size of the shape file, I
> can have few points or lines in the layer.
> > The lagging varies from drawing something new, or moving vertices
> around. Even changing styles is difficult.
> > For example, I want to change the color of a line, or its width, so i
> select it's style, double click, wait a while for it to open, select the
> width, wait for to get selected, then wait a little for it to apply and so
> on.
> >
> > What can be the problem? Anyone encountered something similar?
>
> Sometimes plugins are the culprit.
>
> Can you try to create a profile without any plugins in it and then see if
> it it still slow?
>
> If there is no problem anymore without plugins, you have to find the one
> that is creating the issue by enabling your old plugins one by one.
>
> HTH,
>
> Regards,
>
> Richard Duivenvoorde
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
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] date expressions, symbology, current date

2022-01-17 Thread Alexandre Neto
Hello Tim,

You can use rule-based renderer for creating your 3 categories.

https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#rule-based-renderer

As for the rules of each category, take a look at the now() function that
will retrieve the current date and time, and age() function that will allow
you to calculate the difference between two dates and cast it as months.

https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#now
https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#age

Alexandre Neto
User support
www.qcooperative.net


tim dunlevie  escreveu no dia terça, 18/01/2022
à(s) 00:50:

> Hi guys,
>
> I am trying to symbolise a map based on a date field ('-MM-DD') versus
> Current_Date
>
> I want to colour polygons based on these categories:
> - day / month within 3 months of CURRENT_DATE (today).
> - day / month within 6 months of CURRENT_DATE
> - day / month within 9 months of CURRENT_DATE
>
> any ideas?
>
> thanks,
> Tim
> ___
> 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] Atlas feature id not synchronised

2021-11-12 Thread Alexandre Neto
Hi,

That probably depends on what you have in the atlas sorting options, you
can choose any field or expression to sort atlas output, if you really
want, you can use $id as an expression in the sort option or your ID field

Alexandre Neto
User support
www.qcooperative.net

A sexta, 12/11/2021, 16:42, Dario C  escreveu:

> very helpful, thanks
>
> any idea why @atlas_featureid start correctly (following layer coverage
> feature) and then continue using odd numbers?
>
> First values for ID field:
> 4,12, 38, 42, 60, etc
>
> First values for @atlas_featureid:
> 4,12,38, 58, 72, etc.
>
> 
>
> Il giorno ven 12 nov 2021 alle ore 16:34 Alexandre Neto <
> senhor.n...@gmail.com> ha scritto:
>
>> $id is a function that returns the current layer row id. This id is
>> somehow internal to QGIS and not actually a layer field.
>>
>>
>> https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#expression-function-record-and-attributes-id
>>
>> The @atlas_featureid is the equivalent for the coverage layer.
>>
>> So, if we are talking about the same layer then the two functions
>> represent the same feature.
>>
>> Hope it clarifies.
>>
>> Alexandre Neto
>> User Support
>> www.qcooperative.net
>>
>> On Fri, Nov 12, 2021 at 2:39 PM Dario C  wrote:
>>
>>> thank you for your quick response.
>>>
>>> atlas coverage layer is the building layer
>>>
>>> Yes, with  $id = @atlas_featureid is working well!!! Thank you
>>>
>>> Can you please explain, if you don't mind, why? I mean, what's
>>> @atlas_featureid and why $id = @atlas_featureid solve the problem?
>>>
>>>
>>>
>>> Il giorno ven 12 nov 2021 alle ore 15:04 Alexandre Neto <
>>> senhor.n...@gmail.com> ha scritto:
>>>
>>>> Hi Dario,
>>>>
>>>> If the atlas coverage layer is the buildings layer, then you can use:
>>>>
>>>> $id = @atlasfeatureid
>>>>
>>>> If not, if you have a common attribute called ID between the building
>>>> layer and your coverage layer, you can use:
>>>>
>>>> "ID" =  attributes( @atlas_feature)['ID']
>>>>
>>>>
>>>> Hope it helps
>>>>
>>>> Alexandre Neto
>>>> User Support
>>>> www.qcooperative.net
>>>>
>>>> On Fri, Nov 12, 2021 at 1:50 PM Dario  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I’m doing a report and it is happening something odd. I don’t know if
>>>>> it a bug or something I’m not doing well (probably).
>>>>>
>>>>> - I have a layer with an ID as integer and unique
>>>>> - I have categorised my layer by rule, in order to show only the
>>>>> analysed building: “ID=@atlasfeatureid+1”
>>>>> - I’m using this ID as controller of my group report
>>>>> - I have added a textfield to show some field and “atlasfeatureid+1”
>>>>> for a double check
>>>>> - first three pages are ok, after map and text are synchro, but the
>>>>> categorised building does not work and indeed atlasfeatureid shows number
>>>>> completely different with ID
>>>>>
>>>>>
>>>>> I have no idea why :(
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _
>>>>> ___
>>>>> 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] Atlas feature id not synchronised

2021-11-12 Thread Alexandre Neto
$id is a function that returns the current layer row id. This id is somehow
internal to QGIS and not actually a layer field.

https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#expression-function-record-and-attributes-id

The @atlas_featureid is the equivalent for the coverage layer.

So, if we are talking about the same layer then the two functions represent
the same feature.

Hope it clarifies.

Alexandre Neto
User Support
www.qcooperative.net

On Fri, Nov 12, 2021 at 2:39 PM Dario C  wrote:

> thank you for your quick response.
>
> atlas coverage layer is the building layer
>
> Yes, with  $id = @atlas_featureid is working well!!! Thank you
>
> Can you please explain, if you don't mind, why? I mean, what's
> @atlas_featureid and why $id = @atlas_featureid solve the problem?
>
>
>
> Il giorno ven 12 nov 2021 alle ore 15:04 Alexandre Neto <
> senhor.n...@gmail.com> ha scritto:
>
>> Hi Dario,
>>
>> If the atlas coverage layer is the buildings layer, then you can use:
>>
>> $id = @atlasfeatureid
>>
>> If not, if you have a common attribute called ID between the building
>> layer and your coverage layer, you can use:
>>
>> "ID" =  attributes( @atlas_feature)['ID']
>>
>>
>> Hope it helps
>>
>> Alexandre Neto
>> User Support
>> www.qcooperative.net
>>
>> On Fri, Nov 12, 2021 at 1:50 PM Dario  wrote:
>>
>>> Hi,
>>>
>>> I’m doing a report and it is happening something odd. I don’t know if it
>>> a bug or something I’m not doing well (probably).
>>>
>>> - I have a layer with an ID as integer and unique
>>> - I have categorised my layer by rule, in order to show only the
>>> analysed building: “ID=@atlasfeatureid+1”
>>> - I’m using this ID as controller of my group report
>>> - I have added a textfield to show some field and “atlasfeatureid+1” for
>>> a double check
>>> - first three pages are ok, after map and text are synchro, but the
>>> categorised building does not work and indeed atlasfeatureid shows number
>>> completely different with ID
>>>
>>>
>>> I have no idea why :(
>>>
>>>
>>>
>>>
>>> _
>>> ___
>>> 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] Atlas feature id not synchronised

2021-11-12 Thread Alexandre Neto
Hi Dario,

If the atlas coverage layer is the buildings layer, then you can use:

$id = @atlasfeatureid

If not, if you have a common attribute called ID between the building layer
and your coverage layer, you can use:

"ID" =  attributes( @atlas_feature)['ID']


Hope it helps

Alexandre Neto
User Support
www.qcooperative.net

On Fri, Nov 12, 2021 at 1:50 PM Dario  wrote:

> Hi,
>
> I’m doing a report and it is happening something odd. I don’t know if it a
> bug or something I’m not doing well (probably).
>
> - I have a layer with an ID as integer and unique
> - I have categorised my layer by rule, in order to show only the analysed
> building: “ID=@atlasfeatureid+1”
> - I’m using this ID as controller of my group report
> - I have added a textfield to show some field and “atlasfeatureid+1” for a
> double check
> - first three pages are ok, after map and text are synchro, but the
> categorised building does not work and indeed atlasfeatureid shows number
> completely different with ID
>
>
> I have no idea why :(
>
>
>
>
> _
> ___
> 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 Atlas gymnastics

2021-10-15 Thread Alexandre Neto
Ah! good to see that video put to good use :-)

Yes, Zoltan, all you ask seems possible to me. The secret is in the way you
prepare your coverage layer to iterate over the items. Check the video
comment as I forgot to explain one step in the video.

I also have this old blog post that covers dynamic size pages. The
expressions are a bit outdated. that is, there are now functions that make
the expressions easier:

https://gisunchained.wordpress.com/tag/atlas/

Alexandre Neto
QGIS Support
www.qcooperative.net

On Fri, Oct 15, 2021 at 9:53 AM Roland Spielhofer  wrote:

> Hi Zoltan,
> I guess your first item is covered here:
> https://www.youtube.com/watch?v=NCsnTt6uxXo
>
> I call the video "Atlas on steroids" ;-)
>
> Regards,
> Roland
>
>
>
> *Gesendet:* Freitag, 15. Oktober 2021 um 10:39 Uhr
> *Von:* "Zoltan" 
> *An:* "qgis-user" 
> *Betreff:* [Qgis-user] QGIS Atlas gymnastics
> Hi,
> I wonder if someone can confirm if below is possible or not, using the
> Atlas facilities  QGIS 3.20.3 in WIndows 10.
>
> Two issues, the second relying on the first.
> *#1 Variable size Map Item.*
> I would like to vary the size of the Map Item window, depending on the
> zoom window of the Atlas page.
> I can set the "Position and Size" using an Expression or an attribute
> Field, but this seems to be fixed rather than dynamic
> ie: Is it possible to have Expression and/or Field values dynamic per
> Atlas coverage page?
>
> *#2 Multiple Sub-maps per MapSheet.*
> Is it possible to have an Atlas page layout such that (say) in the top
> half of the page you have your zoomed map (as in #1 above) and in the
> bottom half of that sheet-page you place n-mapboxes  as insets predefined
> as n-AOI rectangles inside the zoom-window in the top of this MapPage?
>
> *A practical example/use would be:*
> Say you are doing an aerial analysis of a stretch of river and you have
> identified areas of interest by placing oriented rectangles around them.
> You now want to show an overview of segments of the river, and then a
> zoom-in to each identified AOI rectangle to show larger scale prints below
> this river segment.
>
> *Method could/would be to:*
>
> Using the width of your intended page size, calculate the length of river
> you can fit across 1 page of your Atlas. Let's assume 1Km
> Now a river meanders so you cannot run down the polyline depicting the
> river, you need to rotate and cut the river to the width of your atlas page.
> This means your atlas Map-Item width will be constant, but the height, due
> to curvatures in the river, will vary.
> Once you have your oriented MBRs calculated along the river, you can use
> these as your Atlas Coverage layer.
> To show this with optimal page-area usage, you would need the Atlas
> facility I describe in *#1 above*.
>
> Now, along the river you will have pre-placed your oriented AOI rectangles.
> These will be much smaller rectangles than the 1Km river-length Atlas
> Coverage rectangles.
> Now, for each AOI rectangle inside the current 1Km coverage rectangle, I
> want to show a larger scale image below the current coverage rectangle.
> If* #2 above* was possible and flexible, one could use the calculated
> (current) bottom left paper coord of the coverage rectangle to calculate
> the top-left position of the first AOI area.
> And so on across then down the remaining Atlas page for subsequent AOI
> boxes, which will likely be of varying size.
>
> I suppose this is rather like wanting an Atlas page-set within and Atlas
> page.
>
> Anyone achieved something like this?
> Does this sound useful?
>
> I guess, unless I've missed some facility in Atlas, I will be doing this
> by using the Atlas facility to spit out carefully named jpeg images, and
> then assembling the pages using Python and LibreOffice (or something).
>
> All thoughts/directions welcome.
>
> Kind regards,
> Zoltan
>
>
>
> --
>
> =
> Zoltan Szecsei GPrGISc 0031
> Geograph (Pty) Ltd.
> GIS and Photogrammetric Services
>
> Cape Town, South Africa.
>
> Mobile: +27-83-6004028 (Signal, not WhatsApp)www.geograph.co.za
> =
>
> ___ 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] i have been digitizing polygons for a few days and QGIS crashed

2021-10-09 Thread Alexandre Neto
Hi again,

There's an autosave plugin that can help those (like myself) who constantly
forget to save their work. I can configure it to save both the project and
the edited dara.

Alexandre Neto
QGIS Support
www.qcooperative.net

A sábado, 9/10/2021, 06:22, Zoltan  escreveu:

> What's a floppy disk?  ;-)
>
> On 2021-10-08 22:55, Garth Fletcher wrote:
>
> Alexandre Neto wrote:
>
> Hi,
>
> You are missing one of the most important aspects of QGIS (and most GIS
> software): The data is independent of the project.
>
> The project > save action saves the project, which include what layers you
> have loaded, what order you gave them, their styles, and so on.
>
> When you edit vector layers, you need to use the save icon in the
> digitising toolbar, the one next to pencil icon that you have probably
> clicked to start editing. This is done layer by layer.
>
>
> The only time I have seen QGIS prompt the user to save an edited but not
> yet saved layer is when you Quit.
> At that moment it does seem to remind one about any unsaved layers.
>
> However, if it crashes then any unsaved new layers, or unsaved changes to
> pre-existing layers, are lost.
>
> The crucial step,as Alexandre says, is to save the changes in the layer by 
> *clicking
> on the floppy diskette icon* next to the pencil...
> Alternatively, toggling the Pencil to turn of editing will also prompt you
> to save changes.
>
>
> --
>
> =
> Zoltan Szecsei GPrGISc 0031
> Geograph (Pty) Ltd.
> GIS and Photogrammetric Services
>
> Cape Town, South Africa.
>
> Mobile: +27-83-6004028 (Signal, not WhatsApp)www.geograph.co.za
> =
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] i have been digitizing polygons for a few days and QGIS crashed

2021-10-08 Thread Alexandre Neto
Hi,

You are missing one of the most important aspects of QGIS (and most GIS
software): The data is independent of the project.

The project > save action saves the project, which include what layers you
have loaded, what order you gave them, their styles, and so on.

When you edit vector layers, you need to use the save icon in the
digitising toolbar, the one next to pencil icon that you have probably
clicked to start editing. This is done layer by layer.

Best regards,

Alexandre Neto
QGIS Support
www.qcooperative.net

A sexta, 8/10/2021, 17:17, Firstname Lastname 
escreveu:

>
> i have saved several times.  this i know to be true because i have been
> importing maps and georeferencing several times.  i have saved these maps
> as i have been working and the imported maps have saved.  the  problem is
> that i have been digitizing polygons for several days and recently qgis
> crashed on me.  the polygons disappeared that i have been digitizing but
> the geoereferenced maps have been saved.  the polygon layers were all saved
> and were  not scratch layers.  can anyone help me to understand why the
> polygons did not get saved.
> i am certain that i have saved dozens of times using Project/save.
> i am reluctant to do any more work if i can not be certain that it is
> saving
> --
> Byron Veilleux, MSc. P.Geo
> Conjugate Geologic Services Limited
> Calgary, Alberta Canada
> by...@conjugategeo.com
> Cell:4037108414
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
> <#m_-7993372725875783870_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> 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] FW: Couldn't load SIP module - Windows 10

2021-10-06 Thread Alexandre Neto
Meanwhile, I have been installing anaconda on a windows machine, and I saw
something new.
Have you set Anaconda python to be the default python? I think you
shouldn't.

Please notice that QGIS on conda-forge is not as feature-rich as the one
provided by osgeo4w. There's no GRASS or SAGA, no proprietary drivers to
open ECW and other proprietary formats, and so on.

Alexandre Neto

On Tue, Oct 5, 2021 at 8:12 PM Fred Perloff  wrote:

> Prior to starting QGIS:
>
>
> Path=C:\PROGRA~1\QGIS32~1.3\apps\qt5\bin;C:\PROGRA~1\QGIS32~1.3\apps\Python39\Scripts;C:\PROGRA~1\QGIS32~1.3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem
>
> PYTHONHOME=C:\PROGRA~1\QGIS32~1.3\apps\Python39
>
>
> PYTHONPATH=C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\DLLs;C:\ProgramData\Anaconda3\lib;C:\ProgramData\Anaconda3\lib\site-packages;C:\ProgramData\Anaconda3\lib\site-packages\win32;C:\ProgramData\Anaconda3\lib\site-packages\win32\lib;C:\ProgramData\Anaconda3\lib\site-packages\Pythonwin;
>
> QGIS_PREFIX_PATH=C:/PROGRA~1/QGIS32~1.3/apps/qgis
>
>
> QT_PLUGIN_PATH=C:\PROGRA~1\QGIS32~1.3\apps\qgis\qtplugins;C:\PROGRA~1\QGIS32~1.3\apps\qt5\plugins
>
>
>
> After starting QGIS from OSGeo4W shell:
>
>
> Path=C:\PROGRA~1\QGIS32~1.3\apps\qgis\bin;C:\PROGRA~1\QGIS32~1.3\apps\grass\grass78\lib;C:\PROGRA~1\QGIS32~1.3\apps\grass\grass78\bin;C:\PROGRA~1\QGIS32~1.3\apps\qt5\bin;C:\PROGRA~1\QGIS32~1.3\apps\Python39\Scripts;C:\PROGRA~1\QGIS32~1.3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem
>
> PYTHONHOME=C:\PROGRA~1\QGIS32~1.3\apps\Python39
>
>
> PYTHONPATH=C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\DLLs;C:\ProgramData\Anaconda3\lib;C:\ProgramData\Anaconda3\lib\site-packages;C:\ProgramData\Anaconda3\lib\site-packages\win32;C:\ProgramData\Anaconda3\lib\site-packages\win32\lib;C:\ProgramData\Anaconda3\lib\site-packages\Pythonwin;
>
> QGIS_PREFIX_PATH=C:/PROGRA~1/QGIS32~1.3/apps/qgis
>
>
> QT_PLUGIN_PATH=C:\PROGRA~1\QGIS32~1.3\apps\qgis\qtplugins;C:\PROGRA~1\QGIS32~1.3\apps\qt5\plugins
>
>
>
> PYTHONPATH is owned by Anaconda – QGIS doesn’t seem to touch that variable.
>
> When QGIS starts, it prepends apps\qgis\bin and app\Python39\Scripts to
> the PATH
>
>
>
> I started python from the OSGeo4W console. Here’s output of sys.path:
>
>
>
> ['', 'C:\\ProgramData\\Anaconda3', 'C:\\ProgramData\\Anaconda3\\DLLs',
> 'C:\\ProgramData\\Anaconda3\\lib',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\win32',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\win32\\lib',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\Pythonwin', 'C:\\Program
> Files\\QGIS 3.20.3', 'C:\\PROGRA~1\\QGIS32~1.3\\bin\\python39.zip',
> 'C:\\PROGRA~1\\QGIS32~1.3\\apps\\Python39\\DLLs',
> 'C:\\PROGRA~1\\QGIS32~1.3\\apps\\Python39\\lib',
> 'C:\\PROGRA~1\\QGIS32~1.3\\bin',
> 'C:\\PROGRA~1\\QGIS32~1.3\\apps\\Python39',
> 'C:\\PROGRA~1\\QGIS32~1.3\\apps\\Python39\\lib\\site-packages',
> 'C:\\PROGRA~1\\QGIS32~1.3\\apps\\Python39\\lib\\site-packages\\win32',
> 'C:\\PROGRA~1\\QGIS32~1.3\\apps\\Python39\\lib\\site-packages\\win32\\lib',
> 'C:\\PROGRA~1\\QGIS32~1.3\\apps\\Python39\\lib\\site-packages\\Pythonwin']
>
>
>
> Anaconda goes first, before QGIS. I’m not surprised that QGIS can’t find
> its modules.
>
>
>
> I think I’ll uninstall QGIS, and reinstall from conda-forge.
>
>
>
> *From: *Richard Duivenvoorde 
> *Sent: *Sunday, October 3, 2021 2:59 AM
> *To: *qgis-user@lists.osgeo.org
> *Cc: *Fred Perloff 
> *Subject: *Re: [Qgis-user] FW: Couldn't load SIP module - Windows 10
>
>
>
> On 10/2/21 8:35 PM, Fred Perloff wrote:
>
> > Thank you for your prompt and insightful replies!
>
> >
>
> > I decided to clean the slate – I uninstalled Anaconda & OsGEO4w, and
> rebooted. The PATH was clear of any references to python(s) and there were
> no PYTHONPATH or PYTHONHOME variables.
>
> >
>
> > I reinstalled Anaconda, and made sure that I did NOT add conda to PATH.
> I installed QGIS desktop 3.20 and started the program. I received a very
> similar error message to last time. Both QGIS and Anaconda write to “Python
> path,” though >QGIS entries are first in order.
>
>
>
> Can you start/stop QGIS from the osgeo4w.bat terminal and check the values
> of PATH and PYTHONPATH there? Just to be sure that osgeo4w is ONLY pointing
> to the python versions of osgeo4w (and not tainted by conda's).
>
>
>
> Also: not only check python but also available QT/sip related environment
> variables.
>
>
>
> Another check:
>
> (mmm wanted to ask you to check sys.path in python console in QGIS... but
> THAT you do no

Re: [Qgis-user] Incredibly slow attribute view/access from postgres v3.16

2021-10-06 Thread Alexandre Neto
Hi Andrew,

Long story short, the attributes table code is quite old and needs to be
refactored. Unfortunately, it seems that it is a huge a task, that needs
quite an investment and, until now, no one stepped up to fund it.

Meanwhile, I suggest you avoid using table of attributes and it's tools as
much as you can. You already found one workaround, here's a few more:

- don't use the field calculator inside the attributes table, use the one
in QGIS main window toolbar. Much faster.
- don't use the edit multiple features attributes from within the
attributes table, use the one in the editing toolbar.
-if possible, narrow down the size of the table in rows and columns.

The problem with this tools inside the attribute table is that all rows are
loaded before you can open the attribute table, also, if you try to edit a
few, it will try to update all the rows for display (even that you can only
see a subset)

Hope I have helped.

Alexandre Neto
QGIS Support
www.qcooperative.net

A terça, 5/10/2021, 22:53, Andrew Hughes  escreveu:

> Hi All,
>
> Just to get this out the way... *I don't believe this is a problem with
> the primary key or its index. *
>
> I have a postgis datasource with approx 3 million features (road
> segments). Yep, lot-a-data.
>
> The rendering performance is ok & visible @ 1:50,000+ . Takes a few
> seconds but hey, it's a lot of data and certainly not disappointing.
>
> However, severe performance problems are seen whenever I am trying to work
> with anything related to attribution, such as "Open Attribute Table" or
> "modify the selected features or all attributes simultaneously". We're
> talking around 10 minutes of "*Not Responding*".
>
> Note: I have altered the QGIS "*Settings -> Options -> Data Sources ->
> Feature Attributes and Tables*"so that "*Show selected features*" is
> now the default attribute table behaviour. So *hopefully*, this doesn't
> attempt to load all 3million features.
>
> Can anyone offer any guidance as to what I might be able to do to track
> down this issue (or just fix it)? For reference, we are trying to put
> together a simple editor that will allow a user to browse, select (road
> segment) features, and edit a single text attribute value on all selected
> features only. Fairly simple, but the UI elements we need appear to be in a
> world of pain.
>
> Thanks in advance,
> Andrew
>
>
> ___
> 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] Couldn't load SIP module - Windows 10

2021-10-03 Thread Alexandre Neto
I have never noticed problems, but I will give it a try on a windows
virtual machine. Just to make sure.

In linux I actually use several versions of QGIS, some installed via conda
and they play along just fine.

Alexandre Neto

A sábado, 2/10/2021, 20:15, Fred Perloff  escreveu:

> Just for grins, I uninstalled Anaconda. I started QGIS and Python support
> WAS enabled. Clearly there is a problem with Anaconda and QGIS learning to
> play together!
>
>
>
>
>
> Fred Perloff
>
> f...@perloff.us
>
>
>
> *From: *Alexandre Neto 
> *Sent: *Saturday, October 2, 2021 1:12 AM
> *To: *Richard Duivenvoorde 
> *Cc: *Fred Perloff ; QGIS User
> 
> *Subject: *Re: [Qgis-user] Couldn't load SIP module - Windows 10
>
>
>
> There shouldn't be any problems in using conda and osgeo4w side by side,
> they should both have isolated python environments.
>
>
>
> If I remember well, during conda installation you are asked if you want to
> add conda to the PATH environment variable (can't remember the exact
> wording), you need to say NO. Otherwise conda python will be the default
> python on your machine.
>
>
>
> I agree with Richard, don't mess with osgeo4w scripts or you will end up
> with with an even worst mess.
>
>
>
> Alexandre Neto
>
> A sábado, 2/10/2021, 08:32, Richard Duivenvoorde 
> escreveu:
>
> Hi Fred,
>
> I think indeed the source of your problem is the mixing of different
> versions of python: the one in osgeo4w and the Conda one. When SIP is not
> loaded correctly, you will not have any python based stuff in QGIS (so no
> plugins and processing).
>
> The osgeo4w scripts normally 'isolate' the (python) paths pretty good. If
> I'm correct by actually even clearing your own PATH variable  (??)
> But I think that Conda add's it's path's to your normal (python)path's
> (PATH or PYTHONPATH) variables.
>
> For what I know you should not have  to 'fix' things in the osgeo4w
> scripts, better to make sure your system PATH is not filled with
> PYTHONPATH's or python/bin dirs in PATH.
>
> You could try to start the osgeo4w 'terminal' and check what the
> environment variables PATH and PYTHONPATH are there. If you see conda-paths
> in it, these should be removed (either by removing them from your
> environment (but then you have to 'fix' conda) or by clearing them in the
> osgeo4w bat files...
>
> Hope this helps, regards,
>
> Richard Duivenvoorde
>
>
>
> On 10/2/21 1:14 AM, Fred Perloff wrote:
> > Hi,
> >
> > After a fresh install of OSGeo4W network installer, I start QGISD
> Desktop.  A python error box pops up with the error copied below. I close
> the error window and the program loads. However, if I click on plugins
> settings, I receive the error: No Python support detected.
> >
> > I suspect I know the source of the problem. I have installed Python from
> Anaconda. Anaconda uses an older version of Python and of qt. I modified
> C:\OSGeo4W\etc\ini\python3.bat by prepending
> %OSGEO4W_ROOT%\apps\Python39;%OSGEO4W_ROOT%\apps\Python39\Lib;%OSGEO4W_ROOT%\apps\Python39\Lib\site-packages;
> to PYTHONPATH. There's a curious mix of / and escaped \\ in the resulting
> path.
> >
> > How do I enable loading python __init__.py when the desktop starts?
> > Thanks!
> >
> > Error window:
> >
> > Couldn't load SIP module.
> > Python support will be disabled.
> >
> > Traceback (most recent call last):
> > File "", line 1, in
> > File "C:\OSGeo4W/apps/qgis/./python\qgis\__init__.py", line 82, in
> > from qgis.PyQt import QtCore
> > File "C:\OSGeo4W/apps/qgis/./python\qgis\PyQt\QtCore.py", line 24, in
> > from PyQt5.QtCore import *
> > ImportError: DLL load failed while importing QtCore: The specified
> procedure could not be found.
> >
> > Python version:
> > 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit
> (AMD64)]
> > QGIS version:
> > 3.20.3-Odense 'Odense', 495fbaec
> > Python path:
> > ['C:/OSGeo4W/apps/qgis/./python',
> 'C:/Users/Fred/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python',
> 'C:/Users/Fred/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins',
> 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\ProgramData\\Anaconda3',
> 'C:\\ProgramData\\Anaconda3\\DLLs', 'C:\\ProgramData\\Anaconda3\\lib',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\win32',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\win32\\lib',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\Pythonwin',
> 'C:\\Users\\Fred\\Documents', 'C:\\OSGeo4W\\bin\\python39.zip',
> 'C:\\OSGeo4W\\apps\\Python39\

Re: [Qgis-user] Couldn't load SIP module - Windows 10

2021-10-02 Thread Alexandre Neto
There shouldn't be any problems in using conda and osgeo4w side by side,
they should both have isolated python environments.

If I remember well, during conda installation you are asked if you want to
add conda to the PATH environment variable (can't remember the exact
wording), you need to say NO. Otherwise conda python will be the default
python on your machine.

I agree with Richard, don't mess with osgeo4w scripts or you will end up
with with an even worst mess.

Alexandre Neto

A sábado, 2/10/2021, 08:32, Richard Duivenvoorde 
escreveu:

> Hi Fred,
>
> I think indeed the source of your problem is the mixing of different
> versions of python: the one in osgeo4w and the Conda one. When SIP is not
> loaded correctly, you will not have any python based stuff in QGIS (so no
> plugins and processing).
>
> The osgeo4w scripts normally 'isolate' the (python) paths pretty good. If
> I'm correct by actually even clearing your own PATH variable  (??)
> But I think that Conda add's it's path's to your normal (python)path's
> (PATH or PYTHONPATH) variables.
>
> For what I know you should not have  to 'fix' things in the osgeo4w
> scripts, better to make sure your system PATH is not filled with
> PYTHONPATH's or python/bin dirs in PATH.
>
> You could try to start the osgeo4w 'terminal' and check what the
> environment variables PATH and PYTHONPATH are there. If you see conda-paths
> in it, these should be removed (either by removing them from your
> environment (but then you have to 'fix' conda) or by clearing them in the
> osgeo4w bat files...
>
> Hope this helps, regards,
>
> Richard Duivenvoorde
>
>
>
> On 10/2/21 1:14 AM, Fred Perloff wrote:
> > Hi,
> >
> > After a fresh install of OSGeo4W network installer, I start QGISD
> Desktop.  A python error box pops up with the error copied below. I close
> the error window and the program loads. However, if I click on plugins
> settings, I receive the error: No Python support detected.
> >
> > I suspect I know the source of the problem. I have installed Python from
> Anaconda. Anaconda uses an older version of Python and of qt. I modified
> C:\OSGeo4W\etc\ini\python3.bat by prepending
> %OSGEO4W_ROOT%\apps\Python39;%OSGEO4W_ROOT%\apps\Python39\Lib;%OSGEO4W_ROOT%\apps\Python39\Lib\site-packages;
> to PYTHONPATH. There's a curious mix of / and escaped \\ in the resulting
> path.
> >
> > How do I enable loading python __init__.py when the desktop starts?
> > Thanks!
> >
> > Error window:
> >
> > Couldn't load SIP module.
> > Python support will be disabled.
> >
> > Traceback (most recent call last):
> > File "", line 1, in
> > File "C:\OSGeo4W/apps/qgis/./python\qgis\__init__.py", line 82, in
> > from qgis.PyQt import QtCore
> > File "C:\OSGeo4W/apps/qgis/./python\qgis\PyQt\QtCore.py", line 24, in
> > from PyQt5.QtCore import *
> > ImportError: DLL load failed while importing QtCore: The specified
> procedure could not be found.
> >
> > Python version:
> > 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit
> (AMD64)]
> > QGIS version:
> > 3.20.3-Odense 'Odense', 495fbaec
> > Python path:
> > ['C:/OSGeo4W/apps/qgis/./python',
> 'C:/Users/Fred/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python',
> 'C:/Users/Fred/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins',
> 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\ProgramData\\Anaconda3',
> 'C:\\ProgramData\\Anaconda3\\DLLs', 'C:\\ProgramData\\Anaconda3\\lib',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\win32',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\win32\\lib',
> 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\Pythonwin',
> 'C:\\Users\\Fred\\Documents', 'C:\\OSGeo4W\\bin\\python39.zip',
> 'C:\\OSGeo4W\\apps\\Python39\\DLLs', 'C:\\OSGeo4W\\apps\\Python39\\lib',
> 'C:\\OSGeo4W\\bin', 'C:\\OSGeo4W\\apps\\Python39',
> 'C:\\OSGeo4W\\apps\\Python39\\lib\\site-packages',
> 'C:\\OSGeo4W\\apps\\Python39\\lib\\site-packages\\win32',
> 'C:\\OSGeo4W\\apps\\Python39\\lib\\site-packages\\win32\\lib',
> 'C:\\OSGeo4W\\apps\\Python39\\lib\\site-packages\\Pythonwin']
> > OS version: Windows 10 Version 2009
> > QGIS version: 3.20.3-Odense 495fbaec
> > Qt version: 5.15.2
> > Python version: 3.9.5
> > Windows 10 Pro
> >
> > Fred Perloff
> > f...@perloff.us
> >
> > ___
> > 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] Issue using Symbology Style

2021-08-31 Thread Alexandre Neto
Hello Nuno,

When you use map units, it means that the symbols size will change with the
scale. At some bigger map scales, they can be ao small that disappear, in
other lower scales it can be too big to fit inside a small polygon.

Unless you have a particular reason to use map units, you are better with
millimetres. A symbol with 2 mm will keep that size at all scales.

Alexandre Neto
User support
Www.qcooperative.net

A segunda, 30/08/2021, 23:13, Nuno Manuel de Figueiredo de Santos Loureiro <
nlou...@ualg.pt> escreveu:

> Hello all,
>
> I'm producing a LCLU map and I 've created Symbols with Colours and Font
> Markers. Units are always configured as 'Map Units'.
>
> In some of the polygons the letters appear and disappear when the scale
> changes. The same happens when I prepare Layouts. Depending on the scale
> being used, the letters are either visible or invisible. This does not
> happen on all polygons. It only happens in some...
>
> Can anyone give suggestions on the cause of this problem, and how to solve
> it?
>
> Very grateful in advance!
>
>
> Nuno
>
> ___
> 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] Outer border only + fill

2021-08-23 Thread Alexandre Neto
Dario, QGIS 3.20 has now a merged renderer that you may want to check.

A segunda, 23/08/2021, 15:40, Charles Dixon-Paver 
escreveu:

> You could use a geometry generator symbol style. Not sure of the best
> expression for it but even something like
> if("fid"=1,buffer(collect($geometry),0),0) should work
>
> On Mon, 23 Aug 2021, 16:25 Dario C,  wrote:
>
>> Hi,
>> I have road layer with several pieces of geometry.
>> is there any way to display like a unique polygon? I mean like a merged
>> geometry?
>>
>> I'm able to do it only making a duplicate and assigning "Inverted
>> polygons" with "merge polygons before render" option.
>>
>> Thank you.
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Alexandre Neto
There's some missing spaces in the expression, but I think you got it.

A segunda, 23/08/2021, 23:07, Alexandre Neto 
escreveu:

> I am a bit late, and Charles already provided a working solution, but
> don't forget the extremely useful function eval.
>
> The function as is will compare fieldname to fieldname (returning true)
> and then try to concatenate the string '2' to it...
>
> @NamelengthField != @NamelengthField || '2'
>
>
> Try this:
>
> @NamelengthField || '!=' || @NamelengthField || '2'
>
> It will return the expression you need.
>
> 'length != length2'
>
>  Now, just wrap it on eval() to calculate it.
>
> eval(@NamelengthField || '!=' || @NamelengthField || '2')
>
> Best regards
>
> Alexandre Neto
> User support
> www.qcooperative.net
>
>
>
>
>
>
>
>
>
>
>
> A segunda, 23/08/2021, 18:53, Charles Dixon-Paver 
> escreveu:
>
>> Honestly I have no idea 
>>
>> I mean, of course what is happening is QGIS is needing to identify a
>> field from a text string, and it's even possible that with some convoluted
>> chain of escape characters or funky regex the process could correct itself
>> and "just work".
>>
>> In all likelihood you could have just stumbled onto some obscure bug in
>> the underlying processing API where the context of that field object get's
>> dropped or orphaned when  trying to access it.
>>
>> My assumption is that using attribute() just compensates for whatever is
>> going on under the hood by reinstantiating the context behind the field
>> object, or at the very least provides a robust interface for referencing it
>> ¯\_(ツ)_/¯
>>
>> I would definitely call it a work around though
>>
>> On Mon, 23 Aug 2021 at 18:52, Nicolas Cadieux <
>> njacadieux.git...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )
>>>
>>> ("LENGHT2" is an existing field and @NamelengthField was a model input
>>> string.)
>>>
>>> This worked  for me!   If you have the time, please explain why I needed
>>> the *attribute()* function for this to work.  I looked in the
>>> documentation and did not find it very clear.
>>>
>>> Thanks a million you saved my butt!
>>>
>>> Nicolas
>>>
>>>
>>> On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:
>>>
>>> Hi Nicholas,
>>>
>>> I haven't had time to dig into this extensively or encountered this
>>> particular issue, but I would suggest trying to "force" the expression to
>>> retrieve the correct info regardless of context using something like this:
>>>
>>> with_variable('Length2',  to_string(@NamelengthField) || '2',
>>> if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE,
>>> FALSE))
>>>
>>> That's probably an extreme example but hopefully it illustrates my
>>> point. If you want to share a sample dataset/ model I can try to have a
>>> look at how to resolve it.
>>>
>>> Regards
>>>
>>> On Tue, 20 Jul 2021 at 10:46, Richard McDonnell <
>>> richard.mcdonn...@opw.ie> wrote:
>>>
>>>> Nicolas,
>>>>
>>>> I have not looked at this in too much detail, but at a quick glance,
>>>> could it not be the fact that you should be using the newly created fields?
>>>> As in instead of *@NamelengthField != @NamelengthField || '2'*, should
>>>> it not be more like your previous example *Length != Length2*
>>>>
>>>>
>>>>
>>>> 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

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Alexandre Neto
I am a bit late, and Charles already provided a working solution, but don't
forget the extremely useful function eval.

The function as is will compare fieldname to fieldname (returning true) and
then try to concatenate the string '2' to it...

@NamelengthField != @NamelengthField || '2'


Try this:

@NamelengthField || '!=' || @NamelengthField || '2'

It will return the expression you need.

'length != length2'

 Now, just wrap it on eval() to calculate it.

eval(@NamelengthField || '!=' || @NamelengthField || '2')

Best regards

Alexandre Neto
User support
www.qcooperative.net











A segunda, 23/08/2021, 18:53, Charles Dixon-Paver 
escreveu:

> Honestly I have no idea 
>
> I mean, of course what is happening is QGIS is needing to identify a field
> from a text string, and it's even possible that with some convoluted chain
> of escape characters or funky regex the process could correct itself and
> "just work".
>
> In all likelihood you could have just stumbled onto some obscure bug in
> the underlying processing API where the context of that field object get's
> dropped or orphaned when  trying to access it.
>
> My assumption is that using attribute() just compensates for whatever is
> going on under the hood by reinstantiating the context behind the field
> object, or at the very least provides a robust interface for referencing it
> ¯\_(ツ)_/¯
>
> I would definitely call it a work around though
>
> On Mon, 23 Aug 2021 at 18:52, Nicolas Cadieux 
> wrote:
>
>> Hi,
>>
>> if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE )
>>
>> ("LENGHT2" is an existing field and @NamelengthField was a model input
>> string.)
>>
>> This worked  for me!   If you have the time, please explain why I needed
>> the *attribute()* function for this to work.  I looked in the
>> documentation and did not find it very clear.
>>
>> Thanks a million you saved my butt!
>>
>> Nicolas
>>
>>
>> On 2021-07-20 5:53 a.m., Charles Dixon-Paver wrote:
>>
>> Hi Nicholas,
>>
>> I haven't had time to dig into this extensively or encountered this
>> particular issue, but I would suggest trying to "force" the expression to
>> retrieve the correct info regardless of context using something like this:
>>
>> with_variable('Length2',  to_string(@NamelengthField) || '2',
>> if(attribute(to_string(@NamelengthField)) != attribute(@Length2), TRUE,
>> FALSE))
>>
>> That's probably an extreme example but hopefully it illustrates my point.
>> If you want to share a sample dataset/ model I can try to have a look at
>> how to resolve it.
>>
>> Regards
>>
>> On Tue, 20 Jul 2021 at 10:46, Richard McDonnell 
>> wrote:
>>
>>> Nicolas,
>>>
>>> I have not looked at this in too much detail, but at a quick glance,
>>> could it not be the fact that you should be using the newly created fields?
>>> As in instead of *@NamelengthField != @NamelengthField || '2'*, should
>>> it not be more like your previous example *Length != Length2*
>>>
>>>
>>>
>>> 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 *Nicolas
>>> Cadieux
>>> *Sent:* 20 July 2021 09:27
>>> *To:* Qgis Users List 
>>> *Subject:* Re: [Qgis-user] Problem using Model Inputs variable in an
>>> Select by expression in the model Designer
>>>
>>>
>>>
>>> Hi,
>>>
>>> Does anyone have an idea?
>>>
>>> Nicolas Cadieux
>>>
>>> https://gitlab.com/njacadieux
>>>
>>>
>>>
>>> Le 8 juill. 2021 à 01:17, Nicolas Cadieux 
>>> a écrit :
>>>
>>> 
>>>
>>> Hi,
>>>
&

Re: [Qgis-user] Python for qgis

2021-08-21 Thread Alexandre Neto
Check QGIS documentation. Mainly the PyQGIS Cookbook:

https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/index.html

PyQGIS Api:

https://qgis.org/pyqgis/3.16/

And there's a dedicated book:

https://locatepress.com/book/ppg3

Alexandre Neto
User Support
www.qcooperative.net






A sábado, 21/08/2021, 16:18, Alexandru Munteanu 
escreveu:

> Hi community!
>
> I am wondering if you can help me with information / resources where i
> learn using Python for qgis. I have taken a basic course on Python, but i
> am sure I need to extend my knowledge on how to apply it in qgis.
>
> Thank you in advance for any help you can provide and sources where I can
> find more information on that.
>
> Best,
> Alex
> ___
> 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] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-20 Thread Alexandre Neto
I still don't understand what you mean by updating a group...

Anyway, maybe others have faced similar problems, I would try the qgis-dev
mailing list

Alexandre Neto


On Fri, Aug 20, 2021 at 1:16 PM Jésahel Benoist  wrote:

> Hi Alexandre,
>
> Le jeu. 19 août 2021 à 23:51, Alexandre Neto  a
> écrit :
>
>> Hi,
>>
>> Actually, in the past, most things depended solely on layer names. As
>> Charles mentioned this posed lots of problems when there were layers with
>> the same name.
>>
>
> Yes, it can't be solely on layer names. An id is necessary. But I think a
> random and changing id is a problem too, especially if the user can't
> define it.
>
>
>> Maybe I did not understood the difficulty that you are facing, but if you
>> need to swap layers, instead of loading a new layer and remove the old one,
>> you can simply use the change data source functionality to change the
>> source of UL our data, this will keep your layer id intact. Besides, even
>> if the layer attributes are different, as long as the ones used by atlas,
>> styles, etc are kept, every should keep working fine.
>>
>
> It is fine especially for users using files like shapefiles. But the point
> is not about data sources, it is more about updating layers when needed in
> well defined projects and having their id reinitialised. The source is the
> same.
>
> For example when I'm updating a group of layers about a specific topic,
> users can only update this specific group in their projects. But if they
> do, they'll have to change their templates too. A group may contain
> modified and new layers, what would need a lot of work to simply update.
>
>
>> Besides the change data source option on each layer context menu, you can
>> also use the change data source plugin for when you want to change too many
>> layers.
>>
>
> Yes, I'm using these a lot. It's great, especially when I'm doing portable
> versions of my projects.
>
>
>> Best regards,
>>
>
> Best regards too
>
> Jésahel
>
>
>
>>>
___
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] Themes, visibility, layout, report, atlas and Layer ID vs Layer name

2021-08-19 Thread Alexandre Neto
Hi,

Actually, in the past, most things depended solely on layer names. As
Charles mentioned this posed lots of problems when there were layers with
the same name.

Maybe I did not understood the difficulty that you are facing, but if you
need to swap layers, instead of loading a new layer and remove the old one,
you can simply use the change data source functionality to change the
source of UL our data, this will keep your layer id intact. Besides, even
if the layer attributes are different, as long as the ones used by atlas,
styles, etc are kept, every should keep working fine.

Besides the change data source option on each layer context menu, you can
also use the change data source plugin for when you want to change too many
layers.

Best regards,

Alexandre Neto
User Support
www.qcooperative.net

A quinta, 19/08/2021, 20:58, Jésahel Benoist  escreveu:

> Le jeu. 19 août 2021 à 21:34, Charles Dixon-Paver  a
> écrit :
>
>> Maybe a better discussion to be having is "can we make it possible to
>> manually edit layer ids", but i think that will probably be dependant on
>> the existing QEPs like
>> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/76
>>
>>>
> Thank you for this reference. I'm not so surprised that the team has
> already worked on this change. There's something to do, maybe without going
> so far...
>
>
>
>>>>> ___
> 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] Need help with changing CRS

2021-08-18 Thread Alexandre Neto
Hi,

As David said, the key point here is that you should not change the layers'
CRS (unless it's wrong ofc). Keeping the data original CRS and changing the
project CRS will tell QGIS that on-the-fly transformation is needed for
that layer. This will make you layer, originally in EPSG:4326, look like
it's in the project CRS.

Alexandre Neto
User Support
www.qcooperative.net

A quarta, 18/08/2021, 05:19, Brian Gilhuly 
escreveu:

> That did it, thanks.
>
> I think I previously tried changing the layer CRS, then the project.
>
> Brian
>
>
>
> *From:* David Strip 
> *Sent:* August 17, 2021 23:21
> *To:* Brian Gilhuly ; qgis-user@lists.osgeo.org
> *Subject:* Re: [Qgis-user] Need help with changing CRS
>
>
>
> I'm not sure exactly what you did, but I am a bit concerned by this:
>
> Then I changed the CRS (layer and project)
>
> Try this:
>
> Start with a new project
>
> Add the Natural Earth Admin boundaries layer
>
> Select File->Properties->CRS
>
> Select Mollweide (or whatever you want), then click Apply.
>
>
>
> Note that we are not touching the CRS for the layer.
>
>
>
> I get a radically different projection than WGS 84 (EPSG:4326).
>
>
> On 8/17/2021 7:45 PM, Brian Gilhuly wrote:
>
> I need a world map on which to display country web statistics and, being
> in Canada, want to avoid projections like Mercator with their northern
> distortions. Something like Mollweide or Robinson is more what I am seeking.
>
>
>
> I downloaded the Natural Earth administrative borders map (WGS84) and
> opened it in QGIS 3.20 as the only layer in a new project. So far, so good.
>
>
>
> Then I changed the CRS (layer and project) to Mollweide (ESRI:54009) and
> the on-screen render changed hardly at all. It didn’t remain unchanged, but
> it still looks very much more like WGS84 than Mollweide. The same happens
> if I try to re-project to Robinson (ESRI:54030) or Winkel-Tripel
> (ESRI:54042).
>
>
>
> So far as I can tell, I have followed all the steps outlined in the online
> manual but there must be something obvious that I am missing.
>
>
>
> Can someone set me straight?
>
>
>
> Thanks,
>
> Brian Gilhuly
>
>
>
> ___
>
> 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] How to make a table in a subsection report

2021-08-18 Thread Alexandre Neto
Hello Dario,

Do you mean having the same attribute table divided in two columns?

If so. Yes, that is possible.

Alexandre Neto
User Support Team
www.qcooperative.net

A quarta, 18/08/2021, 08:37, Dario C  escreveu:

> I'm considering to make a custom page with the size of the form and then I
> use Indesign or similar to compose everything.
>
> Thank you for your reply
>
> Il giorno mer 18 ago 2021 alle ore 09:05 Bernd Vogelgesang <
> bernd.vogelges...@gmx.de> ha scritto:
>
>> I only faintly remember making a report last year with a similar problem
>> (maps of photo destinations on different sections of a highway).
>>
>> I think I solved it by adding new columns of combined indices with the
>> subsection (your grid) and the photo-id, because there way no way to do
>> this within the report.
>>
>> Haven't touched the tool since then, cause every redecision on how to
>> design the report lead to a complete new start from scratch, which took
>> too much time.
>>
>> Not sure if it hits your problem. As I said, can't remember well.
>>
>> Good luck,
>>
>> Bernd
>>
>> On 18.08.21 08:53, Dario wrote:
>> > Hi, I have a report with a primary dynamic section where I have a map
>> with a controlled layer (indexed grid). Inside each map I have points
>> (sometime one, sometime more).
>> >
>> > I need to make a subsection with these points (each point has the same
>> indexed grid name, so I can maintain the same order of the map).
>> > The issue is it is requested to make two table (form) for each page and
>> I don’t know if it is possible or not. I mean... what’s happen when I have
>> only one table and how it recognise the sequence between first and second
>> item in the same page?
>> >
>> > Sorry if I was not so clear...
>> >
>> > Thank you in advance for your help
>> >
>> > Cheers
>> >
>> > _
>> > ___
>> > 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] Multiple Python 3 versions and OSGeo4W64

2021-08-09 Thread Alexandre Neto
Ho John,

If you are willing to try, you could install QGIS using conda.

When you create the environment, you can specify what python version to
use, then just install QGIS on that environment and it will work just fine
with python 3.9.

Check my post about it:

https://gisunchained.wordpress.com/2019/05/29/using-qgis-from-conda/

The main caveat will be grass algorithms, it will probably not work.

Best regards,

Alexandre Neto


A terça, 10/08/2021, 03:16, john polo  escreveu:

> Hi,
>
> I have QGIS 3.18 installed on Windows 10. It includes Python 3.7.2. I need
> to use a newer version of Python for programming projects. I tried to work
> with 3.7.2, but packages like numpy use old versions that don't work with
> newer versions of Python. I tried installing Python 3.9.5. I used the
> version available from python.org:
> https://www.python.org/downloads/windows/
>
> I changed some environment variables, specifically anything in PATH that
> would call 3.7.2 when I call Python3 on a cmd prompt. After that, I still
> get this message:
>
> Error processing line 1 of
> C:\OSGeo4W64\apps\Python37\lib\site-packages\matplotlib-3.1.3-py3.7-nspkg.pth:
> Traceback (most recent call last):
> File "C:\OSGeo4W64\apps\Python37\lib\site.py", line 168, in addpackage
>   exec(line)
> File "", line 1, in 
> File "C:\OSGeo4W64\apps\Python37\lib\importlib\__init__.py", line 51,
> in 
>   _w_long = _bootstrap_external._w_long
>   AttributeError: module 'importlib._bootstrap_external' has no attribute
> '_w_long'
>
> whether I use "pipenv" or "py -3.9" ("python launcher") in any directory
> or for different users on the computer. If I call "python3" on the command
> line, a Bing window opens on the Microsoft Store with Python 3.9 ready to
> download. To be clear, I haven't gotten as far as calling "import
> matplotlib".
>
> Since the error references OSGeo4W64, and QGIS is my primary software I
> have installed from that source (I also have GRASS, but don't really use
> it), I was wondering if someone here can point to an environment variable
> that isn't obvious that I should change to call 3.9.5 without any issues?
>
> Cheers,
>
> John
>
> --
> Enlightenment is ego's ultimate disappointment.
> -Chogyam Trungpa
>
> ___
> 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] Clip Tool query

2021-07-17 Thread Alexandre Neto
Actually, if the villages boundaries are all in the same layer, you need to
run the clip tool with the vector iterator option on the village boundary
layer.

See more information here:

https://docs.qgis.org/3.16/en/docs/user_manual/processing/toolbox.html#id10


Best regards,

Alexandre Neto
User Support

www.qcooperative.net



A sábado, 17/07/2021, 14:37, Drew French  escreveu:

> I  think clipping as a batch process is one step.
>
> On Sat, Jul 17, 2021 at 5:33 AM shrawan tripathi <
> shrawantripathi1...@gmail.com> wrote:
>
>> Dear All,
>> I have one query that I have a contour file for a whole District and have
>> a village boundary of all the villages within the district. So I want to
>> create a contour file separately  for all villages from a single process .
>> So could anyone give me an idea about what tool I should use other than
>> Clipping in the batch process?
>>
>> --
>> Warm regards
>> Shrawan Kumar Tripathi
>> GIS Consultant
>>
>> ___
>> 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
>>
>
>
> --
> Drew French
> (715) 986-8088
> www.ecologicaldesign.land
> ___
> 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] Select by Expression: exclusive (not inclusive)

2021-07-15 Thread Alexandre Neto
Hi Andrew,

Try using the NOT outside the IN operator

*NOT "tag_service" IN ('alley', 'drive-through', 'driveway', 'laneway',
'parking_aisle', 'parking')*

Alexandre Neto

User support
www.qcooperative.net


A quinta, 15/07/2021, 08:19, Andrew Hughes  escreveu:

> Thanks Marco,
>
> You've answered my question, so thank you. For reference, I've never see
> this in any sql rmdbs.
>
> Some examples my help the community, hopefully I will be able to
> contribute sooner or later.
>
> Thanks again!
> Andrew
>
>
> On Wed, 7 Jul 2021 at 17:43, GMAIL  wrote:
>
>> This is how sql works.
>> You want to apply a function to one column, and the column you are
>> comparing must have a value.
>> Consider this: tag_service != 'xxx' or null != 'xxx'. Null can't be
>> equal or unequal to any value. Even null = null or null != null returns
>> false
>>
>> hth
>> marco
>> ___
>> 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] Multiplicity in Model Input (Layers)

2021-07-15 Thread Alexandre Neto
Hi Andrew,

You need to use the "multiple input" input type.

Best regards

Alexandre Neto
User support
www.qcooperative.net


A quinta, 15/07/2021, 08:33, Andrew Hughes  escreveu:

> Hi All,
>
> Could any provide some advice as I am new to this and need some guidance
> please.
>
> My model needs to consume data from MULTIPLE Esri rest layers. I can do
> this for on a 1:1 basis where I manually add 1 input vector layer per esri
> rest layer. But that's not great. This model is not easily reusable, as the
> number of layers always varies.
>
> Q1: The merge processor takes in a multi-layers on a single input - but I
> can't see how this is done in a model. Can anyone please explain?
>
> Q2: Is is possible for me to write a python processor that doesn't require
> any project layers as input, it can create the layers itself (in
> code/config) and feed them into the merge processor and output the single
> merged layer?
>
> Thanks in advance
> Andrew
>
> ___
> 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] Rasters in print layout are not aligned 3.20

2021-07-08 Thread Alexandre Neto
Hi Drew,

Check the project CRS and the map item CRS.

Are those layers not aligned also in the main map canvas?

Alexandre Neto

A quinta, 8/07/2021, 19:10, Drew French  escreveu:

> I have noticed that all my rasters, as well as WMS layers, are not aligned
> in print layout. This tells me that there is a setting somewhere that is
> wrong. I am using 3.20 on Linux Mint. All the layers CRS are the same. If I
> could get help with this I would really appreciate it!
>
> --
> Drew French
> (715) 986-8088
> www.ecologicaldesign.land
> ___
> 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] Layer extent

2021-07-06 Thread Alexandre Neto
Hello Marco,

As far as I remember, there's no GUI interface just for that purpose.

You can change the view on the database side to include that extent
condition. Depending on how your view is constructed, that will probably
trigger the spatial indexes.

Alternatively, you can set a filter on QGIS side, you can use for example
ST_intersects if you are on PostGIS. What I am not sure is if indexes are
used or not. They

Alexandre Neto
User support
www.qcooperative.net



A terça, 6/07/2021, 13:33, Marco Casalboni  escreveu:

> Hi all,
> is there a way to manually set up a layer extent?
>
> I have a huge view in SQL that is too slow on loading because qgis scans
> the entire view to find the extent.
> An alternative could be instruct qgis to use a specific spatial index for
> a specific layer
>
> 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] Sum of field value within same cluster

2021-06-22 Thread Alexandre Neto
Hi Dario,

You don't need such complicated expression. There's a cluster variable that
returns the value for you. It's @cluster_value.

This is well documented here:

https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#point-cluster-renderer

Hope it helped.

Alexandre Neto
QGIS Support
www.qcooperative.net



A terça, 22/06/2021, 09:55, Dario C  escreveu:

> Hi,
> I think I'm on the right way using this expression:
>
> aggregate('LayerID','sum',"FIELD",filter:=intersects(buffer($geometry,60),geometry(@parent)))
>
> [image: image.png]
> In point cluster I set 5 mm as distance (size of symbol is 4mm), so I
> thought that the buffer of my expression needed to be 5. Actually 5 does
> not work, so I changed to 5 multiply by the scale of the drawing
> (1/12.000), so I set 60.
> The point is that it works not so precise. In the screenshot you can see
> that, when you have two cluster close each other, the total sum is correct,
> but some parts are shifted to another cluster.
>
> Thanks for your help
>
>
>
> Il giorno dom 20 giu 2021 alle ore 15:15 Dario  ha
> scritto:
>
>> Hi,
>> I’m working on a big scale, so I need to see my points using point
>> cluster.
>> I’d like to see as label the sum of a specific field of the point of the
>> same cluster.
>>
>> I started using aggregate expression and buffer intersection as filter,
>> but nothing good...
>>
>> Thank you in advance.
>>
>> Cheers mm
>>
>> _
>
> ___
> 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] (re)colloring overlapping parts of multipolygons

2021-06-19 Thread Alexandre Neto
Hi Richard,

Are you looking for something on the fly? Or you can run some analysis?

Alex

A sábado, 19/06/2021, 15:54, Richard Duivenvoorde 
escreveu:

>
>
> Hi List,
>
> I'm experimenting to create 'flower'-shaped polygons for a point layer,
> denoting the signal coverage of several directional radio transmitters on a
> pole (fyi: to find/locate bats with small transmitters).
>
> After some fiddling I came to the attached result for a point with 3 (but
> dynamic from attribute) transmitters using the following expression:
>
>  collect_geometries(
>  array_foreach( string_to_array("azimuths"),
>  make_circle( make_point(
> $x + "bereik_m"/2 * cos(radians(@element)),
> $y + "bereik_m"/2* sin(radians(@element))), "bereik_m" )
> ))
>
> The result being a multipolygon with overlapping parts.
>
> In this work the overlapping area'a are (apparently) the most interesting,
> as there the 'location' accuracy is highest.
>
> So my question: is there a way to give the overlapping area's really
> different colors.
> I've been playing with the layer rendering options, but ideally the area's
> in which there is no, 2 parts, 3 parts, and 4 parts overlapping should be
> differently colored..
>
> I could try to create more advanced expressions (or probably I would go
> for some python) for that, but I was hoping maybe there is another
> trick/idea to use current multi-polygons, without adding 'parts'
>
> Any help/tip is appreciated.
>
> Regards & TIA,
>
> Richard Duivenvoorde
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Snapping adjoining existing polygons

2021-06-13 Thread Alexandre Neto
Hello Pat,

(Ignore last message, this is the complete one)

You can try using the processing tool Snap Geometries to layer using the
good layer as reference.

https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#snap-geometries-to-layer

Then, to improve the snapping on segments that the previous tool was not
successful, you can use the reshape tool (advanced digitizing toolbar)
together with the automatic tracing tool (snaping toolbar).

https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#reshape-features

https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#automatic-tracing

Alexandre Neto
QGIS Support
www.qcooperative.net

A domingo, 13/06/2021, 07:19, Alexandre Neto 
escreveu:

> Hello Pat,
>
> You can try using the processing tool Snap Geometries to layer using the
> good layer as reference.
>
>
> https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#snap-geometries-to-layer
>
> Then, to improve the snapping on segments that the previous tool was not
> successful, you can use the reshape tool (advanced digitizing toolbar)
> together with the automatic tracing tool (snaping
>
>
> https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#automatic-tracing
>
> A sábado, 12/06/2021, 23:20, Pat Brown  escreveu:
>
>> I have 2 shape files. One, which has been accurately digitised, contains
>> provinces. The second one, which has been badly digitised, contains regions
>> within the provinces. I now need to edit the regions so that their
>> boundaries snap to the boundaries of the provinces where they are adjacent.
>> I think something like snap and trace should work but I cannot figure out
>> how to do this. Can anyone please advise?
>> ___
>> 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] Snapping adjoining existing polygons

2021-06-13 Thread Alexandre Neto
Hello Pat,

You can try using the processing tool Snap Geometries to layer using the
good layer as reference.

https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#snap-geometries-to-layer

Then, to improve the snapping on segments that the previous tool was not
successful, you can use the reshape tool (advanced digitizing toolbar)
together with the automatic tracing tool (snaping

https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#automatic-tracing

A sábado, 12/06/2021, 23:20, Pat Brown  escreveu:

> I have 2 shape files. One, which has been accurately digitised, contains
> provinces. The second one, which has been badly digitised, contains regions
> within the provinces. I now need to edit the regions so that their
> boundaries snap to the boundaries of the provinces where they are adjacent.
> I think something like snap and trace should work but I cannot figure out
> how to do this. Can anyone please advise?
> ___
> 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] font in Expression box illegible

2021-06-09 Thread Alexandre Neto
I would start by suggesting you to update your QGIS version to 3.16.

If the problem persists, try creating a new user profile in the settings
menu.

Best regards,

Alexandre Neto
User Support
www.qcooperative.net

A quarta, 9/06/2021, 14:20, Jasper Heinz  escreveu:

> Hi there,
>
> I have problems with the font in expression box and python console etc.
> The font is illegible and on top of each other. I have tried changing the
> font size and font but that doesn't seem to affect the font here. It only
> seems to occur on this one machine and does not occur on other machines
> with the same version.
> Version: QGIS Desktop 3.2.3
>
> It would be really great if someone could help me!
>
> Best regards
> Jasper
>
> ___
> 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] Editing attributes in embedded forms

2021-06-01 Thread Alexandre Neto
>From that last error...

Are you sure your table was not changed after being loaded to QGIS? It
seems to expect a sequence that no longer exists.

Alexandre Neto

A terça, 1/06/2021, 12:22, Pekka Sarkola  escreveu:

> Hi Andreas,
>
> Trasnsactions groups are enabled: editing is working (not in embedded
> forms) as expected.
>
> If I enable "Evaluate default values.."-option, I will get error:
>
> 2021-06-01T14:11:44 WARNINGErroneous query: SELECT
> nextval("sample_point_fid_seq"::regclass) returned 7 [ERROR: column
> "sample_point_fid_seq" does not exist
>  LINE 1: SELECT nextval("sample_point_fid_seq"::regclass)
>
> Primary key of the geometry table is "fid" and it has been defined as
> IDENTITY column (fid integer NOT NULL GENERATED ALWAYS AS IDENTITY (
> INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ).
>
> I presume this evaluation of the default values is not the solution for
> this case.
>
> Rgs,
>
> Pekka
>
> Pekka Sarkola
> Gispo Oy
> pekka.sark...@gispo.fi   - GSM +358 40 725 2042
> www.gispo.fi – www.paikkatieto.com
>
>
> ti 1. kesäk. 2021 klo 11.10 Andreas Neumann (a.neum...@carto.net)
> kirjoitti:
>
>> Hi Pekka,
>>
>> Have you enabled the  transaction mode in your project?
>>
>> See menu "Project" --> "Properties" --> "Data Sources".
>>
>> I usually enable all three check boxes:
>>
>> - Automatically create transaction groups where possible
>>
>> - Evaluate default values on provider side
>>
>> - Trust project when data source has no metadata
>>
>> The transaction mode allows to edit all layers from the same data base
>> connection (needs identical db connection string and credentials) and -
>> together with "evaluate default values on provider side" - immediately
>> retrieves primary keys from the DB, so that you can link objects
>> immediately, without having to save first.
>>
>> Greetings,
>>
>> Andreas
>>
>> On 2021-06-01 09:55, Pekka Sarkola wrote:
>>
>> Hi folks!
>>
>> I have a problem editing feature attributes in embedded forms. Data is
>> stored in PostGIS and I have a simple 1:1 relationship with the geometry
>> table and an additional attribute table. QGIS version is 3.18.3 on Ubuntu.
>>
>> I have created a custom form with a drag-and-drop designer. I can edit
>> additional attribute table attributes in embedded form, but those edits are
>> not stored anywhere. I have to open a separate form and then edit attribute
>> values of the related attribute table. This is quite annoying for the end
>> user.
>>
>> Any suggestions? Or should I write a better description to the Github?
>>
>> Rgs,
>>
>> Pekka
>>
>> Pekka Sarkola
>> Gispo Oy
>> pekka.sark...@gispo.fi   - GSM +358 40 725 2042
>> www.gispo.fi – www.paikkatieto.com
>>
>> ___
>> 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] QGIS file version control

2021-05-14 Thread Alexandre Neto
Hi Hugh,

Check this plugin to make you qgs files more trackable:

https://plugins.qgis.org/plugins/trackable_project_files/

Best regards,

Alexandre Neto
User support
www.qcooperative.net


A sexta, 14/05/2021, 18:03, Hugh Kelley  escreveu:

> Hi,
>
> Is anyone aware of any thought or work put into version control for a qgis
> file?
>
> I had a look through the open issues on github and didn't turn anything
> up. I found some conversation about data versioning on stack overflow but
> nothing specific to the qgis file itself.
>
> Unzipping the qgz file and tracking the qgs file with git worked fairly
> smoothly for the few basic tests i just tried. it would become much more
> complicated as some other files get created for more complicated maps are
> built. For instance the .qgd files are binaries which aren't handled very
> well in git.
>
> If anyone is currently using git to version control their qgis projects i
> would be interested in hearing how they manage it and any best practices
> they could share.
>
> Thanks
>
> Hugh
>
> ___
> 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] tfw Parameters

2021-05-14 Thread Alexandre Neto
Hi,

This has to do with projections. Putting it as simple as possible, because
the earth is "round" any try to flatten it (a projection) implies some form
of distortion. Using different projections means different distortions.

When we reproject a raster, that distortion difference is applied to each
pixel, which leads to different pixel sizes and shape.

Best regards,

Alexandre Neto
Users Support
www.qcooperative.net


A terça, 11/05/2021, 07:55, ludwig  escreveu:

> Perhaps because pixels must not necessarily be quadratic? A grafic in Din
> A1 has to sides with a relation of sqrt(2), 594x841mm, I think qgis tries
> to fill the area without rest, which is not possible with quadratic pixels.
> Just a thought...
>
>
>
> Von meinem/meiner Galaxy gesendet
>
>
>  Ursprüngliche Nachricht 
> Von: "Preuß, Sylvia" 
> Datum: 11.05.21 07:55 (GMT+01:00)
> An: 'Marco Lechner' , "Quantum Gis mailinglist (
> qgis-user@lists.osgeo.org)" 
> Betreff: Re: [Qgis-user] tfw Parameters
>
> Hi Marco,
>
>
>
> thank you, the original data is from a SpatiaLite database with EPSG:25832
>
>
>
>
>
> Sylvia
>
>
>
> *Von:* Marco Lechner 
> *Gesendet:* Montag, 10. Mai 2021 16:33
> *An:* Preuß, Sylvia ; Quantum Gis mailinglist (
> qgis-user@lists.osgeo.org) 
> *Betreff:* AW: tfw Parameters
>
>
>
> I’d guess the original TIFF is not EPSG:25832 and is based on a different
> elipsoid?
>
>
>
> best regards
>
> Marco
>
>
>
> *Von:* Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *Im Auftrag
> von *Preuß, Sylvia
> *Gesendet:* Montag, 10. Mai 2021 15:51
> *An:* Quantum Gis mailinglist (qgis-user@lists.osgeo.org) <
> qgis-user@lists.osgeo.org>
> *Betreff:* [Qgis-user] tfw Parameters
>
>
>
>
>
> Hi all,
>
>
>
> I exported vectordata DIN A1 TIFF in EPSG 25832, scale 1:25000 and got
> different Pixelsizes in the worldfile.
>
> 2.116892375645
>
> 0.
>
> 0.
>
> -2.116681770004
>
> 391333.92426485
>
> 5663925.500010723248
>
>
>
> Does anybody know how come?
>
>
>
> Thank you
>
>
>
> Sylvia
>
>
> --
>
>
>
> * Der E-Mail-Dienst des Oberbergischen Kreises dient ausschließlich der
> dienstlichen Kommunikation. Senden Sie deshalb keine E-Mails privaten
> Inhalts an E-Mail-Adressen des Oberbergischen Kreises.*
> Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail
> gerichtet ist, auch deren Vertretung im Amt einen unmittelbaren Zugriff auf
> Ihre Nachricht hat. Für Berufsgeheimnisträger und besondere Funktionsträger
> gelten abweichende Regelungen.
> Es wird außerdem darauf hingewiesen, dass die Kommunikation per E-Mail
> ohne Authentifizierung und Verschlüsselung unsicher ist, da für
> unberechtigte Dritte grundsätzlich die Möglichkeit der Kenntnisnahme und
> Manipulation besteht.
> Es wird deshalb keine Verantwortung für den Inhalt dieser Nachricht
> übernommen, da eine Manipulation nicht ausgeschlossen werden kann.
> Obwohl alle angemessenen Vorkehrungen getroffen wurden, um
> sicherzustellen, dass Anlagen dieser E-Mail virusgeprüft sind, wird
> empfohlen, anhängende Dateien vor dem Öffnen durch Ihr eigenes
> Virus-Programm zu prüfen, da keinerlei Haftung für Schäden übernommen wird,
> die infolge etwaiger Software-Viren entstehen könnten.
> Der Inhalt dieser E-Mail ist ausschließlich für die bezeichnete Person
> bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen
> Vertretung sein sollten, beachten Sie bitte, dass jede Form der
> Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des
> Inhalts dieser E-Mail unzulässig ist. In diesem Fall wird darum gebeten,
> sich mit der absendenden Person der E-Mail in Verbindung zu setzen.
> --
> --
>
>
> * Der E-Mail-Dienst des Oberbergischen Kreises dient ausschließlich der
> dienstlichen Kommunikation. Senden Sie deshalb keine E-Mails privaten
> Inhalts an E-Mail-Adressen des Oberbergischen Kreises.*
> Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail
> gerichtet ist, auch deren Vertretung im Amt einen unmittelbaren Zugriff auf
> Ihre Nachricht hat. Für Berufsgeheimnisträger und besondere Funktionsträger
> gelten abweichende Regelungen.
> Es wird außerdem darauf hingewiesen, dass die Kommunikation per E-Mail
> ohne Authentifizierung und Verschlüsselung unsicher ist, da für
> unberechtigte Dritte grundsätzlich die Möglichkeit der Kenntnisnahme und
> Manipulation besteht.
> Es wird deshalb keine Verantwortung für den Inhalt dieser Nachricht
> übernommen, da eine 

Re: [Qgis-user] Draw Rectangle from three points - can it include distance?

2021-05-06 Thread Alexandre Neto
Hi,

I have just posted this link on another thread:

https://twitter.com/AlexNetoGeo/status/856395509367525376?s=19

Advanced digitising is really what you need. Press 'd', type the distance
you want, press enter to lock it.

Best regards,

Alexandre Neto


A quinta, 6/05/2021, 07:55, Johanna Botman 
escreveu:

> Hi Loic,
>
>
>
> Thanks for your answer. I saw a brief description of that as a
> possibility, but when I tried, it looked quite complicated by using x and y
> coordinates.
>
> I’ll have another look
>
>
>
>
>
>
>
> *Johanna Botman*
>
>
>
> Assets / GIS Officer – Melton City Council
>
>
>
>
>
>
>
> *From:* Loïc Bartoletti [mailto:lbartole...@tuxfamily.org]
> *Sent:* Thursday, 6 May 2021 4:50 PM
> *To:* Johanna Botman ;
> qgis-user@lists.osgeo.org
> *Subject:* Re: [Qgis-user] Draw Rectangle from three points - can it
> include distance?
>
>
>
> Hi,
>
> You can set the distance in the advanced digitzing panel [1]. All shape
> digitizing tools can be used in combination with this panel.
>
> Regards.
>
> Loïc
>
> Le 06/05/2021 à 06:58, Johanna Botman a écrit :
>
> Hi,
>
>
>
> I need to create thousands of polygons for a layer. Sadly, they will all
> be hand drawn. The Draw Rectangle From Three Points is fabulous, but I was
> wondering if there was a way that I could easily see the measurements of
> the rectangle as I draw using that tool? Or is there another tool or method
> I could use?
>
>
>
>
>
>
>
> *Johanna Botman*
>
>
>
> Assets / GIS Officer – Melton City Council
>
>
>
>
>
>
>
>
>
> ***
> The information in this message is privileged and confidential, intended
> only for the use of the individual or entity named above. If you are not
> the intended recipient you are hereby notified to delete the message and
> that any dissemination, copying or use of its content is strictly
> prohibited. If you have received this message in error please notify the
> Melton City Council.
>
> ***
>
>
>
> ___
>
> Qgis-user mailing list
>
> Qgis-user@lists.osgeo.org
>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user=04%7C01%7Cjohannab%40melton.vic.gov.au%7Cadf77cbbc484417215be08d9105b32fe%7C3c254d694e4641f79684759dce781c6a%7C0%7C0%7C637558806618380885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0=JNn2ijEgTcdwSr78HqAHUbWV6%2FfEv%2FJEa1MiWEKuKH4%3D=0>
>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user=04%7C01%7Cjohannab%40melton.vic.gov.au%7Cadf77cbbc484417215be08d9105b32fe%7C3c254d694e4641f79684759dce781c6a%7C0%7C0%7C637558806618380885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0=JNn2ijEgTcdwSr78HqAHUbWV6%2FfEv%2FJEa1MiWEKuKH4%3D=0>
>
>
>
> ***
> The information in this message is privileged and confidential, intended
> only for the use of the individual or entity named above. If you are not
> the intended recipient you are hereby notified to delete the message and
> that any dissemination, copying or use of its content is strictly
> prohibited. If you have received this message in error please notify the
> Melton City Council.
>
> ***
> ___
> 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] question on advanced digitizing

2021-05-06 Thread Alexandre Neto
Here's how I do it.

https://twitter.com/AlexNetoGeo/status/856395509367525376?s=19

Alexandre Neto

A quinta, 6/05/2021, 09:21, Andreas Neumann  escreveu:

> Hi Gabriel,
>
> Yes - this is possible - but it is a bit hard to find.
>
> I will try to explain (and yes, this would need improvements in the
> digitizing chapter of the QGIS manual).
>
> Steps:
>
> 1. Enable Snapping on your active layer
>
> 2. Enable "Self Snapping"
>
> 3. Press the "Add Polygon Feature" button (but don't yet digitize)
>
> 4. Enable "Advanced Digitizing"
>
> 5. In the "Advanced Digitizing" panel select the angles you want to snap to
>
> 6. Start digitizing by pressing the left mouse button and adding the first
> segment with the second click
>
> 7. Add any additional segments by staying with the new segments within the
> angle tolerance in order to get new segments with proper right angles
>
> 8. If you want to close: first press "Alt-A" to fix the angle. Second: go
> to your initial start point and snap to it with the Left Mouse Button
>
> 9. Press "Right Mouse button" to finish editing the polygon
>
> Here is a Video demonstrating the steps:
> https://www.youtube.com/watch?v=JimwOpN8dOU (sorry about my voice, I
> don't have a radio voice ;-) )
>
> As others have pointed out, you can uses the different "Add Rectangle"
> modes in the "Shape Digitizing Toolbars", e.g. "Add Rectangle from 3
> points".
>
> Hope this helps,
>
> Andreas
>
>
> On 2021-05-05 20:38, Gabriel Cotlier wrote:
>
> Hello,
>
> I'm digitizing a square using the advanced digitizing tool, however when
> I'm about to close the rectangle's last angle, the tool doesn't offer me to
> see how to close it with a perfect square angle at the last click. Thus
> cannot finish the figure as a perfect square (four 90 degree angles).
>
> How can I perform the square with the 4 perfect 90 degree angles using the
> digitizing tool?
>
> Thanks a lot for your help.
> Kind regards,
> Gabriel
>
>
>
> ___
> 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] QGIS read-only user

2021-04-27 Thread Alexandre Neto
As Jorge says,

If the database table permissions are well configured, the user can't even
click the edit button on QGIS.

Can you share one table SQL information? For example from pgadmin.

Alexandre Neto

A terça, 27/04/2021, 08:47, Jorge Gustavo Rocha  escreveu:

> Hi Raffaele,
>
> Which database are you using? PostgreSQL?
>
> The database provider does not allow modifications, if the user does not
> have permissions.
>
> Can you confirm that the database changes even if the user does not have
> permission to write?
>
> Regards,
>
> Jorge Gustavo
> On 27/04/21 08:40, Raffaele Ceretto wrote:
>
> Good morning,
>
> I created 2 users on my database.
> one admin and one read-only.
> The read-only one still allows me to edit and delete.
> I get the message "this user does not have the permissions, contact the
> administrator of the database", but does the modification anyway.
> I have tried closing qgis and recreating the connections several times but
> nothing changes.
> It appears to be bypassing the permissions
> Could you help me?
>
> With best regards
>
> ___
> Qgis-user mailing listqgis-u...@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] Fill-down with QGIS expressions

2021-03-28 Thread Alexandre Neto
Sorry,

Can you be more clear? It's not clear to me what you are trying to
accomplish.


Alexandre Neto

A domingo, 28/03/2021, 18:04, Totò  escreveu:

> I have a CSV file [0], how to get the "zona_fill" field?
> The "zona_fill" field is the result of the fill-down of the "zona" column.
>
> I could use various tools external to QGIS, but it would be useful to be
> able to do this with field calc expressions;
>
> does anyone have any ideas on how to make it? or would it be a good idea to
> make a function that does the fill-down?
>
> <http://osgeo-org.1560.x6.nabble.com/file/t378656/fill_down.png>
>
> [0] https://gist.github.com/pigreco/2a90c61456a16dcbf2e49e872c6b9dfa
>
>
>
> -
> https://pigrecoinfinito.com/
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> 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] Selecting profiles

2021-03-18 Thread Alexandre Neto
Hi Edwin,

Is each of the dispatchers working on his own computer? why don't you just
prepare a profile for each type of person and set it as default in their
machines? That way, whatever the project is, they will always see it in non
editing mode. Would that work?

Alexandre Neto

On Thu, Mar 18, 2021 at 5:13 PM Charles Dixon-Paver 
wrote:

> OK... I'll do my best to assist assuming all dispatchers are using Windows
> and QGIS is installed using the OSGeo4W with default settings.
>
> Assuming you had dispatchers named "foo" and "bar", and you had user
> profiles called "foo" and "bar", you could a text file called
> "qgis-foo.cmd" and put the following content in it to fire up QGIS as the
> user "foo":
>
> --
> @echo off
> @setlocal enableextensions
> @cd /d "%~dp0"
>
> Set "MYPROFILE=foo"
>
> %COMSPEC% /C "CALL C:\OSGeo4W64\bin\qgis.bat --profile %MYPROFILE% %*"
> --
>
> Then you can do the same for "qgis-bar.cmd" and change the file to say Set
> "MYPROFILE=bar"
>
> If you wanted to call a particular project, you could use
> "myproject-foo.cmd" and add another parameter like so:
>
> --
> @echo off
> @setlocal enableextensions
> @cd /d "%~dp0"
>
> Set "MYPROFILE=foo"
>
> %COMSPEC% /C "CALL C:\OSGeo4W64\bin\qgis.bat --profile %MYPROFILE%
> --project C:\projects\myproject.qgz %*"
> --
>
> If at all possible I would avoid any spaces in the path to your project,
> or put your cmd file in the same folder as the project and replace
> C:\projects\myproject.qgz with %~dp0\myproject.qgz (%~dp0 just means "path
> to the cmd file")
>
> If, on the other hand, foo and bar log into windows as separate users, you
> could simply copy the relevant profile from your appdata directory and
> place it in their user directory, renaming it to the relevant generic
> profile name. So, for example, you could copy the directory
> "C:\Users\MisterAdministrator\AppData\Roaming\QGIS\QGIS3\profiles\foo" to
> "C:\Users\foo\AppData\Roaming\QGIS\QGIS3\profiles\911"
>
> Then you could just give each user a link to "qgis.cmd" which has the
> following inside:
>
> --
> @echo off
> @setlocal enableextensions
> @cd /d "%~dp0"
>
> Set "MYPROFILE=911"
>
> %COMSPEC% /C "CALL C:\OSGeo4W64\bin\qgis.bat --profile %MYPROFILE% %*"
> --
>
> You could also set the system or user PATH variable to point to
> "qgis.cmd", so all "qgs" and "qgz" files are opened with that launcher by
> default, but that's a bit out of scope for the current conversation.
>
> I hope that helps and is not too confusing.
>
> On Thu, 18 Mar 2021 at 18:39, Ed Hawkins  wrote:
>
>> Thanks for the reply Charles,  I will see if I can try this.  I have VERY
>> little programming experience, and haven't done much with batch files since
>> the days of DOS.  I work at a Emergency 911 and want to give our
>> dispatchers a customized version of QGIS without the editing capability,
>> but there are 3 of us that go and collect addresses and I want to set some
>> variables that will populate certain fields based on who is collecting or
>> editing data(I have figured this part out already) but knowing some of the
>> other collectors they may think it is too much trouble to select a profile
>> which is why I would like them to be forced to select their profile.  I
>> would have figured this would have already been tried by someone else but I
>> can't find anyone who has done it.
>> Thanks again,
>> Ed
>>
>>
>> *Edwin L. Hawkins Jr.,**AASGIS, GISP*
>>
>> Henderson County TN E911
>>
>> GIS Administrator
>>
>> Cell 731.358.7932
>>
>>
>>
>>
>>
>>
>> On Thu, Mar 18, 2021 at 4:24 AM Charles Dixon-Paver 
>> wrote:
>>
>>> Creating a custom shortcut/ launcher is also the only way I can think
>>> of. There was a related thread on this previously in which various possible
>>> solutions using python, bash scripts or windows batchfiles were provided,
>>> which may be useful for your needs.
>>>
>>>
>>> http://osgeo-org.1560.x6.nabble.com/Have-QGIS-prompt-for-profile-to-use-everytime-td5448226.html
>>>
>>> User profiles are usually stored in the user/ appdata directory on the
>>> OS though, so you can also manage access permissions/ profiles through that
>>> depending on your environment setup.
>>>
>>> On Thu, 18 Ma

Re: [Qgis-user] Selecting profiles

2021-03-17 Thread Alexandre Neto
Hi Ed,

The only way I think of is by creating a shortcut that launches QGIS using
the command line tools. Using this, you can specify which profile to use
and which project:

https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#command-line-and-environment-variables

Best regards,

Alexandre Neto
QGIS Support
www.cooperative.net

On Wed, Mar 17, 2021 at 10:44 PM Ed Hawkins  wrote:

> I have created 4 profiles a reader qith no editing capabilities and 3
> editors. I want to force someone opening a project to select a
> user profile. Is that possible and if so how?
> Ed Hawkins
> Henderso County E911
>
> ___
> 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] Learning resources/books for QGIS

2021-03-17 Thread Alexandre Neto
For YouTube, check klas karlsson and Hans  van der kwas channels

https://youtube.com/c/KlasKarlsson
https://youtube.com/c/HansvanderKwast

Safe bets!

Alexandre Neto


A quarta, 17/03/2021, 02:47, Roderick Anderson 
escreveu:

> Thank you to Kirk and Alexandre for the suggestions.
>
> Book wise: I had been looking at "QGIS Map Design" and I think Kurk
> Menke's "QGIS 3"
>
> I'll have to make another pass at the YouTube offerings.  I don't use
> YouTube often so it will be "New adventures in learning."  :-)
>
>
> Thanks,
> Rod
> --
> On 3/12/21 9:39 AM, Roderick Anderson wrote:
> > Good day.
> >
> > I looking for some suggestions of books on learning QGIS.
> >
> > I have some background (very long ago - late 80's / early 90's) with GIS
> > but at that time is was more about mapping not analysis.
> >
> > In fact, I am looking to use QGIS for building maps for personal use.
> > Something along the lines of the Washington state (US) "Map Your
> > Neighborhood" project.  The ability to easily load personal data is
> > important.
> >
> > For me the QGIS Documentation assumes a more current knowledge of the
> > technology and terminology than I have.
> >
> > I've looked at the QGIS book selections but not quite sure which would
> > the best for my needs.
> >
> > Any and all suggestions are welcome.
> >
> >
> > TIA,
> > Rod
> ___
> 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] Learning resources/books for QGIS

2021-03-12 Thread Alexandre Neto
Hi,

Discover QGIS 3, by kurt menke and QGIS Map Design, by anita graser and
grechen peterson, both from locate press are safe bets:

https://locatepress.com/books

Also check Ujaval Gandhi zero to hero tutorials:

https://www.qgistutorials.com/en/

Good luck,

Alexandre Neto

A sexta, 12/03/2021, 17:40, Roderick Anderson 
escreveu:

> Good day.
>
> I looking for some suggestions of books on learning QGIS.
>
> I have some background (very long ago - late 80's / early 90's) with GIS
> but at that time is was more about mapping not analysis.
>
> In fact, I am looking to use QGIS for building maps for personal use.
> Something along the lines of the Washington state (US) "Map Your
> Neighborhood" project.  The ability to easily load personal data is
> important.
>
> For me the QGIS Documentation assumes a more current knowledge of the
> technology and terminology than I have.
>
> I've looked at the QGIS book selections but not quite sure which would
> the best for my needs.
>
> Any and all suggestions are welcome.
>
>
> TIA,
> Rod
> --
> ___
> 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] noobs -- question

2021-03-07 Thread Alexandre Neto
Hello Marc,

Can you share your table SQL definition?
My gut feeling is that you might not have a unique identifier column.

Alexandre Neto
QGIS Support
www.cooperative.net

On Sun, Mar 7, 2021 at 9:51 PM Marc Millas  wrote:

> Hi,
> I may be missing something more than obvious, but ...
> QGIS 3.16 on win 10, postgres 12 with postgis 3.1 (same, machine (intel
> core i9, 64 GB ram, 6TB SSD))
> a postgis table with a column geography(multipolygon, 4326)
> -no pb to display this as a layer over whatever map (OSM standard as an
> exemple).
> -no pb in qgis to go to edition mode, and add a few new polygons, edit the
> table fields and save. fine.
> When I want to edit (ie. change..) one of the existing polygons, I:
> --ask to go to edit mode with right click on that postgis layer
> --select one of the existing polygons, (after choosing the select entity
> icon)
> --??? according to the doc, I should click on the edit node icon. Which is
> grayed.
> the qgis postgres user have all rights to write (proof by the inserts done)
>
> So.. there is something obvious somewhere, but I need some help to guess
> where :-)
> thanks for your help,
> regards,
>
>
> Marc MILLAS
> Senior Architect
> +33607850334
> www.mokadb.com
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Does "Organize columns" work for anybody? (QGIS 3.16)

2021-02-16 Thread Alexandre Neto
Hi Jeff,

If the profile worked, that means something in your current default profile
is causing that.

Normally, the culprit is a third-party plugin, but you excluded that
already. So it must be something else. It would be interesting to compare
both profile folders trying to find what may be causing the problem.

Anyway, when you have several profiles, the last profile to be closed, will
be the one chosen the next time you open QGIS. If that doesn't work, you
can manually determine which profile should be used by editing the
profiles.ini fil inside the profiles folder:

C:\Users\\AppData\Roaming\QGIS\QGIS3\profiles\profiles.ini

The easier way to access this file, is to go to Settings > Users Profiles >
Open current profile folder... and then move one folder down.

To remove a profile, you can simply delete the profile folder. If
no profile folder is found, QGIS will recreate a new Default one.

Best regards,

Alexandre Neto
QGIS User Support
www.cooperative.net

On Wed, Feb 17, 2021 at 2:42 AM Jeff Sonnentag 
wrote:

> Interesting.  So a new profile fixed it so Organize Columns works, but
> what is stored in the profile other than the plugins that are set to
> install?  (I noticed the ones installed before aren’t in the new profile.)
>
>
>
> So I unchecked the plugins in the original “default” profile and that
> didn’t fix the “Organize Columns” crashing.  And the new profile has the
> Recent Projects variable set to 1 just like the default profile was.
>
>
>
> The new profile is working now, but is there a way to just reset the
> default profile?
>
>
>
> Looking at the arrangement of things (profiles in subdirectories) is it
> possible to create a new profile and then copy that into the “default”
> profile subdirectory?  Would that be the recommended way of resetting the
> default profile?
>
>
>
>
>
> *From:* Alexandre Neto 
> *Sent:* Tuesday, February 16, 2021 5:24 PM
> *To:* Jeff Sonnentag 
> *Cc:* qgis-user 
> *Subject:* Re: [Qgis-user] Does "Organize columns" work for anybody?
> (QGIS 3.16)
>
>
>
> Hi,
>
>
>
> It's working here on QGIS 3.16.3 (Ubuntu 18.04 and Windows 10).
>
>
>
> Can you try creating a new profile (settings > user profiles > new
> profile) and try again?
>
> If not, can you share a sample of your data.
>
>
>
> Alexandre Neto
>
> QGIS User support
>
> www.cooperative.net
>
>
>
> On Wed, Feb 17, 2021 at 12:18 AM Jeff Sonnentag <
> jsonnen...@llenviroinc.com> wrote:
>
> So the next problem leading to immediate crash/lockup comes when I try to
> manage multiple columns (I want to hide a bunch of them and right-clicking
> and choosing Hide Column for each one takes forever).
>
>
>
> Does it actually work in QGIS 3.16.3 for anybody?
>
>
>
> When the icon for “Organize columns” (pencil in front of a table) is
> clicked (doesn’t matter what shapefile) QGIS stops working and must be shut
> down with the Windows 10 Task Manager.
>
>
>
>
> https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/attribute_table.html#hiding-and-organizing-columns-and-enabling-actions
>
>
>
> This list of known bugs in the change log mentions that it doesn’t work if
> the table is empty, but the table is NOT empty and it still doesn’t work.
>
>
>
> https://qgis.org/en/site/forusers/visualchangelog316/index.html
>
>
>
> Organize columns not working if the table is empty
>
> #38653 <https://github.com/qgis/QGIS/issues/38653>
>
> Upstream (Qt)
>
>
>
> So is it just me or everybody?
>
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Does "Organize columns" work for anybody? (QGIS 3.16)

2021-02-16 Thread Alexandre Neto
Hi,

It's working here on QGIS 3.16.3 (Ubuntu 18.04 and Windows 10).

Can you try creating a new profile (settings > user profiles > new profile)
and try again?
If not, can you share a sample of your data.

Alexandre Neto
QGIS User support
www.cooperative.net

On Wed, Feb 17, 2021 at 12:18 AM Jeff Sonnentag 
wrote:

> So the next problem leading to immediate crash/lockup comes when I try to
> manage multiple columns (I want to hide a bunch of them and right-clicking
> and choosing Hide Column for each one takes forever).
>
>
>
> Does it actually work in QGIS 3.16.3 for anybody?
>
>
>
> When the icon for “Organize columns” (pencil in front of a table) is
> clicked (doesn’t matter what shapefile) QGIS stops working and must be shut
> down with the Windows 10 Task Manager.
>
>
>
>
> https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/attribute_table.html#hiding-and-organizing-columns-and-enabling-actions
>
>
>
> This list of known bugs in the change log mentions that it doesn’t work if
> the table is empty, but the table is NOT empty and it still doesn’t work.
>
>
>
> https://qgis.org/en/site/forusers/visualchangelog316/index.html
>
>
>
> Organize columns not working if the table is empty
>
> #38653 <https://github.com/qgis/QGIS/issues/38653>
>
> Upstream (Qt)
>
>
>
> So is it just me or everybody?
>
>
>
>
> ___
> 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] File based Geopackage bugs

2021-02-02 Thread Alexandre Neto
Hello Patrick,

Yes, there are (were?) some glitches while working with geopackages. But a
lot of fixes and improvements have been made in recent releases.

I remember a thread in a mailing list about the fid annoyances, but I am
not sure what was the decision.

Regarding geopackage vs spatialite: remember that they are different
beasts. Both are independent implementations on top o SQLite. Maybe a
better route would have been to make spatialite a standard, instead of
creating something new, but...

What version of QGIS are you using?
3.10.?

Can you give it a try in more recent versions or in the nightly builds
(current in development) to see if it helps

Best regards,

Alexandre Neto

A terça, 2/02/2021, 02:13, Patrick Dunford 
escreveu:

> I recall going back someway we were sold this Geopackage idea being
> implemented into Qgis because it was going to be so much better than
> shape files that everyone has been using up to now. I bought into these
> ideas by converting shape files in most of my Qgis projects into
> Geopackage files.
>
> However there appear to be some serious bugs in Qgis' implementation of
> Geopackages as a file based system, and since SQlite has an impeccable
> reputation, it is a reasonable conclusion that there must be significant
> uncorrected bugs in the Qgis code that deals with file based Geopackages.
>
> Here are two examples:
>
> 1. Changing the data table associated with a layer, specifically the
> operation of deleting columns, is almost 100% guaranteed to result in
> automatic deletion of 100% of the features in the layer when the layer
> is saved. I have seen this happen multiple times, whether in a layer
> with 92 features or one with half a million.
>
> 2. Compared to shapefiles, Geopackages add an extra field called a fid
> which is a unique numerical value. For new records, this value is
> automatically generated. This requirement of uniqueness and the field
> apparently being unchangeable by the end user makes it impossible to
> paste features from another table if the values in the fid field for
> pasted features happen to coincide with existing entries in the table.
>
> These two examples are making me consider changing back to shapefiles in
> all my projects because shapefiles did not cause either of these two
> problems. Supposedly a shapefile is more prone to data corruption. This
> may be the case but as the code in Qgis that deals with shapefiles
> appears to be considerably more mature, these considerations have to be
> reasonably weighed against each other.
>
> Particularly in the case of issue 1, this appears to be a regression
> since I do not recall it being an issue on Qgis 2.18 or possibly earlier
> versions of Qgis 3. (I use the LTS edition of Qgis)
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
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] Space Syntax Toolkit

2021-02-01 Thread Alexandre Neto
Yes, that is a good idea.

Good luck!

On Tue, Feb 2, 2021 at 1:37 AM Prof Maurizio Forte, Ph.D. <
maurizio.fo...@duke.edu> wrote:

> Thanks I see it. Perhaps we should install it manually?
>
>
>
>
>
> *From:* Alexandre Neto 
> *Sent:* Monday, February 1, 2021 8:14 PM
> *To:* Prof Maurizio Forte, Ph.D. 
> *Cc:* qgis-user@lists.osgeo.org
> *Subject:* Re: [Qgis-user] Space Syntax Toolkit
>
>
>
> Hi,
>
>
>
> That is really a question for the plugin developers. It seems they are
> still in active development, you can find the code here:
>
>
> https://github.com/SpaceGroupUCL/qgisSpaceSyntaxToolkit/blob/master/esstoolkit/metadata.txt
> <https://urldefense.com/v3/__https:/github.com/SpaceGroupUCL/qgisSpaceSyntaxToolkit/blob/master/esstoolkit/metadata.txt__;!!OToaGQ!-ql2PVyLH1APTUSIZ_D320LFpYka9Xd7bzNxK88b6HNtNJz1dMfagS5BvY_oOLpz5L7Q4w$>
>
>
>
> Best regards,
>
>
>
> Alexandre Neto
>
>
>
> On Mon, Feb 1, 2021 at 11:47 PM Prof Maurizio Forte, Ph.D. <
> maurizio.fo...@duke.edu> wrote:
>
> Hello,
>
> I would like to test the Space Syntax Toolkit plugin in QGIS 3:10 but it
> seems it is not supported. Is there any new release of this plugin usable
> for the latest version of QGIS?
>
> thanks
>
>
>
> Maurizio Forte
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://urldefense.com/v3/__https:/lists.osgeo.org/mailman/listinfo/qgis-user__;!!OToaGQ!-ql2PVyLH1APTUSIZ_D320LFpYka9Xd7bzNxK88b6HNtNJz1dMfagS5BvY_oOLoW1pKNKg$>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://urldefense.com/v3/__https:/lists.osgeo.org/mailman/listinfo/qgis-user__;!!OToaGQ!-ql2PVyLH1APTUSIZ_D320LFpYka9Xd7bzNxK88b6HNtNJz1dMfagS5BvY_oOLoW1pKNKg$>
>
>
___
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] Space Syntax Toolkit

2021-02-01 Thread Alexandre Neto
Hi,

That is really a question for the plugin developers. It seems they are
still in active development, you can find the code here:

https://github.com/SpaceGroupUCL/qgisSpaceSyntaxToolkit/blob/master/esstoolkit/metadata.txt

Best regards,

Alexandre Neto

On Mon, Feb 1, 2021 at 11:47 PM Prof Maurizio Forte, Ph.D. <
maurizio.fo...@duke.edu> wrote:

> Hello,
>
> I would like to test the Space Syntax Toolkit plugin in QGIS 3:10 but it
> seems it is not supported. Is there any new release of this plugin usable
> for the latest version of QGIS?
>
> thanks
>
>
>
> Maurizio Forte
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] error messages Midvatten plugin

2021-02-01 Thread Alexandre Neto
Ciao Azzurra,

Does the windows username of your student has any special characters?

If not, can you ask your student to create a new profile (options > user
profiles > new) and try to install again? Maybe another plugin is
conflicting.

Those are my only guesses. Otherwise you may need to contact the plugin
developer.

Good luck,

Alexandre Neto
QGIS / PostGIS Support
https://www.qcooperative.net



A segunda, 1/02/2021, 17:44, Azzurra Lentini 
escreveu:

> Hi to all,
> a student of mine is using the Midvatten plugin in the qgis 3.10 and 3.16
> versions.
> The operating system of her computer is:  Windows 10.
> This plugin is not properly functioning in her computer (I never had
> problems in mine or in the other computers in university), do you know
> maybe the motivations and what can I suggest to her?:
> 1) First error message when she opened Qgis after the installation of
> Midvatten
> 2) Second error message after uninstalling Midvatten and downloading again
> Midvatten plugin: a  new error message!
>
>
> *1) Error message when she opened Qgis after the installation of Midvatten*
>
> 2021-02-01T09:38:34 WARNINGTraceback (most recent call last):
>   File
> "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 334, in
> _startPlugin
>   plugins[packageName] = package.classFactory(iface)
>   File
> "C:/Users/emedd/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\midvatten\__init__.py",
> line 34, in classFactory
>   from .midvatten import Midvatten
>   File
> "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 792, in
> _import
>   mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "C:/Users/emedd/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\midvatten\midvatten.py",
> line 45, in
>   from tsplot import TimeSeriesPlot
>   File
> "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 792, in
> _import
>   mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "C:\Users\emedd\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\midvatten\tools\tsplot.py",
> line 25, in
>   import matplotlib.pyplot as plt
>   File
> "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 792, in
> _import
>   mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\pyplot.py",
> line 34, in
>   from matplotlib import rcsetup, style
>   File
> "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 792, in
> _import
>   mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\style\__init__.py",
> line 1, in
>   from .core import use, context, available, library,
> reload_library
>   File
> "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 792, in
> _import
>   mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\style\core.py",
> line 222, in
>   reload_library()
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\style\core.py",
> line 221, in reload_library
>   available[:] = library = update_user_library(_base_library)
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\style\core.py",
> line 167, in update_user_library
>   styles = read_style_directory(stylelib_path)
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\style\core.py",
> line 188, in read_style_directory
>   use_default_template=False)
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\__init__.py",
> line 985, in rc_params_from_file
>   config_from_file = _rc_params_in_file(fname, fail_on_error)
>   File
> "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\__init__.py",
> line 918, in _rc_params_in_file
>   for line_no, line in enumerate(fd, 1):
>   File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\codecs.py",
> line 322, in decode
>   (result, consumed) = sel

  1   2   3   4   5   6   >