geonode.layers.forms ==================== .. py:module:: geonode.layers.forms Classes ------- .. autoapisummary:: geonode.layers.forms.JSONField geonode.layers.forms.DatasetForm geonode.layers.forms.LayerUploadForm geonode.layers.forms.NewLayerUploadForm geonode.layers.forms.LayerDescriptionForm geonode.layers.forms.LayerAttributeForm geonode.layers.forms.LayerStyleUploadForm geonode.layers.forms.DatasetTimeSerieForm Module Contents --------------- .. py:class:: JSONField Bases: :py:obj:`django.forms.CharField` .. py:method:: clean(text) .. py:class:: DatasetForm(*args, **kwargs) Bases: :py:obj:`geonode.base.forms.ResourceBaseForm` Base form for metadata, should be inherited by childres classes of ResourceBase .. py:class:: Meta Bases: :py:obj:`geonode.base.forms.ResourceBaseForm.Meta` .. py:attribute:: model .. py:attribute:: exclude .. py:attribute:: choices .. py:class:: LayerUploadForm Bases: :py:obj:`django.forms.Form` .. py:attribute:: base_file .. py:attribute:: dbf_file .. py:attribute:: shx_file .. py:attribute:: prj_file .. py:attribute:: xml_file .. py:attribute:: sld_file .. py:attribute:: charset .. py:attribute:: metadata_uploaded_preserve .. py:attribute:: metadata_upload_form .. py:attribute:: style_upload_form .. py:attribute:: spatial_files :value: ['base_file', 'dbf_file', 'shx_file', 'prj_file'] .. py:method:: clean() .. py:method:: write_files() .. py:class:: NewLayerUploadForm Bases: :py:obj:`LayerUploadForm` .. py:attribute:: sld_file .. py:attribute:: xml_file .. py:attribute:: abstract .. py:attribute:: dataset_title .. py:attribute:: permissions .. py:attribute:: charset .. py:attribute:: metadata_uploaded_preserve .. py:attribute:: spatial_files :value: ['base_file', 'dbf_file', 'shx_file', 'prj_file', 'xml_file'] .. py:class:: LayerDescriptionForm Bases: :py:obj:`django.forms.Form` .. py:attribute:: title .. py:attribute:: abstract .. py:attribute:: supplemental_information .. py:attribute:: data_quality_statement .. py:attribute:: purpose .. py:attribute:: keywords .. py:class:: LayerAttributeForm(*args, **kwargs) Bases: :py:obj:`django.forms.ModelForm` .. py:class:: Meta .. py:attribute:: model .. py:attribute:: exclude :value: ('attribute_type', 'count', 'min', 'max', 'average', 'median', 'stddev', 'sum', 'unique_values',... .. py:class:: LayerStyleUploadForm Bases: :py:obj:`django.forms.Form` .. py:attribute:: layerid .. py:attribute:: name .. py:attribute:: update .. py:attribute:: sld .. py:class:: DatasetTimeSerieForm(*args, **kwargs) Bases: :py:obj:`django.forms.ModelForm` .. py:attribute:: _choises .. py:attribute:: choices .. py:class:: Meta .. py:attribute:: model .. py:attribute:: fields :value: ('attribute',) .. py:attribute:: attribute .. py:attribute:: end_attribute .. py:attribute:: presentation .. py:attribute:: precision_value .. py:attribute:: precision_step