Professional Documents
Culture Documents
Edition: 6.4
Minor Release
Feb 2013
Legal Notices
Warranty
The information contained herein is subject to change without notice. The only
warranties for HP products and services are set forth in the express warranty statements
accompanying such products and services. Nothing herein should be construed as
constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein.
License Requirement and U.S. Government Legend
Confidential computer software. Valid license from HP required for possession, use or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software,
Computer Software Documentation, and Technical Data for Commercial Items are
licensed to the U.S. Government under vendor's standard commercial license.
Copyright Notices
Copyright 2013 Hewlett-Packard Development Company, L.P.
Trademark Notices
Adobe, Acrobat and PostScript are trademarks of Adobe Systems Incorporated.
HP-UX Release 10.20 and later and HP-UX Release 11.00 and later (in both 32 and 64-bit
configurations) on all HP 9000 computers are Open Group UNIX 95 branded products.
Java is trademark of Oracle and/or its affiliates.
Microsoft , Windows and Windows NT are U.S. registered trademarks of Microsoft
Corporation.
Oracle is a registered U.S. trademark of Oracle Corporation, Redwood City, California.
UNIX is a registered trademark of The Open Group.
X/Open is a registered trademark, and the X device is a trademark of X/Open Company
Ltd. in the UK and other countries.
Google Maps mapping service is a trademark of Google Inc.
Contents
Preface ............................................................................................................. 7
Chapter 1 ....................................................................................................... 10
Introduction ................................................................................................... 10
1.1
1.2
1.2.1
1.2.2
1.3
1.4
1.5
1.5.1
1.5.2
1.5.3
1.6
1.7
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
Overview ..........................................................................................................10
Hardware and Software Requirements ............................................................11
Hardware ....................................................................................................11
Software ......................................................................................................11
Interoperability .................................................................................................11
License .............................................................................................................11
Geography Information Introduction ................................................................11
Geography Position ....................................................................................12
Zoom Level .................................................................................................12
Map Type ....................................................................................................13
GIS Map Viewer Architecture...........................................................................13
Big GIS Map .....................................................................................................14
Introduction .................................................................................................14
Layer ...........................................................................................................14
Child-Parent Link ........................................................................................16
Automatically Clustering/Un-Clustering ......................................................16
Automatically Icon Resize ...........................................................................17
Brief Alarm Report ......................................................................................17
Chapter 2 ....................................................................................................... 19
GIS Map Viewer ............................................................................................. 19
2.1
2.2
2.2.1
2.2.2
2.2.3
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.4
2.5
2.6
2.7
2.8
Overview ..........................................................................................................19
GIS Map Item ...................................................................................................20
Entity ...........................................................................................................20
Connector ...................................................................................................20
Graphical Object .........................................................................................21
Alarm Decoration .............................................................................................22
Overview .....................................................................................................22
Own Alarm Decoration ................................................................................22
Child Alarm Decoration ...............................................................................23
Alarm Decoration for Connector .................................................................23
Geography Map Navigation and Map Type Selection .....................................23
Search and Selection .......................................................................................24
Map Hierarchy ..................................................................................................24
Show GIS Information ......................................................................................25
Unsupported Functionalities ............................................................................25
Chapter 3 ....................................................................................................... 27
Build GIS Maps.............................................................................................. 27
3.1
3.1.1
3.1.2
3.1.3
3.1.4
3.2
3.3
3.3.1
3.3.2
3.3.3
3.4
Chapter 4 ....................................................................................................... 37
Configuration and Customization ............................................................... 37
4.1 Configuration ....................................................................................................37
4.2 Customized Map Viewer ..................................................................................38
4.2.1
Introduction .................................................................................................38
4.2.2
How to Create a Customized Map Viewer ..................................................38
4.2.3
How to Create a Custom Map ....................................................................38
Chapter 5 ....................................................................................................... 39
Performance, Limitation, and Trouble Shooting ........................................ 39
5.1 Performance.....................................................................................................39
5.1.1
Normal GIS Map .........................................................................................39
5.1.2
Big GIS Map ................................................................................................39
5.2 Limitation ..........................................................................................................40
5.3 Trouble Shooting ..............................................................................................40
Tables
Table 1 Additional Item Types for GIS Map ........................................................................ 21
Table 2 Unsupported Toolbar and Menu Entry ................................................................... 25
Table 3 Standard GIS Symbols ............................................................................................. 34
Figures
Preface
This document provides a guide of the GIS Map Viewer feature available
in TeMIP Client V6.4. This feature is developed to help operators to
monitor networks based on geography maps.
Intended Audience
This document is aimed at any personnel involved with network
management who needs to know about the functions and capabilities of
TeMIP Client.
Specially, this document is very helpful for the developers and
administrators in charge of deployment and monitoring networks.
Software Versions
The supported software referred to in this document is as follows:
TeMIP
6.2
UNIX
RHEL 5.x/6.x
HP-UX Itanium
11.31
Windows
Windows XP (32 & 64 bits)
SP3
TeMIP
Client
6.4
6.1
Linux RHEL AP 5
Update 2, 3, 4
6.4
6.4
Note
Please refer to latest release notes for the software and hardware
requirements for TeMIP Client and TeMIP Framework.
Typographical Conventions
Courier Font:
Source code and examples of file contents.
Commands that you enter on the screen.
Pathnames
Keyboard key names
Italic Text:
Filenames, programs and parameters.
The names of other documents referenced in this manual.
Bold Text:
To introduce new terms and to emphasize important words.
Description
CMV
Custom Map
Geocoding
GIS
GIS Map
GMV
GUI
JSON
Lat.
Long.
MB3
MDI
NE
PNG
RAH
TAL
TPI
UI
WKS
3PP
Associated Documents
The following documents contain useful reference information:
HP TeMIP Client Installation and Configuration Guide
HP TeMIP Client Overview
HP TeMIP Integrating Applications into the TeMIP Desktop
HP TeMIP Integrating Applications into the TeMIP DesktopInternal Services
HP TeMIP Resource Server Installation and Configuration Guide
For a full list of HP TeMIP Software user documentation, refer to
Appendix A of the HP TeMIP Software Product and Technical Solutions
Overview.
Support
Please visit our HP Software Support Online Web site
at www.hp.com/go/hpsoftwaresupport for contact information, and details
about HP Software products, services, and support.
The Software support area of the Software Web site includes the
following:
Downloadable documentation.
Troubleshooting information.
Problem reporting.
Training information.
Chapter 1
Introduction
This chapter introduces the GIS Map Viewer feature briefly. Readers will
learn why this feature is helpful; how to use it and how it works:
Section 1.1 Overview
Section 1.2 Hardware and Software Requirements
Section 1.3 Interoperability
Section 1.4 License
Section 1.5 Geography Information Introduction
Section 1.6 GIS Map Viewer Architecture
Section 1.7 Big GIS Map
1.1 Overview
Since TeMIP Client V6.2 Level 1, customers are allowed to monitor
networks based on geography maps. All map items are distributed
according to their real geography positions. The live status of network can
be viewed by navigating geography maps. It can help customers to locate
the network components that have alarms quickly and analyze root
causes effectively.
It is achieved by introducing geography information to traditional
topology maps and showing them using web GIS services. A standard web
application named GIS Map Viewer (GMV) is developed for this purpose.
GMV is not a stand-alone plug-in instead it is integrated with the
MapViewer. Customers can also develop their own customized map
viewer (CMV) to display maps with GIS information.
To support monitoring a big network (5, 000+ equipments), we introduce a
concept of Big GIS Map in TeMIP Client V6.4. Big GIS Map is a special
GIS map with the following extra features:
Be able to contain a big number of equipments (up to 20k+) without
distinct performance degradation.
Clustering/Un-clustering automatically on zoom out/in
Automatically map icon resize on zoom out/in
Brief alarm report associated with a map item
10
Hardware
The hardware requirements for the GIS Map Viewer feature are almost
the same as for TeMIP Client V6.4. Please refer to the section 1.1 of the
migration user document.
Please note that this feature requires more memory comparing with
traditional topology map monitoring. Customers are recommended to use
2048MB memory minimal.
1.2.2
Software
The software requirements for the GIS Map Viewer feature are almost the
same as for TeMIP Client V6.4. Please refer to the section 1.1 of the
migration user document.
The only special requirement for this feature is that customers must use
the Internet Explore version 7 or later.
1.3 Interoperability
GIS Map Viewer can interoperate with all supported versions of the
TeMIP Framework. Please refer to the section 1.2 of the migration user
document.
1.4 License
This feature is a part of TeMIP Client and follows the same license policy.
Specially, GIS Map Viewer needs to access at least one kind of web GIS
service. Each web GIS service provider has his own policy to validate for
the customer usage. Customers should follow these policies as well. From
TeMIP client V6.2 Level 1 to V6.4, GOOGLE web GIS service is used only.
Please contact with GOOGLE for detailed license policy.
If customers buy the Google Maps API Premier key, it can be used in the
TeMIP client v6.4. Section 4.1 gives details.
11
Note
The map with GIS/Custom presentation type is termed as a GIS map in
this document.
1.5.1
Geography Position
Latitude
Latitude position shall be defined according the north hemisphere. It is
ranging from 0at the equator to +90for the North Pole, and 90 for the
South Pole.
Longitude
Longitude reference point is the prime meridian, defined to be at the
Royal Observatory, Greenwich, in England. Longitude reference direction
is east. So longitude is ranging from 0 at the Greenwich meridian to
+180in the east direction, and 180 in the west direction.
Degree, minute, second vs. floating point notation
Latitude or longitude can be given using degrees minutes seconds
notation or floating point notation. Conversion rule is the following:
If degrees > 0
FP notation = degrees + (minutes / 60) + (seconds / 3600)
If degrees < 0
FP notation = degrees (minutes / 60) (seconds / 3600)
Samples
Here are the positions of some cities in the world:
Paris, France:
Latitude = 48 51 24" or 48.85667
Longitude = 2 21 7" or 2.341944
New-York, United States
Latitude = 40 71 or 41.18333
Longitude = 74 or 74.0
Shanghai, China:
Latitude = 31 10 or 31.16667
Longitude = 121 28 or 121.4667
Note
The floating point notation is used in GIS Map Viewer feature when
inputting or showing geography position information.
1.5.2
Zoom Level
Each GIS map also contains a zoom level, which defines the resolution of
the current view. The range is different according to web GIS service
provider, e.g. [0-19] for GOOGLE.
12
1.5.3
Map Type
Several types of map views are provided by GIS service providers, e.g.
normal map; satellite; hybird and terrain types are provided by GOOGLE.
Note
Note: Different map types usually have different maximal zoom level.
13
Introduction
Big GIS map is a special GIS map which is able to contain a great number
of map items (up to 20k+). Section 1.7.2 gives the precise definition. The
whole Big GIS map is divided into several levels and each level
corresponds to a zoom level range. Each map item belongs to a level and
has a GIS position. So operators can navigate the map easily by using
move and zoom out/in. Two map items belongs to neighborhood levels can
have a parent and child relationship. This relationship is used to
simulate the item and sub-map relationship in topology maps. The
details of levels and parent and child relationship are described in
section 1.7.2 and 1.7.3.
A Big GIS Map has some interesting features such as automatic
clustering/un-clustering, icon resize and brief alarm report. These
features are described in section 1.7.4, 1.7.5 and 1.7.6.
A Big GIS map has all GIS map features described in Chapter 2. There
are also some special behaviors:
a) Operators can not open two Map Viewers to show the same Big GIS
maps.
b) It is not recommended to use a Big GIS map as a sub-map.
c) If a map item of a Big GIS map has a sub-map, when doubleclicking the item, the sub-map is always opened in a new Map
Viewer.
1.7.2
Layer
The layer of a topology map is used to control the display of map items.
But for a Big GIS map, layers are used to represent the level concept
mentioned in 1.7.1. When creating a Big GIS map, operators must create
several item layers first. Each item layer represents a level and is
14
associated with a zoom level range. A map item must belong to an item
layer.
These layers can correspond to the map hierarchy levels of topology maps.
Figure 3 gives an example. This network can be divided into four levels in
terms of geographic region, which are Country, Province, City and
Street. The items belongs to these levels could be Province Domain,
City Domain, BSS and BTS respectively. The traditional map
hierarchy is shown in sub-figure (a), where four hierarchy levels
correspond to Country, Province, City and Street. In each level,
items are organized into several maps according to different provinces or
cities or BSSs. A map in a lower level is attached to a map item in higher
level.
A Big GIS map which represents the network is shown in sub-figure (b),
all items are put into one map, but four layers. Each layer corresponds to
a level, such as Country. Each item belongs to one layer, and it can be a
child of an item on the upper layer. The items with a same parent can be
considered as a sub-map in the traditional map hierarchy. This parentchild relationship helps to do alarm propagation, referring to next section
for details.
Province Domain
City Domain
Country
BSS
BTS
Province
City
Street
(a)
(b)
15
Province
Country
6
Street
City
12 13
15 16
zMax
18
19
1.7.3
Child-Parent Link
In traditional maps, a map item can be associated with a sub-map and
alarm decorations for sub-map items are propagated to it as sub-map
alarm decoration. In a Big GIS map, an item can have many children
which act like a sub-map. The child items must be on the same layer and
their parent must be on the upper layer, as shown in Figure 3. The alarm
decorations for child items are also propagated to their parent as sub-map
alarm decorations.
When creating a Big GIS Map, operators need to setup child-parent
links directly. The Map Editor provides several ways to do it.
The child-parent link is not only used for alarm decoration propagation,
but also for navigation and simple alarm reports. Double-clicking an item
with child items will cause GMV to drill down to the lower layer and show
the child items.
An item in a Big GIS map can also be associated with a sub-map only if it
does not have any children. For example, this sub-map could be a topology
map shows the equipments inside one building, as they have the same
geography positions.
Note: The child-parent link is only for node items. Non-node items such as
links cant be a parent nor have a parent.
1.7.4
Automatically Clustering/Un-Clustering
Automatically clustering/un-clustering means that when operators zoom
in the geographic map, the current items will be replaced by their children
and vice versa. It is because that when operators zoom out or in, GMV will
check to which layer the current zoom value belongs and then show the
map items on this layer only.
Please note that this switch happens only when the zooming operation
crosses two layers.
16
1.7.5
1.7.6
17
18
Chapter 2
GIS Map Viewer
This chapter describes how to monitor a GIS map using GIS Map Viewer.
The GUI and main functionalities are introduced:
Section 2.1 Overview
Section 2.2 GIS Map Item
Section 2.3 Alarm Decoration
Section 2.4 Geography Map Navigation and Map Type Selection
Section 2.5 Search and Selection
Section 2.6 Map Hierarchy
Section 2.7 Show GIS Information
Section 2.8 Unsupported Functionalities
2.1 Overview
GIS Map Viewer is a web application which can present a GIS map based
on geography background. It is located in the same place as traditional
map view, as shown in Figure 7. However, the look and feel is totally
different.
19
Entity
The look and feel of an entity in GMV is composed of the following parts:
Border: Contain the symbol and point the position.
Symbol image: Show entity type.
Label: Show entity name.
Shortcut icon (optional): The entity associated with a map.
Sticker icon (optional): The entity has a sticker.
Border
Symbol Image
Shortcut
Icon
Sticker
Icon
Label
2.2.2
Connector
In GIS maps, a connector must have To and From nodes. It is shown
as a line connected the arrow parts of both entities, as shown in Figure 9.
20
The connectors original color is always black (r=0, g=0, b=0). Its length
will be changed according to zoom level.
Customers can choose to display only the connectors with alarms, refer to
Section 4.1 for details.
2.2.3
Graphical Object
Graphical objects, such as circle, poly-line, etc. can be used in traditional
topology maps. GMV supports the following graphical objects:
Text
A Text item must have a geography position in which it will be
drawn.
Poly-line
A poly-line consists of several points. It can be closed or not. For a
closed poly-line, it can be filled or not.
Some graphical objects in traditional topology maps can be transformed to
GMV objects. Table 1 lists all the possible graphical objects in topology
maps and their counterparts in GMV.
Table 1 Additional Item Types for GIS Map
Topology Map
GMV
Differences
Line
Poly-line
No line pattern.
Double Line
Poly-line
Poly-line
Poly-line
No line pattern.
Spline
N/A
Closed Poly-line
Poly-line
Closed Spline
N/A
Rectangle
Poly-line
Double Rectangle
Poly-line
Circle
N/A
Double Circle
N/A
Poly-line
Filled Closed
Spline
N/A
Filled Rectangle
Poly-line
Filled Circle
N/A
Text
Text
Text in Rectangle
N/A
Sector
N/A
3 Point Sector
N/A
Wedge
N/A
21
Overview
GMV provides a detailed picture of the alarms received for any entity,
provided that the Alarm Handling module is loaded. The alarm
information is conveyed by means of dynamic properties that can, for
example, change an objects color, or display an information bubble. A
major difference comparing with MapViewer is that GMV does not
provide the blinking effect.
In TeMIP Client, possible alarm decorations for a map entity can belong
to the following groups:
Own Severity
Severity changes are related to the entity itself.
Child Severity
Severity changes are related to its child entities.
Sub Map Severity
Severity changes are related to its child maps.
In GMV, Child Severity and Sub Map Severity are shown in the same
way and are termed as Child Alarm Decoration.
When the severity color setting of TeMIP client is changed, GMV will
refresh itself automatically to draw alarm decorations using new severity
colors.
2.3.2
22
2.3.3
2.3.4
Connector with
Decoration
23
The map type control is shown on the right-top part of GMV, as shown in
Figure 7. Users can switch among map types using it.
Both the map type control and the navigate controls can be configured to
show or not. Users are also allowed to specify the map type used when
opening the map for the first time. Refer to section 3.1.1 for details please.
Selected
Connectors
24
25
The layer feature is not supported in GMV. All map items are shown after
loading a map even they are in different layers. When opening a GIS map,
the layer panel is disabled.
The overview feature is another unsupported function. If the overview
window has been shown when opening a GIS map, it is grayed.
26
Chapter 3
Build GIS Maps
This chapter describes how to build a GIS map:
Section 3.1 Create GIS Maps Using Map Editor
Section 3.2 Create GIS Maps Using TNDL XML Files
Section 3.3 GIS Symbols
Section 3.4 How to Migrate Legacy Maps to GIS Maps
3.1.1
Map Properties
A new group is added in the map property dialog to input GIS information
for the map itself. GIS properties include:
Presentation Type
Its definition can be found in section 1.5. The default value is
Null.
Center Position
Define the geography position of the initial view center. The
default value is (0, 0).
Zoom Level
Define the initial zoom level. The default value is 0.
Initial Map Type
Define the initial map type. Possible values can be found in
section 1.5.3. The default value is Map.
Show Navigate Controls
Define whether the navigate controls are shown or not. It is
checked by default.
Show Map Type Control
Define whether the map type control is shown or not. It is checked
by default.
Figure 16 shows the new map property dialog.
27
3.1.2
a) For an entity
The logical positions are still useful for a GIS map item, as a GIS map will
be shown in MapViewer when GMV is not available. It is highly
recommended to design a good logical layout for a GIS map before adding
any GIS information.
28
3.1.3
Geocoding Tool
A simple geocoding tool is integrated with Map Editor to help users input
GIS information quickly. It is a free online tool Map Channels Simple
Geocoder. Users can point a geography position and copy its longitude
and latitude on the tools homepage.
A pre-defined launch is added into MapEditor. It will open a web browser
and navigates to this tools homepage. The launchs name is Geocoding
Tool.
3.1.4
3.1.4.1
Create Layers
A Big GIS map must have valid icon layers. So it is important to define
the layers just after setting the map properties. Figure 18 shows the panel
to input zoom range for a Big GIS maps layer.
3.1.4.2
29
3.1.4.3
30
Y="1800" />
</Upper_Right_Corner>
</Coordinates_Referential>
<Map_Sticker>
{ "InitialMapType" : 0, "Position" : { "X" : 34, "Y" : 114 }, "PresentationType" : 1,
"ShowMapTypeControl" : 1, "ShowNavigateControls" : 1, "ZoomLevel" : 6 }
</Map_Sticker>
</Map_Header>
<Map_Items>
<Map_Item>
<Operation Action="Insert"/>
<Id>systopmap1_1245203275253</Id>
<Associated_Map Associated_MapType="Submap">
syssub1
</Associated_Map>
31
<Severity_Display>
<Severity Type='Own'/>
<Severity Type='Child'/>
<Severity Type='Submap'/>
</Severity_Display>
<Parent_Propagation>True</Parent_Propagation>
<Validity_String>
{ "Position" : { "X" : 34, "Y" : 114 } }
</Validity_String>
<Graphical_Representation>
<Center_Coordinates>
<Graphical_Coordinates
X="1192.4143957170854" Y="1226.5801824328637" />
</Center_Coordinates>
<Name>syssub1</Name>
<Graphical_Type>
<Node>
<Scale X="0.8" Y="0.5" />
<Associated_Symbol>
nas
</Associated_Symbol>
<Zoomable>true</Zoomable>
</Node>
</Graphical_Type>
</Graphical_Representation>
</Map_Item>
</Map_Items>
</Map>
</Maps>
////////////////////////////////////////////////////////////////////////////////////////////////////////
For a Big GIS map, the XML file is the same but there is more
information in the Map_Sticker and Validity_String fields. An example
is shown below, appendix B.1 gives details for the Big GIS map related
fields:
////////////////////////////////////////////////////////////////////////////////////////////////////////
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Maps SYSTEM "/usr/opt/temip/TNDL/dtd/tndl.dtd">
<Maps>
<Map>
<Map_Header>
32
<Map_Sticker>
{ "InitialMapType" : 0, "Position" : { "X" : 34, "Y" : 114 }, "PresentationType" : 1,
"ShowMapTypeControl" : 1, "ShowNavigateControls" : 1, "ZoomLevel" : 6, "GISLayers" : [ {
"ID" : 2, "MaxZoomLevel" : 12, "MinZoomLevel" : 9, "Name" : "CityLayer" }, { "ID" : 1,
"MaxZoomLevel" : 8, "MinZoomLevel" : 2, "Name" : "CountryLayer" } ] }
</Map_Sticker>
</Map_Header>
<Map_Items>
<Map_Item>
<Validity_String>
{ "Position" : { "X" : 34, "Y" : 114 }, "Parent" : "BSS_001", "Report" : [
"bsc", "bts" ] }
</Validity_String>
</Map_Item>
</Map_Items>
</Map>
</Maps>
////////////////////////////////////////////////////////////////////////////////////////////////////////
Symbol Appearance
As described in section 2.2.1, a GIS symbol includes a 4040 image,
termed as original image. To show own alarm decoration clearly a mask
image is used to specify the decoration part of original image. The mask
image is with the same size and all red (r=255, g=0, b=0) pixels represent
the decoration part.
Figure 22 shows how to generation own alarm decoration using the
original and mask images.
33
3.3.2
Symbol Name
Look&feel in
MapViewer
Own
Decoration
in
MapViewer
border_gateway
bsc
bss
bss2
bts
bts1_z
bts2_z
no transparent decoration
charging_gatewa
y
charging_gatewa
y2
default_model
no transparent decoration
charging_gatewa
y3
dns
no shadow
dns2
dns3
domain
ip_server
ip_server2
host
gns
firewall
gateway
ipsec_device
ipservice
mcc
msc
34
multi_network_h
ost
nas
omc
omc2
omc3
no shadow
other
other_gateway
pe
printer
router
router2
router4
ss7_gateway
switch
switch2
switch3
switch_router
video_server
webserver
workstation
workstation2
workstation3
3.3.3
35
important. The standard GIS symbols use white but you can use any
other colors.
The image file format must be PNG. The original and mask files must be
named as <symbol_name>_original.png and <symbol_name>_mask.png.
In this example, the names should be MySymbol_original.png and
MySymbol_maks.png.
36
Chapter 4
Configuration and Customization
This chapter describes how to configure GMV and how to develop a
customized map viewer (CMV).
Section 4.1 Configuration
Section 4.2 Customized Map Viewer
4.1 Configuration
All the configuration resources should be added in Map Viewer plug-in
configuration file:
%TEMIP_CLIENT_HOME%\MapViewerSystem.conf
A new section named GIS Map Viewer is added in this configuration file.
An example is shown as follows:
[ GIS Map Viewer ]
Enable GIS Map Viewer = True
Show Normal Connector = False
GIS Map Viewer Path = C:\GMV
GIS Temporary Path = C:\gis_temp
Web GIS Provider = Google
Customized Map Viewer Path = C:\CMV
Customized Map Viewer Entry = My_CMV_Home.html
Auto Icon Resize = True
Google Client ID = ABCXYZ
[ End GIS Map Viewer ]
Where:
Enable GIS Map Viewer:
It is used to enable/disable the GIS feature. The default value is true.
When it is false, a GIS map will be shown in MapViewer always.
Show Normal Connector:
It indicates whether GMV will display normal connectors which do not
have alarms. The default value is false. This configuration resource will
not affect the connectors with alarms, they will always be displayed.
GIS Map Viewer Path:
Indicates where the GMV application files lie in. By default, the
%TEMIP_CLIENTHOME%\GISMapViewer path is used. The entry file
of GMV must be TeMIP_GIS_Map_Viewer.html. Therefore, please make
ensure that this file exists in the GIS Map Viewer Path.
GIS Temporary Path:
37
Introduction
Users are allowed to use their own applications to show a Custom map.
The application, termed as CMV, should be a web application developed
using JAVA Script.
Before using CMV, make sure that the CMV entry exists and is valid. The
Enable GIS Map Viewer configuration resource must be set as True
too.
4.2.2
4.2.3
38
Chapter 5
Performance, Limitation, and
Trouble Shooting
This chapter describes the performance, limitation and trouble shooting
for the GIS Map Viewer feature:
Section 5.1 Performance
Section 5.2 Limitation
Section 5.3 Trouble Shooting
5.1 Performance
5.1.1
5.1.2
A.2
39
Therefore, the point of creating a Big GIS map is to avoid putting so many
map items in the same viewport. If there are many items in current
viewport, you can put them into lower layer and add some parent items in
current layers.
5.2
Limitation
The current version of GMV has the following limitations:
Map Size:
The maximal item number (include connectors) for a normal GIS map is
limited to 1, 000. Big item number can cause dramatic performance
degradation. It is highly recommended to use no more than 200 items for
a normal GIS map.
A big GIS map can contain up to 20, 000 items. However, if there are too
many items in a viewport, e.g. more than 200, the performance will be
degraded also. So it is highly recommended to design the layers of a big
GIS map properly to avoid showing too many map items in a viewport.
If the GIS Map Viewer is degraded heavily, there might be an error popup
window:
Users can set the configuration of Internet Explore to forbid this popup
window by using the following steps:
1.
HKEY_CURRENT_USER\Software\Microsoft\InternetExplorer\Styles
Note If the Styles key is not present, create it.
2.
For a normal GIS map, the entity symbol size is fixed. When zooming out
geography maps, symbols will be closer to each other and overlap effects
can appear.
Open Map Speed:
If the GIS map contains a huge number of items, e.g. a Big GIS map
might have 10, 000+ items, it will need much more time to open the map.
Opening a 20, 000 items map will need about 4 minutes.
40
A.2
41
Appendix A
Map Viewer Public Interfaces for
GIS Feature
This Appendix
GMV/CMV.
describes
the
interface
between
MapViewer
and
42
"Y" : <position_or_east_longitude>
},
"Points" : [ {
"X" : <position_or_north_latitude>,
"Y" : <position_or_east_longitude>
} ],
"ConnectedEntities" : {
"From" : <Unique_Item_ID>,
"To" : <Unique_Item_ID>
},
"LineStyle" : <line_style>,
"LineWidth" : < line_width>,
"LineNumber" : <integer>,
"LineStyleStart" : <end_point_style>,
"LineStyleEnd" : <end_point_style>,
"Color" : <color>,
"Text" : <text_value>,
"TextPosition" : {
"X" : <position_or_north_latitude>,
"Y" : <position_or_east_longitude>
},
"Font" : {
"Name" : <font_name>,
"Size" : <font_size>,
"Italic" : <boolean>,
"Bold" : < boolean>,
"Underline" : <boolean>
},
"Closed" : <boolean>,
"FillStyle" : <boolean>,
"FillPatten" : <fill_patten>,
"FillColor" : <color>,
"Parent" : <item_id>,
"Report" : [<unique_symbol_name>]
}
} ],
"Events" : [ {
"ItemID" : <Unique_Item_ID>,
"Events" : [ {
"Variable" : <variable name>,
"Value" : <value>
} ]
} ],
"Global" : {
"Severities" : [ <list_of_severities> ],
"DesktopID" : <temipclient_desktop_ID>,
"HttpPort" : <temipclient_http_service_port>,
"GISProvider" : <GIS_provider>,
"GISModelsPath" : <directory>,
"GISModelsTempPath" : <directory>,
"AdvancedMode" : <boolean>,
"NewPendingAlarmVisibility" : <boolean>
},
"RefreshTimestamp" : <date_time>
}
Where:
Action specifies context of the JSON message. Possible values are:
A.2
43
additems: indicates that new items shall be add to the current map.
MapItems section contains the description of items.
Map(0)
Satellite(1)
Hybrid(2)
Terrain(3)
Note: The first four values are for Google. For other providers,
more might be needed.
GISLayers
Where:
44
ID: The layer ID. This ID must been associated to at least one
map item.
Name: The layer name used for GIS solution. As the layer names
for traditional logical map are stored in local tile file other than
Map DB, it is difficult to share layer names among clients from
different machines. We keep a name here for possible GIS usages
and it will be stored in Map DB. It should be a string and can be
NULL.
Entity
Text
Connector
PolyLine
Filters: optional, list of filter ID. Item shall be displayed only if one of
the filters is active
Parent: Optional. The ID of its parent item. Only used for items in a
Big GIS map.
Report: Optional. A list of symbol names. For each symbol in the list,
Map Viewer will generate reports from the items children belong to
the symbol. Only used for items in a Big GIS map.
A.2
45
For Type=Text:
o
For Type=Connector:
o
For Type=PolyLine:
o
Event: a list of Variable and Value couple, where variable can be any
HDS predefined variables or the variables generated by TeMIP Client.
Event Variables
Variables used to manage alarm decoration include:
46
iOSev:
iCSev:
iSSev:
sOSev:
Sticker:
Zoom:
Ask the GMV or CMV to zoom in or zoom out. It is
an integer represents zoom steps, positive means zoom in and
negative means zoom out. E.g. -1: zoom out 1 step; +2: zoom in 2 steps.
ItemID should not exist for this event.
Reset:
Ask the GMV or CMV to reset the map with initial
center position and zoom level. ItemID should not exist for this
event. Possible values:
A.2 Services
MapViewer provides services to allow performing operations from GMV or
CMV. These services are accessed using a single interface:
int TeMIP_ExecuteWebInterface(const CString& strJSONParam);
All the parameters should be assembled to a JSON string and passed to
MapViewer. For some services, MapViewer might return information
using a JSON string as well.
The general syntax is as follows:
{
"Service" : <service>,
"Params" : <service_paramter_list>
}
Where the <service_paramter_list> is:
[
{
"Name" : <param_name>,
A.2
47
"Value" : <param_specific_value>
}
]
The available services include:
OpenMap
Select
ShowProperties
DrawMB3Menu
Notify
48
5) Notify
The Notify service is used to notify the MapViewer plug-in about current
GMV status.
Params formats:
{
"Name" : "Status",
"Value" : <status_value>
}
where the <status_value> includes:
o
1 (Web_GIS_Service_Inaccessible):
inaccessible.
Web
GIS
Service
A.2
is
49
Appendix B
GIS Information in TeMIP Map
Database
This Appendix describes the format of GIS information string stored in
TeMIP Database.
Null(0)
GIS(1)
Custom(2)
50
A.2
51