EXCEL数据导入(CGCS2000平面坐标)
<h2>2.4 EXCEL数据导入(CGCS2000平面坐标)</h2>
<p>针对坐标格式为CGCS2000平面坐标的文保单位两线数据,本平台也可通过Excel表格的形式导入。</p>
<ul>
<li>首先需要将EXCEL数据进行简单整理为如图所示,并另存为.csv格式,然后创建数据目录,开始导入数据。</li>
<li>在【数据导入】页面选择【导入EXCEL(csv)】-【点击选择CSV文件】</li>
<li>选择导入类型:<strong>面</strong></li>
</ul>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=52ecb69751a352f3566d862544df26b8&amp;file=file.png" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=fec1b5e1b40379e45b6f5c33c7f2fa99&amp;file=file.png" alt="" /></p>
<h3>坐标列顺序和坐标投影按以下方法设置。</h3>
<p>💡注意点:</p>
<p>①:<strong>投影坐标CGCS2000</strong>,有两种格式,分为带带号和不带带号。如何分辨,看表格中的X、Y坐标值,</p>
<p><strong><font style='color: rgb(253,29,36);'>情况一:</strong>如果一个<strong>是7位(X),一个是8位(Y)</strong>,那么数据则带带号,选<strong>是</strong>;</font><a href="#qingkuang1">查看具体操作</a></p>
<p><strong><font style='color: rgb(253,29,36);'>情况二:</strong>如果一个<strong>是7位(X),一个是6位(Y)</strong>,则不带带号,选<strong>否</strong>;</font><a href="#qingkuang2">查看具体操作</a></p>
<p>②:<strong>通常来说</strong><font style='color: rgb(253,29,36);'>工程测量中的X、Y坐标与地图软件中的X、Y坐标是相反的<strong></font>,因此在坐标列顺序中需要进行调整。</strong></p>
<h3><span id='qingkuang1'><strong>【情况一】坐标列选择方法:</strong></span></h3>
<p><center>
系统界面中的<font style='color: green;'><strong>经度(X)</strong></font>→CSV数据中的<font style='color: green;'><strong>y(8位数值的列)</strong></font></p>
<p>系统界面中的<font style='color: orange;'><strong>纬度(Y)</strong></font>→CSV数据中的<font style='color: orange;'><strong>X(7位数值的列)</strong></font></p>
<p>是否带带号】→【是】</p>
<p>分带方式】→【3度带】</p>
<p></center></p>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=66b4395e1106c0d19d09d1543de9298a&amp;file=file.png" alt="" /></p>
<h3><span id='qingkuang2'>【情况二】坐标列选择方法</span></h3>
<p><center>系统界面中的<font style='color: green;'><strong>经度(X)</font>→</strong>CSV数据中的<font style='color: green;'><strong>y(6位数值的列)</font></strong></p>
<p>系统界面中的<font style='color: orange;'><strong>纬度(Y)</strong></font>→CSV数据中的<font style='color: orange;'><strong>X(7位数值的列)</font></strong></p>
<p>【是否带带号】→【否】</p>
<p>【分带方式】→【3度带】</p>
<p>【中央子午线】→【按照<a href="#zhongyangziwuxian">中央子午线计算方法</a>计算完成后手动输入】
</center>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=68cc148d50a4baad7fec1c6fc38da537&amp;file=file.png" alt="" /></p>
<p><center><span id='zhongyangziwuxian'>情况二,需要手动计算<font style='color: red;'><strong>中央子午线</strong></font>,</span>计算方法为:</p>
<p>文保单位的经度除以3,得到的值四舍五入,再乘以3</p>
<p>例如:109.5378/3=36.5126,四舍五入为37,中央经线=37*3=111</p>
<p>(经度的获取方法:在地图上右键相应的位置,点击拾取坐标,复制到微信对话框即可)</center></p>