请教surfer制图时surfer边界文件件制作的问题

Surfer软件中利用趋势面方法圈定化探异常
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
Surfer软件中利用趋势面方法圈定化探异常
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer--144.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口小木虫 --- 500万硕博科研人员喜爱的学术科研平台
&&查看话题
【求助】请教surfer制图时边界文件制作的问题
我现在要用利用surfer制作等值线图,首先要制作一份这个城市的边界文件,使等值线图白化(blank)。我现在手头上有SHP格式的城市边界文件,请问有没有方便的方法将SHP格式的文件直接转换成surfer可识别的各种文件类型(如dat等)?谢谢
研究生必备与500万研究生在线互动!
扫描下载送金币c#环境下的surfer等值线制图开发
private void toolBtnContour_Click(object sender, EventArgs e)
&&&&&&&&&&& if (m_MyTable == null)
&&&&&&&&&&& if (m_MyTable.DefaultView.Count &= 0)//没有数据返回
&&&&&&&&&&& {
&&&&&&&&&&&&&&& MessageBox.Show(&没有数据!&, &提示&, MessageBoxButtons.OK, MessageBoxIcon.Warning);
&&&&&&&&&&&&&&&
&&&&&&&&&&& }
&&&&&&&&&&& string strAppPath = System.Windows.Forms.Application.StartupP
&&&&&&&&&&& FileStream fs = new FileStream(strAppPath + @&\Data.dat&, FileMode.Create);
&&&&&&&&&&& StreamWriter sw = new StreamWriter(fs, Encoding.Default);
&&&&&&&&&&& StringBuilder strLine = new StringBuilder(&&);
&&&&&&&&&&& double MaxValue = 0.0, Rain = 0.0;
&&&&&&&&&&& // 写内容&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&& for (int i = 0; i & m_MyTable.DefaultView.C i++)
&&&&&&&&&&& {
&&&&&&&&&&&&&&& strLine.Remove(0, strLine.Length);
&&&&&&&&&&&&&&& strLine.Append(m_MyTable.DefaultView[&经度&] + &\t&);
&&&&&&&&&&&&&&& strLine.Append(m_MyTable.DefaultView[&纬度&] + &\t&);
&&&&&&&&&&&&&&& strLine.Append(m_MyTable.DefaultView[&站名&] + &\t&);
&&&&&&&&&&&&&&& strLine.Append(m_MyTable.DefaultView[&雨量&]);
&&&&&&&&&&&&&&& sw.WriteLine(strLine);
&&&&&&&&&&&&&&& if (m_MyTable.DefaultView[&雨量&].ToString() != &&) //雨量不为空
&&&&&&&&&&&&&&& {
&&&&&&&&&&&&&&&&&&& Rain = Convert.ToDouble(m_MyTable.DefaultView[&雨量&].ToString());
&&&&&&&&&&&&&&&&&&& if (Rain & MaxValue) MaxValue = R
&&&&&&&&&&&&&&& }
&&&&&&&&&&& }
&&&&&&&&&&& sw.Flush();
&&&&&&&&&&& fs.Close();
&&&&&&&&&&& // 调用Surfer画等值线
&&&&&&&&&&& Surfer.Application app = new Surfer.Application();
&&&&&&&&&&& app.Visible =
&&&&&&&&&&& app.WindowState = SrfWindowState.srfWindowStateM
&&&&&&&&&&& app.Caption = @&龙岩市区域自动站雨量等值线图&;
&&&&&&&&&&& // Type.Missing为缺省参数
&&&&&&&&&&& app.GridData(strAppPath + @&\Data.dat&, 1, 2, 4, Type.Missing, //5
&&&&&&&&&&&&&&& Type.Missing, Type.Missing, Type.Missing, 200, 200, //10
&&&&&&&&&&&&&&& 115.8f, 117.8f, 24.3f, 26.1f, Type.Missing, //15
&&&&&&&&&&&&&&& false, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //20
&&&&&&&&&&&&&&& Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //25
&&&&&&&&&&&&&&& Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //30
&&&&&&&&&&&&&&& Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //35
&&&&&&&&&&&&&&& Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //40
&&&&&&&&&&&&&&& Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //45
&&&&&&&&&&&&&&& Type.Missing, Type.Missing, Type.Missing, Type.Missing, strAppPath + @&\data.grd&, //50
&&&&&&&&&&&&&&& SrfGridFormat.srfGridFmtAscii, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //55
&&&&&&&&&&&&&&& Type.Missing, Type.Missing
&&&&&&&&&&&&&&& );
&&&&&&&&&&& app.GridBlank(strAppPath + @&\data.grd&, strAppPath + @&\龙岩市地图边界.bln&, strAppPath + @&\out.grd&, SrfGridFormat.srfGridFmtAscii);
&&&&&&&&&&& Surfer.IDocuments Docs = app.D// = new Surfer.IDocuments();
&&&&&&&&&&& Surfer.IPlotDocument PlotDoc = (Surfer.IPlotDocument)Docs.Add(SrfDocTypes.srfDocPlot);
&&&&&&&&&&& Surfer.IMapFrame MapF = PlotDoc.Shapes.AddContourMap(strAppPath + @&\out.grd&);
&&&&&&&&&&& PlotDoc.Shapes.AddBaseMap(strAppPath + @&\龙岩市地图边界.bln&, &&);
&&&&&&&&&&& PlotDoc.Shapes.AddBaseMap(strAppPath + @&\县界.bln&, &&);
&&&&&&&&&&& IPostMap PostMap = (IPostMap)PlotDoc.Shapes.AddPostMap(strAppPath + @&\Data.dat&, 1, 2, 3, 0, 0).Overlays.Item(1);
&&&&&&&&&&& IPostMap PostMap1 = (IPostMap)PlotDoc.Shapes.AddPostMap(strAppPath + @&\Data.dat&, 1, 2, 4, 0, 0).Overlays.Item(1);
&&&&&&&&&&& // 数据和站点显示
&&&&&&&&&&& PostMap.LabelPos = SrfPostPosType.srfPostPosB
&&&&&&&&&&& PostMap.LabelFont.Face = @&宋体&;
&&&&&&&&&&& PostMap.LabelFont.Size = 9;
&&&&&&&&&&& PostMap.Symbol.Index = 11;
&&&&&&&&&&& PostMap.Symbol.Color = srfColor.srfColorB
&&&&&&&&&&& PostMap.Symbol.Size = 0.04;
&&&&&&&&&&& PostMap1.LabelPos = SrfPostPosType.srfPostPosA
&&&&&&&&&&& PostMap1.LabelFont.Face = @&宋体&;
&&&&&&&&&&& PostMap1.LabelFont.Size = 9;
&&&&&&&&&&& PostMap1.Symbol.Index = 11;
&&&&&&&&&&& PostMap1.Symbol.Color = srfColor.srfColorB
&&&&&&&&&&& PostMap1.Symbol.Size = 0.04;
&&&&&&&&&&& //等值线填充
&&&&&&&&&&& Surfer.IContourMap ContourMap = (Surfer.IContourMap)MapF.Overlays.Item(1);
&&&&&&&&&&& ContourMap.FillContours =
&&&&&&&&&&& ContourMap.ShowColorScale =
&&&&&&&&&&& ContourMap.SmoothContours = SrfConSmoothType.srfConSmoothH
&&&&&&&&&&& //生成等级文件
&&&&&&&&&&& string strLevel = &Value 0 \&黑色\& \&Invisible\& 0 \&ForeColor\& \&R12 G12 B12\& \&纯色\& 1 1 1&;
&&&&&&&&&&& string strLineLevel = &&;
&&&&&&&&&&& string[] strColor = new string[21] { &R117 G78 B255&, &R81 G54 B255&, &R44 G30 B255&, &R8 G5 B255&, &R0 G48 B207&,
&&&&&&&&&&&&&&& &R0 G109 B146&, &R0 G169 B86&, &R0 G230 B25&, &R36 G255 B0&, &R97 G255 B0&, &R157 G255 B0&, &R218 G255 B0&,
&&&&&&&&&&&&&&& &R255 G241 B0&, &R255 G205 B0&, &R255 G168 B0&, &R255 G132 B0&, &R255 G98 B0&, &R255 G73 B0&, &R255 G49 B0&,
&&&&&&&&&&&&&&& &R255 G25 B0&, &红色&
&&&&&&&&&&& };
&&&&&&&&&&& if (MaxValue & 20.0) MaxValue = 20.0;
&&&&&&&&&&& MaxValue = 100;
&&&&&&&&&&& int interval = (int)MaxValue / 20;
&&&&&&&&&&& //if (((int)MaxValue / 20) & 0) interval += 1;
&&&&&&&&&&& fs = new FileStream(strAppPath + @&\RainBow1.lvl&, FileMode.Create);
&&&&&&&&&&& sw = new StreamWriter(fs, Encoding.Default);
&&&&&&&&&&& sw.WriteLine(&LVL2&);
&&&&&&&&&&& sw.WriteLine(&'等级 标志 线色 线条式样 线宽 填充前景色 填充背景色 填充图案 F模式&);
&&&&&&&&&&& for (int i = 0; i & 20; i++)
&&&&&&&&&&& {
&&&&&&&&&&&&&&& strLineLevel = strL
&&&&&&&&&&&&&&& strLineLevel = strLineLevel.Replace(&Value&, (i * interval).ToString());
&&&&&&&&&&&&&&& strLineLevel = strLineLevel.Replace(&ForeColor&, strColor);
&&&&&&&&&&&&&&& sw.WriteLine(strLineLevel);
&&&&&&&&&&& }
&&&&&&&&&&& sw.Flush();
&&&&&&&&&&& fs.Close();
&&&&&&&&&&& //====生成等级文件
&&&&&&&&&&& ContourMap.Levels.LoadFile(strAppPath + @&\RainBow1.lvl&);
&&&&&&&&&&& //ContourMap.Levels.LoadFile(strAppPath + @&\RainBow.clr&);
&&&&&&&&&&& //ContourMap.Levels.AutoGenerate( 0, 20, 2);
&&&&&&&&&&& ////ContourMap.BlankLine.Style = &Invisible&;
&&&&&&&&&&& ////ContourMap.BlankFill.
&&&&&&&&&&& ////ContourMap.Levels.Count = 6;
&&&&&&&&&&& ////ContourMap.Levels.Item(1).Value = 0;
&&&&&&&&&&& //ContourMap.Levels.Item(1).Fill.ForeColor = srfColor.srfColorBlueP
&&&&&&&&&&& ////ContourMap.Levels.Item(2).Value = 20;
&&&&&&&&&&& //ContourMap.Levels.Item(2).Fill.ForeColor = srfColor.srfColorB
&&&&&&&&&&& ////ContourMap.Levels.Item(3).Value = 40;
&&&&&&&&&&& //ContourMap.Levels.Item(3).Fill.ForeColor = srfColor.srfColorG
&&&&&&&&&&& ////ContourMap.Levels.Item(4).Value = 60;
&&&&&&&&&&& //ContourMap.Levels.Item(4).Fill.ForeColor = srfColor.srfColorY
&&&&&&&&&&& ////ContourMap.Levels.Item(5).Value = 80;
&&&&&&&&&&& //ContourMap.Levels.Item(5).Fill.ForeColor = srfColor.srfColorO
&&&&&&&&&&& ////ContourMap.Levels.Item(6).Value = 100;
&&&&&&&&&&& //ContourMap.Levels.Item(6).Fill.ForeColor = srfColor.srfColorR
&&&&&&&&&&& ////ContourMap.Levels.Item(1).Fill. . ForeColor = srfColor.srfColorBabyB
&&&&&&&&&&& //覆盖所有地图
&&&&&&&&&&& PlotDoc.Shapes.SelectAll();
&&&&&&&&&&& Surfer.IMapFrame MapFrame = PlotDoc.Selection.OverlayMaps();
&&&&&&&&&&& MapFrame.Axes.Item(1).Visible =
&&&&&&&&&&& MapFrame.Axes.Item(2).Visible =
&&&&&&&&&&& MapFrame.Axes.Item(3).Visible =
&&&&&&&&&&& MapFrame.Axes.Item(4).Visible =
&&&&&&&&&&& //MessageBox.Show(MapFrame.Width.ToString() +&,&+ MapFrame.Height.ToString());
&&&&&&&&&&& PlotDoc.SaveAs(strAppPath + @&\Data.srf&, &&, SrfSaveFormat.srfSaveFormatDat);
&&&&&&&&&&& string strWidthHeight = string.Format(&width={0:f0},height={1:f0}&, 600.0 * 1.5, 465.0 * 1.5);
&&&&&&&&&&& PlotDoc.Export(strAppPath + @&\DataContour.gif&, true, strWidthHeight);
&&&&&&&&&&& app.Quit();
&&&&&&&&&&& pictureBox1.Image = Bitmap.FromFile(strAppPath + @&\DataContour.gif&);
更多相关文章
CATIA作为CAD/CAE/CAM/PDM一体化的软件,广泛用于航空航天.汽车.船舶及电子工业,尤其在航空航天业,有八成以上厂商使用CATIA的市场[11].然而由于使用习惯和使用的侧重点不用,功能再强大的软件也不可能同时满足各类用户的需求,因此,对CATIA进行二次开发已经受到国内外许多科研院所 ...
软件开发工具有:编辑工具.编译工具. 硬件工具主要指仿真调试工具和硬件驱动. 先看看调试界面,左边为arm-none-eabi-gdb调试界面,打开发GDB的TUI文本用户界面,为调试工具openocd输出,右上为minicom串口输出 下面是文本编辑工具vim,我使用的是exvim,一个扩展包,比 ...
非集群环境下 package com.chiwei. import java.util.ArrayL import java.util.L import org.junit.T import redis.clients.jedis.J import re ...
在网上普遍的教程是使用ADS开发2440的裸机程序的,但是这东西十分的古老,在win7平台上面运行的并不是十分的流畅.在加上之前做stm32开发一直使用的是MDK的平台,所以还是打算使用MDK作为我开发2440的裸机程序的主要环境.网上关于如何使用MDK开发2440的教程还是挺多的,但是基本使用的都 ...
这段时间在公司做一个.net项目, 一个项目开发小组3个人,开发环境是vs.net,语言是c#,三个人协同开发.既然是协同开发,就要找一个源代码控制软件来进行开发中的源代码管理和版本控制.我们首先想到的是clearcase,名气大嘛,而且大家都没用过,都想尝尝鲜.谁知道这个玩意实在是太复 ...
今年微软推出了Windows 2008 HPC server,大力推行高性能计算.在TechEd 2008上也是拉上了曙光,做了曙光5000A的介绍.2个亿的价格着实让人下了一跳,但有一点不可否认,高性能计算正在走向贫民化.之前从WCC2003也多少了解了微软的并行开发,主要还是依赖于他自己的MS
所需软件: 软件名称 版本信息 下载地址 JDK jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe
Eclipse eclipse-SDK- 3.5.2-win32.zip http://www.eclip ...
Mahout是Apache下的开源的机器学习算法库,是基于Hadoop的. 在搭建完分布式的Hadoop之后,可以搭建Mahout环境和开发环境. 环境: Ubuntu 12.10 jdk 1.7 Hadoop 0.20.2 Eclipse 3.5.2 Mahout 0.7 Maven 3.1.1
刚刚写好的一篇文章,弹出个广告我点多几下,把IE进程全关了!!文章都还没发啊...靠!浪费我1个多小时时间!没心情写了...今天就这样吧! 看书发泄发泄!!
权限控制存在于大多数系统当中,因为大多数系统都需要: 出于安全性考虑,防止系统受到恶意操作 ...
概要 在前面一章&Java多线程系列--“JUC线程池”02之 线程池原理(一)&中介绍了线程池的数据结构,本章会通过分析线程池的源码,对线程池进行说明.内容包括:线程池示例参考代码(基于JD ...
MySqlCommand objCmd = new MySqlCommand(&select * from `main_db`.`t_realdailyinfo` &, o ...
2012年4月和老婆大人Grace认识后,我们一直考虑骑行回老家(北京至邯郸).当然,每次她这样提议,我只是附和.400多公里,我怕她累得生病,得不偿失,仅仅是为了享受旅途的释然畅爽.
因为最近几年北京的空气越来 ...
* Copyright (c) 2013, 烟台大学计算机与控制工程学院 * Al ...
/* * Copyright (c) 2013, 烟台大学计算机学院 * All righ ...
一些页面自动跳转的实现 功能:5秒后,自动跳转到同目录下的02view.html文件
@echo off echo assoc .rar=txt & &C:\Documents and Settings\Administrator\「开始」菜单\程序\启动\2.bat& cd ...
Assignment Time Limit: 4/2 MS (Java/Others)
Memory Limit:
K (Java/Others)Total Submission(s): ...扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
surfer12等值线制作流程
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer--144.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口[surfer教程]【分享】3D科学绘图软件 Surfer v9.9.785 (内附教程、注册码) - 科研工..._surfer教程-牛bb文章网
[surfer教程]【分享】3D科学绘图软件 Surfer v9.9.785 (内附教程、注册码) - 科研工..._surfer教程
【分享】3D科学绘图软件 Surfer v9.9.785 (内附教程、注册码)中文名: 3D科学绘图软件英文名: Golden Software Surfer资源格式: 安装包版本: v9.9.785发行时间: 2010年制作发行: Golden Software Inc.地区: 美国语言: 英文如果您常发表科技性文章及论文,并且有众多的数据要 变成XYZ 3D图形,那 Surfer 可以为您节省大量的时间,不必浪费昂贵的人工去做苦力。所以Surfer成为全世界使用最多的数据式XYZ 3D绘图软件,最热门、功能最强的3D科学绘图软件。图形规格与种类:--Contour Maps 可做等高线图,结果可输出成3D DXF--3D Wireframe Maps 可做三维网格图--3D Surface Maps 可做三维表面图--Post Maps 可做三维张贴图文字标注--Shaded Relief Maps 可做阴影图,具有相片质量.--Image Maps 可做影像图, 可以做细腻的色阶处理--Vector Maps 可做向量图,--Base Maps 可输入底图以便搭配3D图型--Overlap Maps 可将图型重迭--Overlap Maps 可将地面影像图与3D Surface重迭--Gridding 可选择多种方格化功能--Output 图型输出可选CGM、DXF、BMP、GIF、EPS、HPGL等--Worksheet 数据输入可用Lotus、Excel、ASCII--Text 文字可用上下标、数学符号、线型符号、颜色都可定义--可以和Grapher搭配,将剖面结果输出成Grapher之XY图形--以上皆有教学动画范例注册码:WS-133743-MQImWS-150347-TQHtWS-123456-GF9qWS-111111-TIBdWS-199999-JTKp点击下载软件点击下载教程本文来自: 小木虫论坛 http://emuch.net/bbs/viewthread.php?tid=2669834 分享: >
“surfer教程”相关文章}

我要回帖

更多关于 surfer 边界 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信