How to create sector shape in mapinfo?

2,580 views
Skip to first unread message

aejazz

unread,
Oct 30, 2007, 3:57:10 PM10/30/07
to MapInfo-L
How to create sector shape in mapinfo? Is there any software / add-
in?

Any tutorial to for this.

Regards,
aejazz

Lawley, Russell S

unread,
Oct 30, 2007, 6:32:57 PM10/30/07
to mapi...@googlegroups.com
Aejazz, i am not sure what a sector shape is..can you describe it a little more?

do you mean a map that shows polygons of 'sector' coverage? if so then the Mapinfo terminology is a 'pie-graph' or 'pie chart'....these are a standard thematic map and can be found under the map>thematic map menu..

hth

russell
***************************************************************************************************************
This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
***************************************************************************************************************

winmail.dat

Gentreau

unread,
Oct 30, 2007, 7:53:18 PM10/30/07
to mapi...@googlegroups.com

If however you mean sector as in a sector of a cell site,
then you have to calculate the coordinates and generate them yourself.

Gentreau.

Ahmad Ijaz

unread,
Oct 31, 2007, 10:19:44 AM10/31/07
to mapi...@googlegroups.com
Thank you for your email.
 
Currently I am using layers on mapinfo that when i click on each sector (cell site) using info tool it displays
 
Location
Name
Site ID
Sector ID
BTS Parameter
Latitude
Longitude
Azimuth of the sector
etc , etc.
 
So I want to know couple of things,
 
i) How this sector (cell site) shape is created on mapinfo?
ii) How can I add my own cell site with number of sectors that displays exactly like the above?
 
Any tutorial, help in this regard.
 
Please advice.  
 
Many Thanks,
Aejazz

 

Gentreau

unread,
Oct 31, 2007, 11:33:46 AM10/31/07
to mapi...@googlegroups.com
Do you not have access to the tool which created the sectors in the first place?
There are a few of them floating around the mobile comms industry
 
Anyway, there's 2 questions there.
 
Firstly, drawing the region (that's what its called in MI)
You start with the coordinates of the site and decide on the radius of the sector.
You then do the appropriate trigonometric calculation, taking to consideration whether your coordinate system is in metres or degrees.
Imagine your azimuth is 90 and beamwidth 60, you need to calculate the coordinates for the point at 60 degrees (90-30)
Then you calculate any number of points, say every 2 degrees, until you get to 120 degrees (90+30)
Then you return to the starting point.
 
You can either do this in MapBasic using the Create Region statement or write it to a mif file and import to MI.
 
As for the data which you see when you click with the info tool, that needs to be added to the table either by
using an Update Table statement or by writing to a mid file which matches the mif file above.
 
I wish you the best of luck, I have already been through this, but for commercial reasons, cant share any more than I have.
 
BR
Gentreau.
 


From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of Ahmad Ijaz
Sent: Wednesday, October 31, 2007 10:20 PM

Ahmad Ijaz

unread,
Oct 31, 2007, 12:47:05 PM10/31/07
to mapi...@googlegroups.com
I am only a user and because of the curiosity and for learning experience i want to do that on my own.
 
Can you share which softwares are used to do the job in Mapinfo?

 

Darren Chan

unread,
Oct 31, 2007, 1:19:12 PM10/31/07
to mapi...@googlegroups.com
Hi Ahmad

Use Mapbasic or VBA (e.g. Excel) to do as Gentreau outlined.  To create the mid/mif files for import into MapInfo, export the current site/cell table you have to see the format and how regions etc.. are defined.

BR

GeoSinam

unread,
Nov 1, 2007, 6:50:13 PM11/1/07
to MapInfo-L
Not free - but might be useful for reference.

http://www.empowergeo.com/sectorplanner/index.htm

Gentreau

unread,
Nov 1, 2007, 7:29:09 PM11/1/07
to mapi...@googlegroups.com

Anybody able to find the price for it on their website ?

-----Original Message-----
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On

Warren Vick, Europa Technologies Ltd.

unread,
Nov 2, 2007, 1:14:37 PM11/2/07
to mapi...@googlegroups.com

Hello Ahmad,

 

Drawing sectors should just be a case of buffering a point and then chopping out the area outside the sector. I was curious if there was an easy way of doing this using MapInfo’s buffer capability and came up with the following:

 

-         When Pro creates a buffer, the maximum resolution is 100 nodes. So, let’s assume you use 72 nodes for your buffer to give 5-degree resolution for a full circle. If that’s not good enough, it’s a case of working out the sector geometry from scratch. This is more difficult, especially if you’re dealing with a non-Cartesian coordinate system.

-         I did a quick test and it seems that (for lat/lon anyway), the first node in a buffer is the eastern point. So, assuming this is consistent, you could work out which two nodes your sector should cover, to the nearest 5 degree of course.

-         Finally, simply create your sector region starting from the centre point, out to the first node on the arc, traverse around the buffer until you get to the end node and then complete by going back to the centre. Job done!

 

Obviously all this would be best done in a MapBasic program. Hope that helps.

 

Regards,
Warren Vick
Europa Technologies Ltd.
http://www.europa-tech.com


<br

Ahmad Ijaz

unread,
Nov 2, 2007, 4:49:59 PM11/2/07
to mapi...@googlegroups.com
Thanks Warren,
 
Looking like a nightmare for a newbie. I am surprised that creating a sector could open so much info doors for me. Why there is no such thing called Step by step guide.
 
Well if I follow wat you have given me, my next question will be that can I use thematic mapping on these sector i.e. colouring different sector in the region etc. etc.
 
I am currently trying to find out how to buffering point , :D .
 
Many Thanks,
aejazz

Darren Chan

unread,
Nov 2, 2007, 6:35:01 PM11/2/07
to mapi...@googlegroups.com
If you do progress to creating the sector shape program, the following references may be helpful in understanding the mathematics behind some calculations required.

http://williams.best.vwh.net/  :
http://www.marineplanner.com/bowditch/bowditch.cfm
Many excellent utilities provided by the forum

I have implemented several calculations as functions in Mapbasic and used them to create sector shapes and in numerous RF related tools.
Reply all
Reply to author
Forward
0 new messages