MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




how to parse a german address?

This is a discussion on how to parse a german address? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am trying to parse a german address to use with FindAddressResults. I am using MP Europe 2004. Anyone have ...


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 09-09-2005
Junior Member
Yellow Belt
 
Join Date: Sep 2005
Posts: 21
how to parse a german address?

I am trying to parse a german address to use with FindAddressResults. I am using MP Europe 2004. Anyone have any success?

Ox
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 09-09-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

FindAddressResults works as espected. Can you please be more specific on what the problem is ?
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 09-09-2005
Junior Member
Yellow Belt
 
Join Date: Sep 2005
Posts: 21
hi!

Here is the code. And it works great for England.

for example:
100 Abbey road, london, england
works fine. But I cant get it to parse most other EU addresses.

Dim oMap As MapPoint.Map
Dim MPLoc As MapPoint.Location
Dim objSA As MapPoint.StreetAddress

objSA = oMap.ParseStreetAddress(myAddString)
MPLoc = oMap.FindAddressResults(objSA.Street, objSA.City, , , , objSA.Country)(1)


Thanks in advance for any 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 09-10-2005
Junior Member
Yellow Belt
 
Join Date: Sep 2005
Posts: 21
An update after some experimenting:

In this app, I am asking the user to enter street,city,country.

The parseStreetAddress does work...more or less. FOr example, in Holland:
Sandinostraat 2013,amsterdam,holland wont work
Sandinostraat,amsterdam,holland wont work either
but 2013 Sandinostraat does work.


I havent tried, but perhaps using one of the other streetAddress object properties, like postal code would work better....<shrug>.
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 09-13-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

I think it is very normal that ParseStreetAddress only work "more or less" because in each country the way of writing an address is different and nobody knows how Microsoft parse it, it is not documented into the help.

But I dont see any reason to use this method because there is the FindAddressResults method and this one works ok. If you wants the user to enter an address string in 1 field then you better parse it yourself but it is better you ask the user to enter street, city, country etc in separate fields.
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
odd and even address chris2 MapPoint 2006/2009 Discussion 1 05-24-2006 11:07 AM
Anyone willing to look up an address for me? Anonymous MapPoint 2006/2009 Discussion 11 02-07-2004 07:09 PM
Getting Lat/Lon from a given address Anonymous MapPoint 2006/2009 Discussion 5 09-12-2003 03:01 PM
Any German users here? Anonymous MapPoint 2006/2009 Discussion 5 04-02-2003 11:12 AM


All times are GMT -5. The time now is 10:28 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 Holidays French Alps
Ski holidays in the French Alps are a unique and exciting experience. There are a great range of resorts which are great value when you book with Holiday Hypermarket online.

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

Portugal Holidays
Lisbon is perhaps Europe's most pleasant and affordable city. Check out the fantastic architecture, delicious seafood and non-stop night-life. Book Portugal Holidays with us.

Holidays in Cuba
Holidays in Cuba are an eclectic mix of golden beaches, rich, colourful scenery and a proud cultural heritage. Book a break in Cuba now!

Cheap Cyprus Holidays
Finding cheap Cyprus holidays can be difficult unless you know where to look and where to book. With ulookubook.com you can conduct a simple search to find the latest holiday deals to your particular destination.

Price Compare
Visit Travel.co.uk for and compare not only price, but also the wide variety of options available.

Holidays in Lanzarote
A quality luxury hotel awaits your patronage in the Canary Islands. Get information on holidays in Lanzarote 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