MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Creating Territories programmatically

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...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-27-2004
Junior Member
White Belt
 
Join Date: Sep 2004
Posts: 6
Creating Territories programmatically

Hi,

I need to create the territories programmatically. Does anyone have any idea how to accompolish the same.

Thanks,
Atul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-28-2004
Junior Member
Yellow Belt
 
Join Date: Apr 2004
Posts: 16
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-05-2004
Junior Member
White Belt
 
Join Date: Sep 2004
Posts: 6
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 10-05-2004
Junior Member
Yellow Belt
 
Join Date: Apr 2004
Posts: 16
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).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
creating, programmatically, territories


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 07:30 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54