[QGIS-Developer] Project definition specifics
andrea antonello
andrea.antonello at gmail.com
Thu Sep 9 23:31:00 PDT 2021
Dear Nyall,
thanks a ton for your reply.
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!
>
That did indeed help a lot, even if not in the direction I hoped for.
I don't have the luxury to access the QGIS API. The mobile app is written
in flutter and that is the language I will have to use, so reading xml
would be a must.
That said, I assume I have 2 possibilities:
1. forget about it
2. start supporting bits and pieces of the project file and try to maintain
it for specific versions, but that sounds like a little nightmare.
Thanks again,
Andrea
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210910/21d50659/attachment.html>
More information about the QGIS-Developer
mailing list