Class GeoParquetMetadataV1_2_0Dev

Object
GeoParquetMetadata
GeoParquetMetadataV1_2_0Dev

public class GeoParquetMetadataV1_2_0Dev extends GeoParquetMetadata
Represents the geospatial metadata for a GeoParquet file conforming to version 1.2.0-dev of the GeoParquet specification. This class extends the common metadata structure and fixes the version to "1.2.0-dev" as required by the schema. The example below includes most optional fields to illustrate the full range of metadata supported.
 
 {
   "version": "1.2.0-dev",
   "primary_column": "geometry",
   "columns": {
     "geometry": {
       "encoding": "WKB",
       "geometry_types": ["Polygon", "MultiPolygon", "GeometryCollection"],
       "crs": null,
       "edges": "planar",
       "orientation": "counterclockwise",
       "bbox": [5.8539652, 47.2737101, 0.0, 15.0171958, 55.05256, 100.0],
       "epoch": 2021.0,
       "covering": {
         "bbox": {
           "xmin": ["x_coord", "xmin"],
           "xmax": ["x_coord", "xmax"],
           "ymin": ["y_coord", "ymin"],
           "ymax": ["y_coord", "ymax"]
         }
       }
     },
     "lines": {
       "encoding": "linestring",
       "geometry_types": ["LineString"]
     }
   }
 }
 
 
  • Constructor Details

    • GeoParquetMetadataV1_2_0Dev

      public GeoParquetMetadataV1_2_0Dev()
      Constructs a new instance with the version fixed to "1.2.0-dev".
  • Method Details

    • getVersion

      public String getVersion()
      Gets the GeoParquet specification version (always "1.2.0-dev").
      Overrides:
      getVersion in class GeoParquetMetadata
      Returns:
      the version string, fixed at "1.2.0-dev"
    • setVersion

      public void setVersion(String version)
      Sets the version, though it should only be "1.2.0-dev" per the schema.
      Overrides:
      setVersion in class GeoParquetMetadata
      Parameters:
      version - the version string