Community of VE/MapPoint Users and Developers
This is a discussion on Creating Territories programmatically within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I need to create the territories programmatically. Does anyone have any idea how to accompolish the same. Thanks, Atul...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Your question is too open ended to help. Do you need to have shapes, perhaps not connected, perhaps overlapping that define pieces of a territory? Are you able to use the builtin notion of territories (which is rather restricitive, IMO)? Try to describe in a bit more detail what you're trying to accomplish. |
| |||
|
Hi YPMapper, Let me give u an example what i m trying to accompolish. Consider 50 states on the map which are divided into 5 groups of 10 states. Each group is involved in a different sport each quarter and hence marks a different territory. I know i can mark these 5 groups as 5 different territories using Mappoint 2004 software. But in my application every quarter you may have different states in each group hence the territories will change so i need to accompolish this programmtically. Hope i was able to explain the issue. Thanks, Atul |
| |||
|
I haven't used the object or app models to work with territories in Mappoint's way, but I suspect that you'll need to do this and recreate your territories each quarter. What I have done, though, is created myself "stencils" of every state using the drawing tools and then dumped the coordinates of every shape into file using some tool I'd found through this forum (this wasn't really necessary, though, because just save the map with the stencil would accomplish the same). Programmatically, I then define my territories as collections of states or shapes (as some territories include only a portion of a state). Using VB, I open a map and let the user add and remove predefined shapes and associate the shape with a territory. All the info extraneous to Mappoint is kept in an MS mdb (Access database). |
![]() |
| Tags |
| creating, programmatically, territories |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Territories creating city territories | cableghost | MapPoint 2006/2009 Discussion | 8 | 08-30-2005 04:47 PM |
| Creating Territories | jdebruin | MapPoint 2006/2009 Discussion | 0 | 03-04-2004 09:15 AM |
| Programmatically creating Territories? | jlaretto | MapPoint 2006/2009 Discussion | 1 | 01-29-2004 03:01 AM |
| Showing ZIP code divisions for territories programmatically | Fer | MapPoint 2006/2009 Discussion | 1 | 09-10-2003 07:51 PM |
| Reading Territories name Programmatically using VB | Anonymous | MapPoint 2006/2009 Discussion | 2 | 05-20-2003 09:20 AM |