MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to get a PlaceCategory Name?

This is a discussion on How to get a PlaceCategory Name? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I did a FindNearBy with an ActiveRoute Object. I can read all the POIs near the Route, but I ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
How to get a PlaceCategory Name?

Hi,

I did a FindNearBy with an ActiveRoute Object. I can read all the POIs near the Route, but I don't know how to get the PlaceCategory corresponding to each Point Of Interest? I did some tests with no success like :

- ObjFindResults.PlaceCategory.Name
- ObjFindResults.item(1).PlaceCategory.Name
- I do a loop with the ObjMap.Placecategories.count

So I've tried a lot of things and lost 2 hours without success

Any help, please?
Thanks in advance.

Mohamed
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 03-02-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
How to find a place category

Hi,

Ok, I found the solution this morning.

I had to get the Object location for each POI's.

Something like this:

ObjFindResults comes from a FindNearBy reseach.

NbFindResults = ObjFindResults.Count

FOR i = 1 to NbFindResults
ObjLoc = ObjFindResults.item(i).Location
IF ObjLoc.PlaceCategory != Null THEN
Message(ObjLoc.PlaceCategory.Name , ObjFindResults.item(i).Name )
ENDIF
Next i

This works very well and I begin enjoying MapPoint more and more.

I've seen in some post that we can upgrade MapPoint maps with Autoroute 2005,
somebody had tested that?


Many thanks for the moderators.

Mohamed
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


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
Add a PlaceCategory Anonymous MapPoint 2006/2009 Discussion 4 12-19-2002 08:42 AM


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

Ski Accomodation
Book ski accommodation to suit your needs. Holiday Hypermarket makes it simple to specify ski accommodation online. Use our ski holiday search to find holidays for you.

Turkey Holidays
Find and book Turkey Holidays with Travel Counsellors. Holiday destinations around the world including Turkey.

Flights Canada
Our search results will show you a selection of airlines, travel agents and tour operators offering cheap flights to Canada. See for yourself who has the cheapest deals.

Holidays to Mauritius
Visit the paradise island in your holidays to Mauritius. Enjoy the friendliness of the locals, the warm of the sun and the beauty of the views!

Cheap Greece Holidays
For cheap Greece holidays make sure you know when to book and who to book with. Visit ulookubook.com to get help with doing both of those things. Why not time your visit with a Greek festival?

Cheap Holiday
For the holiday of your life that is cheap enough to afford with ease, visit Travel.co.uk

Holidays to Florida
Sun and sea! Get info on holidays to Florida, only at On The Beach.


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