How do I assign name for Mappoint.Location? I don't want to use Lat & Long
as the location name.
oLoc1 = oMap.GetLocation(dblTermLat, dblTermLong, 0)
oLoc2 = oMap.GetLocation(dblLat, dblLong, 0)
Also, what's the formula to convert Mappoint.Route.DrivingTime from decimal
to minutes and hours?
Thanks a million
Not sure what you mean here - if you want to associate a name to a
location, create a pushpin there?
Take the fractional part, multiply with 60, repeat eventually - same
procedure as for the degrees, minutes and seconds topic. It's not
rocket science you know ...
(Please reply to the group, not via email)
Returns the total driving time for a route. Elapsed time is in
fractional days. For example, one hour equals 1/24 (or .041666).
Returns 0 if a route is not currently calculated. Read-only Double"
The driving time is in fractional days, to get decimal hours, you need
to multiply by 24. In your example, that will yield 1.085555544
decimal hours, or 1 hour and 0.085555544 x 60 = 5.13333264 minutes ...
(Please reply to the group, not via email)
Hi, When i try to connect MapPoint web service "The remote name could not be resolved" message is appeared. Why this problem occur?You may want to repost this to the ms.pub.mp.webservice NG. This NG is generally limited to the desktop version : Hi, : When i try to connect MapPoint web service "The remote : name could not be resolved" message is appeared. Why this : problem occur?
that I'm the only person who would really like this ability (since it is only a conversion of data, it shouldn't be that hard). It's like a graphics program that will only read in .jpg files and nothing else. MapPoint can always skip the data it can't handle, but really, it's just data conversion. 4. BusinessMAP by ESRI has pretty much the same specs as MapPoint 2004 at about the same price point, and it also has the ability to import these files. my reasoning flawed somewhere? Bruce JohnsonIf you're looking for free stuff, UTM to lat/lon conversion is well-known, I think the USGS offers a free translation tool. If you don't want
I have a laptop which has only USB ports, no serial (RS232) ports, and a GPS receiver with a serial connector. Will MP2004 support USB to RS232 adapters? Everyone (e.g. DeLorme) else seems to have solved the problem, but not Microsoft.Have you considered rs232 PC Cards? I don't know if it'd be much more expensive than a usb-rs232 adapter For example, this is the first link google pulled: http://www.elan-digital-systems.co.uk/interface/rs232.php - John
in four different formats. What should be the notation for correct input (see lat/lon 1) and is conversion needed? PeetPeet, Autoroute expects coordinates in decimal format, that is, ddd.ddddd. No minutes, no seconds. It also needs latitude and longitude in two separate columns, not in one column separated for Autoroute except for the last digit. So I guess there's no conversion needed except replacing the tick (') with a decimal point or comma, depending on your regional settings. In addition, delete replace N and E with nothing, and for South resp. West coordinates, make the value negative. In Summary: in your Excel
meters depending of the position of the pushpin). That’s not acceptable because every time pushpins are saved and reloaded the pushpins are “jumping around”. For example: Europe, Austria, Autobahn Exit “Klagenfurt West”: (46 the available CalcPos(). So I had a closer look at the routine and I discovered a possible reason for the inaccuracy of the conversion: The results of the heavily used Map.Distance()-method are values, been rounded to meters by MapPoint. It only needs its double return-value for a possible conversion from km to miles (km*0.621371192). If the Map.Distance()-method is the real reason for the conversion accuracy, does anybody know a way to reimplement the Map.Distance()-method with an higher
MP 2002, then some locations were moved and the map saved. I opened the map in MP 2004 which caused the contents to be converted. After conversion, the locations which had been moved reverted back to their original positions. Can this process (undo of location move) be prevented, either by setting some preference in MP 2002 when the changes are made and saved, or in MP 2004 when conversion takes place? Any insight would be appreciated.Is it re-geocoding them? One thing mp2kmag.comconversion get the lat/lon's Pushpin file. I know about Pushpin Tool, and have also created my own version to extract lat/lon data into Excel. The difficulty is
MapPoint Symbol cannot be converted to 'Short'" I went back to basics, and tried using the example on the MSDN site (below), and the app won't compile the last line for the same reasons. Sub CustomPPSymbol() Dim . oSymbol is a MapPoint.SymbolStuart, Thanks for taking the time to create a sample that worked out of the box and illustrated your problem ! The solution is this: oPin.Symbol = oSymbol.ID that is, add ".ID" to bit more typing, but also makes the code more readable IMHO, as it is clear when there is an object assignment and when only a property of an object is assigned. Gilles [MVP]. (Please reply to the group, not via email)Thank
Does anyone know if I will be able to view maps in the updated 2006 version, that I have previously created in MapPoint 2004?Hi Sharpman, MapPoint 2006 will open and upgrade MapPoint 2004 maps. MapPoint 2004 cannot open MapPoint 2006 maps, though.
verification. (Or post the coordinate as the MapPoint location sensor displays it). I can help you figure out the correct conversion to use then. Gilles [MVP]. (Please reply to the group, not via email)I think you nailed it. The grid little stream off of Route 115A in Jefferson, New Hampshire.That coordinate is in degree, minutes, decimal seconds format and needs conversion. This link: http://www.confluence.org/faq.php#4522CAB9 describes how to convert to the decimal degrees MapPoint uses. (MapPoint uses the sign to distinguish between North / South and East / West - western Longitudes should be negative, as should southern latitudes
object). I need to know whether another point, also given in latitude and longitude degrees, is within the area defined by the first point and the radio. But, for that I have to convert from degrees to or vice versa. I´ve been searching for information on the net and many pages ask for several parameters such as ellipsoid, projection and prime meridian. Is there any library or whatever already coded I can things? Or, if all of these is necessary, a way to find which parameters I will need and a function to use it within Visual Basic or Mappoint? Do you know any way to find if the second point is within that area avoiding conversion? Thanks for your help.Simply use the "DistanceTo" function of the MapPoint Location
Hi, Does anyone know of any problems with MapPoint when linking to data sources with the _ or - characters in their name. I cannot link to a data source with a _ in its name, but as soon as it's rename without the _ it links fine. This wouldn't present too much of a problem, but the database I'm linking to has plenty of table with underscores in their names. I don't want to have to create a load of intermediate tables then rename them without the underscore. Anyone got any ideas? AndySorry, posted this twice as I thought the first post didn't work!