JAVA----ArcSDE环境搭建

来源:互联网 发布:孤芳不自赏 知乎 编辑:程序博客网 时间:2024/04/28 09:45

一:ArcSDE Java API提供了一个开放的,高层次的编程接口来处理和分析空间信息。

      Java API 包含三个包:

  • com.esri.sde.sdk.client provides classes that expose ESRI's ArcSDE server functionality. Applications created with this package can establish a connection to an ArcSDE instance, query a layer, and otherwise communicate with an ArcSDE server.
     
  • com.esri.sde.sdk.geom contains classes that implement the OGC (Open GIS Consortium) Geometry interfaces.
     
  • com.esri.sde.sdk.pe provides classes to define coordinate systems and to transform data between different coordinate systems.

二:搭建JAVA开发环境

       需要引入的jar包:

        FileDescription        jsde_sdk.jarContains the ArcSDE Client, and Geometry Java API class files.        jpe_sdk.jarContains the ArcSDE Projection Engine Java API class files.        concurrent.jarProvides standardized, efficient versions of utility classes commonly encountered in concurrent Java programming.        icu4j_3_2.jar

ICU4J libraries required for globalization.

        搭建应用环境必须必须是在JDK1.6以上或者更高版本,必须引入以上这个四个包。(以上jar包是9.X的版本,新版本我用的是10.0的版本)

        sde.jar、jpe.jar、icu4j.jar目前暂时不用到concurrent.jar,不知道为什吗官网API迟迟不更新。由于本人翻译水平有限,所以为了避免误导不做翻译大家参考官网

        http://help.arcgis.com/en/geodatabase/10.0/sdk/arcsde/api/japi/japi.htm


三:测试案例:

 



0 0
原创粉丝点击