My Math Forum  

Go Back   My Math Forum > Math Forums > Math

Math General Math Forum - For general math related discussion and news

LinkBack Thread Tools Display Modes
June 18th, 2014, 12:39 AM   #1
Joined: Jun 2014
From: UK

Posts: 1
Thanks: 0

Calculate number of roads crossed

Hi guys,

I have a really tricky problem here and I'm hoping that there is a math guru here who can help.

The problem

Using Google maps, I need to allow a user to draw a line. This line can be in any direction and basically, I need to determine if the user has drawn the line over a road and if so, how many.

Below is an example:
The image doesn't seem to be showing so here is the link: View image: map basic

With Google Directions service, I am able to get the nearest road the the dropped marker (markers indicated by arrow in image).

For a single road, I believe that I can do this with Pythagoras, but for multiple roads by brain starts to boil.

If anyone here could help, I'd really appreciate it. I appreciate it is pretty tough so I'm open to all suggestions.

Richc2020 is offline  

  My Math Forum > Math Forums > Math

calculate, crossed, google maps, number, roads

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross+roads=danger???? mathmaniac New Users 9 August 15th, 2017 03:56 PM
How to calculate the number of grandchildren? 03sqq Algebra 1 January 19th, 2014 02:43 PM
How to calculate the number of grandchildren? 03sqq Advanced Statistics 0 January 19th, 2014 03:44 AM
number of operations to calculate inverse bull-roarer Algebra 2 May 22nd, 2009 10:03 AM
CROSS+ROADS=DANGER???? mathmaniac Linear Algebra 0 December 31st, 1969 04:00 PM

Copyright © 2019 My Math Forum. All rights reserved.