I wrote this Access script/module to grab the Places (restaurants, train stations, etc.) from MapPoint 2010. It's mostly based on this article by John Washenberger from 8 years ago..
Extracting the Mappoint 2002 Points of Interest
It's not perfectly user friendly, and it leaks memory and must be restarted a few times, but it works. I found 1,604,176 places in the North / Western Hemisphere. Between Longitude -180 and 0 and Latitude between 0 and 180.
To run, first open MapPoint 2010. Go to View | Show/Hide Places and turn on/off the Places for the categories you want.
Now in the Access database attached, go to Module1. Click Run Sub/UserForm and select ExportPOIs. It will run for a day or so, but MapPoint will eventually crash, I think because of a memory leak. Close MapPoint and re-open it. Note which was the last Latitude row it was working on and in the code, change the For...Next loop for the Latitude to start at your current Latitude. It will probably run for another day or two and crash again. Repeat.
(To get rid of the memory leak issue, you should probably instantiate MapPoint from within the program instead of attaching to it. And reinstantiate it each time it goes to the next Latitude.)
Have fun and let me know if you have any questions or suggestions!
Eric




LinkBack URL
About LinkBacks






Reply With Quote

