This Python script defines a QGIS plugin named LeicaXML2QGIS. Its primary function is to provide a user interface within the QGIS application to import coordinate data from a LandXML (*.xml) file and display it as points in a QGIS map layer. Key Features GUI Integration: The plugin integrates into the QGIS menu system, adding an action labeled "LandXML ➜ KML" (though the code actually handles LandXML input and point extraction). File Selection: It uses the standard QGIS file dialog to allow the user to select the LandXML file. Data Processing: Upon selection, it calls an external function (extract_and_display_points) to parse the LandXML data, specifically extracting point coordinates, and then displays these points in QGIS. Error Handling: It includes basic error handling with pop-up messages to inform the user of success or any issues encountered during the file processing. The success message incorrectly indicates KML generation (KML generato), but the core function is the extraction and display of points from the LandXML file in QGIS.
Leica XML to QGIS plugin
a. pavan
;
2025-01-01
Abstract
This Python script defines a QGIS plugin named LeicaXML2QGIS. Its primary function is to provide a user interface within the QGIS application to import coordinate data from a LandXML (*.xml) file and display it as points in a QGIS map layer. Key Features GUI Integration: The plugin integrates into the QGIS menu system, adding an action labeled "LandXML ➜ KML" (though the code actually handles LandXML input and point extraction). File Selection: It uses the standard QGIS file dialog to allow the user to select the LandXML file. Data Processing: Upon selection, it calls an external function (extract_and_display_points) to parse the LandXML data, specifically extracting point coordinates, and then displays these points in QGIS. Error Handling: It includes basic error handling with pop-up messages to inform the user of success or any issues encountered during the file processing. The success message incorrectly indicates KML generation (KML generato), but the core function is the extraction and display of points from the LandXML file in QGIS.| File | Dimensione | Formato | |
|---|---|---|---|
|
LeicaXML2QGIS.zip
accesso aperto
Licenza:
Non specificato
Dimensione
3.15 kB
Formato
Zip File
|
3.15 kB | Zip File | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


