科学网

 找回密码
  注册

tag 标签: arcmap

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

[转载]ArcMap中属性字段计算器(简单循环)
haojm198 2018-11-25 11:53
对于简单的计算,简单模式就可以完成,不需要高级模式,但是为了便于大家掌握Field Calculator的使用,下来我们来看下如何在高级模式下来完成相应的操作。    高级模式的操作界面如下图:
个人分类: arcGIS|1012 次阅读|0 个评论
ArcGIS 中如何通过坐标点生成四边形
热度 1 geoallan 2013-3-6 13:10
今日,有q友在q群里求助,如何用四个坐标点生成带有一定投影的图框。 我给他简单分析了一下,认为就是通过四个坐标点画出一个多边形来。 这个以前用Arcinfo Workstation版本的时候似乎遇到多,但很多年不用都已经记不清了。 本着热心助人,我自己也学习的宗旨,我把他的投影文件要了过来,研究了一下,几经周折,终于做好。 过程如下: 1.把四个坐标点输入到excel中,度分秒的一致转化为度。把文件保存 2.把excel文件在Catalog中,转为dbf格式。并加到Arcmap中 3.在Arcmap中,file——add data-from xy data,刚才加入的dbf文件自动加载,x,y字段自动加载 4.生成点文件。 5.arctools下,data management有point to line工具,通过这个工具即可完成这项任务了
个人分类: 地理信息科学|12144 次阅读|2 个评论
[转载]arcmap坐标点生成线和面
geoallan 2013-3-6 12:59
转载自 yetom 的网易博客,特此致谢 http://yetom5000.blog.163.com/blog/static/117166696201178112630239/ 2011-08-08 11:26:30 |分类: 专业实用 | 字号 订阅 execl 点数据转 arcgis 点文件 一、 创建 execl 点文件 要求格式:第一列为点号,接着两列为 X 、 Y 坐标,表格第一行最好为 ID 、 X 、 Y 二、 二、导入 ARCGIS 点击 tools —— Add XY Date ,选择表格、坐标系。 三、 三、保存点文件 在 arcgis 左边的文件框中选择 Sheet1$ Events 文件点右键 —— Date —— Export Date ,再点 ok 即可 !!! 如要标注点号,选择点文件 —— 右键 —— 属性(最下面那个) —— 按照图 1 选择 label field 的项目 —— 再单击文件右键选择 label features ,即可。 execl 点数据转成 Arcgis 线、面文件 1 、首先将 EXCEL 中的数据导出为 TXT 格式的文本方档(格式参照以下注意问题及后面的数据格式)。 2 、打开 ARCGIS ,点击 ARCGIS 工具箱,找到 Samples - data   management - features - creat   feature   from   text   file ,各参数设置参照注意问题及数据格式。 ARCGIS 中用数据生成线及面要 注意的问题 : Samples - data   management - features - creat   feature   from   text   file Inpur   decimal   separator 中在英文状态下输入任一字符,但不能使用空格。 数据格式 : 1 、 Polyline 后面不能有空格;(如果要生成面,将 Polyline 改成 Polygon ) 2 、数据间的空格间隔只能是一个字符; 3 、生成线的每一点要按顺序排列,按不同顺序排列会生成不同的图像; 4 、第一个点的序号从 0 开始编号; 5 、若要生成多条线,对每条线要编号;且要符合上述的要求,每条线的点重新从 0 开始编号; 6 、最后一行要加上 END ; 7 、将数据从 EXCEL 表中导出成 TXT 格式后,按上述要求调整好数据格式,新建一个 TXT 文档,将数据复制到新建的文档当中。 8 、各个点的坐标数据必须保留 1 位以上的小数。 附数据格式: Polyline 1 0 0 100.0 200.0 1.#QNAN 1.#QNAN 1 101.0 201.0 1.#QNAN 1.#QNAN 2 102.0 202.0 1.#QNAN 1.#QNAN 3 103.0 203.0 1.#QNAN 1.#QNAN 4 104.0 204.0 1.#QNAN 1.#QNAN 5 105.0 205.0 1.#QNAN 1.#QNAN 6 106.0 206.0 1.#QNAN 1.#QNAN 7 107.0 207.0 1.#QNAN 1.#QNAN 8 108.0 208.0 1.#QNAN 1.#QNAN END 生成多条线的数据格式: Polyline 1 0 0 2307375.5 738229.4375 1.#QNAN 1.#QNAN 1 2307272.5 738052.875 1.#QNAN 1.#QNAN 2 2307269.5 738043.3125 1.#QNAN 1.#QNAN 3 2307268.75 738033.3125 1.#QNAN 1.#QNAN 4 2307270.25 738023.375 1.#QNAN 1.#QNAN 5 2307273.75 738014.0 1.#QNAN 1.#QNAN 6 2307279.25 738005.625 1.#QNAN 1.#QNAN 7 2307286.5 737998.75 1.#QNAN 1.#QNAN 8 2307295.25 737993.5625 1.#QNAN 1.#QNAN 9 2307304.75 737990.4375 1.#QNAN 1.#QNAN 10 2307314.75 737989.5 1.#QNAN 1.#QNAN 2 0 0 2307761.25 737763.374999 1.#QNAN 1.#QNAN 1 2307783.25 737797.624999 1.#QNAN 1.#QNAN 2 2307786.0 737807.249999 1.#QNAN 1.#QNAN 3 2307786.25 737817.249999 1.#QNAN 1.#QNAN 4 2307784.0 737827.062499 1.#QNAN 1.#QNAN 5 2307779.5 737835.937499 1.#QNAN 1.#QNAN END 生成面的数据格式: Polygon 1 0 0 100.0 200.0 1.#QNAN 1.#QNAN 1 200.0 200.0 1.#QNAN 1.#QNAN 2 200.0 300.0 1.#QNAN 1.#QNAN 3 100.0 300.0 1.#QNAN 1.#QNAN 4 100.0 200.0 1.#QNAN 1.#QNAN END 获得了一批点坐标信息(如通过 GPS 获得的点位坐标),将这些坐标信息直接转换成 Arcmap 下面的点,或者说就是把这些点坐标直接转换成线或面,需要用到 Add XY Data… 工具: 1 ,将数据导入到 Excel 里面,总共有两列 X , Y (列名可以随便取,但必须有列名),下面对应 x , y 坐标数据即可; 2 ,将文件保存成 . xls 或者 dbf 文件。 ( 1 ) ArcMAP 下面,菜单 tools-Add XY Data ( 2 )这时会形成一个新图层,所有的点都添加进来了,但现在添加进来的点由于没有 objectID 或 者 FID ,现在图层不具备 .shp 图层的大部分功能,如点的选择,编辑,关联,属性等操作 ( 3 )在刚才生成的图层上点右键,选 data -expot data… ,导出成 . shp 文件。 3 ,利用 arcgis 中 toolbox 工具中的脚本,将 shp 点文件转成线或面 ( 1 )利用 write features to Text file 生成 txt 文件,这个文件主要是描述各个点的坐标和格式化用的.将 Point 改成 Polyline 或 Polygon ,即可满足连接生成线和面。 ( 2 )利用 Create Features From Text File 工具 导 入刚刚你生成的并改 Polyline 或 Polygon 的 txt 文件 将 INput decimal separator 改成 12345678 .12345 或者 11111111.11111 也 可以是其他 txt文件格式说明: 1 、 Polyline 后面不能有空格;(如果要生成面,将 Polyline 改成 Polygon ); 2 、数据间的空格间隔只能是一个字符; 3 、生成线的每一点要按顺序排列,按不同顺序排列会生成不同的图像; 4 、第一个点的序号从 0 开始编号; 5 、若要生成多条线,对每条线要编号;且要符合上述的要求,每条线的点重新从 0 开始编号; 6 、最后一行要加上 END ; 7 、 各个点的坐标数据必须保留 1 位以上的小数。 附数据格式: Polyline 1 0 0 100.0 200.0 1.#QNAN 1.#QNAN 1 101.0 201.0 1.#QNAN 1.#QNAN 2 102.0 202.0 1.#QNAN 1.#QNAN 3 103.0 203.0 1.#QNAN 1.#QNAN 4 104.0 204.0 1.#QNAN 1.#QNAN 5 105.0 205.0 1.#QNAN 1.#QNAN 6 106.0 206.0 1.#QNAN 1.#QNAN 7 107.0 207.0 1.#QNAN 1.#QNAN 8 108.0 208.0 1.#QNAN 1.#QNAN END 生成多条线的数据格式: Polyline 1 0 0 2307375.5 738229.4375 1.#QNAN 1.#QNAN 1 2307272.5 738052.875 1.#QNAN 1.#QNAN 2 2307269.5 738043.3125 1.#QNAN 1.#QNAN 3 2307268.75 738033.3125 1.#QNAN 1.#QNAN 4 2307270.25 738023.375 1.#QNAN 1.#QNAN 5 2307273.75 738014.0 1.#QNAN 1.#QNAN 6 2307279.25 738005.625 1.#QNAN 1.#QNAN 7 2307286.5 737998.75 1.#QNAN 1.#QNAN 8 2307295.25 737993.5625 1.#QNAN 1.#QNAN 9 2307304.75 737990.4375 1.#QNAN 1.#QNAN 10 2307314.75 737989.5 1.#QNAN 1.#QNAN 2 0 0 2307761.25 737763.374999 1.#QNAN 1.#QNAN 1 2307783.25 737797.624999 1.#QNAN 1.#QNAN 2 2307786.0 737807.249999 1.#QNAN 1.#QNAN 3 2307786.25 737817.249999 1.#QNAN 1.#QNAN 4 2307784.0 737827.062499 1.#QNAN 1.#QNAN 5 2307779.5 737835.937499 1.#QNAN 1.#QNAN END 生成面的数据格式: Polygon 1 0 0 100.0 200.0 1.#QNAN 1.#QNAN 1 200.0 200.0 1.#QNAN 1.#QNAN 2 200.0 300.0 1.#QNAN 1.#QNAN 3 100.0 300.0 1.#QNAN 1.#QNAN 4 100.0 200.0 1.#QNAN 1.#QNAN END
个人分类: 地理信息科学|7649 次阅读|0 个评论
[转载]打开SHP文件出错,记录数与图形数量不匹配
cui99515158 2010-12-11 09:26
背景:打开SHP文件的时候提示如下错误: Error opening feature class.Number of shapes does not match the number of table records 然后ArcMap或ArcCatalog自动关闭 错误原因: shapefile损坏,导致空间记录数和属性记录数不匹配. 导致shapefile损坏的具体原因ESRI给出了以下几点: * Adding or deleting records to the DBF file corresponding to the existing shapefile. * A system failure occurs during the edit process and the shapefile is saved in a corrupted state. * Multiple users editing the same shapefile. * Adding features to a theme and the user double-clicks the mouse. A record with zero area is added to the table, but the feature may not be visible in the view. 解决办法: ESRI提供的解决办法有 以 下三种: * 直接编辑*.DBF文件 ( Edit the DBF file ) 1. Open the DBf file. 2. Delete the last record. 3. Close and save the DBF file. 4. Load the shapefile into your View. You may try this method multiple times. * 使用ArcInfo Workstation 1. Run the SHAPEARC command on the shapefile. 2. Run DESCRIBE on the output coverage. 3. Make note of the number of shapes. 4. Open the DBF corresponding to the shapefile. 5. Compare the number of records of the DBF to the number shapes resulting from the DESCRIBE command. a) If the number of DBF records is more than the number of shapes, delete records until the number of shapes matches the number of records. b) If the number of DBF records is less than the number of shapes, add records until the number of shapes matches the number of records. 6. Save the DBF file. * 使用ArcView The shapefile should open in ArcView, but there is no guarantee that attribute information for the shapefile will be correct. To test if the attribute data is assigned to the correct feature, do the following: 1. Load the shapefile into a new view. 2. Open the attribute table for the shapefile. 3. Tile the view and the table 4. Select a record. 5. Compare the selected record with the selected feature in the view. 6. If the feature does not correspond with the attribute, determine whether and where to add or delete records. You will have to edit the DBF appropriately, keeping in mind that the number of records must equal the number of shapes. Repeat the comparison steps until the features and attributes are synchronized.
个人分类: 国学|12476 次阅读|0 个评论
arcmap绘图功能 2
icstu1 2009-11-26 10:56
arcmap绘图功能 2 arcmap绘图功能 2
个人分类: F 描述场景与回溯某个实例|983 次阅读|0 个评论
arcmap绘图功能 1
icstu1 2009-11-26 10:55
arcmap绘图功能 1 arcmap绘图功能 1
个人分类: F 描述场景与回溯某个实例|1308 次阅读|0 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-15 08:13

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部