Make Sectors

download Make Sectors

of 9

Transcript of Make Sectors

  • 8/12/2019 Make Sectors

    1/9

    InternalAbsolut Design & Engineering

    REPORT1 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 20020731 v.2

    Make Sectors Tool

  • 8/12/2019 Make Sectors

    2/9

    InternalAbsolut Design & Engineering

    REPORT2 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 20020731 v.2

    1 INTRODUCTION..................................... ........................................... ............................ 3

    1.1 GENERAL.................................................................................................................. 31.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.......................................................................................................... 43.2 MENU BAR ................................................................................................................ 4

    4 ADDITIONAL COMMENTS........................................ ............................................... ... 7

    APPENDIX A ........................................... ........................................... .................................... 8

    APPENDIX B ........................................... ........................................... .................................... 9

  • 8/12/2019 Make Sectors

    3/9

    InternalAbsolut Design & Engineering

    REPORT3 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 20020731 v.2

    1 Introduction

    1.1 General

    This MapBasic tool will create a MapInfo table of pie shaped sectors for a given cellsite 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 tothe 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.mbxfrom within an explorer window.The tool will be opened into the most recently opened MapInfo session. IfMapInfo is not open, the tool will open a new MapInfo session.

  • 8/12/2019 Make Sectors

    4/9

    InternalAbsolut Design & Engineering

    REPORT4 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 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 willstart 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 (figure2).

  • 8/12/2019 Make Sectors

    5/9

    InternalAbsolut Design & Engineering

    REPORT5 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 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 tocreate each sector symbol. If no tables are open the user will be prompted to open atable 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. Thenew sector table will be saved to the selected table unless the Save As New Fileoption is checked.

  • 8/12/2019 Make Sectors

    6/9

    InternalAbsolut Design & Engineering

    REPORT6 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 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 widthinformation.

    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 sizeinformation (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. Thenew file can be an existing table, excel, text or dbf file. The file must be in the sameformat 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 aboutthe tools creator.

  • 8/12/2019 Make Sectors

    7/9

    InternalAbsolut Design & Engineering

    REPORT7 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 20020731 v.2

    3.2.3 Exit

    Selecting Make Sectors>Exit will terminate the MapBasic tool. All menus and toolbars will be removed.

    4 Additional Comments

    To update sector lat/long or azimuth information the user must update thetable and run make_sectors again to update map.

    To update other sector information the user can change the sector informationand reload the table.

    To add or delete sectors, the user must delete and recreate the MapInfo tablefile (.tab) then run the make_sectors again.

  • 8/12/2019 Make Sectors

    8/9

    InternalAbsolut Design & Engineering

    REPORT8 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 20020731 v.2

    Appendix A

    Below is a sample table format. Information in the red highlighted columns must beincluded all others are optional. Additional columns and information can be includedas necessary. Columns can be in any order and with any title.

    ID Site_ID SECT Long Lat Azimuth BW Ant type Elec Tilt Mech Tilt Structure PN

    1 WAT-001 1 -85.5311886 35.1634344 50 65 Sa65132.plt 2 0 Rooftop 4

    1 WAT-001 2 -85.5311886 35.1634344 170 65 Sa65132.plt 2 0 Rooftop 8

    1 WAT-001 3 -85.5311886 35.1634344 315 65 Sa65132.plt 2 0 Rooftop 122 WAT-002 1 -85.5151486 35.1680292 0 65 Sa65132.plt 2 0 Monopole 16

    2 WAT-002 2 -85.5151486 35.1680292 120 65 Sa65132.plt 2 0 Monopole 20

    2 WAT-002 3 -85.5151486 35.1680292 240 65 Sa65132.plt 2 0 Monopole 24

    4 WAT-004 1 -85.5048563 35.1101571 90 65 Sa65130.plt 2 0 Monopole 40

    4 WAT-004 2 -85.5048563 35.1101571 210 65 Sa65130.plt 2 0 Monopole 44

    4 WAT-004 3 -85.5048563 35.1101571 330 65 Sa65130.plt 2 0 Monopole 48

    5 WAT-005 1 -85.3641721 35.1266426 15 65 Sa65132.plt 2 0 Monopole 52

    5 WAT-005 2 -85.3641721 35.1266426 135 65 Sa65132.plt 2 0 Monopole 56

    5 WAT-005 3 -85.3641721 35.1266426 255 65 Sa65132.plt 2 0 Monopole 606 WAT-006 1 -85.4839597 35.2061799 0 65 Sa65132.plt 2 0 Monopole 64

    6 WAT-006 2 -85.4839597 35.2061799 120 65 Sa65132.plt 2 0 Monopole 68

    6 WAT-006 3 -85.4839597 35.2061799 240 65 Sa65132.plt 2 0 Monopole 72

    Example 1: sample table

  • 8/12/2019 Make Sectors

    9/9

    InternalAbsolut Design & Engineering

    REPORT9 (9)

    Prepared by (also subject responsible if other) No.

    Sean TokarzEmail Address Checked Date Rev File

    [email protected] 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.