Jump to: navigation, search

Difference between revisions of "HowTo:Create Image Map Overlays"


Line 10: Line 10:
 
# '''Configuration of the Image Map Overlay in UBIK Studio'''
 
# '''Configuration of the Image Map Overlay in UBIK Studio'''
 
#* The MapOverlys are based on a File Documents, so basicly should contain the properties for the classification  [[SYSCLS DOCUMENT | Document]],  [[SYSCLS FILEDOCUMENT | Filedocument]] and  [[SYSCLS_MAPOVERLAY | MapOverlays]]
 
#* The MapOverlys are based on a File Documents, so basicly should contain the properties for the classification  [[SYSCLS DOCUMENT | Document]],  [[SYSCLS FILEDOCUMENT | Filedocument]] and  [[SYSCLS_MAPOVERLAY | MapOverlays]]
 
 
 
 
  
 
= GIS Software =
 
= GIS Software =
Line 22: Line 18:
 
# Add the map overlay to the basemap
 
# Add the map overlay to the basemap
 
#* Tutorial of Google Earth: [https://support.google.com/earth/answer/148099#createoverlay | Add a Map Overlay (Google How To German)]
 
#* Tutorial of Google Earth: [https://support.google.com/earth/answer/148099#createoverlay | Add a Map Overlay (Google How To German)]
# Extract the required parameters
+
# Extract the required parameters:
#* The requred parameters are:
+
#* WIDTH_METERS: The width of the image in meters. Please use the measurement tool of Google Earth: [https://support.google.com/earth/answer/148134?hl=en | Measuring distances and areas]  
#** WIDTH_METERS: The width of the image. Please use the measurement tool of Google Earth: [https://support.google.com/earth/answer/148134?hl=en | Measuring distances and areas]  
+
#* ROTATION_CLOCKWISE_DEGREES: The rotation can be extracted by using the editing tool of Google Earth for image map overlays.[[File:UI GoogleEarthImageEditing.PNG|thumb|alt=Set a unit item|Rotation Parameter in the Editing dialog of Google Earth]]
#** Z_LEVEL
+
#**LOCATION_CENTER: To extract this parameter it is required to use
#** ROTATION_CLOCKWISE_DEGREES
+
#** LOCATION_CENTER
+
  
  

Revision as of 07:53, 10 July 2015

Image map overlays will be visualized as base maps in the map activity of the client. These are images (.png) that will be vizualized on the right location, with the right scale and also with the right rotation. Therefore georeferencing of the image is required.

Basics

To configure the image map overlay two steps are required:

  1. Georeferencing of the image
  2. Configuration of the Image Map Overlay in UBIK Studio
[edit]

GIS Software

There are a lot of possibilities to georeference a map overlay. For image map overlays | Google Earth is the fastest way to extract the required parameters. This How To is a small introduction for adding a Map Overlay to Google Earth and capturing the parameters for UBIK Studio.

  1. Prepare an image map overlay

The map overlay should be a .png Image of the building scheme.

  1. Add the map overlay to the basemap
  2. Extract the required parameters:
    • WIDTH_METERS: The width of the image in meters. Please use the measurement tool of Google Earth: | Measuring distances and areas
    • ROTATION_CLOCKWISE_DEGREES: The rotation can be extracted by using the editing tool of Google Earth for image map overlays.
      Set a unit item
      Rotation Parameter in the Editing dialog of Google Earth
      • LOCATION_CENTER: To extract this parameter it is required to use


Studio

Create a map overlay document

The following steps are required to create a Map Overlay Document:

  1. To ease up the live of the customizer we suggest to derive a new object from the Filedocument. The properties are visible in the Class Details.
  2. Add the Classification MapOverlays to the new MetaClass by using the Relation Editor
  3. Define the required Metaproperties for the MapOverlays
  4. Add the required MetaProperty to the Meta Class.
  5. Save the object with Ctrl+S
  6. Build and Release the Customizing F5
  7. Check the Classification in the Object Explorer


Publish the map overlay

To publish the Image Map Overlay to the UBIK.Android Client it is required to configure the ACM.

  1. Create a METACLASSSCOPE for the Image Map Overlay Meta Class
  2. Assign the Properties to the Metaclass Scope
    • Required Properties for the ACM:
      • WIDTH_METERS
      • Z_LEVEL
      • ROTATION_CLOCKWISE_DEGREES
      • LOCATION_CENTER
      • FILETYPE
  3. Add the Metaclassscope to the Context
  4. Save the object with Ctrl+S
  5. Release the MetaDefinitions
  6. Check the Classification in the ACM Manager


Add an image map overlay

To add a Map Overlay it is required to take the parameters from the georeferenced Map Overlay Image

  1. Add a new Object in the Bulk Editor
    • Choose the Filetype (PNG)
    • Add NAME and DESCRIPTION
    • Assign the image in the Bulk editor (FULLPATH)
    • Set Is Local? to TRUE
  2. Save the object with Ctrl+S

Client