com.supermap.chart
类 FeatureInfoS57
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.chart.FeatureInfoS57
-
- 所有已实现的接口:
- IDisposable
public class FeatureInfoS57 extends com.supermap.data.InternalHandleDisposable
S-57 物标信息类。 用于表示 S-57 物标的基本信息,包括物标的简称、完整名称、类型及其他相关信息。S-57objecst.xml 中存储了 S-57 物标的基本信息。通过该类可以获取该 XML 文件中 S-57 物标的基本信息。以机场物标为例,如下图所示:
通过该类获取的机场物标的基本信息:
Acronym
="AIRARE"、Code
="2"、Type
="Geo"、Name
="Airport/airfield"以及Definition
、References
、Remarks
。S57objecst.xml 文件的初始位置为:SuperMap 组件产品安装目录\Bin\Resource\Chart\S57文件夹下,但需要注意的是,该文件路径可通过
ChartEnvironment
类的setS57ObjectFile
方法进行修改,并且 SuperMap 不建议对该文件进行修改,以免造成不必要的错误而影响使用。
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放 FeatureInfoS57 对象所占用的本地资源。String
getAcronym()
返回物标的简称。int
getCode()
返回物标的代码。String
getDefinition()
返回物标的定义。FeatureTypeChart
getFeatureTypeChart()
返回物标类型。static long
getHandle(com.supermap.data.InternalHandle obj)
String
getName()
返回物标的名称。String
getReferences()
返回物标引用信息。String
getRemarks()
返回物标备注信息。static void
setHandle(com.supermap.data.InternalHandle obj, long handle)
static void
setIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)
-
-
-
方法详细资料
-
dispose
public void dispose()
释放 FeatureInfoS57 对象所占用的本地资源。
-
getAcronym
public String getAcronym()
返回物标的简称。- 返回:
- 物标的简称。
-
getName
public String getName()
返回物标的名称。- 返回:
- 物标的名称。
-
getDefinition
public String getDefinition()
返回物标的定义。- 返回:
- 物标的定义。
-
getReferences
public String getReferences()
返回物标引用信息。- 返回:
- 物标引用信息。
-
getRemarks
public String getRemarks()
返回物标备注信息。- 返回:
- 物标备注信息。
-
getCode
public int getCode()
返回物标的代码。- 返回:
- 物标的代码。
-
getFeatureTypeChart
public FeatureTypeChart getFeatureTypeChart()
返回物标类型。- 返回:
- 物标类型。
默认值为
FeatureTypeChart.NONE
。
-
setIsDisposable
public static void setIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)
-
getHandle
public static long getHandle(com.supermap.data.InternalHandle obj)
-
setHandle
public static void setHandle(com.supermap.data.InternalHandle obj, long handle)
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.