Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

Creating Territories programmatically

This is a discussion on Creating Territories programmatically within the MapPoint Desktop 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...

  1. #1
    Atul22 is offline 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

  2. #2
    YPMapper is offline 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.

  3. #3
    Atul22 is offline 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

  4. #4
    YPMapper is offline 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).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Territories creating city territories
    By cableghost in forum MapPoint Desktop Discussion
    Replies: 8
    Last Post: 08-30-2005, 04:47 PM
  2. Creating Territories
    By jdebruin in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-04-2004, 09:15 AM
  3. Programmatically creating Territories?
    By jlaretto in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-29-2004, 03:01 AM
  4. Showing ZIP code divisions for territories programmatically
    By Fer in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-10-2003, 07:51 PM
  5. Reading Territories name Programmatically using VB
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-20-2003, 09:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66