How to Load Spatial Data using the Hadoop GIS framework
问题 I am trying to use the Hadoop GIS Framework, in order to add Spatial support to hive. One of the things I want to do is to create a spatial table from external data (from PostGIS). Unfortunately, the serializer provided by ESRI maps to a ESRI JSON format, rather than standards such as WKT, GeoJSON. What I ended up doing, was a bit of a workaround. The first thing, was to export my PostGIS data as a tab separated file, transforming the geometric field into GeoJSON. \COPY (select id, ST