Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I implement an offline geocoder for a single city using OSM data in android?

I am trying to develop an offline android map that makes use of OSM map tiles of a particular zoom level, For this purpose I used an open source library : Osmdroid

Now, I am looking into the possibility of creating an offline geocoding/ reverse geocoding for a single city that can be integrated with my application,

can I use Osm xml data for that purpose? if so , then can anyone suggest/explain how to use it to create SQlite db.. to be used with my app

I read here and also here about Spatialite
But cannot quite understand its working and implementation

Thanks

like image 906
Pratik Bhat Avatar asked Jan 13 '12 11:01

Pratik Bhat


People also ask

Is Android location geocoder free?

The Geocoder use is totally free.

Is there a free geocoder?

Google Maps This free platform will allow you to geocode virtually any type of location. Plotting one location is simple. Just go to Google Maps and type your query into the search bar. Whether it's an address, zip code, or any other type of location, Google will instantly plot it for you.

What is the role of the class geocoder in an Android application uses Google Maps?

Geocoder class is used to handle geocoding and reverse geocoding. Geocoding is a process in which street address is converted into a coordinate (latitude,longitude). Reverse geocoding is a process in which a coordinate (latitude,longitude) is converted into an address.


1 Answers

With the Skobbler SDK you have offline maps and (reverse) geocoding.

like image 164
Alexander Roehnisch Avatar answered Oct 02 '22 09:10

Alexander Roehnisch