MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Extracting the corresponding Territory to a PushPin Location

This is a discussion on Extracting the corresponding Territory to a PushPin Location within the MapPoint 2006/2009 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 ...


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 06-24-2005
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
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 07-31-2005
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.
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 08-05-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 96
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
__________________
Mohamed
www.AtlasCouscous.com
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 08-13-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

And if you dont want the territory visible you can hold an array of pushpins which have an extra property 'Territory'.
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
extracting, location, pushpin, territory


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
How to determine territory of a recently placed pushpin ? Sonicman_ MapPoint 2006/2009 Discussion 7 09-16-2006 10:34 AM
Extracting Zips form the territory (from code) andrejd MapPoint 2006/2009 Discussion 3 02-17-2006 07:57 AM
Which Territory is a Pushpin located? johnweidauer MapPoint 2006/2009 Discussion 1 07-31-2005 11:46 AM
Having problems getting location from pushpin Anonymous MapPoint 2006/2009 Discussion 0 11-02-2004 11:33 AM
extracting territory info from MapPoint Anonymous MapPoint 2006/2009 Discussion 2 05-07-2004 07:42 AM


All times are GMT -5. The time now is 10:00 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 55