|
[B]Oracle Application Server MapViewer[/B]
可以与Oracle Spatial和Oracle Locator一起使用,将spatial data的复杂性隐藏起来.
■ Oracle AS MapViewer的几个概念(偶也不太明白这些的具体定义,不过之前用过这种功能了):
1. Style 应该是Map上各种元素(如:文本,线条等)的显示风格.A style defines the rendering properties for features that are associated with styles. For example, a text style determines how a feature is labeled on a map,while a line style determines the rendition of a linear feature such as a road.
2. Theme: A theme is a collection of features (entities with spatial and nonspatial attributes) that are associated with styles through the use of styling rules.
3. Base map: A base map consists of one or more themes.
4. Mapping metadata: Mapping metadata consists of a repository of styles, themes,and base maps stored in a database.
5. Map: A map is one of the components that MapViewer creates in response to a map request. The map can be an image file, the object representation of an image file, or a URL referring to an image file.
■ Oracle Application Server MapViewer Architecture
对于map请求,将按以下步骤处理:
1. 客户端将map name,data source,center location,map size和其它需要放在map上的数据传给server,请求生成map.
2. 服务器返回map image(或者是对应于image的URL),map的mininum bounding retangle(MBR),和请求的状态.
对于MapViewer的管理请求,将按以下步骤处理:
1. 客户端以特定格式的请求和其它相应的参数,告诉Server它想做MapViewer administrative action.
2. Server将request的status和内容返回给客户端.
■ Oracle Application Server MapViewer Features
1. MapViewer是Oracle AS中间层的一部分.
2. MapViewer含有一个rendering engine(基于Java class library).
3. MapViewer能以HTTP protocol与Web Browser或其它使用HTTP protocol的应用通信.
4. MapViewer通过JDBC联接数据库. Performing spatial data access(reading and writing Oracle Spatial and Locator data).
5. MapViewer有个XML API,因此可对其编程.
具体可看图: Figure 2–13 MapViewer Architecture |
|