[QGIS-Developer] Project definition specifics

Nyall Dawson nyall.dawson at gmail.com
Thu Sep 9 16:16:40 PDT 2021


On Thu, 9 Sept 2021 at 21:39, andrea antonello
<andrea.antonello at gmail.com> wrote:
>
> Hello developers,
> I would like to investigate the possibility of adding support to load a qgis project into our field mapping application [1]. Could someone please point me to documentation or specs about the project format? Ideally it would contain a description of the xml schema.

Short answer is: formal schema specs don't exist.

Long answer: the only way to determine the XML structure is via the
QGIS source code, but even then it's spread **everywhere** throughout
QGIS. And it changes version by version without any notice, with no
guarantee of backward compatibility. The official project advice is
not to try to read/write the XML directly, but to instead use the QGIS
API to handle this.

Hope that helps!
Nyall




>
> Thanks for any support,
> Andrea
>
>
> [1] https://www.geopaparazzi.org/smash/index.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list