pyams_gis.zmi package¶
+Submodules¶
+pyams_gis.zmi.interfaces module¶
+pyams_gis.zmi.layer module¶
+-
+
-
+class
pyams_gis.zmi.layer.
EsriFeatureLayerAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_gis.zmi.layer.EsriFeatureLayerAddForm
ESRI feature layer add form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
EsriFeatureLayerAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_gis.zmi.layer.EsriFeatureLayerEditForm
ESRI feature layer edit form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
EsriFeatureLayerAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
ESRI feature layer add form
+-
+
-
+
add
(layer)¶
+
-
+
-
+
ajax_handler
= 'add-esri-feature-layer.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map-signs'¶
+
-
+
-
+
legend
= 'Add ESRI feature layer'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
title
= 'Maps manager'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
EsriFeatureLayerAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuItem
ESRI feature layer add menu
+-
+
-
+
label
= 'Add ESRI feature layer...'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-map-signs'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-esri-feature-layer.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
EsriFeatureLayerEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
ESRI feature layer edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map-signs'¶
+
-
+
-
+
legend
= 'Edit layer properties'¶
+
-
+
-
+
title
¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
GeoportalLayerAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_gis.zmi.layer.GeoportalLayerAddForm
Geoportal layer add form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
GeoportalLayerAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_gis.zmi.layer.GeoportalLayerEditForm
Geoportal layer edit form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
GeoportalLayerAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Geoportal layer add form
+-
+
-
+
add
(layer)¶
+
-
+
-
+
ajax_handler
= 'add-geoportal-layer.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map-o'¶
+
-
+
-
+
legend
= 'Add IGN Geoportal layer'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
title
= 'Maps manager'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
GeoportalLayerAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuItem
Geoportal layer add menu
+-
+
-
+
label
= 'Add Geoportal WMS layer...'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-map-o'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-geoportal-layer.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
GeoportalLayerEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Geoportal layer edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map-o'¶
+
-
+
-
+
legend
= 'Edit layer properties'¶
+
-
+
-
+
title
¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
GoogleMapLayerAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_gis.zmi.layer.GoogleMapLayerAddForm
Google Maps layer add form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
GoogleMapLayerAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_gis.zmi.layer.GoogleMapLayerEditForm
Google Maps layer edit form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
GoogleMapLayerAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Google Maps layer add form
+-
+
-
+
add
(layer)¶
+
-
+
-
+
ajax_handler
= 'add-google-layer.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map-marker'¶
+
-
+
-
+
legend
= 'Add Google Maps layer'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
title
= 'Maps manager'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
GoogleMapLayerAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuItem
Google Maps layer add menu
+-
+
-
+
label
= 'Add Google Maps layer...'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-map-marker'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-google-layer.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
GoogleMapLayerEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Google Maps layer edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map-marker'¶
+
-
+
-
+
legend
= 'Edit layer properties'¶
+
-
+
-
+
title
¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
TileLayerAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_gis.zmi.layer.TileLayerAddForm
Tile layer add form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
TileLayerAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_gis.zmi.layer.TileLayerEditForm
Tile layer edit form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
TileLayerAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Tile layer add form
+-
+
-
+
add
(layer)¶
+
-
+
-
+
ajax_handler
= 'add-tile-layer.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-globe'¶
+
-
+
-
+
legend
= 'Add tile layer'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
title
= 'Maps manager'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
TileLayerAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuItem
Tile layer add menu
+-
+
-
+
label
= 'Add tile layer...'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-globe'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-tile-layer.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
TileLayerEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Tile layer edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-globe'¶
+
-
+
-
+
legend
= 'Edit layer properties'¶
+
-
+
-
+
title
¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
WMSLayerAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_gis.zmi.layer.WMSLayerAddForm
WMS layer add form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
WMSLayerAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_gis.zmi.layer.WMSLayerEditForm
WMS layer edit form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.layer.
WMSLayerAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
WMS layer add form
+-
+
-
+
add
(layer)¶
+
-
+
-
+
ajax_handler
= 'add-wms-layer.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map'¶
+
-
+
-
+
legend
= 'Add WMS layer'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
title
= 'Maps manager'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
WMSLayerAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuItem
WMS layer add menu
+-
+
-
+
label
= 'Add WMS layer...'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-map'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-wms-layer.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.layer.
WMSLayerEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
WMS layer edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map'¶
+
-
+
-
+
legend
= 'Edit layer properties'¶
+
-
+
-
+
title
¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+
pyams_gis.zmi.layer.
handle_new_geoportal_layer_data
(event)¶
+ Handle new layer data extraction
+
pyams_gis.zmi.utility module¶
+-
+
-
+class
pyams_gis.zmi.utility.
MapManagerConfigurationAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_gis.zmi.utility.MapManagerConfigurationEditForm
Map manager edit form, JSON renderer
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerConfigurationEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Map manager edit form
+-
+
-
+
ajax_handler
= 'configuration.json'¶
+
-
+
-
+
dialog_class
= 'modal-large'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
getContent
()¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-map-marker'¶
+
-
+
-
+
legend
= 'Default map configuration'¶
+
-
+
-
+
title
= 'Maps manager'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerConfigurationMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Map manager properties menu
+-
+
-
+
get_url
()¶
+
-
+
-
+
label
= 'Configuration...'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'configuration.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerHeaderAdapter
(context, request, view)¶
+ Bases:
+pyams_skin.page.DefaultPageHeaderAdapter
Map manager view header adapter
+-
+
-
+
icon_class
= 'fa fa-fw fa-map-marker'¶
+
-
+
-
+
subtitle
= 'Maps manager'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerLayersNameColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Map manager layers name column
+-
+
-
+
attrName
= 'name'¶
+
-
+
-
+
weight
= 10¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerLayersTable
(context, request)¶
+ Bases:
+pyams_skin.table.BaseTable
Map manager layers table
+-
+
-
+
data_attributes
¶
+
-
+
-
+
id
= 'map_manager_layers_table'¶
+
-
+
-
+
title
= 'Map manager layers'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerLayersTitleColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,pyams_i18n.column.I18nAttrColumn
Map manager layers title column
+-
+
-
+
attrName
= 'title'¶
+
-
+
-
+
defaultValue
= '--'¶
+
-
+
-
+
weight
= 20¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerLayersTrashCOlumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.TrashColumn
Map manager layer trash column
+-
+
-
+
icon_hint
= 'Delete layer'¶
+
-
+
-
+
permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerLayersTypeColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Map manager layers type column
+-
+
-
+
attrName
= 'layer_type'¶
+
-
+
-
+
getValue
(obj)¶
+
-
+
-
+
weight
= 15¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerMenuItem
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Map manager menu
+-
+
-
+
icon_class
= 'fa-map-marker'¶
+
-
+
-
+
label
= 'Maps manager'¶
+
-
+
-
+
url
= '#map-manager.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerTableElementEditor
(context, request, view)¶
+ Bases:
+pyams_skin.table.DefaultElementEditorAdapter
Map manager table element editor
+-
+
-
+
modal_target
= False¶
+
-
+
-
+
url
¶
+
-
+
-
+
view_name
= 'map-manager.html'¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerValuesAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Map manager layers table values adapter
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_gis.zmi.utility.
MapManagerView
(context, request)¶
+ Bases:
+pyams_zmi.view.AdminView
,pyams_skin.container.ContainerView
Map manager layers view
+-
+
-
+
table_class
¶
+ alias of
+MapManagerLayersTable
-
+
-
+
-
+
pyams_gis.zmi.utility.
delete_map_manager_layer
(request)¶
+ Delete layer from map manager
+
-
+
-
+
pyams_gis.zmi.utility.
get_map_configuration
(request)¶
+ Get map configuration in JSON format
+