I was given a Latitude and Longitude from my brother that reads 52 degrees 16.252 N 110 degrees 55.717 W I converted this to be 52.16252 N and -110.55717 W, I plotted this in Map point and sent the map to my brother but he said that I'm off by over 30 miles. What have I done wrong?R Doornbosch, The 16.252 is in "minutes".. this must be divided by 60 to return the decimal latitude, same with longitude. There are some resources listed at: http://www.mp2kmag.com/latlong.asp EricTHANK YOU, I was having a stupid moment.. or two
What I haven't yet been able to figure out how to do is to extrapolate a latitude and longitude from a given XY coordinate in the Map. It is easy enough to get an XY coordinate from the secret? Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Big Things are made up of Lots of Little Things.Hello Kevin, Nico Bontenbal was recently exploring a technique which does this in an article on a bunch, Eric. I think I can use that information, as well as a couple of other articles from that magazine as a starting point. Sure would be nice if the next version Microsoft MVP .Net Developer http://www.takempis.com Big Things are made up of Lots of Little Things. able a coordinateHi, it was one of the first of Gilles articles (no 13 ?) in the great www.mp2kmag.com magazine. This
Hopefully this is a softball down the middle of the plate for someone When I try to import into Mappoint 2004 with latitude and longitude using the format below, it skips ALL records (either Excel or Access), but I have no problem importing most records using street address. Can anyone share insight into this? Latitude 39787613 Longitude -86272809Welllllll .. somewhat of a softball: had to insert the decimal, convert the fields to a double and then re-import. So much for "professional list companies".the using Earl, You'll find that most data sources are like this,. ie; TIGER data from the US Census Bureau. That decimal point takes up a lot of space in a file.Thanks Michael -- will tuck that tidbit away for future purchases!
I would like to know if instead of using the following slow method calls from MapPoint? Example code: MapPoint.Location loc = map.GetLocation( latitude, longitude, altiutde); long x = map.LocationToX( loc ); long y = map.LocationToY( loc ); Does somebody know what Microsoft uses to do there conversion. Also the above code will give -1 if the coordinates are outside the current view which is not acceptable for me. Thanks for any advise you may have. P.S. It would have been nice to have a method called XYFromLatLong. It also would have been nice to have Latitude and Longitude properties on a Location object but that's just me!It is not just you - everyone thinks the location object should include Long, Lat. :)
to import locations into Mappoint by latitude and longitude. However, I can't figure out how to easily export latitude and longitude after I create a pushpin pertaining to the unrecognized addresses. Is there an easy way to export the latitude and longitude if Mappoint doesn't recognize the address? I found some code in the following link but I have the feeling that there is a more direct way to get the latitude and longitude the code above. With MapPoint 2006 Microsoft added Lat/Lon properties to the location object which is more direct instead of doing the trig in the code above. Either would be fine, I would test to see if one or the
is possible for MapPoint to return multiple locations for a single address. The reason for this is because addresses (often) are not unique -- though the usually are if you include the ZIP code, but even then street address in the MapPoint database." _ & vbCrLf & "The Latitude and Longitude may be only approximate." Else GISAddress = objLoc.StreetAddress End If Else MsgBox "Unable to ;lt;<<< Dick and CalcPos was written by Gilles, and can be found on the mp2kmag.com website. It uses geometry to calculate the longitude and latitude of a Location object.Yes, I stopped typing too soon
Hello, I am quite inexperimented with MapPoint 2004, I have a excel database with zipcodes and i would like to have the latitude and longitude for each zipcode. Is there a solution using MapPoint (in VBA and excel ?) Thanks in advance, Jean-YvesJean-Yves, Yes, this problem can be solved using MapPoint and VBA. You could e.g. import the zipcodes into MapPoint as pushpins, and then export their LatLon using PinsToFile. (http://www.mp2kmag.com/downloads/pinsfile.zip) Gilles [MVP]. (Please reply to the group, not via email)
application program is to do routing to destinations by Lat/Long coordinates, or secondarily by street addresses, both of which are stored in a SQL Server database. The destination demographic information can be searched by last name, first name , Soundex, telephone number or street address. Street address routing contains provisions for user selections of alternate addresses as may be required if an address match is "ambiguous" or has "no good results". Latitude, Longitude, Local time, Course over ground, and several other properties. The Latitude and Longitude properties are compatible with MapPoint, so it would be one way to add a GPS API. This ActiveX control provides the same features that are in my DecodeGPS dll for Visual
more information. Pushpin improvements MapPoint includes 60 new Pushpin symbols. You can change the way Pushpins appear on the map by choosing one of 336 symbols or one of your own custom symbols. See About Pushpins and Pushpin sets for more information. About address coverage areas for more information. Import street address information for Canada You can now import and pinpoint street addresses in Canada. See Import addresses to a map for more information. Clear Find History option As you work on a map, map always centered on your current location. Using the GPS Sensor in Pocket Streets, you can also view the latitude and longitude coordinates of your current location. See About GPS receivers for more information. Enhanced GPS functionality Microsoft MapPoint no longer waits 15
Hi, How can I extract latitude and longitude from a varible LocationPtr? My code is: //------------------------------------------------------- MapPoint::FindResultsPtr resultsPtr = myMapPtr->FindResults("Trento"); VARIANT idx; VariantInit( MapPoint::PushpinPtr pinAddressPtr = myMapPtr->AddPushpin( locAddressPtr, "I'm here" ); //------------------------------------------------------- At this point I want extract latitude and longitude from variable "locAddressPtr" how?See Marc's reply just in a different thread earlier today :- ) You need to use a little bit of geometry, but Gilles has written some code to do it for you: http://www.mp2kmag.com/a13--kohl.extract.lat.
Hi, I am with a requirement where we should be able to get the Latitude and Longitude values providing the address using a web service and store them in Sql Server Database. Could you some one throw a light on this to let me know , this can be done with the MapPoint 2006 API - retrieve a location using the FindAddressResults method of the map object, then access the Latitude and Longitude properties of that Location object. It can also be done using the MapPoint web service - you may