Re: [QGIS-Developer] question

2024-04-12 Thread Saber Razmjooei via QGIS-Developer
Hi,

You can find more code snippet and examples here:
https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/

Kind regards
Saber

On Fri, 12 Apr 2024 at 11:58, Johannes Kröger (WhereGroup) via
QGIS-Developer  wrote:

> Hi,
>
> afaik the 3D Python API is not fully finalized yet. But you can already
> control some aspects of it from Python, mostly the views themselves.
> This was added recently, see https://github.com/qgis/QGIS/pull/55862
>
> Have fun!
> Hannes
>
> On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer wrote:
> > Hello,
> >
> > I want to post a message (which contains an inquiry) to the qgis
> > developer list.
> > The message is the following:
> >
> > Is there a solid documentation/tutorials on handling 3D on QGIS's
> > python API ? Currently working on a QGIS plugin that exports data in
> > 3D format and trying to make use of the 3D views in QGIS to visualize
> > the outputs. I am aware of the Qgis2threejs plugin
> > (https://github.com/minorua/Qgis2threejs) but I am more interested in
> > working with the native 3D handling of QGIS.
> >
> >
> > Thanks in advance
> >
> >
> > Abdelghani TAMORT
> >
> > ___
> > QGIS-Developer mailing list
> > QGIS-Developer@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> --
> Johannes Kröger / GIS-Entwickler/-Berater
>
> -
> Aufwind durch Wissen!
> Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com
> -
>
> WhereGroup GmbH
> c/o KK03 GmbH
> Lange Reihe 29
> 20099 Hamburg
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
>
> johannes.kroe...@wheregroup.com
> www.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> ---
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
Saber Razmjooei
www.lutraconsulting.co.uk
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Tool to create Mesh from raster layer?

2023-03-21 Thread Saber Razmjooei via QGIS-Developer
Hi Andreas,

Indeed, there is no native tool at the moment to convert raster directly to
mesh. I filed a ticket with a link to this discussion so we can add it to
QGIS later:
https://github.com/qgis/QGIS/issues/52313

But, in general, I would first try to find the source of the DEM raster
(e.g. point cloud or spot survey) and use the raw data to create the mesh.
This will avoid double interpolation :)

Kind regards
Saber


On Mon, 20 Mar 2023 at 14:31, Andreas Neumann via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> and there seems to be https://github.com/heremaps/tin-terrain
>
> However, I am looking for a solution integrated in QGIS ...
>
> On 2023-03-20 14:28, Andreas Neumann via QGIS-Developer wrote:
>
> Hi,
>
> Yes - exporting the raster to xyz points or to contour lines are both
> workarounds.
>
> It would be nice, if QGIS would gain a direct algorithm of creating a mesh
> from a DEM - as many DTMs are provided as raster. It seems like SAGA has a
> raster DTM to TIN algorithm (
> https://saga-gis.sourceforge.io/saga_tool_doc/8.5.1/tin_tools_0.html ) -
> but SAGA is a bit complicated to use within QGIS and SAGA support within
> QGIS processing may disappear in the future. Perhaps we could port the SAGA
> algorithm to QGIS - or maybe an alternative algorithm?
>
> My goal is to replace the raster DTM with a MESH for 3D display - with the
> ability to edit the MESH at important points. The builtin triangulation of
> the QGIS 3D viewer (where you can have a raster DTM as a terrain source) is
> sometimes doing weird things - I'd like to control that better - e.g. by
> introducing additional break lines or manually editing the Mesh.
>
> Andreas
>
> On 2023-03-20 14:20, Stefan Giese (WhereGroup) via QGIS-Developer wrote:
>
> Hi all,
>
> I think it is not nessasary to go through Blender, just use theese two
> algorithm:
>
>- pixeltopoints
>- tinmeshcreation
>
> Best regards
>
> Stefan
> Am 20.03.2023 um 14:11 schrieb Sebastian Gutwein via QGIS-Developer:
>
> The ridiculous work around I use is to go through Blender using the
> BlenderGIS plugin. Import the raster into Blender as a new mesh > Decimate
> the mesh > Export as a shapefile > Run TIN Mesh Creation in QGIS.
>
>
> On Mon, Mar 20, 2023 at 9:03 AM Saber Razmjooei via QGIS-Developer <
> qgis-developer@lists.osgeo.org> wrote:
>
> Hi Andreas,
>
> There should be a tool to convert vector to mesh (under Processing > Mesh
> > TIN Mesh Creation). There will also be some new Processing tools for
> handling point clouds. But I am not aware of any Raster > Mesh tools.
>
> Kind regards
> Saber
>
> On Mon, 20 Mar 2023 at 13:56, Andreas Neumann via QGIS-Developer <
> qgis-developer@lists.osgeo.org> wrote:
>
> Hi QGIS devs,
>
> Is there a tool available to create a Mesh (or TIN as a special mesh
> variation) from a source raster layer containing terrain values?
>
> I did not find one - but maybe I didn't look everywhere.
>
> If not in QGIS - do you know an external Open Source tool that could do
> that, while keeping real world coordinates?
>
> Thanks,
>
> Andreas
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> ___
> Sebastian "Bas* " Gutwein
> *rhymes with Josh
>
> Regenerative Design Group
> 1 Chevalier Ave
> Greenfield, Ma 01301
> Web: regenerativedesigngroup.com
> (631) 241-1018
>
> *Look close, think big, make change. *
>
>
> ___
> QGIS-Developer mailing listqgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> --
> Mit freundlichen Grüßen
> Stefan Giese
> Projektleiter/Consultant
> **
> FOSSGIS Konferenz
> 15.-18. März 2023 in Berlinhttps://fossgis-konferenz.de/2023/
>
> WhereGroup-Beiträge auf der 
> FOSSGIShttps://wheregroup.com/unternehmen/aktuelles/
> **
> WhereGroup GmbH
> Schw

Re: [QGIS-Developer] Tool to create Mesh from raster layer?

2023-03-20 Thread Saber Razmjooei via QGIS-Developer
Hi Andreas,

There should be a tool to convert vector to mesh (under Processing > Mesh >
TIN Mesh Creation). There will also be some new Processing tools for
handling point clouds. But I am not aware of any Raster > Mesh tools.

Kind regards
Saber

On Mon, 20 Mar 2023 at 13:56, Andreas Neumann via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Hi QGIS devs,
>
> Is there a tool available to create a Mesh (or TIN as a special mesh
> variation) from a source raster layer containing terrain values?
>
> I did not find one - but maybe I didn't look everywhere.
>
> If not in QGIS - do you know an external Open Source tool that could do
> that, while keeping real world coordinates?
>
> Thanks,
>
> Andreas
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Re-discussing the QGIS release schedule - in combination with the quarantine rule for LTR versions

2023-03-01 Thread Saber Razmjooei via QGIS-Developer
Hi Andreas,

Thanks for raising this issue.

>From our experience with various large organizations, they generally skip
most of the minor releases. But for those who fund a specific bug fix, they
will immediately upgrade to the latest LTR as soon as the fix appears in
the release.
So, having the current regular releases of LTR suits both sets of users.
The LTR releases can be skipped for most organisations but also crucial for
those who pay to fix a bug in QGIS master and get backported to LTR.

Kind regards
Saber

On Wed, 1 Mar 2023 at 10:24, Andreas Neumann via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Hi,
>
> Like that other decision - that was a bit hard to find (you helped me find
> it in QEP 239) - I don't know exactly where the quarantine rule originated.
> I am pretty sure there was discussion.
>
> Nyall: can you please share some background when and why it was introduced
> and if this decision can be found in some QEP or PSC decision?
>
> Note that I am not questioning the quarantine rule - I think it makes
> sense - but I want to discuss the combination of the quarantine rule with
> the thinned out release cycle - and how we can improve things in this
> respect.
>
> Thank you all for the discussion,
>
> Andreas
>
> On 2023-03-01 10:16, Jürgen E. Fischer via QGIS-Developer wrote:
>
> Hi Andreas,
>
> On Tue, 28. Feb 2023 at 08:55:49 +0100, Andreas Neumann via QGIS-Developer
> wrote:
>
> However, the situation is, that there is also a "quarantine rule" - which
> is not mentioned in QEP 239 - but it helps to prevent untested patches to
> end up in LTR versions, by delaying the backports until the backport was
> first tested in the non-LTR stable release.
>
>
> Where is that quarantine rule?  Is it tied into the backport bot?
>
> In the good old days I'd apply my fixes to master also to the release
> branches,
> once the showed to work in master and didn't produce additional complains
> from
> users of the nightlies.  And that ideally not shortly before the release so
> people could still try the release nightlies.
>
>
> Jürgen
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
Saber Razmjooei
www.lutraconsulting.co.uk
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Point cloud processing, elevation profile & 3D maps enhancements crowdfunding

2022-10-10 Thread Saber Razmjooei via QGIS-Developer
Dear QGIS community,

We have only 2 weeks left on our crowdfunding campaign to bring lots of
exciting new features to QGIS:
https://www.lutraconsulting.co.uk/crowdfunding/pointcloud-processing-qgis/

So far, we have only managed to raise 25% of the target funds. If you work
within a large organization who benefits from using free and open source
QGIS, it is time to ask them to contribute, because free software costs
money to develop and maintain. Without your support, it will not be
possible to add features like these.

Kind regards
Saber

-- 
Saber Razmjooei
www.lutraconsulting.co.uk
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] Problems with MAC and OneDrive

2022-04-04 Thread Saber Razmjooei via QGIS-Developer
Hi Allen,

It is possible to use GeoPackages and synchronise them across multiple
devices/platforms (including mobile devices through https://inputapp.io
which is based on QGIS) using Mergin service (
https://public.cloudmergin.com/ and for your own hosting:
https://github.com/lutraconsulting/mergin). This allows you offline
editing, collaboration with other users and tracking changes.

Kind regards
Saber


On Tue, 5 Apr 2022 at 00:34, Carlo A. Bertelli (Charta s.r.l.) via
QGIS-Developer  wrote:

> Is there versioning control built into OneDrive?
>
> Yes, as you can see here:
>
> https://support.microsoft.com/en-us/office/restore-a-previous-version-of-a-file-stored-in-onedrive-159cad6d-d76e-4981-88ef-de6e96c93893
> you can restore a previous version of a file stored in OneDrive. To what
> means, I don't know, but sharing a SQLite, Spatialite or GPKG on cloud
> storage is really a stress test for the concept of file sharing,
> especially if it's shared (and if you are the same user on two platforms,
> you have to be very very lucky.
>
> On Tue, Apr 5, 2022 at 12:07 AM Patrick Dunford via QGIS-Developer <
> qgis-developer@lists.osgeo.org> wrote:
>
>> I'll endorse that plus in noting that I have seen tables wiped clean
>> with geopackage where there may be multiple users. Even if there is only
>> one actual user, there is a risk with multiple clients on a file based
>> system because there is no inherent mechanism with the file based layers
>> to handle transactions the way there would be with a DBMS server. SQLite
>> is not recommend over a network for multiple clients.
>>
>> That is separate from the other point which is that any one local client
>> can overwrite the cloud version which is risky. Is there versioning
>> control built into OneDrive?
>>
>> On 5/04/22 03:33, Carlo A. Bertelli (Charta s.r.l.) via QGIS-Developer
>> wrote:
>> > Could you please provide some more info about the format of the data?
>> > I think your question does not imply using a DBMS server which I could
>> > suggest in this case. Sharing a file that can be updated on a remote
>> > file system involves some (risky) reaction, but cloud storage is
>> > different, it involves syncronisation and I think it requires some
>> > planning and careful evaluation of the consequences of the choices of
>> > every participant in the workgroup. If you synchronise the empty file
>> > towards a non-empty version... you get an empty file.
>> > Maybe you can recover the work looking to all the revisions of the
>> > same file on Onedrive. Good luck.
>> > c
>> >
>> >
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
Saber Razmjooei
www.lutraconsulting.co.uk
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer