`
tzraeq
  • 浏览: 82285 次
  • 性别: Icon_minigender_1
  • 来自: 沈阳
社区版块
存档分类
最新评论

汉化ArcSDE API for JAVA中的错误描述

阅读更多
老外还是很注重国际化的,所以SDE API同样留下了国际化的余地

以9.3.1中的jsde.jar包为例,在你的工程中新建一个com.esri.sde.sdk.sg包

然后把附件中的SgExceptionRes.properties文件解压到该包下,想汉化哪一个所悟描述就手动改文件,但是要注意properties文件的格式,最好使用Eclipse与对应的插件进行编译,一劳永逸.

内容如下
#SG_SUCCESS|Sucess
0=成功
#SG_FAILURE|General failure error
-2000=未指定错误类型
#SG_INVALID_SHAPE_OBJECT|Invalid shape object handle
-2001=几何图形的句柄不合法
#SG_INVALID_POINTER|Specified pointer value is null or invalid
-2002=指针对应的值为空或不合法
#SG_INVALID_PARAM_VALUE|Specified parameter value is invalid
-2003=指定的参数值错误
#SG_INVALID_SHAPE|Invalid shape, can not be verified
-2004=几何图形错误,无法进行校验
#SG_INVALID_PARTNUM|Specified part doesn't exist in the shape
-2005=在几何图形中不存在指定的部分
#SG_INVALID_ENTITY_TYPE|Invalid shape entity type
-2006=几何实体类型错误
#SG_INCOMPATIBLE_SHAPES| The shapes are of incompatible types
-2007=几何实体间的类型不匹配
#SG_SHAPE_INTEGRITY_ERROR|Model integrity error
-2008=Model integrity error
#SG_INVALID_SEARCH_METHOD|Invalid search method
-2009=Invalid search method
#SG_INVALID_END_POINT|Specified end point is invalid
-2010=Specified end point is invalid
#SG_INVALID_RADIUS|Specified radius is invalid
-2011=Specified radius is invalid
#SG_TOO_MANY_POINTS|Too many points generated by this operation
-2012=Too many points generated by this operation
#SG_ALL_SLIVERS|Sliver factor caused all results to be slivers
-2013=Sliver factor caused all results to be slivers
#SG_POINT_NO_EXIST|Specified point doesn't exist in the shape
-2014=Specified point doesn't exist in the shape
#SG_BUFFER_OUT_OF_BOUNDS|Resulting buffer exceeds valid coordinate range
-2015=Resulting buffer exceeds valid coordinate range
#SG_INVALID_SYSTEM_UNITS|Systems units < 1 or > 2147483647.
-2016=Systems units < 1 or > 2147483647.
#SG_PATH_NOT_FOUND|Coord path not found in shape edit op.
-2017=Coord path not found in shape edit op.
#SG_OUT_OF_MEMORY|Out of memory
-2018=Out of memory
#SG_INVALID_PART_OFFSET|Part offset is invalid
-2019=Part offset is invalid
#SG_INCOMPATIBLE_COORDREFS|The given coordinate references are incompatible
-2020=给出的多个坐标系之间不匹配
#SG_COORD_OUT_OF_BOUNDS|The specified coordinate exceeds the valid coordinate range
-2021=坐标超出合法范围
#SG_INVALID_ENVELOPE|The given envelope is NULL, has negative values, or min > max
-2022=The given envelope is NULL, has negative values, or min > max
#SG_INVALID_COORDREF_OBJECT|Invalid coordinate reference object handle
-2023=Invalid coordinate reference object handle
#SG_INVALID_COORDSYS_ID|Invalid identifier for a coordinate system
-2024=Invalid identifier for a coordinate system
#SG_INVALID_COORDSYS_DESC|Invalid description for a coordinate system
-2025=Invalid description for a coordinate system
#SG_PROJECTION_ERROR|Error projecting shape points
-2026=Error projecting shape points
#SG_POLY_SHELLS_OVERLAP|2 donuts or 2 outer shells overlap
-2027=2 donuts or 2 outer shells overlap
#SG_TOO_FEW_POINTS|numofpts is less than required for feature
-2028=numofpts is less than required for feature
#SG_INVALID_PART_SEPARATOR|part separator in the wrong position
-2029=part separator in the wrong position
#SG_INVALID_POLYGON_CLOSURE|polygon does not close properly
-2030=面状图形坐标不闭合
#SG_INVALID_OUTER_SHELL|A polygon outer shell does not completely enclose all donuts for the part
-2031=A polygon outer shell does not completely enclose all donuts for the part
#SG_ZERO_AREA_POLYGON|Polygon shell has no area
-2032=图形面积无法计算
#SG_POLYGON_HAS_VERTICAL_LINE|Polygon shell contains a vertical line
-2033=Polygon shell contains a vertical line
#SG_OUTER_SHELLS_OVERLAP|Multipart area has overlapping parts
-2034=Multipart area has overlapping parts
#SG_SELF_INTERSECTING|Linestring or poly boundary is self-intersecting
-2035=连续线段或多边形自相交
#SG_READ_ONLY_SHAPE|Attempted to modify read-only shape
-2036=Attempted to modify read-only shape
#SG_INVALID_NUM_MEASURES|Number of measures in binary is invalid
-2037=Number of measures in binary is invalid
#SG_INVALID_NUM_PARTS|Number of parts in binary is invalid
-2038=Number of parts in binary is invalid
#SG_BINARY_TOO_SMALL|Shape won't fit in supplied binary
-2039=Shape won't fit in supplied binary
#SG_INVALID_BYTE_ORDER|WKB shape byte order is invalid
-2040=WKB shape byte order is invalid
#SG_INVALID_GEOMETRY_TYPE|Invalid shape's geometry type
-2041=Invalid shape's geometry type
#SG_SHAPE_TEXT_TOO_LONG|Length of shape text exceeding the allocated buffer size
-2042=Length of shape text exceeding the allocated buffer size
#SG_AMBIGUOUS_NIL_SHAPE|No SQL type provided when converting NIL shape to text
-2043=No SQL type provided when converting NIL shape to text
#SG_TYPE_MISMATCH|Unexpected shape SQL type
-2044=Unexpected shape SQL type
#SG_SQL_PARENTHESIS_MISMATCH|Parenthesis mismatches in shape text
-2045=Parenthesis mismatches in shape text
#SG_SHAPE_TEXT_ERROR|Syntax error in shape text
-2046=Syntax error in shape text
#SG_TOO_MANY_PARTS|Shape has too many parts
-2047=Shape has too many parts
#SG_NIL_SHAPE_NOT_ALLOWED|NIL shape is not allowed for WKB
-2048=NIL shape is not allowed for WKB
#SG_SCL_SYNTAX_ERROR|SCL Language Syntax Error
-2049=SCL Language Syntax Error
#SG_SPATIALREF_NO_CLUSTER_TOL|undefined
-2051=未定义描述
#SG_NOT_IMPLEMENTED_YET|Function or option has not been implemented
-2999=Function or option has not been implemented
分享到:
评论

相关推荐

    ArcSde for java 的jar包

    总的来说,ArcSDE for Java的jar包为Java开发者提供了访问和操作空间数据的强大工具,使得在Java环境中构建GIS应用成为可能。通过对这些jar包的深入理解和合理运用,开发者可以构建出高效、可扩展且具备国际化能力的...

    ArcSDE Help

    《ArcSDE帮助文档》是针对使用ArcSDE API for JAVA进行地理信息系统开发的重要参考资料。ArcSDE(ArcSpatial Data Engine)是Esri公司提供的一种强大的数据管理工具,它允许用户在多用户环境下存储、管理和操作大型...

    ArcSDE.rar_ArcSDE C API_ArcSDE C sharp_ArcSDE api_arcsde_doc

    "arcsde_doc"标签可能指的是ArcSDE的官方文档,这份文档详细介绍了ArcSDE的各种API的使用方法、示例代码、最佳实践和错误处理等内容。它是开发者学习和使用ArcSDE的关键资源,可以帮助开发者快速上手并解决实际问题...

    ArcSDE 10.2 FOR Oracle10g、11g安装包

    ArcSDE 10.2 for Oracle 10g 和 11g ...总结来说,ArcSDE 10.2 for Oracle 10g和11g是一个复杂的系统,它在Windows环境中提供了对Oracle数据库的强大GIS功能。理解和掌握这些知识点对于成功部署和管理GIS项目至关重要。

    ArcSDE C API

    包含: ArcSDE C API参考手册 ArcSDE JAVA API参考手册 ArcSDE API Samples使用程序实例

    arcsde10.1 for oracle 11g下载

    arcsde10.1 for oracle 11g百度云下载链接,包括ArcSDE_Windows_101.iso,server101.ecp,ArcSDE10.1安装.pdf等等内容

    ArcSDE10 for Oracle11g下载地址

    在使用ArcSDE10 for Oracle11g过程中,可能会遇到一些常见的问题,例如连接失败、性能问题等。以下是一些可能的解决方法: - **连接失败**:检查数据库服务是否启动、网络连接是否正常以及用户名密码是否正确。 - **...

    ArcSDE C API示例

    在描述中提到,这是一个预研性质的示例,意味着它可能还不是完整的解决方案,而是为了探索和理解ArcSDE C API功能的一个起点。开发者可能在找寻相关的示例时遇到了困难,因为网上的资源相对稀缺。这个示例旨在帮助有...

    ArcSDE 9.3 Java API离线帮助手册

    《ArcSDE 9.3 Java API离线帮助手册》是GIS开发人员的重要参考资料,它提供了全面、详尽的关于ArcSDE 9.3版本的Java应用程序接口(API)的指南。ArcSDE,全称Arc Spatial Data Engine,是由Esri公司开发的一款用于...

    arcsde_sdk_9.3_java

    《ArcSDE SDK 9.3 for Java:二次开发的核心工具》 ArcSDE SDK 9.3 for Java,作为一款专为Java平台设计的软件开发工具包,为GIS(地理信息系统)领域的开发者提供了强大的支持,使他们能够进行深度集成和定制化的...

    基于ArcSDE C API的ArcSDE客户端实现方法.zip

    总之,《基于ArcSDE C API的ArcSDE客户端实现方法》这份资料详细介绍了如何使用C API来开发ArcSDE客户端应用,涵盖了从初始化到操作数据、错误处理以及资源释放的全过程。通过学习和实践,开发者能够熟练掌握这一...

    ArcSDE10.0 forWindows_121099.iso下载地址

    ArcSDE10_Windows_121099.iso...Arcsde 10 for oracle ArcSde 10 for SqlServer Arcsde 10 for DB2 Arcsde 10 for Informix Arcsde 10 for PG 32位和64位完整官方映像。 1.04G的那个。 破解自己找,网上太多了。

    基于ArcSDE C API的ArcSDE客户端实现方法

    3. **错误处理**:在使用C API的过程中,应充分考虑错误处理机制,对于可能出现的异常情况,如连接失败、数据格式错误等,需设计合理的错误捕获和处理流程。 4. **性能测试**:完成基本功能开发后,应对系统进行...

    ArcSDE9.2 for Oracle10g92sp5

    ArcSDE9.2 for Oracle10g92sp5

    ArcSDE 10.1 for SQLServer2008异地还原

    ### ArcSDE 10.1 for SQL Server 2008异地还原详解 #### 一、概述 ArcSDE是Esri推出的一款用于管理地理空间数据的企业级解决方案,能够支持多种关系型数据库管理系统(RDBMS),如Oracle、Microsoft SQL Server等...

    ArcSDE10 for Oracle10g.part04.rar

    刚刚弄到的ArcSDE10 for Oracle10g,很给力啊;还有ArcSDE10 for windows,需要的请联系我。

    ArcSDE_for_oracle(AIX)分布式部署

    【ArcSDE for Oracle(AIX)分布式部署】是将Esri的ArcSDE地理数据库软件在AIX操作系统上与Oracle数据库结合,实现跨平台的分布式地理信息系统服务。ArcSDE提供了一个中间件,使得GIS数据能够在不同的操作系统和数据库...

    ArcSDE10 for Oracle10g.part01.rar

    刚刚弄到的ArcSDE10 for Oracle10g,很给力啊;还有ArcSDE10 for windows,需要的请联系我。

Global site tag (gtag.js) - Google Analytics