Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Converting my Windows app. to ASP within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, My Windows application has MapPoint ActivreX tightly integrated to perform address lookups, travel times and distances, and to provide ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Converting my Windows app. to ASP My Windows application has MapPoint ActivreX tightly integrated to perform address lookups, travel times and distances, and to provide a map to the user, with the user's current information displayed. But I need to quickly develop an ASP version of my prorgram, and wonder if I will need to abandon MapPoint to make the tranisition. The MapPoint webservice is not an option for me, due to the high cost per lookup. I operate in a very low margin business and do a lot of lookups, so even 1.6 cents per lookup breaks my cost model. I have flexibility about the number of machines I'll be running. So does it make sense to have a dedicated Windows machine which uses the ActiveX control to provide my ASP program with addresss lookups and travel times lookups? That would fit nicely into my cost model since a slow machine can do 5-10 lookups per second. I could start with a slow machine and scale up as needed. Would this violate the license? It would be a single machine, yes, so in that sense would not violate the license. But it may be a violation, like trying to use a VCR to show a movie to a crowded movie theater. That's against the rules, and using a single Windows machine to process (for free) address lookups for a bunch of different location may be also a violation, but I hope to hear other people's opinions. In addition to the issue of rights, how would I do it technically. I'm new to ASP, and wonder would I connect my ASP app. to the computer running MapPoint? Would I need to make a web service? Could I just map a drive and write the lookup results to a shared file? And lastly, what about providing mapping via ASP? How might that work? Thanks, Bob |
| |||
|
I think you have to pay one licence of MapPoint for everyone connects to your site. So if you think your ASP application will be used by 40 different users, you have to pay 40 licences of MapPoint so the MapPoint Web Service could be a cheeper solution. I created too a personal MapPoint webservice with .NET, the elaboration is performed by a Windows Service (yes I noticed that there are problems of multiple instances of MapPoint with Window Service so you have to use a Simple windows form application communicating with the Web Service for example via sockets). I think you can have problems of DCOM authorization if you use MapPoint object directly by ASP pages (and maybe you have to check if you can run more then 5 instances of MapPoint at the same time). You can read my topic about "MAPPOINT doesn't work as Window Service". Michele |
| |||
|
There are some technical issues using maPoint in asp.net. Asp net is initialized in a MTA apartment thread and Mapoint controls live in an STA thread. You can create an STA thread for the mappoint control and use a a container with a hWnd handle for the control. It might be easier to just use your windows forms application and just get requests and send maps out with tcp/ip. Just write a little servlet. Or even use filesystemwatcher and use a hard disk to exchange data. The big issue with MS is always that EULA restriction about exposing any MapPoint controls to the internet. |
| |||
|
oxcarz, There's a lot of information on your reply. Thanks. Very helpful. But I wanted to ask about this, "The big issue with MS is always that EULA restriction about exposing any MapPoint controls to the internet." Do you mean icons, like the little red car or the pushpin? What type of controls are you talking about. Thanks, Bob |
| |||
|
Hi Bob, I think the intent of the EULA, besides encouraging you to use the MP webservice, is to prohibit exposing any maps to the internet. Static maps are OK, but "live" maps, routes, etc would be a no-no. However, an asp.net application that serves maps on your LAN or intranet is fine.....u need a license for each browser that views the maps though. |
| |||
|
Hi, There is also something for one thousand copies of the same map. I forgot what it reallly menth. Have to search agin in the agreement if you want.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| app, asp, converting, windows |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| converting lat lon to x y | Dazzer | MapPoint 2006/2009 Discussion | 7 | 02-10-2009 10:12 PM |
| Converting XY to Lat Long | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-22-2004 02:35 AM |
| Converting Lat/Long to x,y Pixels | Anonymous | MapPoint 2006/2009 Discussion | 2 | 09-08-2004 04:24 PM |
| Converting points to lines | Anonymous | MapPoint 2006/2009 Discussion | 3 | 04-20-2004 12:45 PM |
| Converting pushpins to data? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-16-2004 07:33 AM |
Corfu Holiday
Why not enjoy the option of a Corfu holiday through UlookUbook? Check out the online offers...