Area di Studio

Oggetto di studio saranno i corsi d'€™acqua ricadenti in quattordici Siti di Interesse Comunitario della Rete Natura 2000 + tra le Provincie di Parma, Piacenza e Reggio Emilia in Regione Emilia Romagna: Aree di Studio

  • IT4010006- Meandri di San Salvatore
  • IT4010008- Castell'€™Arquato, Lugagnano Val d’Arda
  • IT4010011- Fiume Trebbia da Perino a Bobbio
  • IT4010016- Basso Trebbia
  • IT4010017- Conoide del Nure e bosco di fornace vecchia
  • IT4020003-Torrente Stirone
  • IT4020017- Area delle risorgive di Viarolo, bacini di Torrile, fascia golenale del Po
  • IT4020020- Crinale dell'Appennino parmense
  • IT4020021- Medio Taro
  • IT4020022- Basso Taro
  • IT4020025- Parma morta
  • IT4030013- Fiume Enza da la Mora a Compiano
  • IT4030014- Rupe di Campotrera, Rossena
  • IT4030023- Fontanili di Gattatico e fiume Enza

Gli interventi di riqualificazione fluviale saranno concentrati nel e saranno appunto tesi alla ricreazione della continuità  fluviale del F. Enza. Le attività  ittiogeniche saranno svolte nei centri ittiogenici di Corniglio, Monchio delle Corti e Selvanizza in Provincia di Parma.


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]