Esri / spatial-framework-for-hadoop

The Spatial Framework for Hadoop allows developers and data scientists to use the Hadoop data processing system for spatial data analysis.
Apache License 2.0
369 stars 159 forks source link

The accuracy of the BoundaryShape binary field is problematic #151

Closed rarewei closed 4 years ago

rarewei commented 6 years ago

I use GeoJson to create a table. default GeoJson like this: default But using Hive ST_ASTEXT function, the result is less than one bit。like this POLYGON ((104.76771238499998 26.762176599999975,

so how to fix that?

randallwhitman commented 6 years ago

Is the difference more than, or less than, the tolerance of the spatial reference?

rarewei commented 6 years ago

Sorry...I mean after loading the data into Hive by that function,my result is 1 bit less than original data. This affects the correctness of intersect results.

randallwhitman commented 6 years ago

What is the absolute error? What is the relative error? I don't see numbers that can be copy-pasted into a calculator.

randallwhitman commented 4 years ago

Absent additional information, this is assumed to related to floating-point roundoff and not affect the result more than the spatial-reference tolerance.