-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Excavator: Upgrade API Version (#94)
- Loading branch information
1 parent
49311d9
commit bccf61e
Showing
44 changed files
with
1,175 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Feature | ||
|
||
GeoJSon 'Feature' object | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**geometry** | Optional[Geometry] | No | | | ||
**properties** | Dict[FeaturePropertyKey, Any] | Yes | A `Feature` object has a member with the name "properties". The value of the properties member is an object (any JSON object or a JSON null value). | | ||
**id** | Optional[Any] | No | If a `Feature` has a commonly used identifier, that identifier SHOULD be included as a member of the Feature object with the name "id", and the value of this member is either a JSON string or number. | | ||
**bbox** | Optional[BBox] | No | | | ||
**type** | Literal["Feature"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# FeatureCollection | ||
|
||
GeoJSon 'FeatureCollection' object | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**features** | List[FeatureCollectionTypes] | Yes | | | ||
**bbox** | Optional[BBox] | No | | | ||
**type** | Literal["FeatureCollection"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# FeatureCollectionDict | ||
|
||
GeoJSon 'FeatureCollection' object | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**features** | List[FeatureCollectionTypesDict] | Yes | | | ||
**bbox** | NotRequired[BBox] | No | | | ||
**type** | Literal["FeatureCollection"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# FeatureCollectionTypes | ||
|
||
FeatureCollectionTypes | ||
|
||
## Type | ||
```python | ||
Feature | ||
``` | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# FeatureCollectionTypesDict | ||
|
||
FeatureCollectionTypes | ||
|
||
## Type | ||
```python | ||
FeatureDict | ||
``` | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# FeatureDict | ||
|
||
GeoJSon 'Feature' object | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**geometry** | NotRequired[GeometryDict] | No | | | ||
**properties** | Dict[FeaturePropertyKey, Any] | Yes | A `Feature` object has a member with the name "properties". The value of the properties member is an object (any JSON object or a JSON null value). | | ||
**id** | NotRequired[Any] | No | If a `Feature` has a commonly used identifier, that identifier SHOULD be included as a member of the Feature object with the name "id", and the value of this member is either a JSON string or number. | | ||
**bbox** | NotRequired[BBox] | No | | | ||
**type** | Literal["Feature"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# FeaturePropertyKey | ||
|
||
FeaturePropertyKey | ||
|
||
## Type | ||
```python | ||
str | ||
``` | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Geometry | ||
|
||
Abstract type for all GeoJSon object except Feature and FeatureCollection | ||
|
||
This is a discriminator type and does not contain any fields. Instead, it is a union | ||
of of the models listed below. | ||
|
||
This discriminator class uses the `type` field to differentiate between classes. | ||
|
||
| Class | Value | ||
| ------------ | ------------- | ||
MultiPoint | MultiPoint | ||
GeometryCollection | GeometryCollection | ||
MultiLineString | MultiLineString | ||
LineString | LineString | ||
MultiPolygon | MultiPolygon | ||
GeoPoint | Point | ||
Polygon | Polygon | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# GeometryCollection | ||
|
||
GeoJSon geometry collection | ||
|
||
GeometryCollections composed of a single part or a number of parts of a | ||
single type SHOULD be avoided when that single part or a single object | ||
of multipart type (MultiPoint, MultiLineString, or MultiPolygon) could | ||
be used instead. | ||
|
||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**geometries** | List[Geometry] | Yes | | | ||
**bbox** | Optional[BBox] | No | | | ||
**type** | Literal["GeometryCollection"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# GeometryCollectionDict | ||
|
||
GeoJSon geometry collection | ||
|
||
GeometryCollections composed of a single part or a number of parts of a | ||
single type SHOULD be avoided when that single part or a single object | ||
of multipart type (MultiPoint, MultiLineString, or MultiPolygon) could | ||
be used instead. | ||
|
||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**geometries** | List[GeometryDict] | Yes | | | ||
**bbox** | NotRequired[BBox] | No | | | ||
**type** | Literal["GeometryCollection"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# GeometryDict | ||
|
||
Abstract type for all GeoJSon object except Feature and FeatureCollection | ||
|
||
This is a discriminator type and does not contain any fields. Instead, it is a union | ||
of of the models listed below. | ||
|
||
This discriminator class uses the `type` field to differentiate between classes. | ||
|
||
| Class | Value | ||
| ------------ | ------------- | ||
MultiPointDict | MultiPoint | ||
GeometryCollectionDict | GeometryCollection | ||
MultiLineStringDict | MultiLineString | ||
LineStringDict | LineString | ||
MultiPolygonDict | MultiPolygon | ||
GeoPointDict | Point | ||
PolygonDict | Polygon | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# LineString | ||
|
||
LineString | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | Optional[LineStringCoordinates] | No | | | ||
**bbox** | Optional[BBox] | No | | | ||
**type** | Literal["LineString"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# LineStringCoordinates | ||
|
||
GeoJSon fundamental geometry construct, array of two or more positions. | ||
|
||
|
||
## Type | ||
```python | ||
Annotated[List[Position], Len(min_length=2)] | ||
``` | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# LineStringDict | ||
|
||
LineString | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | NotRequired[LineStringCoordinates] | No | | | ||
**bbox** | NotRequired[BBox] | No | | | ||
**type** | Literal["LineString"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# MultiLineString | ||
|
||
MultiLineString | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | List[LineStringCoordinates] | Yes | | | ||
**bbox** | Optional[BBox] | No | | | ||
**type** | Literal["MultiLineString"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# MultiLineStringDict | ||
|
||
MultiLineString | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | List[LineStringCoordinates] | Yes | | | ||
**bbox** | NotRequired[BBox] | No | | | ||
**type** | Literal["MultiLineString"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# MultiPoint | ||
|
||
MultiPoint | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | List[Position] | Yes | | | ||
**bbox** | Optional[BBox] | No | | | ||
**type** | Literal["MultiPoint"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# MultiPointDict | ||
|
||
MultiPoint | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | List[Position] | Yes | | | ||
**bbox** | NotRequired[BBox] | No | | | ||
**type** | Literal["MultiPoint"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# MultiPolygon | ||
|
||
MultiPolygon | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | List[List[LinearRing]] | Yes | | | ||
**bbox** | Optional[BBox] | No | | | ||
**type** | Literal["MultiPolygon"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# MultiPolygonDict | ||
|
||
MultiPolygon | ||
|
||
## Properties | ||
| Name | Type | Required | Description | | ||
| ------------ | ------------- | ------------- | ------------- | | ||
**coordinates** | List[List[LinearRing]] | Yes | | | ||
**bbox** | NotRequired[BBox] | No | | | ||
**type** | Literal["MultiPolygon"] | Yes | None | | ||
|
||
|
||
[[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.