Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Windows .NET4
Hello every one ,
I am working on a school cab management project where i need to track the vehicle movement . A GPS tracking device is fixed on the vehicle it will be sending latitude and longitude readings frequently . Now my task is to get the location address/name with that reading since i need to develop it in windows application that is the problem .
I saw in net it was all based on web application which uses JSON concept . But JSON in windows ????
this are the link i saw:
https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding[^]
https://developers.google.com/maps/documentation/javascript/v2/services#Geocoding[^]
https://developers.google.com/maps/documentation/geocoding/[^]
 
Is there any web service which gives location address/name when i send latitude and longitude . If it is not there means how can i implement this concept in my application can any one give me hint or guidance or any suggestions so that i can do it
 
Advance thanks .
Posted 10-Jan-13 3:38am
arunrv2.5K
Edited 10-Jan-13 3:50am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Look at my article here on CP: Consuming a Json WebService from a C# or VB Application[^].
Do not forget that you ought to get a username for geonames webservice.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I believe you can call Google GeoCoding API from your windoes application too.
 
Check answer at http://stackoverflow.com/a/4484904/1680392[^]
  Permalink  
Comments
arunrv at 16-Jan-13 13:03pm
   
Hi Milind the URL which you have send will work but the thing is the Output of my GPS tracking Device is like this 12177759N,076372527E where i filter all the data and get it 12.177759 and 076.372527 when it give to this URL
 
http://maps.googleapis.com/maps/api/geocode/xml?latlng=12.177759,076.372527&sensor=false
when i give this data to get location address it shows some other area
but in google map in search textbox if i give like this 12 17.7759,076 37.2527 it is showing accurate place if i pass the same parameter to above URL its output
is "No data available for the specified location " that is the customer error message now i want to give Latitude and longitude in this format 12 17.7759,076 37.2527 (Please see the space given in data it is also important) so now i need to send data in this format and get it but it is working fine in google map so guide me how to solve it
 
Thanks in Advance

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

  Print Answers RSS
0 DamithSL 295
1 OriginalGriff 285
2 Sergey Alexandrovich Kryukov 157
3 Afzaal Ahmad Zeeshan 154
4 Peter Leow 115
0 OriginalGriff 7,510
1 DamithSL 5,494
2 Sergey Alexandrovich Kryukov 4,954
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100