As Zephyr team, we worked on two topics this week. While Tolga and Huseyin were trying to implement MediaWiki module of the project, Güliz and I were coping with GoogleMaps. At the beginning, Güliz and I tried to implement the GoogleMaps Reverse Geocoding in the server side. But because of the limitations of GoogleMaps API (like the need of a domain name) we couldn't achieve to implement that module in the server side and we had to develop it at client side. Also the advantage of implementing GoogleMaps Api was avoiding unnecessary traffic between client and server.
Geocoder is the class for handling geocoding and reverse geocoding in android. Geocoding is the process of transforming a street address or other description of a location into a (latitude, longitude) coordinate. Reverse geocoding is the process of transforming a (latitude, longitude) coordinate into a (partial) address.
We mainly used:
List adress
getFromLocation(double latitude, double longitude, int maxResults)
Returns an array of Addresses that are known to describe the area immediately surrounding the given latitude and longitude.
and
the addres class which represents an Address, i.e, a set of Strings describing a location.
and the functions we used were:
String getFeatureName()
Returns the feature name of the address, for example, "Golden Gate Bridge", or null if it is unknown
After we implemented google maps module, we integrated it into the system which looks into the system for the the picture's future name. Now, the system first uses GoogleMaps to get future name of a point if it is unsuccessfull, it searches the database.
Hüseyin and Tolga also completed their tasks.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment