Natura 2000 Network

The Natura 2000 network (RN2000) is a set of areas of natural interest protected at a European level. The RN2000 concerns all of the EU territory and was established under Directive 92/43 / EEC "Habitats" with the main goal of ensuring the long-term maintenance of natural habitats and threatened or rare species of flora and fauna at EU level. It is comprised of two types of protected areas: 1) the Sites of Community Importance (SCIs), identified by the Member States according to what is set forth by the EU Habitats Directive, which are subsequently designated as Special Areas of Conservation (SACs); 2) the Special Protection Areas (SPAs) classified in accordance with the Birds Directive on the conservation of wild birds (Directive 2009/147/EC). On 7 November 2013 the European Commission approved the latest (the seventh) updated list of Natura 2000 Sites for the three biogeographical regions concerning Italy (alpine, continental, and Mediterranean): 2310 SCIs have been identified (of which 272 have been designated SACs) and 610 SPAs, covering about 19% of the national territory and 4% of the territorial waters. The Emilia Romagna Region can boast 158 Sites. For further information please visit:

La Direttiva 92/43/CEE "Habitat"(ita)

La Direttiva 79/409/CEE "Uccelli"(ita)

La Rete Natura 2000 (ita)

SIC, ZSC e ZPS in Italia (ita)

La Rete Natura 2000 in Emilia Romagna (ita)


class "Downloads" already exists while executing "::itcl::class Downloads { inherit Barbie private variable downloads_menu "" public common downloads_dir public me..." (in namespace eval "::rwdatas" script line 3) invoked from within "namespace eval ::rwdatas { ::itcl::class Downloads { inherit Barbie private variable downloads_menu "" public common ..."

OUTPUT BUFFER:

source [file join $rweb_root tcl before.tcl] # # -- downloads.tcl # # yet another datasource for controlling document downloads # #::rivet::apache_log_error notice "sourcing file [info script]" # package require Barbie package require rwbinary namespace eval ::rwdatas { ::itcl::class Downloads { inherit Barbie private variable downloads_menu "" public common downloads_dir public method willHandle {arglist keyvar} public method init {args} public method menu_list {page} public method is_stale {key timereference} #public proc to_url {lm} { return [Barbie::to_url $lm] } public proc list_downloads {dbhandle {public "%"}} protected method create_page_obj {key ooclass reassigned_key} { return ""} } ::itcl::body Downloads::is_stale {key timereference} { if {$key == "download_doc"} { return true } return [chain $key $timereference] } ::itcl::body Downloads::list_downloads {dbhandle {public "%"}} { set q { select d.*,s.descrizione,s.sectionid from documenti d \ join sezioni s on d.sezione=s.sectionid \ where d.pubblico like '$public' \ order by s.sectionid,s.ordine,d.ordine,d.docid; } set docsdb [dict create] #puts "
[subst $q]
" $::barbie::dbhandle forall [subst $q] document { set sectionid $document(sectionid) unset document(sectionid) set sezione_descrizione $document(descrizione) unset document(descrizione) set docid $document(docid) unset document(docid) dict set docsdb $sectionid descrizione $sezione_descrizione dict set docsdb $sectionid documenti $docid [dict create {*}[array get document]] } return $docsdb } ::itcl::body Downloads::willHandle {arglist keyvar} { upvar $keyvar key set args_d [dict create {*}$arglist] if {[dict exists $args_d downloads]} { set key listdownloads return -code break -errorcode rw_ok } if {[dict exists $args_d dwnl]} { set key download_doc return -code break -errorcode rw_ok } return -code continue -errorcode rw_continue } ::itcl::body Downloads::init {args} { set downloads_dir [file join $::rivetweb::site_base docs] $this key_class_map download_doc ::rwpage::BinaryFile $this key_class_map listdownloads ::rwpage::DownloadMgr set mm $::rivetweb::menumodel set lm $::rivetweb::linkmodel set downloads_menu [$mm create_menu downloadsmanager root normal] $downloads_menu assign title "Documenti" $::rivetweb::default_lang $downloads_menu assign title "Documents" en set downloads_link [$lm create FileUpload "" \ { it "Download Documenti" en "Documents Download" } \ [dict create downloads 1] \ [dict create it "Download documenti" \ en "Documents Download"]] $downloads_menu add_link $downloads_link } ::itcl::body Downloads::menu_list {page} { return [list documenti $downloads_menu] } ::itcl::body Downloads::create_page_obj {key ooclass reassigned_key} { upvar $reassigned_key rkey set rkey $key set p "" switch $key { download_doc { set docid [::rivet::var_qs get dwnl] set d [::barbie::Documenti #auto] set nr [$d fetch $::barbie::dbhandle [list docid $docid] dd] if {[::barbie::is_logged] || [::barbie::is_supervisor]} { set filter 1 } else { set filter [expr $dd(pubblico) == "y"] } if {($nr > 0) && $filter} { set binary_file [file join $downloads_dir $dd(filename)] set p [$ooclass ::#auto $key $binary_file] } else { return -code error "Documento inaccessibile" } $d destroy } listdownloads { set p [$ooclass ::#auto $key] #$p configure -downloads_dir docs } } return $p } } package provide Downloads 1.0 source [file join $rweb_root tcl after.tcl]