实现黑河专题应用
This commit is contained in:
parent
f022dee9fd
commit
30d67d42eb
|
@ -0,0 +1,307 @@
|
||||||
|
<?php
|
||||||
|
class HeiheController extends DataController
|
||||||
|
{
|
||||||
|
private $limit=20;
|
||||||
|
|
||||||
|
function preDispatch()
|
||||||
|
{
|
||||||
|
parent::preDispatch();
|
||||||
|
$this->_helper->layout->setLayout('heihe');
|
||||||
|
}
|
||||||
|
|
||||||
|
function indexAction()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 数据浏览
|
||||||
|
*/
|
||||||
|
function browseAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80'");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$select=$this->db->select();
|
||||||
|
$select->from('metadata','*')->where("source=?",'e3ad32dc-f573-11e0-aa7b-b768cfd88d80')->order('title desc')->limitPage($page,$this->limit);
|
||||||
|
$this->view->metadata = $this->db->fetchAll($select);
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function thumbAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80'");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$select=$this->db->select();
|
||||||
|
$select->from('metadata','*')->where("source=?",'e3ad32dc-f573-11e0-aa7b-b768cfd88d80')->order('title desc')->limitPage($page,$this->limit);
|
||||||
|
$this->view->metadata = $this->db->fetchAll($select);
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
}
|
||||||
|
|
||||||
|
function documentAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$row=$this->db->fetchAll("select count(*) from reference where id in (select refid from mdref where uuid in (select uuid from metadata where source='0595169a-279e-4b95-819f-129d0ba4280d'))");
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select * from reference where id in (select refid from mdref where uuid in (select uuid from metadata where source='0595169a-279e-4b95-819f-129d0ba4280d')) order by reference limit ? offset ?";
|
||||||
|
$this->view->refs=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit,"文献");
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function baseAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化' or keyword='基础地理' or keyword='遥感影像' or keyword='水文地质' or keyword='社会经济' or keyword='人口' or keyword='SWAT' or keyword='NPP' or keyword='WRF' or keyword='辐射' or keyword='NEP'))");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化' or keyword='基础地理' or keyword='遥感影像' or keyword='水文地质' or keyword='社会经济' or keyword='人口' or keyword='SWAT' or keyword='NPP' or keyword='WRF' or keyword='辐射' or keyword='NEP')) order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function geobaseAction()
|
||||||
|
{
|
||||||
|
$this->getmd('基础地理');
|
||||||
|
}
|
||||||
|
|
||||||
|
function coreAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='DEM' or keyword='土地利用' or keyword='土壤' or keyword='气象' or keyword='水文观测' or keyword='灌溉' or keyword='试验'))");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='DEM' or keyword='土地利用' or keyword='土壤' or keyword='气象' or keyword='水文观测' or keyword='灌溉' or keyword='试验')) order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function demAction()
|
||||||
|
{
|
||||||
|
$this->getmd('DEM');
|
||||||
|
}
|
||||||
|
|
||||||
|
function rsAction()
|
||||||
|
{
|
||||||
|
$this->getmd('遥感影像');
|
||||||
|
}
|
||||||
|
|
||||||
|
function waterAction()
|
||||||
|
{
|
||||||
|
$this->getmd('水文地质');
|
||||||
|
}
|
||||||
|
|
||||||
|
function modelAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='WRF' or keyword='NPP' or keyword='SWAT' or keyword='NEP' or keyword='辐射'))");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='WRF' or keyword='NPP' or keyword='SWAT' or keyword='NEP' or keyword='辐射')) order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function economicAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='人口' or keyword='社会经济'))");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='人口' or keyword='社会经济')) order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function landsurfaceAction()
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化'))");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化')) order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function landuseAction()
|
||||||
|
{
|
||||||
|
$this->getmd('土地利用','theme');
|
||||||
|
}
|
||||||
|
|
||||||
|
function soilAction()
|
||||||
|
{
|
||||||
|
$this->getmd('土壤','theme');
|
||||||
|
}
|
||||||
|
|
||||||
|
function meteoAction()
|
||||||
|
{
|
||||||
|
$this->getmd('气象','theme');
|
||||||
|
}
|
||||||
|
|
||||||
|
function hydroAction()
|
||||||
|
{
|
||||||
|
$this->getmd('水文观测','theme');
|
||||||
|
}
|
||||||
|
function irragationAction()
|
||||||
|
{
|
||||||
|
$this->getmd('灌溉','theme');
|
||||||
|
}
|
||||||
|
|
||||||
|
function obsAction()
|
||||||
|
{
|
||||||
|
$this->getmd('试验','theme');
|
||||||
|
}
|
||||||
|
|
||||||
|
function docAction()
|
||||||
|
{
|
||||||
|
$sql="select uuid,title from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' order by timebegin,title";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql);
|
||||||
|
}
|
||||||
|
|
||||||
|
function tagAction()
|
||||||
|
{
|
||||||
|
$key = $this->_request->getParam('key');
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
if (!empty($key)) {
|
||||||
|
$this->view->codename=$key;
|
||||||
|
$sql=$this->db->quoteInto('select count(id) from keyword where keyword=?',$key);
|
||||||
|
$state=$this->db->query($sql);
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title,id,description from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keyword='".$key."') order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
} else {
|
||||||
|
$state=$this->db->query("select keyword.keyword,count(*) from keyword left join metadata on keyword.id=metadata.id where keyword.keytype='place' and metadata.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' group by keyword.keyword order by count desc");
|
||||||
|
$k1=$state->fetchAll();
|
||||||
|
$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join metadata m on k.id=m.id where k.keytype='theme' and m.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' group by k.keyword order by k.keyword");
|
||||||
|
$k2=$state->fetchAll();
|
||||||
|
$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join metadata m on k.id=m.id where k.keytype='discipline' and m.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' group by k.keyword order by k.keyword");
|
||||||
|
$k3=$state->fetchAll();
|
||||||
|
$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join metadata m on k.id=m.id where k.keytype='stratum' and m.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' group by k.keyword order by k.keyword");
|
||||||
|
$k4=$state->fetchAll();
|
||||||
|
$state=$this->db->query("select keyword.keyword,count(*) from keyword left join metadata on keyword.id=metadata.id where keyword.keytype='temporal' and metadata.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' group by keyword.keyword order by keyword.keyword");
|
||||||
|
$k5=$state->fetchAll();
|
||||||
|
$this->view->keywords=array('place'=>$k1,'theme'=>$k2,'discipline'=>$k3,'stratum'=>$k4,'temporal'=>$k5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function searchAction()
|
||||||
|
{
|
||||||
|
$this->view->addHelperPath('helper','Zend_View_Helper_');
|
||||||
|
$form=new SearchForm();
|
||||||
|
$this->view->form=$form;
|
||||||
|
//$form->submit->setLabel('快速搜索');
|
||||||
|
$key=$this->_request->getParam('q');
|
||||||
|
if (!empty($key)) {
|
||||||
|
$search=new Search($key);
|
||||||
|
$where=$search->sql_expr(array("title","description"));
|
||||||
|
$page=@(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$row=$this->db->fetchAll("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and ".$where);
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title,id,description from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and ".$where." order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->key=$key;
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function timemapAction()
|
||||||
|
{
|
||||||
|
$sql="select id,uuid,west,south,north,east,title,timebegin,timeend from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and timebegin is not null";
|
||||||
|
$this->view->rows=$this->db->fetchAll($sql);
|
||||||
|
}
|
||||||
|
|
||||||
|
function timelineAction()
|
||||||
|
{
|
||||||
|
$fn="heihetime.xml";
|
||||||
|
$rows=$this->db->fetchAll("select ts_created from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' order by ts_created desc limit 1");
|
||||||
|
$last_update=strtotime($rows[0]['ts_created']);
|
||||||
|
if (!file_exists($fn) || (filemtime($fn)<$last_update))
|
||||||
|
{
|
||||||
|
$dateformat="M j Y";
|
||||||
|
$rows=$this->db->fetchAll("select id,uuid,description,title,timebegin,timeend from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and timebegin is not null order by timebegin,title");
|
||||||
|
$timexml='<data>';
|
||||||
|
foreach($rows as $row) {
|
||||||
|
$timexml.='<event start="'.date($dateformat,strtotime($row['timebegin'])).' GMT+0800" ';
|
||||||
|
if ($row['timeend']!='' && $row['timeend']!=$row['timebegin']) $timexml.=' end="'.date($dateformat,strtotime($row['timeend'])).'" isDuration="true"';
|
||||||
|
$timexml.= ' title="'.htmlspecialchars($row['title']).'" image="/images/westdc_40w.gif" link="/heihe/view/uuid/'.$row['uuid'].'">';
|
||||||
|
$desc_length=mb_strlen($row['description'],"UTF-8");
|
||||||
|
$desc=mb_substr($row['description'],0,($desc_length>300)?300:$desc_length,"UTF-8");
|
||||||
|
if ($desc_length>300) $desc.=" ...";
|
||||||
|
$timexml.=htmlspecialchars($desc);
|
||||||
|
$timexml.="</event>\n";
|
||||||
|
}
|
||||||
|
$timexml.='</data>';
|
||||||
|
$fp=fopen($fn,'w');
|
||||||
|
fwrite($fp,$timexml);
|
||||||
|
fclose($fp);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function categoryAction()
|
||||||
|
{
|
||||||
|
$code = (int)$this->_request->getParam('code');
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$this->view->category=$this->db->fetchAll("select c.code,name,name_zh,count(*) from category c left join metadata m on c.id=m.id,categorycode cc where c.code=cc.code and m.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' group by c.code,cc.name,cc.name_zh");
|
||||||
|
if ($code>0 && $code<20) {
|
||||||
|
$row=$this->db->fetchAll("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from category where code=".$code.")");
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
$sql="select uuid,title,description,id from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select distinct id from category where code=".$code.") order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
$row=$this->db->fetchRow("select name,name_zh from categorycode where code=?",$code);
|
||||||
|
$this->view->codename=(empty($row['name_zh'])?$row['name']:$row['name_zh']);
|
||||||
|
} else {
|
||||||
|
//提供全部分类列表
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private function getmd($keyword,$type='theme')
|
||||||
|
{
|
||||||
|
$page=(int)$this->_request->getParam('page');
|
||||||
|
if (empty($page)) $page=1;
|
||||||
|
$offset=$this->limit*($page-1);
|
||||||
|
$state=$this->db->query("select count(*) from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='".$type."' and keyword='".$keyword."')");
|
||||||
|
$row=$state->fetchAll();
|
||||||
|
$sum=$row[0]['count'];
|
||||||
|
//@todo: add order with title
|
||||||
|
$sql="select uuid,title from metadata where source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and id in (select id from keyword where keytype='".$type."' and keyword='".$keyword."') order by timebegin,title limit ? offset ?";
|
||||||
|
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
|
||||||
|
$this->view->page=new Pagination($sum,$page,$this->limit);
|
||||||
|
$this->view->offset=$offset+1;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('基础数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
基础数据指为流域生态-水文研究提供各种自然、生态、水文、社会经济等本底信息的数据,同时还包括了主要的几次科学试验数据、模型数据集等。
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
基础数据主要包括了流域基础地理数据、流域各种专题数据、水文水资源数据、流域科学试验数据、航空遥感和卫星遥感数据、模型数据、社会经济数据等。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle('全部浏览');
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe">数字黑河</a>');
|
||||||
|
$this->breadcrumb('浏览');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<hr />
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,45 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle('分类浏览');
|
||||||
|
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('分类浏览:'.$this->codename);
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id='links'>
|
||||||
|
<ul>
|
||||||
|
<?php foreach($this->category as $cg) : ?>
|
||||||
|
<li><a href='/heihe/category/code/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
|
<div id='mdlist'>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<hr />
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
</div>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('核心数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>流域核心数据指流域生态-水文模型、陆面过程模型、社会经济模型以及其他各类模型所需要的关键性的驱动和参数数据集以及验证、发展和改进模型所需的关键观测数据。</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,35 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('DEM数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>DEM是数字高程模型的英文简称(Digital Elevation Model),DEM是地貌形态信息的离散表示,这些信息包含流域网格单元的坡度、坡向以及单元格之间的关系等,是开展流域研究的重要原始资料。</p>
|
||||||
|
<p>数据包括黑河全流域范围各种不同分辨率的数字高程模型(DEM)(栅格大小为30m、90m、1000m和30sec)。</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('word版元数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
</div>
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol>
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a>
|
||||||
|
<a href="/data/doc/uuid/<?php echo $md['uuid']; ?>"><img src="/images/doc-icon.png" alt="Word doc格式"></a>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('社会经济数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
各类社会经济数据。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('基础地理数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div> </div>
|
||||||
|
<div id="intro">
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('水文观测数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
黑河流域的基本水文观测站点共计30个,其中包括了水文站18个,雨量站12个。
|
||||||
|
按照水文站点实际控制黑河流域的状况,我们收集了黑河流域范围10个核心水文站的水文数据,
|
||||||
|
其中主要包括了位于黑河上游东、西支的祁连站、扎马什克站,黑河干流的莺落峡站、高崖站、正义峡站,
|
||||||
|
位于黑河第二大支流-梨园河的肃南站、梨园堡站(控制主要灌区),其他支流上的李桥站、冰沟站等,
|
||||||
|
以及黑河下游的额济纳旗站。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('数字黑河');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<h1>黑河流域数据简介</h1>
|
||||||
|
<p>
|
||||||
|
黑河流域是我国第二大内陆河流域,从流域上游到下游,以水为纽带形成了“冰雪/冻土-森林-草原-河流-湖泊-绿洲-沙漠-戈壁”的多元自然景观,流域内寒区和干旱区并存,山区冰冻圈和极端干旱的河流尾闾地区形成了鲜明对比。与此同时,黑河开发历史悠久,人类活动显著地影响了流域的水文环境,2000多年来,这一地区的农业开发,屯田垦殖,多种文化的碰撞交流、此消彼长,无不与水深刻地联系在一起。自然和人文过程交汇在一起,使黑河流域成为开展流域综合研究的一个十分理想的试验流域。
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
无论从黑河流域独特的自然地理环境,还是从几千年的人类活动影响,黑河流域都是我国内陆河研究的重要基地,自1980年代以来,中国科学院寒区旱区环境与工程研究所(简称寒旱所)等国内外研究机构和科学组织先后在该流域开展了大量水文水资源、自然地理、生态环境、陆面过程、经济地理和遥感与地理信息系统技术等方面的研究,这些研究主要在生态、水文、生态水文、生态经济与可持续发展、生态恢复、同位素水文学、流域集成研究、数字流域等领域取得了阶段性的成果,积累了丰富的数据和资料,初步构建了流域综合模型及野外实验观测和试验示范平台,科学研究与实验积累下来的丰富和宝贵的资料,为流域生态水文研究奠定了很好的科学数据基础。
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
数据主要来自国内外研究机构、科学计划和个人在黑河流域的相关研究和工作成果,
|
||||||
|
我们在此对提供这些数据的集体和个人表示衷心的感谢,其中国内的单位有:
|
||||||
|
中国科学院寒区旱区环境与工程研究所,中国科学院地理科学与资源研究所,中国科学院南京土壤研究所,
|
||||||
|
中国科学院植物研究所,中国地球系统科学数据共享网(http://www.geodata.cn/),国家测绘局基础地理信息中心,
|
||||||
|
全国土壤普查办公室,<a href="http://cdc.cma.gov.cn">中国气象科学数据共享服务网</a>,
|
||||||
|
<a href="http://www.resdata.cn/data/hydroset/">国土资源科学数据共享网</a>,
|
||||||
|
甘肃省测绘局,甘肃省水文局,甘肃省气象局,甘肃省地质矿产勘查开发局,甘肃省地质矿产局第二水文地质工程地质队,张掖市水务局等;
|
||||||
|
国外组织机构包括了联合国粮农组织(FAO)和维也纳国际应用系统研究所(IIASA),
|
||||||
|
美国地球观测卫星委员会(CEOS)的<a href="ftp://daac.gsfc.nasa.gov/data/">数据中心</a>,
|
||||||
|
<a href="http://free.vgt.vito.be">比利时VITO研究所的植被数据网站</a> ,
|
||||||
|
美国国家雪冰数据中心(NSIDC)、美国国家海洋和大气管理局(NOAA)、美国国家航空航天局(NASA)
|
||||||
|
和美国地质调查局(USGS)的数据中心,感谢中国科学技术部(MOST)和欧洲空间局(ESA)共同合作的“龙计划”(Dragon Programme)。
|
||||||
|
</p>
|
||||||
|
<p>黑河流域各种类型的空间数据,其空间坐标系统主要包括了以下三个类型:WGS84坐标系,ALBERS坐标系,高斯坐标系。其中WGS84坐标系采用原点是地球质心,椭球体为WGS84椭球体,主要考虑到许多来自GPS野外定位测量的数据和国际组织机构发布的空间数据使用这一坐标系;ALBERS坐标系采用Krasovsky椭球体,两根标准纬线分别为北纬25度和北纬47度,中央经线采用东经105度,该坐标系主要在小比例尺而且要求保持等面积特性的数据情况下使用,如小于1:100万比例尺的数据,同时该投影与我国小比例尺专题图的投影是吻合的,有助于和这些数据的配准;高斯坐标系采用Krasovsky椭球体,中央经线采用东经99度,假东取500Km,该坐标系适用于大于等于50万比例尺的各类空间数据。</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('水文观测数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
黑河流域中游的水资源模拟主要是针对地表径流、地下水以及地表水与地下水相互转换等内容来开展,
|
||||||
|
而对绿洲灌溉系统的水资源利用工作相对较少,这主要是因为没有绿洲灌溉系统的详细信息。如果能够获得渠系灌溉和机井灌溉的用水量信息,
|
||||||
|
就可以更为完整地模拟整个黑河流域中游的水资源利用特征,为优化水资源利用提供参考依据。
|
||||||
|
这些数据为中游地区水文水资源模型建模工作提供了数据支撑,也为政府部门特别是水务部门的灌溉管理提供了重要的数据支持,为电子水务提供了可能性。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('陆地表层数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>陆地表层数据包括冰川、沙漠、草场、植被、地貌等数据。</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('土地利用数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>1:10万土地利用数据是在中国科学院“八五”重大应用项目《全国资源环境遥感宏观调查与动态研究》组织了中国科学院所属19个研究所的遥感科技队伍,以卫星遥感为手段,在三年内基于Landsat MSS,TM和ETM遥感数据建立了中国1:10万土地利用影像和矢量数据库。</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('气象观测数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
黑河流域及其周边地区的气象常规观测站点共21个。观测要素包括日平均气压、最高气压、最低气压、平均气温、最高气温、最低气温、平均相对湿度、最小相对湿度、平均风速、最大风速及风向、极大风速及风向、日照时数、降水量。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('模型数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
包括大气驱动数据、辐射数据、SWAT模型数据等。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,49 @@
|
||||||
|
<ul>
|
||||||
|
<li><a href="/heihe/">黑河流域数据简介</a></li>
|
||||||
|
<li><a href="/heihe/core">核心数据</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/heihe/dem">DEM数据</a></li>
|
||||||
|
<li><a href="/heihe/landuse">土地利用数据</a></li>
|
||||||
|
<li><a href="/heihe/soil">土壤数据</a></li>
|
||||||
|
<li><a href="/heihe/meteo">气象观测数据</a></li>
|
||||||
|
<li><a href="/heihe/hydro">水文观测数据</a></li>
|
||||||
|
<li><a href="/heihe/irragation">灌溉数据</a></li>
|
||||||
|
<li><a href="/heihe/obs">观测试验数据</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/heihe/base">基础数据</a>
|
||||||
|
<ul><li><a href="/heihe/geobase">基础地理数据</a></li>
|
||||||
|
<li><a href="/heihe/landsurface">陆地表层数据</a></li>
|
||||||
|
<li><a href="/heihe/rs">遥感数据</a></li>
|
||||||
|
<li><a href="/heihe/water">水文水资源数据</a></li>
|
||||||
|
<li><a href="/heihe/model">模型数据</a></li>
|
||||||
|
<li><a href="/heihe/economic">社会经济数据</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/heihe/doc">word版元数据</a></li>
|
||||||
|
<li><a href="/heihe/browse">整体浏览</a></li>
|
||||||
|
<li><a href="/heihe/category">ISO19115分类</a></li>
|
||||||
|
<li><a href="/heihe/thumb">缩略图浏览</a></li>
|
||||||
|
<li><a href="/heihe/tag">关键词导航</a></li>
|
||||||
|
<li><a href="/heihe/timeline">时间轴导航</a></li>
|
||||||
|
<li><a href="/heihe/timemap">时空联合导航</a></li>
|
||||||
|
<li>WebGIS地图浏览</li>
|
||||||
|
</ul>
|
||||||
|
<form id="search" enctype="application/x-www-form-urlencoded" action="/heihe/search" method="post">
|
||||||
|
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||||
|
<input type="hidden" name="submit" value="submit">
|
||||||
|
</form>
|
||||||
|
<script>
|
||||||
|
function myfocus(element) {
|
||||||
|
if (element.value == element.defaultValue) {
|
||||||
|
element.value = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function myblur(element) {
|
||||||
|
if (element.value == '') {
|
||||||
|
element.value = element.defaultValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
|
@ -0,0 +1,50 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('观测试验数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<ol>
|
||||||
|
<li><a href="/water">黑河综合遥感联合试验</a></li>
|
||||||
|
<p>
|
||||||
|
“黑河综合遥感联合试验” (WATER试验)的总体目标是:开展航空卫星遥感与地面观测同步试验,为发展流域科学积累基础数据;发展能够融合多源遥感观测的流域尺度陆面数据同化系统,为实现卫星遥感对流域的动态监测提供方法和范例。
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
主要研究内容包括:(1)上游寒区水文试验;(2)森林水文试验;(3)中游干旱区水文试验;(4)模拟平台和数据平台;(5)综合集成研究。
|
||||||
|
“黑河综合遥感联合试验”分为试验准备期、预试验期、加强试验和持续观测期4个阶段。其中,预试验在2007年7~12月展开。加强试验在2008年3月~9月间分阶段展开,共计120天,由28个单位280多名科研人员、研究生和工程技术人员参加。2009年底完成了持续观测试验。
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
试验使用了5类传感器(L, K和Ka波段微波辐射计、激光雷达、高光谱成像仪、红外广角双模式成像仪和多光谱CCD相机)完成了25个有效架次的航空遥感试验。在地面建立了包括12个加强自动气象站、5个涡动相关通量站、2个大孔径闪烁仪以及大量业务气象站和水文站在内加密的地面气象水文和通量观测网,使用了车载降雨雷达、地基微波辐射计、地基散射计、地基激光雷达、探地雷达等地面设备和大量自动观测仪器,获取了丰富的积雪、地表冻融、森林结构、蒸散发、土壤水分、反照率/反射率、地表温度、生物物理参数和生物化学参数。
|
||||||
|
</p>
|
||||||
|
<li>寒旱所黑河流域野外观测研究数据</li>
|
||||||
|
<p>
|
||||||
|
寒旱所在黑河流域建立了覆盖全流域的流域观测系统,分别布设在黑河流域上游高山冰雪带、草原森林带、中游平原绿洲带、下游戈壁荒漠带,先后建设有4个野外研究站,它们针对流域上、中、下游不同的自然景观和特色鲜明的水文与生态过程,开展长期观测研究,形成了黑河流域观测系统的主干。
|
||||||
|
</p>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('遥感数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div> </div>
|
||||||
|
<div id="intro">
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
|
||||||
|
$this->headTitle('快速搜索');
|
||||||
|
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('快速搜索');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml',array('key'=>$this->key)); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<hr />
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php echo $this->page->getNavigation();
|
||||||
|
else :
|
||||||
|
?>
|
||||||
|
<div>
|
||||||
|
<p>您的搜索结果为空,请尝试其他关键词进行查询。</p>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('土壤数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
黑河流域已有的土壤数据主要包括了陆面过程模型和水文模型所需要的土壤质地数据,同时也提供了国内资源环境科学研究常用的土壤类型数据。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,53 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('关键词导航'.(($this->codename)?':'.$this->codename:''));
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
|
<div id='mdlist'>
|
||||||
|
<h1>关键词:<?php echo $this->codename; ?> 【<a href="/heihe/tag/">全部关键词</a>】</h1>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<hr />
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
</div>
|
||||||
|
<?php else : ?>
|
||||||
|
|
||||||
|
<div id='links'>
|
||||||
|
<?php
|
||||||
|
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
|
||||||
|
foreach($this->keywords as $type=>$kcg) :
|
||||||
|
if (is_array($kcg) && count($kcg)>0 ) :
|
||||||
|
?>
|
||||||
|
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
|
||||||
|
<ul>
|
||||||
|
<?php foreach($kcg as $cg) : ?>
|
||||||
|
<li><a href='/heihe/tag/key/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</fieldset>
|
||||||
|
<?php endif;endforeach; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
|
@ -0,0 +1,31 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle('全部浏览');
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe">数字黑河</a>');
|
||||||
|
$this->breadcrumb('缩略图浏览');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<hr />
|
||||||
|
<div id="mdlist">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<div class="thumb">
|
||||||
|
<a href="/heihe/view/uuid/<?php echo $md['uuid'];?>">
|
||||||
|
<img src="/data/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"/></a>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
<hr style="clear:left;"/>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
</div>
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle('时间轴导航');
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('时间轴导航');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
$this->headScript()->appendFile('/js/timeline_var.js');
|
||||||
|
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
|
||||||
|
$this->headScript()->appendFile('/js/heihetime.js');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div id="tl" class="timeline-default" style="height:600px;"> </div>
|
||||||
|
</div>
|
|
@ -0,0 +1,82 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle('时空导航');
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('时空联合导航');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
//$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg');
|
||||||
|
$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhThiRESR0xRCe9JKd36EL3glTk0OxTsRzifkUWmTTrYWaE7dY1lYUlGxA');
|
||||||
|
$this->headScript()->appendFile('/js/timeline_var.js');
|
||||||
|
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
|
||||||
|
$this->headScript()->appendFile('/js/timemap/timemap.js');
|
||||||
|
$this->headScript()->captureStart();
|
||||||
|
?>
|
||||||
|
var tm;
|
||||||
|
window.onload=function() {
|
||||||
|
tm = TimeMap.init({
|
||||||
|
mapId: "watermap", // Id of map div element (required)
|
||||||
|
timelineId: "timeline", // Id of timeline div element (required)
|
||||||
|
scrollTo: "2008-06-01",
|
||||||
|
options: {
|
||||||
|
eventIconPath: "../images/",
|
||||||
|
mapType:G_SATELLITE_MAP,
|
||||||
|
mapCenter: new GLatLng(39,100)
|
||||||
|
},
|
||||||
|
datasets: [
|
||||||
|
{
|
||||||
|
data:{
|
||||||
|
theme: "orange",
|
||||||
|
// note that the lines below are now the preferred syntax
|
||||||
|
type: "basic",
|
||||||
|
value: [
|
||||||
|
<?php foreach($this->rows as $row) : ?>
|
||||||
|
{
|
||||||
|
"start" : "<?php echo $row['timebegin']; ?>",
|
||||||
|
<?php if ($row['timeend']!='') : ?>
|
||||||
|
"end" : "<?php echo $row['timeend']; ?>",
|
||||||
|
<?php endif; ?>
|
||||||
|
"point" :
|
||||||
|
{
|
||||||
|
"lat" : <?php echo ($row['south']+$row['north'])/2; ?>,
|
||||||
|
"lon" : <?php echo ($row['west']+$row['east'])/2; ?>
|
||||||
|
},
|
||||||
|
"title" : "<?php echo htmlspecialchars(mb_substr($row['title'],11,mb_strlen($row['title'],'UTF-8')-10,'UTF-8')); ?>",
|
||||||
|
"options" : {
|
||||||
|
// set the full HTML for the info window
|
||||||
|
"infoHtml": "<div class='info'><a href=/heihe/view/uuid/<?php echo $row['uuid']; ?>><?php echo htmlspecialchars($row['title']); ?></a><hr /><img src=/data/thumb/id/<?php echo $row['id']; ?> /></div>",
|
||||||
|
"theme":"orange"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
<?php endforeach; ?>
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
bandIntervals: [
|
||||||
|
Timeline.DateTime.DAY,
|
||||||
|
Timeline.DateTime.MONTH
|
||||||
|
]
|
||||||
|
});
|
||||||
|
// manipulate the timemap further here if you like
|
||||||
|
var map=tm.map;
|
||||||
|
map.setCenter(new GLatLng(39,100),7);
|
||||||
|
}
|
||||||
|
window.onunload=GUnload();
|
||||||
|
<?php $this->headScript()->captureEnd(); ?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div id="timemap">
|
||||||
|
<div id="watermap" style="height:500px;width:40%;float:right;"></div>
|
||||||
|
<div id="timeline" style="height:500px;border-right:1px solid #abc;"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,291 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle('数据查看');
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->headLink()->appendStylesheet('/css/heihemdview.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('查看元数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
//http://westdc.westgis.ac.cn
|
||||||
|
//$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg');
|
||||||
|
//$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhThiRESR0xRCe9JKd36EL3glTk0OxTsRzifkUWmTTrYWaE7dY1lYUlGxA');
|
||||||
|
|
||||||
|
$this->headScript()->appendFile('/js/prototype.js');
|
||||||
|
$this->headScript()->appendFile('/js/OpenLayers.js');
|
||||||
|
$this->headScript()->appendFile('/js/window.js');
|
||||||
|
$this->headLink()->appendStylesheet('/js/theme/default/style.css');
|
||||||
|
?>
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="right">
|
||||||
|
<?php $md=$this->metadata;if ($md):?>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<h1><?php echo $this->escape($md->title);
|
||||||
|
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
|
</h1>
|
||||||
|
<div id="rightbar">
|
||||||
|
<div id="ItemSummary">
|
||||||
|
<div id="category">
|
||||||
|
<ul><?php foreach($this->category as $cat): ?>
|
||||||
|
<li><a href="/heihe/category/code/<?php echo $cat['code'];?>"><?php echo $this->escape($cat['name_zh']);?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
$kt='';
|
||||||
|
$i=0;
|
||||||
|
foreach($this->keys as $cg) :
|
||||||
|
if ($kt==$cg['keytype']) :
|
||||||
|
$i+=1;
|
||||||
|
else :
|
||||||
|
if (!empty($kt)) echo '</ul></div>';
|
||||||
|
$kt=$cg['keytype'];
|
||||||
|
$i=0;
|
||||||
|
endif;
|
||||||
|
if ($i==0) echo '<div id="'.$cg['keytype'].'"><ul>';
|
||||||
|
echo '<li><a href="/heihe/tag/key/'.urlencode($cg['keyword']).'">'.$cg['keyword'].'</a></li>';
|
||||||
|
endforeach;
|
||||||
|
echo '</ul></div>';
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<?php if ($this->series): ?>
|
||||||
|
<div id="series">
|
||||||
|
<ul><?php foreach($this->series as $serie): ?>
|
||||||
|
<li><a href="/data/series/id/<?php echo $serie['id']; ?>"> <?php echo $this->escape($serie['name']);?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
-->
|
||||||
|
<ul id=OtherInfo>
|
||||||
|
<?php if ($md->fileformat) : ?>
|
||||||
|
<li id="fileformat">格式:<?php echo $md->fileformat; ?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="filesize">大小:<?php echo $md->filesize; ?>MB</li>
|
||||||
|
<?php if ($this->downloaded>9) :?>
|
||||||
|
<li id="downtimes">下载:<?php echo $this->downloaded; ?>次</li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="viewtimes">浏览量:<?php echo $this->viewed; ?>次</li>
|
||||||
|
<!--
|
||||||
|
<?php if ($md->projection) : ?>
|
||||||
|
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
||||||
|
<?php
|
||||||
|
$p=explode(" ",$this->projection);
|
||||||
|
$p=explode("=",$p[0]);
|
||||||
|
if (!empty($p[1]))
|
||||||
|
echo $p[1];
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
||||||
|
echo $md->projection;
|
||||||
|
}
|
||||||
|
?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
-->
|
||||||
|
<?php if (!empty($md->timebegin)) : ?>
|
||||||
|
<li id="datatimes">数据时间范围:<?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if (!empty($this->doc)) : ?>
|
||||||
|
<li id="datadoc"><a href="<?php $wikiTitle = $this->doc;
|
||||||
|
if(strpos($wikiTitle,'http://wiki.westgis.ac.cn/index.php/')!==false){
|
||||||
|
$title=str_replace('http://wiki.westgis.ac.cn/index.php/','',$wikiTitle);
|
||||||
|
echo "/metainfo/$title";
|
||||||
|
}else{
|
||||||
|
echo $this->doc;
|
||||||
|
}?>">数据说明文档</a></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="datatype">数据共享方式:<?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> <a href="#" id="show-list" rel="<?php echo $md->uuid;?>">文件列表</a></li>
|
||||||
|
</ul>
|
||||||
|
<div id="linkurl">
|
||||||
|
<?php if (!$md->datatype) : ?>
|
||||||
|
<a href="/heihe/download/uuid/<?php echo $md->uuid; ?>"><img src="/images/download.png" title="直接下载" /></a>
|
||||||
|
<?php endif; ?>
|
||||||
|
<a href="/heihe/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<h2>空间位置</h2>
|
||||||
|
<div id='watermap'></div>
|
||||||
|
<hr />
|
||||||
|
<h2>联系信息</h2>
|
||||||
|
<div id="authors">
|
||||||
|
<ul>
|
||||||
|
<?php
|
||||||
|
$party_zh=array('resourceProvider'=>'资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'数据调查与处理者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者');
|
||||||
|
$r='';
|
||||||
|
$i=0;
|
||||||
|
foreach($this->authors as $k=>$author) :
|
||||||
|
if ($author['role']!=$r)
|
||||||
|
{
|
||||||
|
$r=$author['role'];
|
||||||
|
$i=0;
|
||||||
|
if ($k>0) echo '</li>';
|
||||||
|
echo '<li>'.$party_zh[$author['role']].':';
|
||||||
|
}
|
||||||
|
if ($i>0) echo ',';
|
||||||
|
$i+=1;
|
||||||
|
if (!empty($author['email']) && $r!='principalInvestigator')
|
||||||
|
echo '<a href="mailto:'.$author['email'].'">';
|
||||||
|
echo '<strong title="'.$author['organisation'].'">';
|
||||||
|
if (!empty($author['individual']))
|
||||||
|
echo $author['individual'];
|
||||||
|
else
|
||||||
|
echo $author['organisation'];
|
||||||
|
echo '</strong>';
|
||||||
|
if (!empty($author['email'])) echo '</a>';
|
||||||
|
if ($k+1==count($this->authors)) echo '</li>';
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
|
<hr />
|
||||||
|
<ul>
|
||||||
|
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?> <a href="/heihe/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a></li>
|
||||||
|
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="left">
|
||||||
|
|
||||||
|
<div id="ImageViewer"><img src="/data/thumb/id/<?php echo $md->id;?>" /> </div>
|
||||||
|
<div id="abstract">
|
||||||
|
<p>
|
||||||
|
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="cite">
|
||||||
|
<hr />
|
||||||
|
<?php if ($md->citation) : ?>
|
||||||
|
<h2>本数据引用方式</h2>
|
||||||
|
<p><?php echo $this->escape($md->citation);?></p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->ref) : ?>
|
||||||
|
<h2>建议参考文献</h2>
|
||||||
|
<ol>
|
||||||
|
<?php foreach($this->ref as $ref) :
|
||||||
|
if (empty($ref['link']))
|
||||||
|
echo '<li>'.$ref['reference'].'</li>';
|
||||||
|
else
|
||||||
|
echo '<li>'.$ref['reference'].' <a href="'.$ref['link'].'">下载</a></li>';
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
</ol>
|
||||||
|
<?php endif; ?>
|
||||||
|
<h2>数据使用声明</h2>
|
||||||
|
<?php
|
||||||
|
if ($this->uselimits) :
|
||||||
|
foreach($this->uselimits as $uselimit) :
|
||||||
|
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit['uselimit'])).'</p>';
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
<?php else : ?>
|
||||||
|
<p>为尊重知识产权、保障数据作者的权益、扩展数据中心的服务、评估数据的应用潜力,请数据使用者在使用数据所产生的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品等成果),明确注明数据来源和数据作者。对于转载(二次或多次发布)的数据,作者还须注明原始数据来源。</p>
|
||||||
|
<p>中文发表的成果参考以下规范注明: 数据来源于国家自然科学基金委员会"中国西部环境与生态科学数据中心"(http://westdc.westgis.ac.cn)</p>
|
||||||
|
<p>英文发表的成果依据以下规范注明: The data set is provided by Environmental and Ecological Science Data Center for West China,National Natural Science Foundation of China (http://westdc.westgis.ac.cn)</p>
|
||||||
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($md->suppinfo) : ?>
|
||||||
|
<h2>项目支持信息</h2>
|
||||||
|
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->resources) : ?>
|
||||||
|
<h2>其他在线资源</h2>
|
||||||
|
<ul><?php foreach($this->resources as $link) : ?>
|
||||||
|
<li><a href="<?php echo $link['linkage']; ?>" title="<?php echo $this->escape($link['description']); ?>">
|
||||||
|
<?php
|
||||||
|
if (!empty($link['name']))
|
||||||
|
echo $this->escape($link['name']);
|
||||||
|
elseif (!empty($link['description']))
|
||||||
|
echo $this->escape($link['description']);
|
||||||
|
else
|
||||||
|
echo $link['linkage'];
|
||||||
|
?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="comments">
|
||||||
|
<hr />
|
||||||
|
<h2>数据评论</h2>
|
||||||
|
<div id="allcomments">
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loading()
|
||||||
|
{
|
||||||
|
$('loading').style.display = 'block';
|
||||||
|
}
|
||||||
|
|
||||||
|
function done()
|
||||||
|
{
|
||||||
|
$('loading').style.display = 'none';
|
||||||
|
}
|
||||||
|
|
||||||
|
function reportError(request)
|
||||||
|
{
|
||||||
|
alert('Sorry. There was an error.');
|
||||||
|
}
|
||||||
|
var request_pars = ''; //请求参数
|
||||||
|
var myAjax = new Ajax.Updater('allcomments', '/data/comment/uuid/<?= $md->uuid; ?>',{
|
||||||
|
method : 'get', // http 请求方法,get or post
|
||||||
|
parameters : request_pars, // 请求参数
|
||||||
|
onFailure : reportError, // 失败的时候调用 reportError 函数处理
|
||||||
|
onLoading : loading, // 加载时
|
||||||
|
onComplete : done // 读取完毕
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<?php echo $this->commentForm; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="window-outter" style="display:none;">
|
||||||
|
<div id="window-inner">
|
||||||
|
<div id="window-closer-container">[<a href="#" id="window-closer">关闭</a>]</div>
|
||||||
|
<div id="window-content-container">
|
||||||
|
<div id="window-loading">加载中...</div>
|
||||||
|
<ol id="file-list">
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript" charset="utf-8">
|
||||||
|
var map = new GMap2(document.getElementById("watermap"));
|
||||||
|
var plotbounds=new GLatLngBounds(new GLatLng(<?= $md->south; ?>,<?= $md->west; ?>),new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>));
|
||||||
|
var zoomlevel=map.getBoundsZoomLevel(plotbounds);
|
||||||
|
zoomlevel--;
|
||||||
|
<?php if ($md->north==$md->south) : ?>
|
||||||
|
zoomlevel=10;
|
||||||
|
<?php endif; ?>
|
||||||
|
if (zoomlevel>16) zoomlevel=16;
|
||||||
|
map.setCenter(new GLatLng(<?= ($md->south+$md->north)/2; ?>,<?= ($md->east+$md->west)/2; ?>), zoomlevel);
|
||||||
|
map.setMapType(G_SATELLITE_MAP);
|
||||||
|
map.setUIToDefault();
|
||||||
|
<?php if ($md->north==$md->south) : ?>
|
||||||
|
var marker=new GMarker(new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>));
|
||||||
|
map.addOverlay(marker);
|
||||||
|
<?php else : ?>
|
||||||
|
var polygon=new GPolygon([
|
||||||
|
new GLatLng(<?= $md->north; ?>,<?= $md->west; ?>),
|
||||||
|
new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>),
|
||||||
|
new GLatLng(<?= $md->south; ?>,<?= $md->east; ?>),
|
||||||
|
new GLatLng(<?= $md->south; ?>,<?= $md->west; ?>),
|
||||||
|
new GLatLng(<?= $md->north; ?>,<?= $md->west; ?>)
|
||||||
|
],"#f33f00",5,1,"#ff0000",0.2);
|
||||||
|
map.addOverlay(polygon);
|
||||||
|
<?php endif; ?>
|
||||||
|
</script>
|
||||||
|
<?php else: ?>
|
||||||
|
<p>Cannot find the metadata.</p>
|
||||||
|
<p>没有找到对应的元数据。</p>
|
||||||
|
<?php endif;?>
|
||||||
|
</div>
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle($this->config->title->data);
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
|
$this->breadcrumb('水文水资源数据');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id='sidebar'>
|
||||||
|
<div id='leftnavi'>
|
||||||
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='right'>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div id="intro">
|
||||||
|
<p>
|
||||||
|
黑河流域的基本水文观测站点共计30个,其中包括了水文站18个,雨量站12个。
|
||||||
|
按照水文站点实际控制黑河流域的状况,我们收集了黑河流域范围10个核心水文站的水文数据,
|
||||||
|
其中主要包括了位于黑河上游东、西支的祁连站、扎马什克站,黑河干流的莺落峡站、高崖站、正义峡站,
|
||||||
|
位于黑河第二大支流-梨园河的肃南站、梨园堡站(控制主要灌区),其他支流上的李桥站、冰沟站等,
|
||||||
|
以及黑河下游的额济纳旗站。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<?php if ($this->metadata) : ?>
|
||||||
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
|
<div id="mdlist">
|
||||||
|
<ol start="<?php echo $this->offset; ?>">
|
||||||
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
<li><a href="/heihe/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
Loading…
Reference in New Issue