Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

Requirement:

We are looking for a software p....

This is a discussion on Requirement:

We are looking for a software p.... within the MapPoint Desktop Discussion forums, part of the Map Forums category; Requirement: We are looking for a software program that would allow us to enter 15000 locations, then by typing in ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Requirement:



    We are looking for a software program that would allow us to enter 15000 locations, then by typing in one location (street+city+state or zip), pull up a list of all locations within, say, a 5, 10 or 20 mile radius. The user should be able to enter the location and the radius on web page and would see a map of the location with nearby locations marked on it and a list of the same nearby locations.



    Solution:



    I used Mappoint to achieve this using the following process:

    - I created a map and imported 15,000 locations into 2 datasets (pushpin sets.2 setsare required as it cannot import more than 10000 in one set).

    - I wrote a DLL that connects to the Mappoint software, calls the FIndAddressResults() method to find the user entered location.

    - It then calls QueryCircle() method on eash dataset to find all locations falling in the user provided radius. It takes the resultsets, calculates each location's distance to the user entered location and sorts the list.

    - It then calls Union() method and GOTO() methods to zoom to the area with the locations searched and saves the map as an HTML page.

    - It then displays the list to the locations found nearby to the user with the map image extracted from the saved HTML page.

    - This DLL gets called from the ASP page which provides the user interface to enter the location to search and the radius.



    By doing so, I was able to get results. But when I did a stress testing by making multiple request simultaneously (made 10 requests for testing purpose) to the web page, it seemed to slow down to an unacceptable extend. I saw 3-4 MapPoint.exe processess running and taking 100% of the CPU. This made the whole web site so slow that it took a few minutes to serve a web page on a T1 connection. Also the resulting locations and maps came up for all the requests but it took an average time of 2-3 minutes for it to provide the location results. This made the solution unacceptable.



    Questions:



    My question is, Did I do this right?

    Is there a better way of implemention the solution which would make it work faster and not take over 100% of cpu?

    Is this product recommended for use in such web related scenario?

  2. #2
    Walt Cygan is offline Senior Member Green Belt
    Join Date
    Aug 2002
    Posts
    124
    Based on the EULA, you are not allowed to use this solution. It says, "This license does not give you a right to allow anyone to access or use the Software Product over the Internet."


    Beyond that, you didn't necessarily do anything wrong technically, assuming you remembered to destroy all of your objects in your DLL and in ASP as soon as you were done with them. Also, this assumes that you didn't put a MapPoint object into an ASP Session variable. That would be very bad.

    Since the objects created by MapPoint are large, creating several instances in a stress test will almost certainly cause problems. MapPoint is not engineered to be a server application.


    Did you create your DLL as a COM/COM+ object to run under MTS/Component Services? If you didn't, you should. COM should potentially improve the scalability.


    - Walt Cygan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Insurance Industry Market Requirement
    By dotnetgenius in forum Wish List
    Replies: 0
    Last Post: 06-01-2005, 02:21 PM
  2. Consumers Trust Software Makers to Develop Car Software
    By Eric Frost in forum News and Announcements
    Replies: 0
    Last Post: 04-17-2005, 08:06 AM
  3. Web based software
    By kwargo in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-03-2004, 10:32 AM
  4. Mapping Software with API.
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-21-2003, 09:36 AM
  5. Map Translation Software
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-18-2003, 09:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83