[OSM-dev] (reverse) GeoCoding on. Android

Graham Jones grahamjones139 at gmail.com
Thu Apr 12 21:05:20 BST 2012


Thanks Nick,  Will have a look at that next.

Cheers

Graham.

On 11 April 2012 09:06, Nick Whitelegg <Nick.Whitelegg at solent.ac.uk> wrote:

>
> Hello Graham,
>
> You should be able to use, or at least adapt, any Java OSM parsing code
> (e.g. that used in JOSM, Osmosis etc)Android uses the same SAX parser as
> standard Java.
>
> See
> https://github.com/nickw1/Freemap/tree/master/java/freemaplib/src/freemap/for a Java parsing library which I have successfully used in Android apps
> (OpenTrail and the experimental Hikar). This doesn't parse .osm, it parses
> a custom XML format geared for rendering applications, but the principles
> are similar.
>
> Nick
>
> -----Graham Jones <grahamjones139 at gmail.com> <grahamjones139 at gmail.com>wrote: -----
>
> To: OSM-Dev Openstreetmap <dev at openstreetmap.org> <dev at openstreetmap.org>
> From: Graham Jones <grahamjones139 at gmail.com> <grahamjones139 at gmail.com>
> Date: 11/04/2012 07:26AM
> Subject: [OSM-dev] (reverse) GeoCoding on Android
>
> Hi All,
> I am trying to put together a little android application that works out
> where it is, and sends the info on a text message to someone (it is for
> someone who can not talk well).
> The location finding and SMS bits are working now, but the location is
> lat/lon, which is not very friendly for the recipient - I would like an
> address.
>
> I could use an internet service for this, but I would really like it to
> work without an internet connection, so am thinking of including an OSM
> data extract on the phone sd card and trying to use that first, before
> falling back to an internet service.
>
> I wondered if anyone knows of any ready made code to process and search
> OSM data on Android/java before I write something?   I guess Vespuccii must
> have all the parsing stuff in it, but I will be needing to handle more data
> that you would have in an editor - can anyone give me any pointers to the
> best way to do this on a low powered mobile device?
>
> Thanks
>
> Graham.
>
> --
> Graham Jones
> Hartlepool, UK.
>
>  _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
>


-- 
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120412/df58bbf3/attachment.html>


More information about the dev mailing list