Predefined Theme-Based FOI Layers
8.3.1 Theme-Based FOI Layers
A theme-based FOI layer is a collection of spatial features that have similar characteristics and that are stored in the database. The client fetches a theme-based FOI layer by sending a theme-based FOI layer request to the FOI server. The result of this request is a collection of FOI data entries that meets certain query criteria. Each FOI data entry contains the FOI image, as well as FOI attributes that can be used by the JavaScript map client to implement client-side interactivity. A theme-based FOI layer is based on a predefined MapViewer theme see Section 8.3.1.1 or a dynamic JDBC query theme see Section 8.3.1.3 , which defines all information necessary for FOI data rendering. The information includes the table in which the geometry features are stored, the criteria to use during the database query, the attributes that are part of the FOI data, and the style to use when rendering the FOI images. Predefined themes can be defined and configured using the Map Builder tool, which is described in Chapter 9 .8.3.1.1 Predefined Theme-Based FOI Layers
When the client requests FOI data using a predefined theme-based FOI request, it must specify the name of a predefined theme, the scale of the feature images, and the query window used to query the geometry features. The theme name must be defined by the application, while the scale of the feature images and the query window are automatically calculated by the JavaScript map client. For example, a predefined theme named CUSTOMERS could be defined on a table named CUSTOMERS, which has the following definition: SQL DESCRIBE CUSTOMERS Name Null? Type --------------------------------- ------ ---------------------------- NAME VARCHAR264 CHAR CITY VARCHAR264 CHAR COUNTY VARCHAR264 CHAR STATE VARCHAR264 CHAR LOCATION SDO_GEOMETRY SALES NUMBER The LOCATION column is the spatial column that is used for rendering the customer markers. The XML styling rules for the CUSTOMERS theme are shown in Example 8–6 . Example 8–6 XML Styling Rules for Predefined Theme Used for FOI Layer ?xml version=1.0 standalone=yes? styling_rules hidden_info field column=CITY name=City field column=SALES name=Sales Oracle Maps 8-23 hidden_info rule features style=M.CIRCLE features label column=NAME style=T.TEXT 1 label rule styling_rules The styling rules in Example 8–6 specify the following. To see how these specifications affect the map display, see Figure 8–2, Application Created Using Oracle Maps in Section 8.1.2 . ■ The marker style M.CIRCLE is used to render the customers. ■ The NAME column is used as the labeling attribute label column=NAME. The value in the NAME column the name of the customer is included in the information window that the JavaScript map client displays when the user moves the mouse over the customer marker. ■ The information window also includes the values in columns specified in the hidden_info element CITY and SALES in this example for that customer. Each field element specifies two attributes: column to identify the database column and name to identify a text string to be used in the information window.8.3.1.2 Templated Predefined Themes
Parts
» Oracle Fusion Middleware Online Documentation Library
» Overview of MapViewer Oracle Fusion Middleware Online Documentation Library
» Unpacking the MapViewer EAR Archive Using the MapViewer Administration Page
» Deploying MapViewer in an Oracle Fusion Middleware 10gR3 Environment
» Verifying That the Deployment Was Successful
» Running SQL Scripts Creating MapViewer Array Types, if Necessary
» Specifying Logging Information Configuring MapViewer
» Specifying Map File Storage and Life Cycle Information
» Restricting Administrative Non-Map Requests
» Specifying a Web Proxy Specifying Global Map Configuration Options
» Customizing the Spatial Data Cache Specifying the Security Configuration
» Customizing SRS Mapping Customizing WMS GetCapabilities Responses
» Configuring the Map Tile Server for Oracle Maps Defining Permanent Map Data Sources
» Logging in to the MapViewer Administration Page Performing MapViewer Administrative Tasks
» Creating a Container Oracle RAC Data Source Creating a MapViewer Data Source
» Deploying MapViewer on a Multiprocess OC4J Instance Deploying MapViewer on a Middle-Tier Cluster
» How Secure Map Rendering Works
» Getting the User Name from a Cookie Authenticating Users: Options and Demo
» Getting Started with MapViewer Prerequisite Software for MapViewer MapViewer Demos and Tutorials
» Scaling the Size of a Style Scalable Styles
» Specifying a Label Style for a Bucket
» Controlling Text Style Orientation
» Making a Text Style Sticky Getting a Sample Image of Any Style
» Styling Rules in Predefined Spatial Geometry Themes
» How MapViewer Formulates a SQL Query for a Styling Rule
» Styling Rules with Binding Parameters Applying Multiple Rendering Styles in a Single Styling Rule
» Caching of Predefined Themes
» Prepare the translations. Feature Labels and Internationalization
» Defining a Point JDBC Theme Based on Two Columns
» Storing Complex JDBC Themes in the Database
» Creating Predefined Image Themes
» Using Bitmap Masks with GeoRaster Themes Reprojection of GeoRaster Themes
» Creating Predefined Network Themes
» Using MapViewer for Network Analysis
» Custom Geometry Themes Themes
» Thematic Mapping Using External Attribute Data
» Attributes Affecting Theme Appearance
» Cross-Schema Map Requests Oracle Fusion Middleware Online Documentation Library
» Workspace Manager Support in MapViewer
» Map Request with Center, Base Map, Dynamically Defined Theme, and Other Features
» Map Request with an Image Theme Map Request for Image of Map Legend Only
» Map Request with SRID Different from Data SRID Map Request Using a Pie Chart Theme
» Map Request Using Advanced Styles and Rendering Rules
» Map Request Using Stacked Styles WFS Map Requests
» Java Program Using MapViewer
» map_request Attributes map_request Element
» bounding_themes Element Map Request DTD
» geoFeature Element Map Request DTD
» jdbc_georaster_query Element jdbc_image_query Element
» jdbc_network_query Element jdbc_query Element
» jdbc_topology_query Element legend Element
» map_tile_theme Element north_arrow Element
» operation Element operations Element
» parameter Element scale_bar Element
» style Element styles Element theme Element
» themes Element theme_modifiers Element
» Information Request DTD Map Response DTD
» MapViewer Exception DTD Geometry DTD OGC
» Usage Model for the MapViewer JavaBean-Based API
» Creating the MapViewer Bean Setting Up Parameters of the Current Map Request
» Adding Themes or Features to the Current Map Request
» Adding Dynamically Defined Styles to a Map Request
» Manipulating Themes in the Current Map Request
» Sending a Request to the MapViewer Service
» Using Optimal Methods for Thick Clients
» Preparing to Use the MapViewer JavaBean-Based API Using MapViewer JSP Tags
» addJDBCTheme MapViewer JSP Tag Reference Information
» addPredefinedTheme getMapURL getParam MapViewer JSP Tag Reference Information
» identify MapViewer JSP Tag Reference Information
» importBaseMap init makeLegend MapViewer JSP Tag Reference Information
» run setParam MapViewer JSP Tag Reference Information
» JSP Example Several Tags for MapViewer
» Granting Network Access Creating a MapViewer Client Handle
» Adding a Data Source Administrative
» Removing a Data Source Administrative Redefining a Data Source
» Listing All Data Sources Administrative or General-Purpose
» Installing the SDO_MVCLIENT Package Listing All Maps General-Purpose
» Listing Themes General-Purpose Oracle Fusion Middleware Online Documentation Library
» Listing Styles General-Purpose Listing Styles Used by a Predefined Theme General-Purpose
» Architecture for Oracle Maps Applications Simple Example Using Oracle Maps
» Map Tile Layers How Map Content Is Organized
» Theme-Based FOI Layers User-Defined FOI Layers
» Map Tile Layers and Map Tile Sources Storage of Map Image Tiles Coordinate System for Map Tiles
» Tile Mesh Codes Tiling Rules
» Global Map Tile Server Configuration Map Tile Layer Configuration
» Predefined Theme-Based FOI Layers
» Templated Predefined Themes Dynamic JDBC Query Theme-Based FOI Layers
» Creating One or More Map Tile Layers Defining FOI Metadata
» Creating the Client Application
Show more