Class GeoParquetMetadataV1_1_0
Object
GeoParquetMetadata
GeoParquetMetadataV1_1_0
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"]
}
}
}
-
Field Summary
Fields inherited from class GeoParquetMetadata
columns, primaryColumn, version -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance with the version fixed to "1.1.0". -
Method Summary
Modifier and TypeMethodDescriptionGets the GeoParquet specification version (always "1.1.0").voidsetVersion(String version) Sets the version, though it should only be "1.1.0" per the schema.Methods inherited from class GeoParquetMetadata
bounds, getColumn, getColumns, getPrimaryColumn, readValue, setColumns, setPrimaryColumn
-
Constructor Details
-
GeoParquetMetadataV1_1_0
public GeoParquetMetadataV1_1_0()Constructs a new instance with the version fixed to "1.1.0".
-
-
Method Details
-
getVersion
Gets the GeoParquet specification version (always "1.1.0").- Overrides:
getVersionin classGeoParquetMetadata- Returns:
- the version string, fixed at "1.1.0"
-
setVersion
Sets the version, though it should only be "1.1.0" per the schema.- Overrides:
setVersionin classGeoParquetMetadata- Parameters:
version- the version string
-