How to optimize scan of 1 huge file / table in Hive to confirm/check if lat long point is contained in a wkt geometry shape

前端 未结 1 793
执念已碎
执念已碎 2021-01-27 04:21

I am currently trying to associate each lat long ping from a device to its ZIP code.

I have de-normalized lat long device ping data and created a cross-product/ Cartesia

相关标签:
1条回答
  • 2021-01-27 04:38

    If the ZIP-code dataset can fit into memory, try a custom Map-Reduce application that uses a just-in-time in-memory quadtree index on the ZIP-code data, by adapting the sample in the GIS-Tools-for-Hadoop.

    [collaborator]

    0 讨论(0)
提交回复
热议问题