Closed gisfromscratch closed 7 years ago
Thanks! We will take a look.
It would be nice to also have the complementary ST_GeometryFromShape, but that could be separate.
Code review looks OK.
I cloned, and it built OK and unit test passed.
In hive I ran create table randall.t002 as select st_asshape(st_point(1,2)) shape
but I'm not sure what to do with that table not having ST-GeometryFromShape.
I was able to verify the shape buffer written to my randall.t002
is point(1 2)
.
For clarification: we need this shape representation because we are using Hive to write into HBase and we developed a custom datasource using ArcObjects and the HBase Java API. This way we can easily query our big data using Hive and show those query results using the ArcGIS platform.
I will take a look at to ST_GeometryFromShape method this week.
Thank you.
Sounds great, thanks.
There was a need for that. The Esri shape representation can be used for exporting the geometries into other data stores like HBase.