Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
prantogg committed Jul 29, 2024
1 parent 4f14354 commit ffd0fe8
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 deletions.
14 changes: 12 additions & 2 deletions docs/api/flink/Function.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,19 @@ POINT ZM(1 1 1 1)

## ST_AsGeoJSON

Introduction: Return the [GeoJSON](https://geojson.org/) string representation of a geometry
Introduction: Return the [GeoJSON](https://geojson.org/) string representation of a geometry.

Format: `ST_AsGeoJSON (A: Geometry)`
The type parameter (Since: `v1.6.1`) takes the following options -

- "Simple" (default): Returns a simple GeoJSON geometry.
- "Feature": Wraps the geometry in a GeoJSON Feature.
- "FeatureCollection": Wraps the Feature in a GeoJSON FeatureCollection.

Format:

`ST_AsGeoJSON (A: Geometry)`

`ST_AsGeoJSON (A: Geometry, type: String)`

Since: `v1.3.0`

Expand Down
12 changes: 11 additions & 1 deletion docs/api/snowflake/vector-data/Function.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,17 @@ FROM polygondf

Introduction: Return the [GeoJSON](https://geojson.org/) string representation of a geometry

Format: `ST_AsGeoJSON (A:geometry)`
The type parameter takes the following options -

- "Simple" (default): Returns a simple GeoJSON geometry.
- "Feature": Wraps the geometry in a GeoJSON Feature.
- "FeatureCollection": Wraps the Feature in a GeoJSON FeatureCollection.

Format:

`ST_AsGeoJSON (A:geometry)`

`ST_AsGeoJSON (A:geometry, type: String)`

SQL example:

Expand Down
12 changes: 11 additions & 1 deletion docs/api/sql/Function.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,17 @@ POINT ZM(1 1 1 1)

Introduction: Return the [GeoJSON](https://geojson.org/) string representation of a geometry

Format: `ST_AsGeoJSON (A: Geometry)`
The type parameter (Since: `v1.6.1`) takes the following options -

- "Simple" (default): Returns a simple GeoJSON geometry.
- "Feature": Wraps the geometry in a GeoJSON Feature.
- "FeatureCollection": Wraps the Feature in a GeoJSON FeatureCollection.

Format:

`ST_AsGeoJSON (A: Geometry)`

`ST_AsGeoJSON (A: Geometry, type: String)`

Since: `v1.0.0`

Expand Down

0 comments on commit ffd0fe8

Please sign in to comment.