Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-09-07 Thread Sandro Santilli via QGIS-Developer
On Tue, Sep 06, 2022 at 06:15:46PM +0200, Paolo Cavallini via QGIS-Developer 
wrote:
> I believe it is the only way to visualize topogeoms from

Just a clarification: the DBManager TopoViewer does not visualize
"TopoGeometry" objects (which is what I usually refer to by
"topogeoms") but simple features being the primitives of topologies.

Visualizing TopoGeometry objects (topology layers) is supported by core
QGIS (PostgreSQL provider) since version 2.0.0 (2012)

--strk;
___
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] Time for db manager to become an "opt-in" plugin?

2022-09-07 Thread Sandro Santilli via QGIS-Developer
On Tue, Sep 06, 2022 at 05:41:34PM +0200, Julien Cabieces via QGIS-Developer 
wrote:

> I added recently one comment in your table regarding TopoViewer because I met
> somebody at Foss4G who was using it. From what I understand, it
> generates several vector layers to visualise topology when extension is
> enabled in PostgreSQL.

I used it everytime I'm dealing with topologies, which is daily, on
work days.

> I don't know if it is widely used, if the feature is stable/maintained
> or if there is other QGIS plugin able to provide such visalization.

It's stable and it's maintained (by me). No other QGIS plugins that I
know of do this. It would be nice to get the code ported to the
browser so to show a tree node containing all the topologies defined in
a database and load that layer tree upon double-clicking on them.

--strk;
___
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] Time for db manager to become an "opt-in" plugin?

2022-09-07 Thread Richard Duivenvoorde via QGIS-Developer

On 9/7/22 14:52, Alexandre Neto via QGIS-Developer wrote:

Hi

Can anyone please create a github project for dbmanager migration? I don't have 
enough permissions for it.


I had never heard of 'projects'... but Alexandre helpt me to create:

https://github.com/orgs/qgis/projects/1

Please let me know if it works...

Regards,

Richard Duivenvoorde

___
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] Writing a driver plugin for a custom vector format

2022-09-07 Thread Alessandro Pasotti via QGIS-Developer
Have look to 
https://github.com/qgis/QGIS/blob/master/tests/src/python/provider_python.py

Hope this helps

On Wed, Sep 7, 2022 at 4:59 PM Martijn Reening via QGIS-Developer
 wrote:
>
> Hi QGIS community,
>
> I am currently working with a custom file format that contains geometry 
> information. The format contains mixed geometry types and some style and meta 
> information.
>
> The geometry is simple to map onto WKT and I have a parser for Python. I 
> would like to integrate this into a QGIS plugin. It seems however that 
> writing drivers for file formats is not really documented in the PyQGIS 
> Developer Cookbook.
>
> My questions are therefore:
>
> Is it possible to introduce support for a custom file format through a plugin?
> At what level should I integrate this? It seems that most formats are handled 
> through GDAL, which has its own plugin system. I would rather have it 
> installable through the QGIS interface
>
> Are there any examples of similar formats (KML/GML) that are handled this way?
>
> Kind regards,
>
> Martijn Reening
> ___
> 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



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
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] Writing a driver plugin for a custom vector format

2022-09-07 Thread Martijn Reening via QGIS-Developer
Hi QGIS community,I am currently working with a custom file format that contains geometry information. The format contains mixed geometry types and some style and meta information.The geometry is simple to map onto WKT and I have a parser for Python. I would like to integrate this into a QGIS plugin. It seems however that writing drivers for file formats is not really documented in the PyQGIS Developer Cookbook.My questions are therefore:Is it possible to introduce support for a custom file format through a plugin?At what level should I integrate this? It seems that most formats are handled through GDAL, which has its own plugin system. I would rather have it installable through the QGIS interfaceAre there any examples of similar formats (KML/GML) that are handled this way?Kind regards,Martijn Reening___
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] Time for db manager to become an "opt-in" plugin?

2022-09-07 Thread Alexandre Neto via QGIS-Developer
Hi

Can anyone please create a github project for dbmanager migration? I don't
have enough permissions for it.

Alexandre Neto

Paolo Cavallini via QGIS-Developer 
escreveu no dia terça, 6/09/2022 à(s) 17:16:

> Hi all,
>
> Il 06/09/22 17:41, Julien Cabieces via QGIS-Developer ha scritto:
> >
> > Hi!
> >
> > I added recently one comment in your table regarding TopoViewer because
> I met
> > somebody at Foss4G who was using it. From what I understand, it
> > generates several vector layers to visualise topology when extension is
> > enabled in PostgreSQL.
> >
> > I don't know if it is widely used, if the feature is stable/maintained
>
> I confirm
>
> > or if there is other QGIS plugin able to provide such visalization.
>
> IMNSHO not. I believe it is the only way to visualize topogeoms from
> PostGIS.
>
> Thanks!
> --
> Paolo Cavallini
> www.faunalia.eu - QGIS.org
> training, support, development on QGIS, PostGIS and more
> ___
> 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


Re: [QGIS-Developer] Problem with LIKE/ILIKE expressions and line breaks

2022-09-07 Thread Andrea Giudiceandrea via QGIS-Developer

Hi Felix,
I can confim the issue is a regression, as the expression works 
correctly with QGIS 3.20.3 and previous versions, while it doesn't since 
QGIS 3.22.0.
It seems to me this issue is a side effect of the "migration" from 
QRegExp to QRegularExpression.


I've submitted the PR https://github.com/qgis/QGIS/pull/50124 which 
fixes this issue, according to my tests.


Regards.

Andrea Giudiceandrea

Il 06/09/2022 14:52, flatoram via QGIS-Developer ha scritto:

Hi,

I have some problems with the expression editor for styling and other 
expressions.
I found a related issue to this problem on github: 
https://github.com/qgis/QGIS/issues/47957

___
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