MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Lat/Lon to MP and Adress back to Access

This is a discussion on Lat/Lon to MP and Adress back to Access within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hallo I have an Access-Table with latitude and longitude and want to get back the Postcode, the City and the ...


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 02-09-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Lat/Lon to MP and Adress back to Access

Hallo

I have an Access-Table with latitude and longitude and want to get back the Postcode, the City and the Streetname form MapPoint to use ist in my project. Can anyone help me with a simple VB-Code?

thanks

Ralf
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 02-11-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Now I found the Article#50. I built the source code into my Progamm and it works well. However the
speed is very slow, if no direct hit is landed. Does anyone know a
possibility of increasing the speed? Thanks for each assistance.
Ralf
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-12-2003
Junior Member
White Belt
 
Join Date: Aug 2003
Posts: 7
please help

Hello ,

i have a similiar problem.
i have an ACCESS (mdb) table with info and I want to write the longitude and latitude of each place into this table using VB.

i can already calculate the Long/Lat but how do i write it back into the table?

please help,
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-12-2003
Member
Green Belt
 
Join Date: Nov 2002
Posts: 52
Hi,

I have written a program which gets the Latitude, Longitude from a
given address. It also corrects bad choice from MP. You can download it from the MP-magazine.

http://www.mp2kmag.com/articles.asp?ArticleID=98

Rainer
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 08-12-2003
Junior Member
White Belt
 
Join Date: Aug 2003
Posts: 7
10x a lot

Rainer,

10x for your help

schönen Tag noch ,

Ran
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 08-12-2003
Junior Member
White Belt
 
Join Date: Aug 2003
Posts: 7
further help

Rainer , I write to you again.

Is it possible only to get the code part in which you communicate with the Access DB?

I am not interested in the whole Geocoding story at the moment.
I just want to see how can i export the LONG/LAT info to my Access table from every pushpin!

10x
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 08-14-2003
Junior Member
White Belt
 
Join Date: Jun 2003
Posts: 9
Hi Ran,

dim db as database, rs as recordset
set db=currentdb
set rs=db.openrecordset("DeineTabelle")

rs.edit
rs!DeinFeld=Lat
rs!DeinFeld=Lon
usw.
rs.update

ready

In my application I take the lat/lon from a given access-table and write back the address - so I run a do until rs.eof Schleife.

If you need more help then post again.

Ralf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 08-14-2003
Junior Member
White Belt
 
Join Date: Aug 2003
Posts: 7
Ralf,

fisrt thanks, but maybe I should mention that I work with VB6 and that my mdb file should stay in background (i don't need it to be open, in fact i need it to stay closed).

1. so how do I open it in background?
2. The rs.edit is showed as an error (there is no such atribute as edit in my list)

is it possible that your code was for .NET or maybe I passed something...

thanks again,
Ran
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
Using longitude and latitude to find adress Edward_Carnby MapPoint 2006/2009 Discussion 4 07-22-2008 08:12 AM
Data2Map is back! dkrafcheck News and Announcements 0 05-15-2006 09:11 AM
Complete adress, when using ShowFindDialog? Jarun MapPoint 2006/2009 Discussion 3 04-11-2005 01:31 PM
Getting back Autobahn-kilometers rms62 MapPoint 2006/2009 Discussion 0 08-31-2003 06:33 AM
Adress to n-Adress calculating rbarthels MapPoint 2006/2009 Discussion 3 11-19-2002 04:07 PM


All times are GMT -5. The time now is 10:27 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 Package
Book a ski package for an ice cold price. Competition between travel operators is hot, so the prices reflect the temperatures, nice and low. Compare online at Holiday Hypermarket.

Travel Counselors
Travel Counselors are an award winning Travel Agent. Why not have a personal Travel Counselor help with your travel plans.

Holiday Jamaica
What springs to mind when you hear the word Jamaica? Bob Marley and Rum? Think again. Book a low cost holiday in Jamaica to explore this island for yourself.

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!

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?

Family Holidays
Family holidays can be great fun. Check out your options at Travel.co.uk

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