Hi,
My client will input two values say A and B.
Here A and B represent cities. The source is A and the Destination is B
Now i have to find the shortest route for these two cities
One is using Dijktra's algorithm. But there one has two provide the other values too.
eg He starts from A and reaches to B, via A1,A2,A3, B1,B2,B3
we get all the distances from one place to all the above mentioned places and can find out the shortest path.
But my prblem is how shall i find what are the places that lies between these two cities A and B and other distances.
If I take the latitude/longitude of A and B, how shall I find the cities that lies between these two places and then calculate the distance.
Any suggestions pls
regards
cmrhema
2 1323 Plater 7,872
Recognized Expert Expert
Look for map code API for say GoogleMaps, or Yahoo Maps or Microsoft's maps or whatever.
This really isn't a .NET question.
Look for map code API for say GoogleMaps, or Yahoo Maps or Microsoft's maps or whatever.
This really isn't a .NET question.
Actually I deal with vehicle tracking system, a software developed using asp.net ,C# and sqlserver.
So the moment any one gives me reply abt finding cities within the source and destination.
I should convert it into asp.net code.
You are very correct in putting out that it is indeed not an .NET question.
But because my software deals with the language, I placed it up here.
Thanks
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: 321ConTact |
last post by:
I have to find zipcodes within a given mileage range (25, 50, etc). I know
it's possible to use the longitude/latitude to find this, and I have that
for the zipcodes, but does anyone have a "ready made" formula? I know it has
something to do with the sine/cosine, but the "signs" aren't clear enough to
me (neither are the wonders).
Thanks in advance for the wisdom.
J
|
by: Galsaba |
last post by:
I am trying to find a software that can find distance between two ZIP codes.
I think most of them do it by having the longtitude and latidute of each ZIP,
and substract. But this gives the air distance. Where can I find software that
find the ground distance (like in Mapquest).
Thanks,
Joe
|
by: Galsaba |
last post by:
Anyone knows how I can find a script for "Find a Dealer near you" locator
script?
I prefer to have it in two stages:
1. The customer will enter his address, and then the result will be a list of
dealer in a radius of let's say 20 miles.
2. When the user clicks on the dealer's link, the result will be the exact
Driving distance.
If this is not the right forum to post this message, then, if you know which
|
by: Joe |
last post by:
I need an Access application that can search dealers from my dealer
list, in a 30 miles distance from the user.
You may see many applications like this on the web if you search under
"find a dealer near you". Here is one I found:
http://www.shakespeare-antennas.com/content/dealersearch.asp
But I do not want to have it on the web, I want to create it on
access.
I think will need at least two tables:
|
by: Joe |
last post by:
Hello all!
I need to display a list of names similar to a spell checker where the list
is the closest match to the name entered. Not too sure where to begin with
this - any suggestions?
Thanks,
Joe
| |
by: saraaana |
last post by:
Given the center and a point on the circle, you can use this formula to find the radius of the circle. Write a program that prompts the user to enter the center and a point on the circle. The program should then output the circle’s radius, diameter, circumference, and area. Your program must have at least the following functions: a. distance: This function takes as its parameters four numbers that represent two points in the plane and returns...
|
by: jm.suresh |
last post by:
Hi I have three objects, all of them are instances of classes derived
from a base class. Now, given one of the instance, I want to find the
closest relative of the other two. How can I do this?
This is how I implemented; I guess there must be elegant way to do
this...
def find_closest_relative(a,b,c):
c1 = b.__class__
c2 = b.__class__
|
by: Harch84 |
last post by:
Hi guys really hoping someone can advise me with this.
I have a Perl script that connect to a PostgreSQL database and retrieves fields and rows from a database of bus timetables and bus stop information. The data I am extracting is the reference number of the bus stop, the route number this bus stop serves and the distance of a point to this bus stop. The select query returns rows like this in PostgreSQL:
stop_reference | service_id | ...
|
by: ofiras |
last post by:
In bitmap, how can I find the nearest pixel (pixel
1) to a specific pixel (pixel 2) that has different color from pixel
2? Or how can I find a pixel in a specific distance from pixel 2 (like
a circle that pixel 2 is his center, and I'm looking for a pixel that
has different color that pixel 2)?
(I'm trying to do a voronoi diagram maker, so I need to search for the
nearest colored pixel in my bitmap for every pixel that is not colored...
|
by: Sunny |
last post by:
Hi,
do someone know, How we can find the smallest distance between a bunch
of lat 7 long?
Like I have 10 Latitude & Longitude.
-73.924598,40.879010
-73.924506,40.878978
-73.924506,40.878978
-73.921406,40.878178
-73.921406,40.878178
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |