MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




obtain Lat/Lon from a COMPLETE address

This is a discussion on obtain Lat/Lon from a COMPLETE address within the Development forums, part of the MapPoint 2006/2009 Discussion category; Excuse formy english I have the following code: Dim objApp As Application Dim objFindResults As MapPointCtl.FindResults Set objApp = CreateObject("MapPoint.Application.EU.13") ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  4 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-22-2008
Junior Member
White Belt
 
Join Date: Dec 2007
Posts: 10
obtain Lat/Lon from a COMPLETE address

Excuse formy english


I have the following code:

Dim objApp As Application
Dim objFindResults As MapPointCtl.FindResults
Set objApp = CreateObject("MapPoint.Application.EU.13")
objApp.UserControl = True
objApp.Visible = False
Set objMap = objApp.ActiveMap

Set objFindResults = objApp.ActiveMap.FindAddressResults("Bizkaia", "Zarautz", , "Guipuzcoa", , geoCountrySpain)
MsgBox "The first item in the find list is: " _
+ objFindResults.Item(1).Name


But I need go to the number 2 of that street (Bizkaia) ?How can I do it with FindAddressResults???And how can I obtain the latitude and longitude of this direction?? Thank you in advance.

Iker
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 01-22-2008
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 219
Re: obtain Lat/Lon from a COMPLETE address

I found Bizkaia Kalea, Zarautz and it is not numbered
You might consider dividing the street into equal sections
to get the approximate position of addresses.

You'll need Gilles Kohl's article for latitude and longitude:
A More Compact Method for Obtaining Lat/Long - MapPoint Articles - MP2K Magazine

Mike Mattys
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 01-23-2008
Junior Member
White Belt
 
Join Date: Dec 2007
Posts: 10
Re: obtain Lat/Lon from a COMPLETE address

thanks.....and can I do it with any other program???


iker
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 01-23-2008
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 219
Re: obtain Lat/Lon from a COMPLETE address

Zarautz, Spain - Google Maps

Type in 2 Bizkaia, Zarautz, Spain

Output:
Calle de Bizkaia, 2
20800, Zarautz, Spain

Not sure if that's it or not

Mike Mattys
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 01-23-2008
Junior Member
White Belt
 
Join Date: Dec 2007
Posts: 10
Re: obtain Lat/Lon from a COMPLETE address

Quote:
Originally Posted by Mattys Consulting View Post
Zarautz, Spain - Google Maps

Type in 2 Bizkaia, Zarautz, Spain

Output:
Calle de Bizkaia, 2
20800, Zarautz, Spain

Not sure if that's it or not

Mike Mattys
thatīs ok!!!!!...but can i integrated goggle earth on vb6 or vb.net 2005 like mappoint 2006???

What I really need is to convert daily 60-80 directions(address) to latitude and longitude and I am trying to seek a solution that can integrate into my program vb6 or vb.net 2005. If it happens to someone how to do it .... I am open to all .. Thanks

iker
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 02-02-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: obtain Lat/Lon from a COMPLETE address

Hi,

If the resultsquality is ok then you can loop in the addressresults to find the first location object. This has a latitude and longitude property.
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/obtain-lat-lon-complete-address-7038.html

Posted By For Type Date
Working With Excel and MapPoint - MP2K Magazine This thread Refback 01-29-2008 08:14 AM
MapPoint Help - MP2K Magazine This thread Refback 01-28-2008 09:07 AM
Finding Sites Within a Specified Distance From an Address - MapPoint Articles - MP2K Magazine This thread Refback 01-25-2008 08:46 AM
Latitude / Longitude DMS -> Decimal Converter - MP2K Magazine This thread Refback 01-24-2008 11:52 AM

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
Obtain LatLong with Address ivan MapPoint Web Service and Virtual Earth 5 05-24-2007 04:00 PM
How to retrieve complete address from longitudes and latitud Learner MapPoint 2006/2009 Discussion 14 01-04-2007 08:40 AM
Complete adress, when using ShowFindDialog? Jarun MapPoint 2006/2009 Discussion 3 04-11-2005 01:31 PM
Obtain X, Y from Lat, Long mikica1972 MapPoint 2006/2009 Discussion 1 10-27-2003 07:47 AM
Complete data connectivity Anonymous MapPoint 2006/2009 Discussion 0 07-01-2003 02:57 AM


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

Late Deal Ski Holidays
Book late deal ski holidays for great value at Holiday Hypermarket. Our ski holidays search makes it easy to find a late deal to suit you.

Flights to Italy
Find cheap flights to Italy on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Italy.

Holidays in Italy
Holidays in Italy boast some stunning countryside as well as a beautiful coastline. You can even visit an active volcano like Stromboli or Etna. Book at dealchecker.co.uk.

St Lucia Holidays
St Lucia holidays offer something for everyone. Enjoyed by families and young couples alike, St Lucia is a great destination. See online!

Morocco
Gain insight on your holiday destination with the ULookUBook travel guides. Find out about Morocco and its customs online. Make an informed decision when you make a booking.

Holiday
For the holiday of your life, that is easy to plan, visit Travel.co.uk to see all the options.

Cheap Holidays to Florida
Cash strapped? Get info on cheap holidays to Florida 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