README for: Search and Rescue Management Map Code for BBN Openmap and I-X author: Helen Wollan email: lyzel79@hotmail.com date: 2-Sep-2004 (amended 7-Oct-2004) Files: MapTool.java IxPatternLayer.java IxSectorLayer.java IxStatusLayer.java Permission is given to use this add-on code for any purpose Base code found at: I-X: http://www.aiai.ed.ac.uk/project/ix BBN Openmap: http://openmap.bbn.com Other sources: PointInPolygon code: http://www.alienryderflex.com/polygon These add-on layers allow the user to create search sectors on the map, generate search patterns within these sectors, and monitor the status of the sectors. MapTool.java is written by Clauriton Siebra, but modified slightly for the Ix... java files to work properly. IxSectorLayer, in package ix.ip2.map, provides the functionality to generate the search sectors on the map by clicking on the map to indicate the vertices of the sector and double-clicking on the end vertex. This sector also provides a menu obtainable by right-clicking in a defined sector. This menu contains searcher names, notes, status, and probability of the sector. The sectors defined by the user are stored in I-X as constraints. The searcher names, notes, status, and probability are also stored in I-X as constraints. IxPatternLayer, in package ix.ip2.map, provides the functionality to generate search patterns in sectors. There is a bug in the code currently. The pattern generation is based on bearing, or azimuth, calculations. The bearings used in the code need to be re-defined at each step instead of defined once at the beginning to accomodate large sectors since the bearing changes over large distances. This is indicated as a comment in line 577 of the java file. IxStatusLayer, in package ix.ip2.map, provides the status functionality. This class merely changes the fill color of the sectors based on the status percentage defined in the right-click menu of IxSectorLayer. The colors are red for 0<=status<= 33, yellow for 33