File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/main/java/org/sheinbergon/dremio/udf/gis Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2121 <carrotsearch .version>0.7.0</carrotsearch .version>
2222 <arrow-memory-netty .version>9.0.0</arrow-memory-netty .version>
2323 </properties >
24- <version >0.8.2 ${artifact.version.suffix} </version >
24+ <version >0.8.4 ${artifact.version.suffix} </version >
2525 <name >dremio-udf-gis</name >
2626 <description >GIS UDF extensions for Dremio</description >
2727 <url >https://github.com/sheinbergon/dremio-udf-gis</url >
Original file line number Diff line number Diff line change 2121import com .dremio .exec .expr .annotations .FunctionTemplate ;
2222import com .dremio .exec .expr .annotations .Output ;
2323import com .dremio .exec .expr .annotations .Param ;
24- import org .locationtech .jts .geom .GeometryFactory ;
2524
2625import javax .inject .Inject ;
2726
@@ -45,7 +44,7 @@ public void setup() {
4544 public void eval () {
4645 if (org .sheinbergon .dremio .udf .gis .util .GeometryHelpers .isHolderSet (binaryInput )) {
4746 org .locationtech .jts .geom .Geometry geom = org .sheinbergon .dremio .udf .gis .util .GeometryHelpers .toGeometry (binaryInput );
48- org .locationtech .jts .geom .GeometryFactory factory = new GeometryFactory (geom .getPrecisionModel (), geom .getSRID ());
47+ org .locationtech .jts .geom .GeometryFactory factory = new org . locationtech . jts . geom . GeometryFactory (geom .getPrecisionModel (), geom .getSRID ());
4948 org .locationtech .jts .algorithm .Centroid centroid = new org .locationtech .jts .algorithm .Centroid (geom );
5049 org .locationtech .jts .geom .Point point = factory .createPoint (centroid .getCentroid ());
5150 byte [] bytes = org .sheinbergon .dremio .udf .gis .util .GeometryHelpers .toEWKB (point );
You can’t perform that action at this time.
0 commit comments