Skip to Content
[CAIDA - Center for Applied Internet Data Analysis logo]
Center for Applied Internet Data Analysis
GeoPlot: Applet Parameters
List of Applet Parameters for GeoPlot are listed below.

GeoPlot is considered a deprecated tool and is not any longer supported by CAIDA. These pages are made available for historical purposes.

|   About    Applet Parameters    Running GeoPlot    Model Template    GeoPlot Perl API    FAQ    Download   |
List of Parameters
Parameter : mapname

The mapname parameter is used to specify the name of the image that is to be used as the background. An image has to be specified to use GeoPlot. The image can be specified in two ways. One is to specify the filename including path if required from the document base, or the other method is to specify a URL.
Example:
<param name=mapname value="xyz.gif">
<param name=mapname value="/maps/xyz.gif">
<param name=mapname value="URL">

Parameter : bgcolor

The bgcolor parameter is used to specify the background color of the applet. The color can be either specified as a word or as a RGB value. Colors lists the supported colors in words and also indicates the syntax to specify the RGB value. The default value used is white.
Example:
<param name=bgcolor value="lightGray">
<param name=bgcolor value="rgb-255-0-255">

Parameter : fgcolor

The fgcolor parameter is used to specify the foreground color for the applet. This color will be used as the color with which all text and mouse overs are drawn on the applet. Colors lists the supported colors in words and also indicates the syntax to specify the RGB value. The default value used is black.
Example:
<param name=fgcolor value="red">
<param name=fgcolor value="rgb-255-0-0">

Parameter : title

The title parameter is used to specify the title of the image, the title is displayed centered at the top of the applet. There is no title by default. The user has the alternative of specifying the title using html tags and not making it part of the applet.
Example:
<param name=title value="xyz">

Parameter : date

The date parameter specifies the date that gets displayed at the top right-hand side of the applet. There is no date by default.
Example:
<param name=date value="07/15/1999">

Parameter : default_node_size

The default_node_size parameter gives the diameter of the circle with which nodes that have no indiviual size values are drawn on the applet. The default is taken as 6.
Example:
<param name=default_node_size value=6>

Parameter : default_line_size

The default_line_size parameter gives the width with which lines that have no size values are drawn on the applet. The default is taken as 1.
Example:
<param name=default_line_size value=1>

Parameter : default_node_color

The default_node_color gives the color of the circle for nodes that do not have their own color values. The default color is black.
Example:
<param name=default_node_color value="red">

Parameter : default_line_color

The default_line_color gives the color with which lines that do not have their own color values are drawn. The default color is red.
Example:
<param name=default_line_color value="green">

Parameter : default_font_size

The default_font_size parameter specifies the size of the font to be used for all writings on the applet. There is no option to specify a font and the font used is Dialog. The default value for this parameter is 10.
Example:
<param name=default_font_size value=10>

Parameter : refresh_interval

The refresh_interval parameter is used to specify the time interval in seconds after which the data is refetched and the applet is redrawn. The URL for the data file is specified in the data parameter. By default the applet does not refresh its contents.
Example:
<param name=refresh_interval value=60>

Parameter : hide_key

The hide_key parameter toggles the display of the color and size keys if either is present. A value of FALSE displays the keys and a value of TRUE hides the keys. By default the keys are displayed if they exist.
Example:
<param name=hide_key value="false">

Parameter : top_lat

The top_lat parameter should indicate the latitude at the top-left hand corner of the image. This value must be specified. If this parameter confuses you read Using Latitude and Longitude and look at example which picks out the top latitude value from France's map.
Example:
altalt

<param name=top_lat value=52>

Parameter : top_lon

The top_lon parameter should indicate the longitude at the top-left hand corner of the image. This value must be specified. If this parameter confuses you read Using Latitude and Longitude and look at example which picks out the top longitude value from France's map.
Example:
altalt

<param name=top_lon value=-5>

Parameter : bot_lat

The bot_lat parameter should indicate the latitude at the bottom-right hand corner of the image. This value must be specified. If this parameter confuses you read Using Latitude and Longitude and look at example which picks out the bottom latitude value from France's map.
Example:
altalt

<param name=bot_lat value=42>

Parameter : bot_lon

The bot_lon parameter should indicate the longitude at the bottom-right hand corner of the image. This value must be specified. If this parameter confuses you read Using Latitude and Longitude and look at example which picks out the bottom longitude value from France's map.
Example:
altalt

<param name=bot_lon value=9>

Parameter : color_key

Using the color_key parameter, it is possible to define a color key that can be used to determine the color of the lines drawn. Line definitions would have a color value that would get matched against this key to determine the color of the line. Such a color value takes precedence over a color defined for the line using the cl: parameter. The syntax for defining the key is shown below.

EACH LINE OF THE COLOR KEY DEFINITION MUST BE SEPERATED BY A SEMI-COLON. The line that begins with the keyword key defines the dimensions of the key and where it is to be drawn in the applet. Other lines define the different key items.
Syntax of first line:key,x: ,y: ,w: ,h: ,t: ,s: ;
x:x-coordinate of the top-left hand corner of the key
y:y-coordinate of the top-left hand corner of the key
w:width of the key
h:height of the key
t:title of the key (Cannot have a comma in the title as of this release)
s:font-size with which title should be displayed, the key labels are displayed at a font-size 3 less than the value specified here

Syntax for defining key elements:(value/range) : (color) : [(description)];
The value can be expressed either as a single value or as a range. The syntax for expressing the value as a range is lower_bound && upper_bound The color is expressed either as a word or RGB value. The description is optional, if none is specifed then the value is written next to a square that shows the color on the key. The font size is 3 less than what ever was specified for the key title.
Example:
<param name=color_key value=
"key,x:10,y:400,w:150,h:110,t:% of Bytes,s:13;
0 && 0.01 : black : From USA;
0.01 && 0.02 : rgb-255-0-0;
0.02 && 0.03 : cyan;
0.03 && 0.04 : gray;
0.04 && 0.05 : darkgray;
0.05 && 0.06 : magenta;
0.06 && 0.07 : orange;
0.07 && 0.08 : pink;
0.08 && 0.09 : blue;
0.09 && 0.1 : yellow;
0.1 && 100 : green;">

Parameter : size_key

Using the size_key parameter, it is possible to define a size key that can be used to determine the width of the lines drawn. Line definitions would have a size value that would get matched against this key to determine the width of the line. Such a size value takes precedence over a size defined for the line using the sz: parameter. The syntax for defining the key is shown below.

EACH LINE OF THE SIZE KEY DEFINITION MUST BE SEPERATED BY A SEMI-COLON. The line that begins with the keyword key defines the dimensions of the key and where it is to be drawn in the applet. Other lines define the different key items.
Syntax of first line:key,x: ,y: ,w: ,h: ,t: ,s: ;
x:x-coordinate of the top-left hand corner of the key
y:y-coordinate of the top-left hand corner of the key
w:width of the key
h:height of the key
t:title of the key (Cannot have a comma in the title as of this release)
s:font-size with which title should be displayed, the key labels are displayed at a font-size 3 less than the value specified here

Syntax for defining key elements:(value/range) : (width) : [(description)];
The value can be expressed either as a single value or as a range. The syntax for expressing the value as a range is lower_bound && upper_bound The color is expressed either as a word or RGB value. The description is optional, if none is specifed then the value is written next to a square that shows the color on the key. The font size is 3 less than what ever was specified for the key title.
Example:
<param name=size_key value=
"key,x:170,y:440,w:150,h:70,t:% of Bytes,s:13;
5 : 22 : Telnet;
11 && 20 : 12 : Rlogin;
21 && 30 : 8 : SSH;">


  Last Modified: Wed Jan-9-2013 17:40:23 PST
  Page URL: http://www.caida.org/tools/visualization/geoplot/App_param/index.xml