reset password
Author Message
evik89
Posts: 32
Posted 10:53 Feb 10, 2016 |

Location Search

  • When the User selects Location from the drop-down select box on the search form, you should expect a latitude/longitude pair to be present in the search form.
  • For example, a User would enter 33.9733, -118.244 into the search box. Your servlet will be responsible for parsing the latitude and longitude values out of the submitted value.
  • Your servlet can assume a default search radius of 10 miles.
  • Your servlet will then report a list of all coffee shop locations that are within the search radius Using the Great Circle Distance formula outlined at https://en.wikipedia.org/wiki/Great-circle_distance

WHAT EXACTLY SHALL BE DONE? put some imaginary coffee shops in imaginary locations and show them if its in 10 miles radius of the user?

only show the names?

can someone explain this please?

aaleman11
Posts: 42
Posted 10:55 Feb 10, 2016 |

It's not imaginary coffee shops. He gave us the excel file with all of the coffee shops that should be used in this assignment.

evik89
Posts: 32
Posted 10:56 Feb 10, 2016 |

what is the name of that file or where is it? i was absent last session

aaleman11
Posts: 42
Posted 10:59 Feb 10, 2016 |

It's an excel file named starbucks. Check your email. It is the same file he showed in class during last week's lecture. But he did email everyone the file.

evik89
Posts: 32
Posted 11:07 Feb 10, 2016 |

I havn't got any email :/

aaleman11
Posts: 42
Posted 11:08 Feb 10, 2016 |

If you have a valid email, you should have it. He emailed us during lecture and made sure we all had it. You might have to email him or the tutor and ask him for it. I believe the tutor has office hours today. Check the syllabus for that information, though. I'm sure they'll get you the file.

evik89
Posts: 32
Posted 11:09 Feb 10, 2016 |

ok tnx

evik89
Posts: 32
Posted 11:16 Feb 10, 2016 |

Nobody is neither answering the emails nor they are here

If someone can put the file here i'll appreciate it

JackStrauss
Posts: 236
Posted 12:23 Feb 10, 2016 |
evik89 wrote:

Nobody is neither answering the emails nor they are here

If someone can put the file here i'll appreciate it

I have uploaded the file.

Make sure the file is not unique to each student before you proceed.

The prof sent out an email with a link to the file.

Update your email address on CSNS, or whatever mode of contact the school uses to contact you.

 

Attachments:
evik89
Posts: 32
Posted 12:31 Feb 10, 2016 |

Thanks I'll check with them

schacha
Posts: 8
Posted 14:37 Feb 10, 2016 |

Evik I have emailed you the starbucks.csv file . Let me know if you need anymore help. I apologize for the inconvenience caused to you