Google logo

Configuring Display Rules for Point Data

Point data can provide useful information about points of interest (POIs) around the globe or even in your home town. Google Earth Enterprise Fusion allows you to configure the display rules for point data to distinguish different types of information. This lesson guides you through the process of graphically distinguishing the popular places in California using display rules.

Define, Configure, and Build a Vector Project

This exercise walks you through the process of defining, configuring, and building a vector project using a resource you created in Defining and Building Resources.

To define and build a vector project and configure display rules for points:

  1. Select Asset Manager from the Tools menu.

    The Asset Manager appears.

  2. Click Vector Project Icon on the toolbar. The Vector Project Editor appears.

  3. Click New Icon. The Open dialog appears.

  4. Navigate to the ASSET_ROOT/Resources/Vector folder.

  5. Select CA_POIs (a resource that you built in Defining and Building Resources), and click Open. The CA_POIs resource appears in the Vector Project Editor.

    CA_POIs Resource

  6. Right-click CA_POIs and select Configure Display Rules from the context menu. The Display Rules dialog appears with the Feature tab in the foreground and the default select all rule highlighted.

  7. Specify the geometry characteristics of the POIs:

    1. For Draw Features As, select Points.

    2. For Simplification Method, select Representative Subset Per Tile.

    3. For Choose, accept the default, 50% points.

    4. For Min Points, enter 50.

    5. For Max Points, enter 200.

    6. Check the box next to Suppress Duplicate Points.

    7. Under Elevation/Height, set Mode to Clamp to Ground.

    8. On the right side of the dialog, check the box next to Draw Label.

    9. For Visibility, accept the default range, 5 through 24.

    10. Do not make any changes under Label Properties.

      This area allows you to specify the content and appearance of a text label for each POI. However, there are so many POIs in California that the view in Google Earth EC would be too crowded.

  8. Check the box next to Draw Icon and then:

    1. Click the icon pair. The Icons dialog appears.

      Icons Dialog

    2. Scroll down, if necessary, and select blue_star, and click OK.

      A yellow star appears next to Highlight, and a blue star appears next to Normal. The result of this setting is that Google Earth EC displays a blue star for each POI, and when you mouse over the star (highlight it), it turns yellow.

    3. For both Highlight and Normal, accept the default color, white.

    4. For Highlight, accept the default scale, 1.

    5. For Normal, change the scale to 0.89.

      The result of these settings is that when you mouse over a star, Google Earth EC displays the yellow (highlighted) star a little larger than the blue star.

  9. In the Balloon section, select Text, and then click the empty text field. The Label Format dialog appears.

    1. Select COUNTY from the Insert Field drop-down list.

      «COUNTY» appears in the text box under Popup Text.

      Note

      You can use some basic HTML tags to format the Label text, if desired.

    2. To the left of «COUNTY» enter <b>.

    3. To the right of «COUNTY» enter </b><br/><br/>.

    4. Press Enter. Adding this HTML code formats the name of the county as bold, followed by two line breaks to separate it from the text that follows (next step).

  10. Select NAME from the Insert Field drop-down list. «NAME» appears on the next line of the text box.

    1. To the right of «NAME» enter <br/><br/>.
    2. Press Enter.
  11. On the next line, enter Latitude:, and then select LATITUDE from the Insert Field drop-down menu.

    1. To the right of «LATITUDE» enter <br/><br/>.
    2. Press Enter.
  12. On the next line, enter Longitude: , and then select LONGITUDE from the Insert Field drop-down menu.

    image5

  13. Click the OK button.

  14. For Style, select Default from the drop-down list.

  15. Check the box next to Directions to include “To here” and “From here” links in the description balloon in Google Earth EC.

  16. Click the Text Color button, and select a medium blue.

  17. Click the Background Color button, and select a light yellow.

  18. Click the OK button. You return to the Vector Project Editor.

  19. Select File > Save. The Save dialog appears.

  20. Navigate to the ASSET_ROOT/Projects/Vectorfolder.

  21. Enter CA_POIs as the name of your project, and click Save.

    The new project appears in the Asset Manager when you select ASSET_ROOT/Projects/Vector in the asset navigation tree.

  22. Right-click CA_POIs, and select Build from the context menu. Google Earth Enterprise Fusion builds the project.

Define and Build an Imagery Project

Although you can build and publish a database that includes a vector project only, you cannot connect directly to your server with Google Earth EC to view that data unless your database also includes an imagery project. If you publish a database that includes a vector project only, you must use the Add Database command on the File menu in Google Earth EC to add the database to the base imagery after logging in to kh.google.com or another server that serves a database that includes imagery.

This exercise walks you through the process of defining and building an imagery project using a resource you created in Defining and Building Resources. Since the focus of this lesson is on polygon display rules, it is not desirable to spend a lot of time building a large imagery project. So this exercise walks you through creating a small and simple imagery project.

Note

If you have already completed this exercise in Configuring Display Rules for Polygon Data, skip this exercise and move on to Define, Build, Push, and Publish a Database for the Point Data.

To define and build an imagery project:

  1. In the Asset Manager, click Imagery Project Icon on the toolbar. The Imagery Project Editor appears.

    Imagery Project Editor

  2. Click New Icon.

    The Open dialog appears.

  3. Navigate to the ASSET_ROOT/Resources/Imagery folder.

  4. Select BlueMarble, and click Open.

    The BlueMarble resource appears in the Imagery Project Editor.

  5. Select File > Save.

    The Save dialog appears.

  6. Navigate to the ASSET_ROOT/Projects/Imagery folder.

  7. Enter BlueMarble as the name of your project, and click Save.

    The new project appears in the Asset Manager when you select ASSET_ROOT/Projects/Imagery in the asset navigation tree.

  8. Right-click BlueMarble, and select Build from the context menu.

    Google Earth Enterprise Fusion builds the project.

Define, Build, Push, and Publish a Database for the Point Data

This exercise walks you through the process of defining, building, pushing, and publishing a database using the projects you created in the previous exercise.

To define, build, and push a database:

  1. Click Database Icon on the toolbar. The Database Editor appears with no projects selected.

  2. Click New Icon next to Vector Project. The Open dialog appears.

  3. Navigate to ASSET_ROOT/Projects/Vector.

  4. Select the CA_POIs project and click Open. The CA_POIs project appears in the Database Editor next to Vector Project.

  5. Repeat steps 2 through 4 to add BlueMarble as the imagery project.

    You do not need to add a terrain project for this exercise. Both projects appear on the list.

  6. Select File > Save.

  7. Navigate to the ASSET_ROOT/Databases folder.

  8. Enter CA_POIs for the name of your database, and click Save. The name of the database appears on the right when you select the /ASSET_ROOT/Databases folder in the asset navigation tree.

  9. Right-click CA_POIs, and select Build from the context menu. Google Earth Enterprise Fusion builds the database.

  10. Right-click CA_POIs, and select Push from the context menu. The Push Database dialog appears.

  11. Select the server association on the Server Associations drop-down list. The most recent version of the selected database is the default selection on the Version drop-down list.

  12. Click the Push button. Google Earth Enterprise Fusion runs the process of pushing the database to the Google Earth Enterprise Server, and displays a success message when it is done.

To publish a database:

  1. Access the Google Earth Enterprise Server Admin console in a browser window by going to myserver.mydomainname.com/admin, replacing myserver and mydomainname with your server and domain.

  2. Sign in with the default credentials:

    • Username: geapacheuser
    • Password: geeadmin
  3. Click Databases to display the list of databases pushed to the server.

  4. Check the box next to the database you want to publish. The Publish button on the Databases page appears.

    GEE Server Database Publish

  5. Click Publish. The Publish dialog appears.

  6. Specify a Publish point, where the database will be accessible from. For example, if you specify CA_POIs-v001, it will be accessible from myserver.mydomainname.com/CA_POIs-v001.

    To learn more about the options available in the Publish dialog, see

  7. Click the Publish button. The Databases page updates to indicate the published status of your database.

    GEE Server Database Published List

View Your Database in Google Earth EC

This exercise walks you through the process of viewing your database in Google Earth EC.

To view your database:

  1. Launch Google Earth EC. The Select Server dialog appears.

  2. Enter or select the host name or IP address of your server in the Server field, and specify the Publish point that you selected when you published your map database. For example, if you specify CA_POIs-v001, it will be accessible from myserver.mydomainname.com/CA_POIs-v001.

  3. Click the Sign In button.

  4. Zoom in to the west coast of the US.

    When you zoom in enough, Google Earth EC displays blue stars all over California. The closer you zoom in, the more spread out the stars are and the more stars you can see. When you mouse over a star, it turns yellow. When you click a star, a description balloon displays the information you specified in the format you defined in the Display Rules dialog.

    Note

    If you cannot see the vector data, make sure the check box next to CA_POIs in the Layers panel is checked.