KMLViewSetter
设置与Ogckml撰写器的一组功能组的视图相关的KML属性。支持了解Lookat或相机视图。
参数
Location
这些参数指定与视图类型参数关联的位置。
Specifies how KML Viewers, such as Google Earth, should interpret the altitude value.
View
如果视图类型是LookAt,则此位置是视图的焦点(视图正在查看)。在大多数情况下,这是您将选择的视图类型。如果您确定,无论是什么原因,它太限制了,您可以将视图类型设置为相机。
If the View Type is Camera, this location is the location of the camera (where the view is looking from).
Heading specifies the rotation, in degrees, of the view around the Z axis, relative to North.
Tilt specifies the rotation, in degrees, of the view around the X axis. A value of 0 indicates that the view is aimed straight down, and a value of 90 indicates that the view is aimed toward the horizon.
Values greater than 90 only apply if the View Type is Camera, and indicate that the view is pointed towards the sky.
在应用标题和倾斜旋转之后,滚动指定z轴周围的视图的旋转,以倾斜旋转。此值仅适用于相机视图,通常不需要。
范围指定视图位置以米为单位的距离。此值仅适用于Lookat视图类型。
Time
时间部分中的参数允许视图在特定点或时间段处处于活动状态。
此参数确定将创建的KML时间原始类型。可能的选项包括时间戳和时间段。如果您不希望将时间与视图关联,请选择“无”。
This parameter specifies the value of the timestamp if the time type is Timestamp. The value can either be in the FME DateTime format, or the XML Schema time format.
This parameter specifies the beginning of the time period if TimePeriod is the selected time type. The value can either be in the FME DateTime format, or the XML Schema time format.
This parameter specifies the optional end of the time period if TimePeriod is the selected time type. The value can either be in the FME DateTime format, or the XML Schema time format.
例
These transformer parameters are configured for a LookAt view type.
这是所选区域的结果视图。
Additional References
有关KML的更多信息:
- See the FME OGCKML Writer chapter in theFME Readers and Writers手动(在Workbench中,选择帮助> FME读者和作家参考)
- 请参阅KML文档:http://developers.google.com/kml/documentation/cameras.
Editing Transformer Parameters
使用一组菜单选项,变压器参数s can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options。
Transformer Categories
搜索FME知识中心
搜索有关此变压器的样本和信息FME知识中心。
标签Keywords: "Google Earth" KML