How can I store GeoJson using PIG?

I tried to use TOBAG(lon, lat), however I got in the location stored in the 
following form:

location: [
{
       0: 23.80323889
}
{
        0: 44.31903611
}
]

Regards,
Dumitru

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/56fa268b-d3be-499f-a93d-b49e74779208%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to