Any tutorial to for this.
Regards,
aejazz
Gentreau.
http://www.empowergeo.com/sectorplanner/index.htm
-----Original Message-----
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On
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