You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by zo...@apache.org on 2023/04/17 15:51:01 UTC
[sedona] 01/01: make 2 fields public to make core codes can access
This is an automated email from the ASF dual-hosted git repository.
zongsizhang pushed a commit to branch fix/move-formatutils-from-core-to-common
in repository https://gitbox.apache.org/repos/asf/sedona.git
commit 22545f5adbfedc90ac596a10a2d223e1be718664
Author: zongsi.zhang <kr...@gmail.com>
AuthorDate: Mon Apr 17 23:50:46 2023 +0800
make 2 fields public to make core codes can access
---
common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java b/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java
index 53f56836..f56835fb 100644
--- a/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java
+++ b/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java
@@ -68,12 +68,12 @@ public class FormatUtils<T extends Geometry> implements Serializable {
/**
* Allow mapping of invalid geometries.
*/
- boolean allowTopologicallyInvalidGeometries;
+ public boolean allowTopologicallyInvalidGeometries;
// For some unknown reasons, the wkb reader cannot be used in transient variable like the wkt reader.
/**
* Crash on syntactically invalid geometries or skip them.
*/
- boolean skipSyntacticallyInvalidGeometries;
+ public boolean skipSyntacticallyInvalidGeometries;
/**
* Instantiates a new format mapper.