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 2 of 2

Returning Territory Information

This is a discussion on Returning Territory Information within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi Guys, I am assuming this can't be done. I have looked everywhere. If this is the case please can ...

  1. #1
    tim144 is offline Junior Member White Belt
    Join Date
    Apr 2007
    Posts
    1

    Cool Returning Territory Information

    Hi Guys,

    I am assuming this can't be done. I have looked everywhere. If this is the case please can someone please confirm this....

    Using VB6 is it possible to set up a set of territories (this can be done
    through the wizard using area codes / sectors or whatever), then add a location (ie an address using lon/lat co-ordinates) and get MapPoint to return the Terriroties Name of that location (ie. whatever you have called the territory using the wizard)?

    I guess the territory is part of the dataset, but how do you reference it?

  2. #2
    Paul Larson is offline Senior Member Green Belt
    Join Date
    Sep 2005
    Location
    Battle Creek, Michigan
    Posts
    136

    Re: Returning Territory Information

    The only way I know of to get the territory is by iterating through ObjectsFromPoint for a Location, and checking for type=geoShowByTerritory. Note that the current map Altitude will greatly affect the accuracy and availability of data returned by ObjectsFromPoint.

    A more reliable alternative would be to convert your territory objects to Shapes, and then use the QueryShape method.

    HTH
    Paul

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindNearBy Not Returning Address
    By ddasker in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-25-2007, 03:58 PM
  2. What does it mean if FindAddress is returning null?
    By chance1166 in forum Bing Maps and MapPoint Web Service
    Replies: 0
    Last Post: 01-12-2006, 12:29 PM
  3. Returning results from ShowFindDialog
    By mbdunkin in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-15-2005, 10:39 PM
  4. Obtaining pushpin's territory information
    By paf33 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-30-2005, 08:53 PM
  5. Demographic Information by Created Territory
    By uedauhes in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-16-2004, 11:16 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