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