构造器和说明 |
---|
WFSClient(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
根据 WFS 服务根目录、用户名、密码构建一个 WFSClient 对象。
|
限定符和类型 | 方法和说明 |
---|---|
com.supermap.services.protocols.wfs.commontypes.FeatureType[] |
describeFeatureType(java.lang.String featureTypeNames)
获取指定名称的要素类型信息,即执行 DescribeFeatureType 操作。
|
com.supermap.services.protocols.wfs.v_1_0_0.WFSCapabilities |
getCapabilities()
获取 WFS 服务能力信息,即 getCapabilities 操作的结果。
|
com.supermap.services.protocols.wfs.v_1_0_0.FeatureCollection |
getFeature(com.supermap.services.protocols.wfs.v_1_0_0.WFSQueryParameter wfsQueryParameter)
按指定的 WFS 要素查询参数查询,即执行 GetFeature 操作,获取地物要素信息。
|
int |
getFeatureCount(com.supermap.services.protocols.wfs.v_1_0_0.WFSQueryParameter wfsQueryParameter)
按指定的 WFS 要素查询参数查询,获取地物要素个数。
|
com.supermap.services.protocols.wfs.v_1_0_0.FeatureCollection |
lockFeature()
WFSClient 目前不支持该操作。
|
com.supermap.services.protocols.wfs.v_1_0_0.TransactionResponse |
transaction(com.supermap.services.protocols.wfs.v_1_0_0.TransactionParameter transactionParameter)
WFSClient 目前不支持该操作。
|
public WFSClient(java.lang.String serviceURL, java.lang.String userName, java.lang.String password) throws NoSupportedVersionException, OGCException
根据 WFS 服务根目录、用户名、密码构建一个 WFSClient 对象。
serviceURL
- WFS 服务根目录。userName
- 用户名,访问服务器不需要验证时可以为 null。password
- 密码,访问服务器不需要验证时可以为 null。NoSupportedVersionException
- 请求的 WFS 服务的版本不支持。OGCException
- OGC 服务异常。public com.supermap.services.protocols.wfs.commontypes.FeatureType[] describeFeatureType(java.lang.String featureTypeNames) throws OGCException
获取指定名称的要素类型信息,即执行 DescribeFeatureType 操作。
describeFeatureType
在接口中 com.supermap.services.protocols.wfs.v_1_0_0.WFS100
featureTypeNames
- 指定的要素类型名称,多个要素名称以“,”分隔。OGCException
- OGC 服务异常。public com.supermap.services.protocols.wfs.v_1_0_0.WFSCapabilities getCapabilities()
获取 WFS 服务能力信息,即 getCapabilities 操作的结果。
getCapabilities
在接口中 com.supermap.services.protocols.wfs.v_1_0_0.WFS100
public com.supermap.services.protocols.wfs.v_1_0_0.FeatureCollection getFeature(com.supermap.services.protocols.wfs.v_1_0_0.WFSQueryParameter wfsQueryParameter) throws OGCException
按指定的 WFS 要素查询参数查询,即执行 GetFeature 操作,获取地物要素信息。
getFeature
在接口中 com.supermap.services.protocols.wfs.v_1_0_0.WFS100
wfsQueryParameter
- 指定的 WFS 要素查询参数。OGCException
- OGC 服务异常。public com.supermap.services.protocols.wfs.v_1_0_0.FeatureCollection lockFeature()
WFSClient 目前不支持该操作。
执行 LockFeature 操作。
public com.supermap.services.protocols.wfs.v_1_0_0.TransactionResponse transaction(com.supermap.services.protocols.wfs.v_1_0_0.TransactionParameter transactionParameter)
WFSClient 目前不支持该操作。
执行 Transaction 操作。
transaction
在接口中 com.supermap.services.protocols.wfs.v_1_0_0.WFS100
public int getFeatureCount(com.supermap.services.protocols.wfs.v_1_0_0.WFSQueryParameter wfsQueryParameter) throws OGCException
按指定的 WFS 要素查询参数查询,获取地物要素个数。
wfsQueryParameter
- 指定的 WFS 要素查询参数。OGCException
- OGC 服务异常。