Class: v1

.Format.WFST. v1

带有事务处理类型的网络要素服务的格式化超类。

new v1()

Source:
View2D/Format/WFST/v1.js

Members


extractAttributes :Boolean

从GML中提取属性。 默认值是true。
Type:
  • Boolean
Source:
View2D/Format/WFST/v1.js

srsName :String

srsName- 空间参考系统的URI。
Type:
  • String
Source:
View2D/Format/WFST/v1.js

version :String

版本- 网络要素服务的版本号
Type:
  • String
Source:
View2D/Format/WFST/v1.js

xy :Boolean

GML的xy-Order坐标为true:(x,y)或false:(y,x) 不建议更改,应该实例化新格式。
Type:
  • Boolean
Source:
View2D/Format/WFST/v1.js

Methods


initialize(options)

这个类的实例不是直接创建的。 改为使用GeoGlobe.Format.WFST.v1_0_0或GeoGlobe.Format.WFST.v1_1_0构造函数。
Parameters:
Name Type Description
options Object 一个可选对象,其属性将在此实例上设置。
Source:
View2D/Format/WFST/v1.js

read(data, options)

解析事务的响应。 由于WFS分为事务请求(创建,更新和删除)和GetFeature请求(读取), 因此此方法处理这两种类型的响应的解析。
Parameters:
Name Type Description
data String | Document 带有事务操作类型的网络要素服务文档。
options Object 选项。 有效的选项属性:{字符串}输出 - “功能”或“对象”。 默认值是“功能”, 这意味着该方法将返回一组功能。 如果设置为“object”, 则将返回解析器读取的具有“features”属性和其他属性的对象。
Source:
View2D/Format/WFST/v1.js
Returns:
输出取决于输出选项。
Type
Array | Object