Class GeoParquetMetadataV1_1_0


  • public class GeoParquetMetadataV1_1_0
    extends GeoParquetMetadata
    Represents the geospatial metadata for a GeoParquet file conforming to version 1.1.0 of the GeoParquet specification. This class extends the common metadata structure and fixes the version to "1.1.0" as required by the schema. The example below includes most optional fields to illustrate the full range of metadata supported.
     
     {
       "version": "1.1.0",
       "primary_column": "geometry",
       "columns": {
         "geometry": {
           "encoding": "WKB",
           "geometry_types": ["Polygon", "MultiPolygon", "Point Z"],
           "crs": {"$schema": "https://proj.org/schemas/v0.7/projjson.schema.json", "type": "GeographicCRS", "name": "WGS 84"},
           "edges": "spherical",
           "orientation": "counterclockwise",
           "bbox": [5.8539652, 47.2737101, 15.0171958, 55.05256],
           "epoch": 2020.5,
           "covering": {
             "bbox": {
               "xmin": ["lon", "xmin"],
               "xmax": ["lon", "xmax"],
               "ymin": ["lat", "ymin"],
               "ymax": ["lat", "ymax"]
             }
           }
         },
         "points": {
           "encoding": "point",
           "geometry_types": ["Point"]
         }
       }
     }
     
     
    • Constructor Detail

      • GeoParquetMetadataV1_1_0

        public GeoParquetMetadataV1_1_0()
        Constructs a new instance with the version fixed to "1.1.0".
    • Method Detail

      • getVersion

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

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