:tocdepth: 3 :py:mod:`gws.plugin.qfieldcloud.packager` ========================================= .. py:module:: gws.plugin.qfieldcloud.packager **Source code:** :source:`gws.plugin.qfieldcloud.packager` Module Contents --------------- .. py:class:: Args(*args, **kwargs) Bases: :py:obj:`gws.Data` Basic data object. This object can be instantiated by passing one or or ``dict`` arguments and/or keyword args. All dicts keys and keywords become attributes of the object. Accessing an undefined attribute returns ``None`` and no error is raised, unless the attribute name starts with an underscore. .. py:attribute:: caps :type: gws.plugin.qfieldcloud.caps.Caps .. py:attribute:: mapCacheDir :type: str .. py:attribute:: packageDir :type: str .. py:attribute:: project :type: gws.Project .. py:attribute:: qfcProject :type: gws.plugin.qfieldcloud.core.QfcProject .. py:attribute:: uid :type: str .. py:attribute:: user :type: gws.User .. py:attribute:: withBaseMap :type: bool .. py:attribute:: withData :type: bool .. py:attribute:: withMedia :type: bool .. py:attribute:: withQgis :type: bool .. py:data:: COMPLETE_FILE :value: 'package_complete' .. py:class:: Object .. py:attribute:: args :type: Args .. py:attribute:: caps :type: gws.plugin.qfieldcloud.caps.Caps .. py:attribute:: project :type: gws.Project .. py:attribute:: qfcProject :type: gws.plugin.qfieldcloud.core.QfcProject .. py:attribute:: root :type: gws.Root .. py:attribute:: uid :type: str .. py:attribute:: user :type: gws.User .. py:method:: create_package(root: gws.Root, args: Args) .. py:method:: get_features_for_layer(le: gws.plugin.qfieldcloud.caps.LayerEntry) -> list[gws.Feature] .. py:method:: replace_vars(s: str) -> str .. py:method:: write_base_map() .. py:method:: write_base_map_layer(le: gws.plugin.qfieldcloud.caps.LayerEntry) .. py:method:: write_data() .. py:method:: write_features(le: gws.plugin.qfieldcloud.caps.LayerEntry, ds: gws.gis.gdalx.VectorDataSet) .. py:method:: write_media() .. py:method:: write_qgis_project() .. py:data:: PATH_MAP_FILE :value: 'path_map.json' .. py:class:: QgisXmlTransformer .. py:attribute:: po :type: Object .. py:attribute:: root :type: gws.XmlElement .. py:attribute:: toRemove :type: list[gws.XmlElement] .. py:method:: change_global_props() .. py:method:: cleanup_layer_group(group_el) .. py:method:: remove_elements(el, parent_el) .. py:method:: run(po: Object, root_el: gws.XmlElement) .. py:method:: update_edit_widgets() .. py:method:: update_layer_tree() .. py:method:: update_map_layers() .. py:method:: update_referenced_layers()