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

Extracting the corresponding Territory to a PushPin Location

This is a discussion on Extracting the corresponding Territory to a PushPin Location within the MapPoint Desktop Discussion forums, part of the Map Forums category; How do you go about extracting (exporting via excel) the PushPin locations with the corresponding territory? I have 2 sets ...

  1. #1
    jpendegraft is offline Junior Member White Belt
    Join Date
    Jun 2005
    Posts
    1

    Extracting the corresponding Territory to a PushPin Location

    How do you go about extracting (exporting via excel) the PushPin locations with the corresponding territory?

    I have 2 sets of data, individual locations and a "territory" structure. I have them both mapped to graphically display location in particular territories. I would like to "merge" both sets of data. Basically, I want to know which territory a particular pushpin is in.

    Any suggestions?
    ---
    jpendegraft

  2. #2
    paf33 is offline Junior Member White Belt
    Join Date
    Jul 2005
    Posts
    11
    jpendegraft,

    We are in the same boat. I need to do exactly the same task. Please let me know if you found any solution. I will let you know if I find the solution.

    Thanks.

  3. #3
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    Quote Originally Posted by jpendegraft
    " I want to know which territory a particular pushpin is in.

    Any suggestions?
    My first Idea is to save your territory Name or Id ( and more information ) in the property NOTE when you create your PushPins.
    If you do this , just read the property NOTE of your PushPin and the job is done.

    Look at this example in Help File ( AddPushPinNote )

    Code:
     Sub AddPushpinNote()
    
      Dim objApp As New MapPoint.Application
      Dim objMap As MapPoint.Map
      Dim objPin As MapPoint.Pushpin
    
      'Configure l'application
      Set objMap = objApp.ActiveMap
      objApp.Visible = True
      objApp.UserControl = True
    
      'Ajoute un clic-infos  la carte et lui affecte une remarque
      Set objPin = objMap.AddPushpin(objMap.FindResults("Seattle, WA")(1))
      objPin.BalloonState = geoDisplayBalloon
      objPin.Note = "C'est ici que le voyage commence."
    
      End Sub
    I hope this can help.

    Regards from Marrakesh

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    And if you dont want the territory visible you can hold an array of pushpins which have an extra property 'Territory'.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to determine territory of a recently placed pushpin ?
    By Sonicman_ in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 09-16-2006, 10:34 AM
  2. Extracting Zips form the territory (from code)
    By andrejd in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 02-17-2006, 07:57 AM
  3. Which Territory is a Pushpin located?
    By johnweidauer in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-31-2005, 11:46 AM
  4. Having problems getting location from pushpin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-02-2004, 11:33 AM
  5. extracting territory info from MapPoint
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-07-2004, 07:42 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96