You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Jacob Marble <jm...@kochava.com> on 2017/10/19 19:00:32 UTC

Is anyone using Beam for geo use cases?

Is anyone using Beam to solve geo problems?

For example, a simple "reverse geo" function:
f(lat, lon) => country, state/province/etc, city, postal code

Jacob

Re: Is anyone using Beam for geo use cases?

Posted by Jacob Marble <jm...@kochava.com>.
I wrote an OSM PBF parser for Beam. It took ~8h to parse the planet on one
core, but that could be improved with a reshuffle after the actual read
transform.

I also wrote a simple key class. Useful for bucketing geo data into smaller
chunks.
- constructor takes desired grid size in kilometers
- get key from lat/lon

Jacob

On Fri, Oct 20, 2017 at 4:16 AM, Vilhelm von Ehrenheim <
vonehrenheim@gmail.com> wrote:

> I am interested! I need to do this soon but havent started yet. Would love
> to see an example of how you do it. :)
>
> Br,
> Vilhelm von Ehrenheim
>
> On 20 Oct 2017 12:40, "Csaba Kassai" <cs...@doctusoft.com> wrote:
>
>> Hi Jacob,
>>
>> we are doing the opposite direction: we enrich data with geo coordinates
>> from textual address using Google Maps API with Cloud Dataflow.
>> Are you interested in this use-case?
>>
>> Csabi
>>
>> On Thu, 19 Oct 2017 at 21:00 Jacob Marble <jm...@kochava.com> wrote:
>>
>>> Is anyone using Beam to solve geo problems?
>>>
>>> For example, a simple "reverse geo" function:
>>> f(lat, lon) => country, state/province/etc, city, postal code
>>>
>>> Jacob
>>>
>>

Re: Is anyone using Beam for geo use cases?

Posted by Vilhelm von Ehrenheim <vo...@gmail.com>.
I am interested! I need to do this soon but havent started yet. Would love
to see an example of how you do it. :)

Br,
Vilhelm von Ehrenheim

On 20 Oct 2017 12:40, "Csaba Kassai" <cs...@doctusoft.com> wrote:

> Hi Jacob,
>
> we are doing the opposite direction: we enrich data with geo coordinates
> from textual address using Google Maps API with Cloud Dataflow.
> Are you interested in this use-case?
>
> Csabi
>
> On Thu, 19 Oct 2017 at 21:00 Jacob Marble <jm...@kochava.com> wrote:
>
>> Is anyone using Beam to solve geo problems?
>>
>> For example, a simple "reverse geo" function:
>> f(lat, lon) => country, state/province/etc, city, postal code
>>
>> Jacob
>>
>

Re: Is anyone using Beam for geo use cases?

Posted by Csaba Kassai <cs...@doctusoft.com>.
Hi Jacob,

we are doing the opposite direction: we enrich data with geo coordinates
from textual address using Google Maps API with Cloud Dataflow.
Are you interested in this use-case?

Csabi

On Thu, 19 Oct 2017 at 21:00 Jacob Marble <jm...@kochava.com> wrote:

> Is anyone using Beam to solve geo problems?
>
> For example, a simple "reverse geo" function:
> f(lat, lon) => country, state/province/etc, city, postal code
>
> Jacob
>