Skip to content

Instantly share code, notes, and snippets.

View pigreco's full-sized avatar
😎

Salvatore Fiandaca pigreco

😎
View GitHub Profile
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis minScale="100000000" symbologyReferenceScale="-1" labelsEnabled="0" simplifyAlgorithm="0" simplifyDrawingTol="1" simplifyDrawingHints="1" hasScaleBasedVisibilityFlag="0" simplifyLocal="1" readOnly="0" maxScale="0" version="3.28.1-Firenze" simplifyMaxScale="1" styleCategories="LayerConfiguration|Symbology|Labeling|Rendering|CustomProperties|GeometryOptions">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
<Private>0</Private>
</flags>
<renderer-v2 type="singleSymbol" referencescale="-1" symbollevels="0" forceraster="0" enableorderby="0">
<symbols>
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis minScale="100000000" symbologyReferenceScale="-1" labelsEnabled="0" simplifyAlgorithm="0" simplifyDrawingTol="1" simplifyDrawingHints="1" hasScaleBasedVisibilityFlag="0" simplifyLocal="1" readOnly="0" maxScale="0" version="3.28.1-Firenze" simplifyMaxScale="1" styleCategories="LayerConfiguration|Symbology|Labeling|Rendering|CustomProperties|GeometryOptions">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
<Private>0</Private>
</flags>
<renderer-v2 type="singleSymbol" referencescale="-1" symbollevels="0" forceraster="0" enableorderby="0">
<symbols>
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis minScale="100000000" symbologyReferenceScale="-1" labelsEnabled="0" simplifyAlgorithm="0" simplifyDrawingTol="1" simplifyDrawingHints="1" hasScaleBasedVisibilityFlag="0" simplifyLocal="1" readOnly="0" maxScale="0" version="3.28.1-Firenze" simplifyMaxScale="1" styleCategories="LayerConfiguration|Symbology|Labeling|Rendering|CustomProperties|GeometryOptions">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
<Private>0</Private>
</flags>
<renderer-v2 type="singleSymbol" referencescale="-1" symbollevels="0" forceraster="0" enableorderby="0">
<symbols>
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
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 11 columns, instead of 3. in line 6.
Layer_N,Layer_Group_Level,Layer_Storage,Layer_Name,Geometry_Not_Valid,Layer_Crs,Layer_Type,Layer_Type_Name,Layer_Feature_Count,Layer_Meta_Abstract,link
"1",root - Palermo_dbsn - ,OpenFileGDB,a_scom,"0",EPSG:6875,"6",MultiPolygon,"0",,https://www.igmi.org/boaga_caloger_api4242_rosbind/dbsn/dbsn_specs_all.html#F090111
"2",root - Palermo_dbsn - ,OpenFileGDB,ab_cda,"0",EPSG:6875,"1006",MultiPolygonZ,"1",,https://www.igmi.org/boaga_caloger_api4242_rosbind/dbsn/dbsn_specs_all.html#F040101
"3",root - Palermo_dbsn - ,OpenFileGDB,acq_in,"0",EPSG:6875,"6",MultiPolygon,"273",,https://www.igmi.org/boaga_caloger_api4242_rosbind/dbsn/dbsn_specs_all.html#F090108
"4",root - Palermo_dbsn - ,OpenFileGDB,acq_ter,"0",EPSG:6875,"6",MultiPolygon,"0",,https://www.igmi.org/boaga_caloger_api4242_rosbind/dbsn/dbsn_specs_all.html#F090107
"5",root - Palermo_dbsn - ,OpenFileGDB,af_acq,"0",EPSG:6875,"1001",PointZ,"89",,https://www.igmi.org/boaga_caloger_api4242_rosbind/dbsn/dbsn_specs_all.html#F040104
"6",root - Palermo_dbsn - ,OpenFileGD
@pigreco
pigreco / get_catg_label.py
Created June 2, 2022 10:23
Funzione personalizzata per il field calc, estrae i valori delle label dei simboli categorizzati
from qgis.core import *
from qgis.gui import *
from qgis.utils import iface
@qgsfunction(args='auto', group='Custom')
def get_catg_label(value_in, feature, parent):
"""
Restituisce il testo della legenda dell'elemento categorizzato:
<br>
<p><b>il campo in input e' quello utilizzato per la categorizzazione</b>
@pigreco
pigreco / issue.txt
Created April 18, 2022 11:51
numero totale di issue aperte e con label
curl "https://api.github.com/search/issues?q=repo:qgis/QGIS+type:issue+state:open+label:bug&per_page=1" | grep -m 1 "total_count"
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
nro,version,name,category,description,developed,funded
1,QGIS 3.24,Tisler,User Interface,Easier creation of custom coordinate reference systems,Mathieu Pellerin,-
2,QGIS 3.24,Tisler,Symbology,Marker/hash line: offsets along line by &quot;percent&quot; of line length (and negative offsets!),Nyall Dawson,-
3,QGIS 3.24,Tisler,Symbology,Control whether first/last vertex placements apply to every part of multi-part geometries,Nyall Dawson,"North Road, SLYR "
4,QGIS 3.24,Tisler,Symbology,Marker/hash line &quot;on vertices&quot; placement option replaced by &quot;on inner vertices&quot;,Nyall Dawson,"North Road, SLYR "
5,QGIS 3.24,Tisler,Symbology,Placement options in marker and hash line symbol layers are now checkboxes instead of mutually exclusive buttons,Nyall Dawson,"North Road, SLYR "
6,QGIS 3.24,Tisler,Symbology,Control the color model used when interpolating gradient ramps,Nyall Dawson,"North Road, SLYR "
7,QGIS 3.24,Tisler,Symbology,Resizable thumbnails in the style manager dialog,Nyall Dawson,"North Road,
nro DATE NAME VERSION CATEGORY DESCRIPTION
1 2013-09-08 Dufourt QGIS 2.0.0 User Interface New icon theme
2 2013-09-08 Dufourt QGIS 2.0.0 User Interface Side tabs, collapsable groups
3 2013-09-08 Dufourt QGIS 2.0.0 User Interface Soft notifications
4 2013-09-08 Dufourt QGIS 2.0.0 User Interface Application custom font and Qt stylesheet
5 2013-09-08 Dufourt QGIS 2.0.0 User Interface Live color chooser dialogs and buttons
6 2013-09-08 Dufourt QGIS 2.0.0 User Interface SVG Annotations
7 2013-09-08 Dufourt QGIS 2.0.0 User Interface Drag and drop form builder
8 2013-09-08 Dufourt QGIS 2.0.0 User Interface Default action tool
9 2013-09-08 Dufourt QGIS 2.0.0 Symbology Data defined properties