<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=XGEOPLOT</id>
	<title>XGEOPLOT - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=XGEOPLOT"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=XGEOPLOT&amp;action=history"/>
	<updated>2026-04-13T15:54:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=XGEOPLOT&amp;diff=847&amp;oldid=prev</id>
		<title>ConvertBot: ALPHA! - An incomplete drop-in replacement for X-Midas XGEOPLOT</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=XGEOPLOT&amp;diff=847&amp;oldid=prev"/>
		<updated>2020-04-27T22:05:16Z</updated>

		<summary type="html">&lt;p&gt;ALPHA! - An incomplete drop-in replacement for X-Midas XGEOPLOT&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;ALPHA! - An incomplete drop-in replacement for X-Midas XGEOPLOT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;SITE&amp;gt;     - Site file&lt;br /&gt;
&amp;lt;SV&amp;gt;       - State Vectors for platform A&lt;br /&gt;
&amp;lt;UNKNOWN&amp;gt;  -&lt;br /&gt;
&amp;lt;REFTIME&amp;gt;  - Reference time of interest in seconds (initial)&lt;br /&gt;
&lt;br /&gt;
This primitive is NOT COMPLETE but is the start of a replacement for the&lt;br /&gt;
X-Midas XGEOPLOT primitive.&lt;br /&gt;
&lt;br /&gt;
Messages:&lt;br /&gt;
  NAME     -  DESCRIPTION  (Note: all messages are INcoming)&lt;br /&gt;
  -----------------------------------------------------------------------&lt;br /&gt;
  OVERLAY  -  General Information:&lt;br /&gt;
                  This message is used to overlay a file onto the current file.&lt;br /&gt;
                  If an overlay message arrives which specifies a file that has&lt;br /&gt;
                  already been loaded, that file will be reread. To set additional&lt;br /&gt;
                  arguments or to update the viewable area of the plot when opening, &lt;br /&gt;
                  use the optional message field QUALS=&amp;lt;table&amp;gt;. For more details, see&lt;br /&gt;
                  the plot explain file.&lt;br /&gt;
&lt;br /&gt;
                  INFO = 3-layers 4-events&lt;br /&gt;
                  DATA = &amp;lt;filename.ext&amp;gt;&lt;br /&gt;
&lt;br /&gt;
           -  Optional Fields:&lt;br /&gt;
                  QUALS = {OUTERLIMITS={}, VIEWLIMITS={}}&lt;br /&gt;
&lt;br /&gt;
  T5REC    -  General Information:&lt;br /&gt;
                  This message is a somewhat raw method of altering a LAYERT5 &lt;br /&gt;
                  record.  All type 5000 files are stored internally with a &lt;br /&gt;
                  record structure closely resembling the T5REC message fields.&lt;br /&gt;
&lt;br /&gt;
                  INFO = modmask (i.e. bitmask of fields to modify).  Note: This&lt;br /&gt;
                         information can also be supplied in String form by &lt;br /&gt;
                         having a MODMASK key in the DATA table (MODMASK Data &lt;br /&gt;
                         Field/Table entry will override INFO).&lt;br /&gt;
                         Only those items whose bit in the modmasks field is set&lt;br /&gt;
                         will be updated when the message is received.  For &lt;br /&gt;
                         short, modmask=0 modifies nothing, modmask=-1 modifies&lt;br /&gt;
                         everything.  Bits are numeric starting at 1 for alt, 2&lt;br /&gt;
                         for lat, and so on.  Bit 0 is unused.&lt;br /&gt;
                         Example modmasks:&lt;br /&gt;
                         14=alt,lat,lon  16=name   224=azim,elev,roll 1792=r,a,b&lt;br /&gt;
                         2048=color  12288=symbol,size  49152=cone,invert&lt;br /&gt;
&lt;br /&gt;
           -  Required Data Fields:&lt;br /&gt;
                  L:LAYER  -  The &amp;lt;layer&amp;gt; refers to the layer number associated &lt;br /&gt;
                              with the type5000 data.  If &amp;lt;layer&amp;gt; is negative, &lt;br /&gt;
                              it is the index counting from the last, backward. &lt;br /&gt;
                              (i.e. -1 is the last, -2 is 2nd from the last)  If&lt;br /&gt;
                              &amp;lt;layer&amp;gt; = 0, it refers to the marker record and &lt;br /&gt;
                              index is ignored.&lt;br /&gt;
                  L:INDEX  -  The &amp;lt;index&amp;gt; refers to the record index within the &lt;br /&gt;
                              layer.  If &amp;lt;index&amp;gt; is negative, it is the index &lt;br /&gt;
                              counting from the last, backward. If &amp;lt;index&amp;gt; = 0,&lt;br /&gt;
                              it refers to the entire layer.&lt;br /&gt;
&lt;br /&gt;
           -  Optional Data Fields:&lt;br /&gt;
                  D:ALT    -  Altitude (Geodetic coordinates of the point)&lt;br /&gt;
                  D:LAT    -  Latitude&lt;br /&gt;
                  D:LON    -  Longitude&lt;br /&gt;
                  D:NAME   -  8 character label for the point&lt;br /&gt;
                  D:R      -  Meaning varies and affects interpretation of other&lt;br /&gt;
                              fields as well (see next section)&lt;br /&gt;
                  S:MODMASK-  String representation of bit mask (fields that are&lt;br /&gt;
                              listed will be modified).  Full list:&lt;br /&gt;
                              |ALT|LAT|LON|NAME|AZIM|ELEV|ROLL|R|A|B|COLOR|&lt;br /&gt;
                              SYMBOL|SIZE|CONE|INVERT|&lt;br /&gt;
                  Flag fields:&lt;br /&gt;
                  L:COLOR  - T5 Color number:&lt;br /&gt;
                             1 - Gray (MPlot.T5_INDEX_GRAY)&lt;br /&gt;
                             2 - dark green (MPlot.T5_INDEX_DARK_GREEN)&lt;br /&gt;
                             3 - red (MPlot.T5_INDEX_RED)&lt;br /&gt;
                             4 - yellow (MPlot.T5_INDEX_YELLOW)&lt;br /&gt;
                             5 - green (MPlot.T5_INDEX_GREEN)&lt;br /&gt;
                  B:SYMBOL - 1:DOT, 2:CIRCLE, 3:PLUS, 4:CROSS, 5:UTRI, 6:DTRI&lt;br /&gt;
                  B:SIZE   - diameter of symbol in pixels&lt;br /&gt;
                  B:CONE   - specifies the type of conic to plot:&lt;br /&gt;
                             -9: uses XGEOPLOTs current/default CONELEV&lt;br /&gt;
                             -1: map cone to intersection with geosphere&lt;br /&gt;
                              0: off - no conic&lt;br /&gt;
                              N: number of sections (rings) along cone centerline&lt;br /&gt;
                  B:INVERT -  the cone is inverted, ie. the base of the cone&lt;br /&gt;
                              and the vertex are swapped.&lt;br /&gt;
                              (saved, but not used at this time)&lt;br /&gt;
&lt;br /&gt;
           -  Optional Data Fields Where Interpretation depends value of R:&lt;br /&gt;
              [R &amp;gt; 1 or not specified case - WARNING: Currently Unimplemented]:&lt;br /&gt;
                  D:AZIM   - Azimuth   | Used along with ELEV and ROLL to apply&lt;br /&gt;
                  D:ELEV   - Elevation | a coordinate reorientation at the &lt;br /&gt;
                  D:ROLL   - Roll      | geodetic position.  If all are zero, Z &lt;br /&gt;
                                       | points up, X points east, and Y north.&lt;br /&gt;
                                       | Conics are formed along the Z axis.&lt;br /&gt;
                  D:R      - Height of the conic&lt;br /&gt;
                  D:A      - Major half angle for the cone&lt;br /&gt;
                             (saved, but not used at this time)&lt;br /&gt;
                  D:B      - Minor half angle for the cone&lt;br /&gt;
                             (saved, but not used at this time)&lt;br /&gt;
              R = -1 case (cone):&lt;br /&gt;
                  D:AZIM   - ALT2 | Used along with LAT2 and LON2 to define&lt;br /&gt;
                  D:ELEV   - LAT2 | a second point. If any flag data fields are&lt;br /&gt;
                  D:ROLL   - LON2 | set, this point is the position the cone is &lt;br /&gt;
                                  | originating from (the viewer) and the first&lt;br /&gt;
                                  | point is the target location (the point the&lt;br /&gt;
                                  | viewer is looking at).  If no flag fields&lt;br /&gt;
                                  | are set, the points are reversed (this point&lt;br /&gt;
                                  | is the target and the first point the&lt;br /&gt;
                                  | viewer)&lt;br /&gt;
              R = 0 case (error ellipses):&lt;br /&gt;
                  D:AZIM   - ellipse orientation  | An error ellipse is a &lt;br /&gt;
                  D:A      - ellipse major radius | special case of a conic. &lt;br /&gt;
                  D:B      - ellipse minor radius |&lt;br /&gt;
&lt;br /&gt;
  T5TEXT   -  General Information:&lt;br /&gt;
                  This is a special case of the T5REC used to plot text strings.&lt;br /&gt;
&lt;br /&gt;
                  INFO = modmask (i.e. bitmask of fields to modify).  Note: This&lt;br /&gt;
                         information can also be supplied in String form by &lt;br /&gt;
                         having a MODMASK key in the DATA table (MODMASK Data &lt;br /&gt;
                         Field/Table entry will override INFO).&lt;br /&gt;
                         Only those items whose bit in the modmasks field is set&lt;br /&gt;
                         will be updated when the message is received.  For &lt;br /&gt;
                         short, modmask=0 modifies nothing, modmask=-1 modifies&lt;br /&gt;
                         everything.  Bits are numeric starting at 1 for alt, 2&lt;br /&gt;
                         for lat, and so on.  Bit 0 is unused.&lt;br /&gt;
                         Example modmasks:&lt;br /&gt;
                         14=alt,lat,lon  16=name  32=text  64=color&lt;br /&gt;
                         384=symbol,size&lt;br /&gt;
&lt;br /&gt;
           -  Required Data Fields:&lt;br /&gt;
                  L:LAYER  -  The &amp;lt;layer&amp;gt; refers to the layer number associated &lt;br /&gt;
                              with the type5000 data.  If &amp;lt;layer&amp;gt; is negative, &lt;br /&gt;
                              it is the index counting from the last, backward. &lt;br /&gt;
                              (i.e. -1 is the last, -2 is 2nd from the last)  If&lt;br /&gt;
                              &amp;lt;layer&amp;gt; = 0, it refers to the marker record and &lt;br /&gt;
                              index is ignored.&lt;br /&gt;
                  L:INDEX  -  The &amp;lt;index&amp;gt; refers to the record index within the &lt;br /&gt;
                              layer.  If &amp;lt;index&amp;gt; = 0, it refers to the entire&lt;br /&gt;
                              layer. If &amp;lt;index&amp;gt; is negative, it refers to the &lt;br /&gt;
                              last index.&lt;br /&gt;
                              (NOT IMPLEMENTED: If &amp;lt;index&amp;gt; is negative,&lt;br /&gt;
                              it is the index counting from the last, backward.)&lt;br /&gt;
&lt;br /&gt;
           -  Optional Data Fields:&lt;br /&gt;
                  D:ALT    -  Altitude (Geodetic coordinates of the point)&lt;br /&gt;
                  D:LAT    -  Latitude&lt;br /&gt;
                  D:LON    -  Longitude&lt;br /&gt;
                  D:NAME   -  8 character label for the point&lt;br /&gt;
                  S:TEXT   -  text string &lt;br /&gt;
                              (saved, but not displayed)&lt;br /&gt;
                              [Also NOT implemented: An &amp;quot;@&amp;quot; in the text is &lt;br /&gt;
                              treated as a CR/LF and the remaining text is &lt;br /&gt;
                              displayed on the next line.]&lt;br /&gt;
                  S:MODMASK-  String representation of bit mask (fields that are&lt;br /&gt;
                              listed will be modified).  Full list:&lt;br /&gt;
                              |ALT|LAT|LON|NAME|TEXT|COLOR|SYMBOL|SIZE|CONE|&lt;br /&gt;
                              INVERT|&lt;br /&gt;
&lt;br /&gt;
  T5LAYER  -  General Information:&lt;br /&gt;
                  This message is used to modify the structure of a type 5000&lt;br /&gt;
                  layer&lt;br /&gt;
&lt;br /&gt;
                  INFO = layer number&lt;br /&gt;
&lt;br /&gt;
           -  Data Fields:&lt;br /&gt;
                  S:ACTION - &amp;quot;DELETE&amp;quot; deletes points indexed P1 through P2&lt;br /&gt;
                                      P2 = -1 refers to the last point&lt;br /&gt;
                                      &amp;lt;TODO&amp;gt;&lt;br /&gt;
                             &amp;quot;COPY&amp;quot;   copies point index P1 to P2&lt;br /&gt;
                                      &amp;lt;p2&amp;gt; = 0 appends the point to the end&lt;br /&gt;
                                      &amp;lt;TODO&amp;gt;&lt;br /&gt;
                             &amp;quot;CREATE&amp;quot; creates a layer with P1 points&lt;br /&gt;
                                      INFO=0 is one after the last layer&lt;br /&gt;
                  L:P1     - first point  (1 indexed) / number of points&lt;br /&gt;
                  L:P2     - second point (inclusive &amp;amp; 1 indexed) / &amp;lt;not used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  SETVIEW  -  General Information:&lt;br /&gt;
                  Set the view&lt;br /&gt;
&lt;br /&gt;
                  INFO = View:&lt;br /&gt;
                                  1: LATLON&lt;br /&gt;
                                  2: PERSP        &amp;lt;unsupported&amp;gt;&lt;br /&gt;
                                  3: SVA          &amp;lt;unsupported&amp;gt;&lt;br /&gt;
                                  4: SVB          &amp;lt;unsupported&amp;gt;&lt;br /&gt;
                           negative: split mode   &amp;lt;unsupported&amp;gt;&lt;br /&gt;
&lt;br /&gt;
           -  Required Data Fields:&lt;br /&gt;
                  D:VAL1 = longitude min&lt;br /&gt;
                  D:VAL2 = longitude max&lt;br /&gt;
                  D:VAL3 = latitude min&lt;br /&gt;
                  D:VAL4 = latitude max&lt;br /&gt;
&lt;br /&gt;
           -  Optional Data Fields &amp;lt;UNSUPPORTED&amp;gt;&lt;br /&gt;
                  eyelat/lon/dis = viewing lat/lon/distance for perspective mode&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
  1. Use T5REC message to add/merge Point 1 with Error Ellipse component on &lt;br /&gt;
     Layer 2. (uses String MODMASK)&lt;br /&gt;
&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=0 NAME=&amp;quot;T5REC&amp;quot; &amp;amp;&lt;br /&gt;
     DATA={Layer=2,INDEX=1,&amp;amp;&lt;br /&gt;
     ModMask=&amp;quot;ALT|LAT|LON|R|AZIM|A|B|COLOR|CONE|NAME|SYMBOL|SIZE&amp;quot;, &amp;amp;&lt;br /&gt;
     ALT=45.0,LAT=0.5,LON=0.5,R=0,AZIM=15.0,A=300000.0,B=70000.0,COLOR=2, &amp;amp;&lt;br /&gt;
     CONE=-9, SYMBOL=5,SIZE=3,NAME=PNT1REC}&lt;br /&gt;
&lt;br /&gt;
  2. Use T5REC message to add/merge Point 2 with Cone component on Layer 3&lt;br /&gt;
     (uses String MODMASK)&lt;br /&gt;
&lt;br /&gt;
  invoke red nxm.sys.libg.MColor.T5_INDEX_RED&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=0 NAME=&amp;quot;T5REC&amp;quot; &amp;amp;&lt;br /&gt;
     DATA={Layer=3,INDEX=2, &amp;amp;&lt;br /&gt;
     ModMask=&amp;quot;ALT|LAT|LON|R|AZIM|ELEV|ROLL|COLOR|CONE|NAME|SYMBOL|SIZE&amp;quot;,&amp;amp;&lt;br /&gt;
     ALT=1000000.0,LAT=1,LON=5,R=-1,AZIM=7.0,ELEV=5.0,ROLL=0.0,COLOR=^red, &amp;amp;&lt;br /&gt;
     CONE=-9, SYMBOL=5,SIZE=3,NAME=PNT2REC}&lt;br /&gt;
&lt;br /&gt;
  4. Use T5REC message to modify all points in the Layer to have Longitude 6.0&lt;br /&gt;
     and have the color gray. (uses INFO for modmask)&lt;br /&gt;
&lt;br /&gt;
  invoke gray  nxm.sys.libg.MColor.T5_INDEX_GRAY&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=72 NAME=&amp;quot;T5REC&amp;quot; &amp;amp;&lt;br /&gt;
             DATA={Layer=4,INDEX=0,LON=6.0,COLOR=1}&lt;br /&gt;
&lt;br /&gt;
  5. Use T5TEXT message to add Point with TEXT/NOTE component on third LayerT5&lt;br /&gt;
&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=-1 NAME=&amp;quot;T5TEXT&amp;quot;, DATA={Layer=4,INDEX=3, &amp;amp;&lt;br /&gt;
     ModMask=&amp;quot;ALT|LAT|LON|NAME|COLOR|SYMBOL|TEXT|SIZE|INVERT&amp;quot;,ALT=55.0,LAT=2, &amp;amp;&lt;br /&gt;
     LON=2,COLOR=4,SYMBOL=2,SIZE=3,INVERT=1,NAME=PNT3TEXT, TEXT=NoteToDisplay}&lt;br /&gt;
&lt;br /&gt;
  6. Use T5LAYER ACTION=CREATE message to create a LayerT5&lt;br /&gt;
&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=1 NAME=&amp;quot;T5LAYER&amp;quot; &amp;amp;&lt;br /&gt;
              DATA={ACTION=&amp;quot;CREATE&amp;quot;,P1=1}&lt;br /&gt;
&lt;br /&gt;
  7. Use T5LAYER ACTION=DELETE message to delete Points 1 to 2 in Layer 1&lt;br /&gt;
&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=1 NAME=&amp;quot;T5LAYER&amp;quot; &amp;amp;&lt;br /&gt;
              DATA={ACTION=&amp;quot;DELETE&amp;quot;,P1=1,P2=2}&lt;br /&gt;
&lt;br /&gt;
  8. Use T5LAYER ACTION=DELETE message to delete Points 4 to the end in the&lt;br /&gt;
     layer defined as citiesLayer&lt;br /&gt;
&lt;br /&gt;
  set L:layNum ^citiesLayer&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=^layNum NAME=&amp;quot;T5LAYER&amp;quot; &amp;amp;&lt;br /&gt;
              DATA={ACTION=&amp;quot;DELETE&amp;quot;,P1=4,P2=-1}&lt;br /&gt;
&lt;br /&gt;
  9. Use T5LAYER ACTION=COPY to make Point 1 a copy of Point 3&lt;br /&gt;
&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=3 NAME=&amp;quot;T5LAYER&amp;quot; &amp;amp;&lt;br /&gt;
              DATA={ACTION=&amp;quot;COPY&amp;quot;,P1=3,P2=1}&lt;br /&gt;
&lt;br /&gt;
  10. Use T5LAYER ACTION=COPY to append copy of Point 3 to the existing points&lt;br /&gt;
&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=3 NAME=&amp;quot;T5LAYER&amp;quot; &amp;amp;&lt;br /&gt;
              DATA={ACTION=&amp;quot;COPY&amp;quot;,P1=3,P2=0}&lt;br /&gt;
&lt;br /&gt;
  11. Use SETVIEW to zoom in&lt;br /&gt;
&lt;br /&gt;
  set box {MINLON=-1,MAXLON=8,MINLAT=-3,MAXLAT=5}&lt;br /&gt;
  message FUNC=SEND ID=^XGEOID INFO=1 NAME=&amp;quot;SETVIEW&amp;quot; &amp;amp;&lt;br /&gt;
     DATA={VAL1=^box.minLon,VAL2=^box.maxLon,VAL3=^box.minLat,VAL4=^box.maxLat} &lt;br /&gt;
     &lt;br /&gt;
  12. Use OVERLAY message to add a file to the current file.&lt;br /&gt;
  &lt;br /&gt;
  message FUNC=SEND ID=^XGEOID NAME=OVERLAY INFO=3 DATA=&amp;quot;temp_xgeo_cities&amp;quot; QUALS={OUTERLIMITS={x1=-100}}&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /DEBUG - Switch description&lt;br /&gt;
  /XN    - Window title&lt;br /&gt;
  /MTAG  - Switch description&lt;br /&gt;
  /MSGID - Switch description&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>