Community of VE/MapPoint Users and Developers
This is a discussion on map.FindAddressResults Problems within the Development forums, part of the MapPoint 2006/2009 Discussion category; Hello together, First i have to excuse for my very bad englich . So i dind´t come along with finding ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| map.FindAddressResults Problems First i have to excuse for my very bad englich So i dind´t come along with finding adresses in Mappoint 2006 in c#. My example address is : "Fränklinstr. 22, 1069, Dresden, Germany" In mappoint windows programm the adress is no problem and i get one result. But in my c# code i get as resultQuality : noGoodResult ! Have i forgotten something or why is the same adress so different ? Or another example : Adress is postalcode an Country : "5020, Austria" In Mappoint Programm i get many adresses and one Postalcode match like on the top. in my c# programm i get noResult ! Here is my Code : Code:
//First i parse my Address from a ListView
MapPoint.StreetAddress adress = map.ParseStreetAddress("" + ls.Items[i].SubItems[1].Text.ToString() + ", " + ls.Items[i].SubItems[3].Text.ToString() + ", " + ls.Items[i].SubItems[2].Text.ToString() + ", " + ls.Items[i].SubItems[4].Text.ToString() + "");
string streetName = adress.Street;
string city = adress.City;
string postcode = adress.PostalCode;
// a class for my Items
cItems myItem = new cItems();
myItem.str = streetName;
myItem.plz = postcode;
myItem.ort = city;
myItem.county = Convert.ToString(ls.Items[i].SubItems[4].Text);
//then i do the find address
string GEOC = "MapPoint.GeoCountry.geoCountry" + myItem.county;
MapPoint.FindResults findresults = map.FindAddressResults(myItem.str, myItem.ort, string.Empty, string.Empty, myItem.plz, GEOC);
string rq = Convert.ToString(findresults.ResultsQuality);
if (rq == "geoFirstResultGood")
{
myItem.rq = "Gut";
}
and so on ....
|
![]() |
| Tags |
| mapfindaddressresults, problems |
| ||||
| Posted By | For | Type | Date | |
| MapPoint Download - MP2K Magazine | This thread | Refback | 07-24-2008 03:22 PM | |
| Technorati: ericwfrost's Favorites | This thread | Refback | 07-23-2008 06:53 AM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 07-22-2008 09:11 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| map.FindAddressResults Problems | voelkl25 | MapPoint 2006/2009 Discussion | 1 | 07-22-2008 10:20 AM |
| FindAddressResults returns nothing | Anonymous | MapPoint 2006/2009 Discussion | 5 | 12-07-2004 04:23 AM |
| Problem with FindAddressResults | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-01-2004 09:04 AM |
| FindAddressResults not always working? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-10-2003 05:25 AM |
| Need help about the FindAddressResults | Anonymous | MapPoint 2006/2009 Discussion | 3 | 08-21-2002 07:51 PM |
Three Valleys France
The Three Valleys in France have a great reputation for great skiing. Holiday Hypermarket has just added another reason for you to go, a range of great prices from top travel operators.
Travel Agent UK
Travel Counsellors was named UK's Best Travel Agent at the Guardian Unlimited travel awards. Whatever your travel needs we can help.
Cheap Holiday Turkey
Booking a cheap holiday to Turkey doesn't have to be at the expense of enjoyment. Dealchecker.co.uk searches holidays from the leading UK Tour Operators.
Egypt Holidays
Visit one of the most spectacular sightseeing destinations in the world with The Holiday Place. Egypt holidays provide a fantastic break!
Egypt
In Egypt you find an ancient city buzzing with life. There is an abundance of historical sites to see, not just the pyramids. The Opera House is certainly worth a visit and you can enjoy some open-air theatre too.
Holiday
For the holiday of your life, that is easy to plan, visit Travel.co.uk to see all the options.
Cheap Holidays in Gran Canaria
Would you like to visit the Canary Islands, but you're on a budget? Get information on cheap holidays in Gran Canaria at On The Beach.