Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello All.......

I am new in Asp.Net WCF REST Web Service development..........

I am working on Asp.Net WCF REST Web Service application which is using c# and MS SQL Server 2008 R2 as database. I want to have a list of locations within 100 km radius from a specified location. I do have a list of latitude and longitude stored in a table of database. I want to have one method in service which finds out the list of lat long within 100 km radius from a specified lat long.

As this is the Web service, so I think the code must be written in c# or sql stored procedure.

Can anybody help me to perform this?.

Thanks in advance.

- Regards
Posted
Updated 2-Oct-17 1:46am
Comments
OriginalGriff 25-Dec-15 7:13am    
And?
What have you tried?
Where are you stuck?
What help do you need?
Member 3153152 25-Dec-15 7:47am    
I do not know how to do calculations for 100 km radius for a particular lat long.

1 solution

"I do not know how to do calculations for 100 km radius for a particular lat long."

Then start with Google: radius for a particular lat long - Google Search[^]

In future, please try to do at least basic research yourself - otherwise you are wasting your (and our) time.
 
Share this answer
 
Comments
Member 14150300 22-Feb-19 7:22am    
---------------------------------------------------------
Quote
otherwise you are wasting your (and our) time.
------------------------------------------
I think the member is new to ASP.If you know means explain or neglect,Dont give any harsh reply here.
OriginalGriff 22-Feb-19 7:32am    
Trust me, that's not harsh. I can do that, if you want?

When people are too lazy to use Google - and the google search I did used part of his question verbatim and found the solution - they need to be reminded that it's quicker to start with google, and that it wastes the time of others, which is plain rude. If you had checked, you would have seen that when he posted that question he had been here longer than I had - two whole years longer - and did not appear to have learned anything in the interim. Certainly long enough to have learned to find and use google himself...

Now, I know you are new here, but we aren't here to do your work for you - we are here to help those who are stuck. And if you want to be "the google fairy" then that's your business - it's your time, not mine - but the rest of us have work to do as well as voluntarily answering questions here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900