Hmmm this week i'm going to try be fully serious about actually doing my hours. This week i want to carry on with last weeks stuff and also do some research on an algorithm for calculating the distance between two lat lng points.
I found a website that has c sharp code for getting the distance between two points.
http://www.codeproject.com/KB/cs/distancebetweenlocations.aspx?msg=2656897#xx2656897xx
So what i'm doing atm is going over the code ive already written for sorting the data into two arrays, and put some code into get map button just to go get the distance and see if this code actually works. The code isnt coming up with any errors so thats a start, so if it all works i'm going to compare the distance result from this to google.
______________________________________
I got the algoithm working and tested it. So it calculates a straight distance, which is obviously different from real time travel.
______________________________________
Now that ive done that part, the next thing is figuring out how to actually sort the data. I could have 5 jobs, and 2 of these jobs could be at the same client. Now, i have to base the mapping on the clients, and the clients can have many jobs. Theres no point in restricting people by jobs that they pick when its just the locations that we really need to map out.
So ive been thinking about how to do this, as this is a problem i have never faced before. ATM i am thinking of creating another class with the client and location details with a list of jobs, and having a list of this created when the user wants to map something out. I'm really gonna have to draw this on paper and realy think about it.
Also the other thing i have to do is come up with a new timeline, or mini sort of milestones to keep me on track.
Welcome
I'm a student and this blogg has been created to keep information on a daily to weekly basis about my project that i am doing to get my Bachelor of Information Technology. This is based on my progress, and a place to put all of my information, not entirely a proper blogg. Though sometimes i feel like i'll be talking to myself... Any ways, enjoy and feel free to comment. If your wondering what this project is and dont want to read every single post, just go to the Proposal link, or any of the "posts worth looking at" below.
Wednesday, July 30, 2008
Subscribe to:
Posts (Atom)