Shapefile文件组成,Shapefile文件的修复
来源:互联网 发布:淘宝店名名字 编辑:程序博客网 时间:2024/05/01 08:35
Shapefile维基百科:http://zh.wikipedia.org/wiki/Shapefile (个人觉得写的很详细)
这些文件英文解释如下(看不懂可以看下面的中文解释):
Shapefile file extensions
- shp—The main file that stores the feature geometry. Required.
- .shx—The index file that stores the index of the feature geometry. Required.
- .dbf—The dBASE table that stores the attribute information of features. Required.
There is a one-to-on e relationship between geometry and attributes, which is based on record number. Attribute records in the dBASE file must be in the same order as records in the main file. - .sbn and .sbx—The files that store the spatial index of the features.
- .fbn and .fbx—The files that store the spatial index of the features for shapefiles that are read-on
ly. - .ain and .aih—The files that store the attribute index of the active fields in a table or a theme's attribute table.
- .atx—An .atx file is created for each shapefile or dBASE attribute index created in ArcCatalog. ArcView GIS 3.x attribute indexes for shapefiles and dBASE files are not used by ArcGIS. A new attribute indexing model has been developed for shapefiles and dBASE files.
- .ixs—Geocoding index for read-write shapefiles.
- .mxs—Geocoding index for read-write shapefiles (ODB format).
- .prj—The file that stores the coordinate system information. Used by ArcGIS.
- .xml—Metadata for ArcGIS—stores information about the shapefile.
必须的文件:
- .shp — 图形格式,用于保存元素的几何实体。
- .shx — 图形索引格式。几何体位置索引,记录每一个几何体在shp文件之中的位置,能够加快向前或向后搜索一个几何体的效率。
- .dbf — 属性数据格式,以dBase IV的数据表格式存储每个几何形状的属性数据。
其他可选的文件:
- .prj — 投影格式,用于保存地理坐标系统与投影信息,是一个存储well-known text投影描述符的文本文件。
- .sbn and .sbx — 几何体的空间索引
- .fbn and .fbx — 只读的Shapefiles的几何体的空间索引
- .ain and .aih — 列表中活动字段的属性索引。
- .ixs — 可读写Shapefile文件的地理编码索引
- .mxs — 可读写Shapefile文件的地理编码索引(ODB格式)
- .atx — .dbf文件的属性索引,其文件名格式为shapefile.columnname.atx (ArcGIS 8及之后的版本)
- .shp.xml — 以XML格式保存元数据。
- .cpg — 用于描述.dbf文件的代码页,指明其使用的字符编码。
当中.shp、.shx、.dbf三个是万万不能删除的,删除掉一个就出错了。shp没了一切全都没了,正所谓的皮之不存,毛将焉附。删掉shx虽然打不开文件,但有工具能修复。删掉.dbf文件也能修复,可属性是找不回来了。删掉.prj文件会导致投影信息丢失。.sbn 、.sbx 文件删掉后将丢失所建的索引,但不影响大局。
补充:
shapefile修复软件:http://arcscripts.esri.com/details.asp?dbid=10806
修复shapefile相关参考链接:http://forums.esri.com/Thread.asp?c=93&f=982&t=136771
修复Shape区文件中的空洞 http://user.qzone.qq.com/617662776/blog/1329668086
0 0
- Shapefile文件组成,Shapefile文件的修复
- Shapefile 文件的局限性
- Shapefile文件
- IDL读取Shapefile文件
- 创建空白ShapeFile文件
- 创建shapefile文件
- geotools读取shapefile文件
- shapefile文件中单点的读取
- shapefile和layer文件的区别是什么?
- shapefile文件导入mysql的办法
- C++、GDAL创建shapefile文件
- FeatureLayer到本地shapefile文件
- shapefile文件(shp)读取
- C++实现shapefile文件的读写和基本功能的操作
- geotools读写shapefile文件汉字乱码问题的解决方法
- 基于ArcGIS Server对ShapeFile文件的编辑功能实现
- 基于ArcGIS Server对ShapeFile文件的编辑功能实现 .
- 获取shapefile文件最小包围矩形的c++程序
- 黑马程序员—静态概述
- hdu 2686 Matrix (多线程dp)
- 一道SQL的面试题之联想
- leetcode day5 -- Reorder List && Linked List Cycle II
- Codeforces Round #243 (Div. 2) Problem B - Sereja and Mirroring 题解
- Shapefile文件组成,Shapefile文件的修复
- 蓝桥杯——奇怪的比赛
- 玛雅~终于开始勤奋了特闷
- 感觉很是不适应呢
- Linux的NPTL
- 犁称言缘剩狠挚棉1-2(25)
- Java连接mySql—简单JDBC连接数据库
- HTML中如何用CSS设置文本样式
- 为什么别人愿意与你相处?有用,有料,有量,有心