1 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
Make Sectors Tool
Internal Absolut Design & Engineering
REPORT
2 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
1 INTRODUCTION............................................................................................................ 3 1.1 GENERAL .................................................................................................................. 3 1.2 REQUIRED TABLE FORMAT...................................................................................... 3 2 STARTING MAPBASIC PROGRAM.......................................................................... 3 2.1 FROM MS EXPLORER............................................................................................... 3 2.2 FROM MAPINFO........................................................................................................ 4 3 MAKE_SECTOR TOOL................................................................................................ 4 3.1 TOOL BUTTON .......................................................................................................... 4 3.2 MENU BAR................................................................................................................ 4 4 ADDITIONAL COMMENTS.......................................................................................... 7 APPENDIX A.......................................................................................................................... 8 APPENDIX B.......................................................................................................................... 9
Internal Absolut Design & Engineering
REPORT
3 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
1 Introduction 1.1 General This MapBasic tool will create a MapInfo table of pie shaped sectors for a given cell site database. The table can be used to label sector symbols with unique information (i.e. sector name, sector type or sector stats). Thematic layers can also be applied to the table for graphical analysis. 1.2 Required Table Format The input table must contain at least the following information for each sector. Latitude (degree-decimal) Longitude (degree-decimal) Azimuth The table can also contain additional sector information as needed. Sector name Beam width Cell size Carrier or Freq PNs or SCs Neighbor lists Statistical data
2 Starting MapBasic Program
2.1 From MS explorer Double click make_sectors.mbx from within an explorer window. The tool will be opened into the most recently opened MapInfo session. If MapInfo is not open, the tool will open a new MapInfo session.
Internal Absolut Design & Engineering
REPORT
4 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
2.2 From MapInfo Select File>Run MapBasic Program. Choose directory and file make_sectors.mbx. Click Open button. The tool will be opened in the current MapInfo session.
3 Make_Sector Tool The cell site table should be open before starting the sector creation process. Importing an excel file is described in Appendix B. 3.1 Tool Button
Figure 1: tool button
A floating tool button will be added to MapInfo (figure1). Clicking the tool button will start the process described below in section 3.2.1. 3.2 Menu Bar
Figure 2: menu bar
A new menu Make Sectors will be added to the end of the current menu bar (figure 2).
Internal Absolut Design & Engineering
REPORT
5 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
3.2.1 Create Sectors Selecting Make Sectors>Create Sectors will open the tools set-up window (figure 3). The window allows the user to specify the columns or fixed values the tool will use to create each sector symbol. If no tables are open the user will be prompted to open a table first. Importing an excel file is described in Appendix B.
Figure 3: make sector set-up window
From Table Select, from a list of open tables, which table contains the sector information. The new sector table will be saved to the selected table unless the Save As New File option is checked.
Internal Absolut Design & Engineering
REPORT
6 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
Latitude Select the column that contains the latitude information in degree-decimal format. Longitude Select the column that contains the longitude information in degree-decimal format. Azimuth Select the column that contains the azimuth information. Beam Width Use default box checked - Enter value to use for the beam width of all sectors. Use default box not checked - Select the column that contains the sector beam width information. Sector Size Use default box checked - Enter value to use for the sector size of all sectors (miles). Use default box not checked - Select the column that contains the sector size information (miles). Select Sector Color Click symbol to change fill pattern and color for all sectors. Cancel Click to exit set-up window without creating table. Open New File Click to open a new file into MapInfo and add to the available table selection. The new file can be an existing table, excel, text or dbf file. The file must be in the same format as described in section 1.2. Importing an excel file is described in Appendix B. Make Sectors Click to create sector table. 3.2.2 Tool Info Selecting Make Sectors>Tool Info will display a window containing information about the tools creator.
Internal Absolut Design & Engineering
REPORT
7 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
3.2.3 Exit Selecting Make Sectors>Exit will terminate the MapBasic tool. All menus and tool bars will be removed.
4 Additional Comments To update sector lat/long or azimuth information the user must update the table and run make_sectors again to update map. To update other sector information the user can change the sector information and reload the table. To add or delete sectors, the user must delete and recreate the MapInfo table file (.tab) then run the make_sectors again.
Internal Absolut Design & Engineering
REPORT
8 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
Appendix A
Below is a sample table format. Information in the red highlighted columns must be included all others are optional. Additional columns and information can be included as necessary. Columns can be in any order and with any title.
9 (9) Prepared by (also subject responsible if other) No. Sean Tokarz Email Address Checked Date Rev File Stokar01@yahoo.com 20020731 v.2
Appendix B The following steps through the procedure to import an Excel file into MapInfo.
1. Select File>Open Table. 2. Change File of Type to Microsoft Excel (*.xls). 3. Find saved excel file and click Open button. 4. Import table information window opens.
Figure 5: table information window Select Other from Name Range. o Change A1 to A2. Check Use Row Above Selected Range for Column Titles Click OK button. 5. File is imported. Run make_sectors.mbx.