Community of VE/MapPoint Users and Developers
This is a discussion on Need Assistance with Displaying CSV data by City within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; OK, I've spent a day on this and its time to admit I need help. I'm trying to import a ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Need Assistance with Displaying CSV data by City The columns are: 1. Address 2. City 3. State 4. Postcode 5. Country 6. Name My code is: Dim objMap As MapPointCtl.Map Dim objDataSet As MapPointCtl.DataSet Dim objDataMap As MapPointCtl.DataMap Dim JobFieldArray(6, 1) JobFieldArray(1, 0) = "Address" JobFieldArray(1, 1) = MapPoint.GeoFieldType.geoFieldAddress1 JobFieldArray(2, 0) = "City" JobFieldArray(2, 1) = MapPoint.GeoFieldType.geoFieldCity JobFieldArray(3, 0) = "State" JobFieldArray(3, 1) = MapPoint.GeoFieldType.geoFieldRegion1 JobFieldArray(4, 0) = "Zip" JobFieldArray(4, 1) = MapPoint.GeoFieldType.geoFieldPostal1 JobFieldArray(5, 0) = "Country" JobFieldArray(5, 1) = MapPoint.GeoFieldType.geoFieldCountry JobFieldArray(6, 0) = "Name" JobFieldArray(6, 1) = MapPoint.GeoFieldType.geoFieldName Set objMap = MPC.NewMap(geoMapNorthAmerica) Set objDataSet = objMap.DataSets.ImportData("I:\try.csv", JobFieldArray(), geoCountryDefault, geoDelimiterComma) Set objDataMap = objDataSet.DisplayDataMap(geoDataMapTypeSizedCircl e, , geoShowByCountry) I can get this to plot a shadedArea or Sized Circle of names by region or country but not by city. I tried using the other geodatamap types and changing the order of the columns in the csv file and I get Error 4073 Cannot map data because the selected geography type is invalid. How do you map Names by city? Also, is there any documentaion of the object model besides the Microsoft site. Thanks for the help |
![]() |
| Tags |
| assistance, city, csv, data, displaying |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding data and displaying territorries | fridi69 | MapPoint 2006/2009 Discussion | 9 | 06-16-2006 05:55 AM |
| Displaying a few simple data numbers per state on a US map | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-05-2005 06:03 AM |
| city-level demographic data | econalan | MapPoint 2006/2009 Discussion | 0 | 02-08-2005 05:05 PM |
| Will Pay $$$ for Assistance - ASP / VBSCRIPT | webdbx | MapPoint 2006/2009 Discussion | 1 | 07-09-2004 08:31 PM |
| displaying custom data on Pushpins when linked | TheJudge | MapPoint 2006/2009 Discussion | 3 | 04-13-2004 08:53 AM |
Flights to Tenerife South
For great value flights to Tenerife South check online at Holiday Hypermarket. Great weather, great watersports and a great holiday destination.
City Break Europe
Take a city break in Europe. Travel Counsellors can help plan and book your European city break.
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 Balearics Holidays
Cheap Balearics holidays are available if you know when to book and who to book with. The Balearics have many fascinating places to visit all year round. The partying never stops.
Package Holidays
With the help of Travel.co.uk you can find the package holidays of your dreams.
Holidays to Cyprus
Take the plunge into a world of summer splendour! Find information on holidays to Cyprus online, only at On The Beach.