1

In my table I have two columns, Data and Range.

Range field is encoded binary from ArcGIS. this format is supposed to be a standard format with in the Geo spatial industry.

https://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html

http://www.geopackage.org/spec120/#gpb_format

need to use the srs_id to decode the Range field.

String sql = "SELECT DATA, RANGE FROM IK_TEMP";

        try (Connection conn = this.connect();
             Statement stmt  = conn.createStatement();
             ResultSet rs    = stmt.executeQuery(sql)){

            // loop through the result set
            while (rs.next()) {
                System.out.println(rs.getString("DATA") +  "\t" + 
                                   rs.getString("RANGE"));

            }

This range field I need to decode. How can I decode it.

I have seen example but it didn't work.

JavaDev
  • 79
  • 1
  • 8

0 Answers0