MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Import Intersections

This is a discussion on Import Intersections within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is there a way to import intersection locations? I can "Find" intersections, but can't import. I will ...


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-03-2004
Junior Member
White Belt
 
Join Date: Mar 2004
Posts: 7
Import Intersections

Is there a way to import intersection locations? I can "Find" intersections, but can't import.

I will be mapping a relatively small set of school bus routes, and many of the stops are located not at specific addresses but at intersections. I intend to use an Access table of stop information to import. I'm hoping I can find a relatively painless way of doing this without having to go in and locate the stops manually. Any ideas?
__________________
Mark J. LaCore
Duluth, MN
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-03-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I thought you could import addresses.. post a few lines of examples and describe your procedure a little bit.

Eric
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 03-03-2004
Junior Member
White Belt
 
Join Date: Mar 2004
Posts: 7
Eric,

I can import addresses easily enough, but not interesection locations. If, for instance, I try to import an address like:"2150 Springvale Rd., Duluth, MN", it works just fine. But if I try "W 11th St. & N 24th Av. W, Duluth, MN" it chokes out and won't match the location, even though I can type exactly the same thing in the "Find" dialog and it matches it perfectly.

I've poked around the programming procedures and such and haven't yet found anything that will do it. Just thought there might be some sort of workaround that I'm not aware of. If not, MapPoint will not be quite as helpful as I was hoping, though I'll still do what I need to do manually.
__________________
Mark J. LaCore
Duluth, MN
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 03-03-2004
Junior Member
White Belt
 
Join Date: Mar 2004
Posts: 7
Eric,

I missed this part of your question --

I am just using the Import Data Wizard to pull in a very simple Excel worksheet of addresses. Nothing fancy - starting simple to see how things work (or don't, as the case may be). I match the intersection location from Excel to the Address1 field in the Import Wizard. I also tried splitting the two streets into two fields and matching one street to Address1 and the other to Address2, but no luck.
__________________
Mark J. LaCore
Duluth, MN
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-03-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,290
Blog Entries: 1
Ah yeah I can't get it either.

If you look in the Help File, there's three programming methods: FindAddressResults, FindPlaceResults, and FindResults.

I think when it's importing or linking it's performing a FindAddressResults.

You could program a custom script to perform the FindResults, here's the description of that.

FindResults method
Returns a collection of locations and Pushpins (FindResults collection) that are possible place and address find matches based on the input string; similar to the Find box on the Navigation toolbar.

If custom programming is not an option or appropriate for your size of job, then manually doing them may be the way to go.

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 03-03-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
finding an intersection

this example should give you what you are looking for

Private Sub stop_Click()
Dim objMap As MapPoint.Map
Set objMap = Forms!MAPform.MAP.ActiveMap
Dim objloc As MapPoint.Location
Dim addy As String
addy = Forms!csgmAP.addys

Set objloc = objMap.FindResults(Forms!MAPform.addys).Item(1)
objMap.ActiveRoute.Waypoints.Add objloc
'objloc.Goto
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 03-04-2004
Junior Member
White Belt
 
Join Date: Mar 2004
Posts: 7
Eric & Randy - Thanks to both of you for checking into this for me. The FindResults option makes sense.

You'll have to forgive my relative lack of VBA programming skills here, though (I'm learning, but way too slowly for my own tastes). Where would I attach this code? My primary goal at the moment is to create an Access database that includes a table of bus stops that are uniquely identified and that are assigned to a uniquely-identified route, and from that table, use a query to pull a list of stops by route to create a MapPoint dataset. In MapPoint, I could then sequence the stops to create the route and route directions. How would I adapt this code to accomplish that goal? (Note: I haven't even started building the database yet - just doing some preliminary planning and research here, in hopes of getting it close to right the first time.)
__________________
Mark J. LaCore
Duluth, MN
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


All times are GMT -5. The time now is 04:03 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Cheap Florida Flights
Cheap Florida flights are a reality when you book online at Holiday Hypermarket. We search leading tour operators to show you top deals.

European City Breaks
Book European city breaks with Travel Counsellors. A personal travel counselor will help plan your European city break.

Thailand Holidays
Thailand Holidays can suit your budget when you book with dealchecker.co.uk. If you are strapped for cash, visit online to find the deal for you.

Holidays to Cancun
The Holiday Place has special offers on holidays to Cancun during the month of September. Book a late summer holiday with us!

Cheap Canaries Holidays
Are you hunting down cheap Canaries holidays? Well check out ulookubook.com to bag a great value holiday. There are numerous festivals taking place all year round. Why not book your holiday around one?

Holidays
At Travel.co.uk the options for holidays are endless. Do some online comparison shopping!

Cheap Lanzarote Holidays
The Canary Islands beckons you to come! View information on cheap Lanzarote holidays 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