Skip to content

Instantly share code, notes, and snippets.

View pigreco's full-sized avatar
😎

Salvatore Fiandaca pigreco

😎
View GitHub Profile

Support DataPloty: Enhancing Dynamic Charts in QGIS!

About DataPloty

DataPloty is an innovative QGIS plugin that enables users to create dynamic charts directly in print layouts. While it's already helping GIS professionals visualize their data more effectively, as a young project, it needs support to reach its full potential.

Current Challenges

Our plugin currently faces some performance issues:

  • Printing of complex projects can be slow
nro DATE NAME VERSION CATEGORY DESCRIPTION ver
1 2013-09-08 Dufourt QGIS 2.0.0 User Interface New icon theme 2.x
2 2013-09-08 Dufourt QGIS 2.0.0 User Interface Side tabs, collapsable groups 2.x
3 2013-09-08 Dufourt QGIS 2.0.0 User Interface Soft notifications 2.x
4 2013-09-08 Dufourt QGIS 2.0.0 User Interface Application custom font and Qt stylesheet 2.x
5 2013-09-08 Dufourt QGIS 2.0.0 User Interface Live color chooser dialogs and buttons 2.x
6 2013-09-08 Dufourt QGIS 2.0.0 User Interface SVG Annotations 2.x
7 2013-09-08 Dufourt QGIS 2.0.0 User Interface Drag and drop form builder 2.x
8 2013-09-08 Dufourt QGIS 2.0.0 User Interface Default action tool 2.x
9 2013-09-08 Dufourt QGIS 2.0.0 Symbology Data defined properties 2.x
#!/bin/bash
# Definisci la proporzione del ritaglio (larghezza:altezza)
CROP_RATIO="2:1"
# Definisci le directory di input e output
INPUT_DIR="../rename_cropping"
OUTPUT_DIR="./cropping"
# Crea la directory di output se non esiste
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 12 columns, instead of 10 in line 5.
pkuid,cod_reg,cod_prov,den_uts,sigla,shape_leng,shape_area,den_reg,den_rip,ontopia,long,lat
1,1,1,Torino,TO,539673.515131999971345,6828371659.659999847412109,Piemonte,Nord-ovest,https://w3id.org/italia/controlled-vocabulary/territorial-classifications/provinces/001,7°26′20.5″E,45°8′41.3″N
2,1,2,Vercelli,VC,417425.499112999998033,2082173021.319999933242798,Piemonte,Nord-ovest,https://w3id.org/italia/controlled-vocabulary/territorial-classifications/provinces/002,8°12′33.1″E,45°31′31.0″N
3,1,3,Novara,NO,250657.226173000002746,1340539671.720000028610229,Piemonte,Nord-ovest,https://w3id.org/italia/controlled-vocabulary/territorial-classifications/provinces/003,8°33′14.1″E,45°33′48.6″N
4,1,4,Cuneo,CN,489291.467512000002898,6898186047.820000648498535,Piemonte,Nord-ovest,https://w3id.org/italia/controlled-vocabulary/territorial-classifications/provinces/004,7°35′17.8″E,44°28′37.4″N
5,1,5,Asti,AT,312533.292987000022549,1508920340.890000104904175,Piemonte,Nord-ovest,https://w3id.org/italia/controlled-vocabulary/territ
We can't make this file beautiful and searchable because it's too large.
id,link-href,anno-mese,anno,mese,titolo,autore
1713610812-1,http://lists.gfoss.it/pipermail/gfoss/2005-April/date.html,2005-April,2005,April,[Gfoss] Re: workshop Geoesplora(2),Sandro Santilli
1713610812-2,http://lists.gfoss.it/pipermail/gfoss/2005-April/date.html,2005-April,2005,April,[[email protected]: Re: [Gfoss] Re: workshop Geoesplora(2)],sal
1713610812-3,http://lists.gfoss.it/pipermail/gfoss/2005-April/date.html,2005-April,2005,April,[Gfoss] workshop Geoesplora(3),Paolo Cavallini
1713610812-4,http://lists.gfoss.it/pipermail/gfoss/2005-April/date.html,2005-April,2005,April,[Gfoss] ps,Paolo Cavallini
1713610812-5,http://lists.gfoss.it/pipermail/gfoss/2005-April/date.html,2005-April,2005,April,[Gfoss] workshop Geoesplora(3),strk
1713610812-6,http://lists.gfoss.it/pipermail/gfoss/2005-April/date.html,2005-April,2005,April,[Gfoss] workshop Geoesplora(3),Maurizio Napolitano
1713610812-7,http://lists.gfoss.it/pipermail/gfoss/2005-April/date.html,2005-April,2005,April,[Gfoss] workshop Geoesplora(3),Maurizio
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 4 columns, instead of 3 in line 8.
PRO_COM,COMUNE,GEOS_GetLastWarningMsg(),coord_punto
72001,Acquaviva delle Fonti,Ring Self-intersection at or near point 1158442.6376999998 4556057.8583000004,POINT(1158442.6377 4556057.8583)
87009,Bronte,Ring Self-intersection at or near point 1028304.0548 4195170.1164999995,POINT(1028304.0548 4195170.1165)
24018,Caldogno,Self-intersection at or near point 695843.26275384938 5054095.577508538,POINT(695843.262754 5054095.577509)
90035,La Maddalena,Ring Self-intersection at or near point 528108.51559999958 4571486.8072999995,POINT(528108.5156 4571486.8073)
29041,Rovigo,Self-intersection at or near point 715837.53051888163 4995712.1190747796,POINT(715837.530519 4995712.119075)
72037,Rutigliano,Ring Self-intersection at or near point 1177064.5067999996 4571209.1926000006,POINT(1177064.5068 4571209.1926)
72040,Sannicandro di Bari,Ring Self-intersection at or near point 1154968.4281000001 4561653.8167000003,POINT(1154968.4281 4561653.8167)
81019,Santa Ninfa,Ring Self-intersection at or near point 841730.11459999997
name period year Flagship annual amaunt
Felt March 1, 2024 - Feb. 28, 2025 2025 Flagship 27000 27000
QGIS user group Denmark March 1, 2024 - Feb. 28, 2025 2025 Large 9000 20000
QGIS user group Switzerland March 1, 2024 - Feb. 28, 2025 2025 Large 9000 9000
QGIS user group Sweden March 1, 2024 - Feb. 28, 2025 2025 Large 9000 9000
QGIS Gebruikersgroep Nederland Jan. 1, 2024 - Feb. 28, 2025 2025 Large 9000 9000
QGIS user group Germany March 1, 2024 - Feb. 28, 2025 2025 Large 9000 9000
OPENGIS.ch GmbH March 1, 2024 - Feb. 28, 2025 2025 Large 9000 9000
Land Vorarlberg March 1, 2024 - Feb. 28, 2025 2025 Large 9000 8000
GeoCat bv Jan. 1, 2024 - Feb. 28, 2025 2025 Medium 3000 3000
nro DATE NAME VERSION CATEGORY DESCRIPTION ver
1 2013-09-08 Dufourt QGIS 2.0.0 User Interface New icon theme 2.x
2 2013-09-08 Dufourt QGIS 2.0.0 User Interface Side tabs, collapsable groups 2.x
3 2013-09-08 Dufourt QGIS 2.0.0 User Interface Soft notifications 2.x
4 2013-09-08 Dufourt QGIS 2.0.0 User Interface Application custom font and Qt stylesheet 2.x
5 2013-09-08 Dufourt QGIS 2.0.0 User Interface Live color chooser dialogs and buttons 2.x
6 2013-09-08 Dufourt QGIS 2.0.0 User Interface SVG Annotations 2.x
7 2013-09-08 Dufourt QGIS 2.0.0 User Interface Drag and drop form builder 2.x
8 2013-09-08 Dufourt QGIS 2.0.0 User Interface Default action tool 2.x
9 2013-09-08 Dufourt QGIS 2.0.0 Symbology Data defined properties 2.x
nro DATE NAME VERSION CATEGORY DESCRIPTION ver
1 2013-09-08 Dufourt QGIS 2.0.0 User Interface New icon theme 2.x
2 2013-09-08 Dufourt QGIS 2.0.0 User Interface Side tabs, collapsable groups 2.x
3 2013-09-08 Dufourt QGIS 2.0.0 User Interface Soft notifications 2.x
4 2013-09-08 Dufourt QGIS 2.0.0 User Interface Application custom font and Qt stylesheet 2.x
5 2013-09-08 Dufourt QGIS 2.0.0 User Interface Live color chooser dialogs and buttons 2.x
6 2013-09-08 Dufourt QGIS 2.0.0 User Interface SVG Annotations 2.x
7 2013-09-08 Dufourt QGIS 2.0.0 User Interface Drag and drop form builder 2.x
8 2013-09-08 Dufourt QGIS 2.0.0 User Interface Default action tool 2.x
9 2013-09-08 Dufourt QGIS 2.0.0 Symbology Data defined properties 2.x
@pigreco
pigreco / Get_Pdf_N_Pages.py
Created September 13, 2023 16:57
Funzione personalizzate per field clac by Giulio
# Korto19 2023
from qgis.core import *
from qgis.gui import *
from PyPDF2 import PdfReader
@qgsfunction(group='HfcQGIS',referenced_columns=[])
def Get_Pdf_N_Pages(pdfpath):
"""
Restituisce il numero di pagine di un pdf dando il percorso
<h2>Example usage:</h2>