This is an automated email from the ASF dual-hosted git repository. jiayu pushed a commit to branch fix/issue-2678-output-visuals in repository https://gitbox.apache.org/repos/asf/sedona.git
commit 5bd26c30a54739a9fd0450837b3c6bcea27b9de5 Author: Jia Yu <[email protected]> AuthorDate: Wed Mar 4 16:13:53 2026 -0800 [GH-2678] Add SVG visuals for geometry output functions --- docs/api/flink/Geometry-Output/ST_AsBinary.md | 2 ++ docs/api/flink/Geometry-Output/ST_AsEWKB.md | 2 ++ docs/api/flink/Geometry-Output/ST_AsEWKT.md | 2 ++ docs/api/flink/Geometry-Output/ST_AsGML.md | 2 ++ docs/api/flink/Geometry-Output/ST_AsGeoJSON.md | 2 ++ docs/api/flink/Geometry-Output/ST_AsHEXEWKB.md | 2 ++ docs/api/flink/Geometry-Output/ST_AsKML.md | 2 ++ docs/api/flink/Geometry-Output/ST_AsText.md | 2 ++ docs/api/flink/Geometry-Output/ST_GeoHash.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsBinary.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKB.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKT.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsGML.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsGeoJSON.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsHEXEWKB.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsKML.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_AsText.md | 2 ++ docs/api/snowflake/vector-data/Geometry-Output/ST_GeoHash.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsBinary.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsEWKB.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsEWKT.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsGML.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsGeoJSON.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsHEXEWKB.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsKML.md | 2 ++ docs/api/sql/Geometry-Output/ST_AsText.md | 2 ++ docs/api/sql/Geometry-Output/ST_GeoHash.md | 2 ++ docs/image/ST_AsBinary/ST_AsBinary.svg | 10 ++++++++++ docs/image/ST_AsEWKB/ST_AsEWKB.svg | 10 ++++++++++ docs/image/ST_AsEWKT/ST_AsEWKT.svg | 10 ++++++++++ docs/image/ST_AsGML/ST_AsGML.svg | 10 ++++++++++ docs/image/ST_AsGeoJSON/ST_AsGeoJSON.svg | 10 ++++++++++ docs/image/ST_AsHEXEWKB/ST_AsHEXEWKB.svg | 10 ++++++++++ docs/image/ST_AsKML/ST_AsKML.svg | 10 ++++++++++ docs/image/ST_AsText/ST_AsText.svg | 10 ++++++++++ docs/image/ST_GeoHash/ST_GeoHash.svg | 10 ++++++++++ 36 files changed, 144 insertions(+) diff --git a/docs/api/flink/Geometry-Output/ST_AsBinary.md b/docs/api/flink/Geometry-Output/ST_AsBinary.md index cf9c00e8ec..7f10b11dbe 100644 --- a/docs/api/flink/Geometry-Output/ST_AsBinary.md +++ b/docs/api/flink/Geometry-Output/ST_AsBinary.md @@ -21,6 +21,8 @@ Introduction: Return the Well-Known Binary representation of a geometry + + Format: `ST_AsBinary (A: Geometry)` Return type: `Binary` diff --git a/docs/api/flink/Geometry-Output/ST_AsEWKB.md b/docs/api/flink/Geometry-Output/ST_AsEWKB.md index c19ab7e5df..3a5f33bb00 100644 --- a/docs/api/flink/Geometry-Output/ST_AsEWKB.md +++ b/docs/api/flink/Geometry-Output/ST_AsEWKB.md @@ -25,6 +25,8 @@ The format originated in PostGIS but is supported by many GIS tools. If the geometry is lacking SRID a WKB format is produced. It will ignore the M coordinate if present. + + Format: `ST_AsEWKB (A: Geometry)` Return type: `Binary` diff --git a/docs/api/flink/Geometry-Output/ST_AsEWKT.md b/docs/api/flink/Geometry-Output/ST_AsEWKT.md index b4f870dfc1..0f51d2babf 100644 --- a/docs/api/flink/Geometry-Output/ST_AsEWKT.md +++ b/docs/api/flink/Geometry-Output/ST_AsEWKT.md @@ -26,6 +26,8 @@ If the geometry is lacking SRID a WKT format is produced. [See ST_SetSRID](../Spatial-Reference-System/ST_SetSRID.md) It will support M coordinate if present since v1.5.0. + + Format: `ST_AsEWKT (A: Geometry)` Return type: `String` diff --git a/docs/api/flink/Geometry-Output/ST_AsGML.md b/docs/api/flink/Geometry-Output/ST_AsGML.md index 7b0ad2ac7c..8779cc4173 100644 --- a/docs/api/flink/Geometry-Output/ST_AsGML.md +++ b/docs/api/flink/Geometry-Output/ST_AsGML.md @@ -21,6 +21,8 @@ Introduction: Return the [GML](https://www.ogc.org/standards/gml) string representation of a geometry + + Format: `ST_AsGML (A: Geometry)` Return type: `String` diff --git a/docs/api/flink/Geometry-Output/ST_AsGeoJSON.md b/docs/api/flink/Geometry-Output/ST_AsGeoJSON.md index 6d1c36a68a..7f74099bc8 100644 --- a/docs/api/flink/Geometry-Output/ST_AsGeoJSON.md +++ b/docs/api/flink/Geometry-Output/ST_AsGeoJSON.md @@ -27,6 +27,8 @@ The type parameter (Since: `v1.6.1`) takes the following options - - "Feature": Wraps the geometry in a GeoJSON Feature. - "FeatureCollection": Wraps the Feature in a GeoJSON FeatureCollection. + + Format: `ST_AsGeoJSON (A: Geometry)` diff --git a/docs/api/flink/Geometry-Output/ST_AsHEXEWKB.md b/docs/api/flink/Geometry-Output/ST_AsHEXEWKB.md index 9e94b9dbad..7d4cecb47c 100644 --- a/docs/api/flink/Geometry-Output/ST_AsHEXEWKB.md +++ b/docs/api/flink/Geometry-Output/ST_AsHEXEWKB.md @@ -21,6 +21,8 @@ Introduction: This function returns the input geometry encoded to a text representation in HEXEWKB format. The HEXEWKB encoding can use either little-endian (NDR) or big-endian (XDR) byte ordering. If no encoding is explicitly specified, the function defaults to using the little-endian (NDR) format. + + Format: `ST_AsHEXEWKB(geom: Geometry, endian: String = NDR)` Return type: `String` diff --git a/docs/api/flink/Geometry-Output/ST_AsKML.md b/docs/api/flink/Geometry-Output/ST_AsKML.md index 00aa165f4a..34b29ee3d0 100644 --- a/docs/api/flink/Geometry-Output/ST_AsKML.md +++ b/docs/api/flink/Geometry-Output/ST_AsKML.md @@ -21,6 +21,8 @@ Introduction: Return the [KML](https://www.ogc.org/standards/kml) string representation of a geometry + + Format: `ST_AsKML (A: Geometry)` Return type: `String` diff --git a/docs/api/flink/Geometry-Output/ST_AsText.md b/docs/api/flink/Geometry-Output/ST_AsText.md index c3407427c7..6925ee6d44 100644 --- a/docs/api/flink/Geometry-Output/ST_AsText.md +++ b/docs/api/flink/Geometry-Output/ST_AsText.md @@ -22,6 +22,8 @@ Introduction: Return the Well-Known Text string representation of a geometry. It will support M coordinate if present since v1.5.0. + + Format: `ST_AsText (A: Geometry)` Return type: `String` diff --git a/docs/api/flink/Geometry-Output/ST_GeoHash.md b/docs/api/flink/Geometry-Output/ST_GeoHash.md index c5bad35fb9..de608341dd 100644 --- a/docs/api/flink/Geometry-Output/ST_GeoHash.md +++ b/docs/api/flink/Geometry-Output/ST_GeoHash.md @@ -21,6 +21,8 @@ Introduction: Returns GeoHash of the geometry with given precision + + Format: `ST_GeoHash(geom: Geometry, precision: Integer)` Return type: `String` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsBinary.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsBinary.md index 46b4e86e65..4adfb7e210 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsBinary.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsBinary.md @@ -21,6 +21,8 @@ Introduction: Return the Well-Known Binary representation of a geometry + + Format: `ST_AsBinary (A:geometry)` Return type: `Binary` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKB.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKB.md index abf40cc9a2..d8bed8528b 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKB.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKB.md @@ -25,6 +25,8 @@ The format originated in PostGIS but is supported by many GIS tools. If the geometry is lacking SRID a WKB format is produced. [See ST_SetSRID](../Spatial-Reference-System/ST_SetSRID.md) + + Format: `ST_AsEWKB (A:geometry)` Return type: `Binary` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKT.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKT.md index a0f71d85d6..858bdc7a56 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKT.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsEWKT.md @@ -25,6 +25,8 @@ The format originated in PostGIS but is supported by many GIS tools. If the geometry is lacking SRID a WKT format is produced. [See ST_SetSRID](../Spatial-Reference-System/ST_SetSRID.md) + + Format: `ST_AsEWKT (A:geometry)` Return type: `String` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGML.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGML.md index 883f4c86c6..dfe529f055 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGML.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGML.md @@ -21,6 +21,8 @@ Introduction: Return the [GML](https://www.ogc.org/standards/gml) string representation of a geometry + + Format: `ST_AsGML (A:geometry)` Return type: `String` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGeoJSON.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGeoJSON.md index 353131c5dd..5f0b5a3ef8 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGeoJSON.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsGeoJSON.md @@ -27,6 +27,8 @@ The type parameter takes the following options - - "Feature": Wraps the geometry in a GeoJSON Feature. - "FeatureCollection": Wraps the Feature in a GeoJSON FeatureCollection. + + Format: `ST_AsGeoJSON (A:geometry)` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsHEXEWKB.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsHEXEWKB.md index eda997261d..0b1129ceb4 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsHEXEWKB.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsHEXEWKB.md @@ -21,6 +21,8 @@ Introduction: This function returns the input geometry encoded to a text representation in HEXEWKB format. The HEXEWKB encoding can use either little-endian (NDR) or big-endian (XDR) byte ordering. If no encoding is explicitly specified, the function defaults to using the little-endian (NDR) format. + + Format: `ST_AsHEXEWKB(geom: Geometry, endian: String = NDR)` Return type: `String` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsKML.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsKML.md index a9d1a66dbc..c89b14e97d 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsKML.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsKML.md @@ -21,6 +21,8 @@ Introduction: Return the [KML](https://www.ogc.org/standards/kml) string representation of a geometry + + Format: `ST_AsKML (A:geometry)` Return type: `String` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsText.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsText.md index 29506ff8c6..d57d3d5158 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_AsText.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_AsText.md @@ -21,6 +21,8 @@ Introduction: Return the Well-Known Text string representation of a geometry + + Format: `ST_AsText (A:geometry)` Return type: `String` diff --git a/docs/api/snowflake/vector-data/Geometry-Output/ST_GeoHash.md b/docs/api/snowflake/vector-data/Geometry-Output/ST_GeoHash.md index 65aefc089f..b62d297935 100644 --- a/docs/api/snowflake/vector-data/Geometry-Output/ST_GeoHash.md +++ b/docs/api/snowflake/vector-data/Geometry-Output/ST_GeoHash.md @@ -21,6 +21,8 @@ Introduction: Returns GeoHash of the geometry with given precision + + Format: `ST_GeoHash(geom: geometry, precision: int)` Return type: `String` diff --git a/docs/api/sql/Geometry-Output/ST_AsBinary.md b/docs/api/sql/Geometry-Output/ST_AsBinary.md index 5e17ddbe88..24a81a4b82 100644 --- a/docs/api/sql/Geometry-Output/ST_AsBinary.md +++ b/docs/api/sql/Geometry-Output/ST_AsBinary.md @@ -21,6 +21,8 @@ Introduction: Return the Well-Known Binary representation of a geometry + + Format: `ST_AsBinary (A: Geometry)` Return type: `Binary` diff --git a/docs/api/sql/Geometry-Output/ST_AsEWKB.md b/docs/api/sql/Geometry-Output/ST_AsEWKB.md index 2189df55cf..12bcd4a95b 100644 --- a/docs/api/sql/Geometry-Output/ST_AsEWKB.md +++ b/docs/api/sql/Geometry-Output/ST_AsEWKB.md @@ -26,6 +26,8 @@ If the geometry is lacking SRID a WKB format is produced. [See ST_SetSRID](../Spatial-Reference-System/ST_SetSRID.md) It will ignore the M coordinate if present. + + Format: `ST_AsEWKB (A: Geometry)` Return type: `Binary` diff --git a/docs/api/sql/Geometry-Output/ST_AsEWKT.md b/docs/api/sql/Geometry-Output/ST_AsEWKT.md index bb77dd90b5..a55965b39d 100644 --- a/docs/api/sql/Geometry-Output/ST_AsEWKT.md +++ b/docs/api/sql/Geometry-Output/ST_AsEWKT.md @@ -26,6 +26,8 @@ If the geometry is lacking SRID a WKT format is produced. [See ST_SetSRID](../Spatial-Reference-System/ST_SetSRID.md) It will support M coordinate if present since v1.5.0. + + Format: `ST_AsEWKT (A: Geometry)` Return type: `String` diff --git a/docs/api/sql/Geometry-Output/ST_AsGML.md b/docs/api/sql/Geometry-Output/ST_AsGML.md index 5e1f451ec8..e0c2548d63 100644 --- a/docs/api/sql/Geometry-Output/ST_AsGML.md +++ b/docs/api/sql/Geometry-Output/ST_AsGML.md @@ -21,6 +21,8 @@ Introduction: Return the [GML](https://www.ogc.org/standards/gml) string representation of a geometry + + Format: `ST_AsGML (A: Geometry)` Return type: `String` diff --git a/docs/api/sql/Geometry-Output/ST_AsGeoJSON.md b/docs/api/sql/Geometry-Output/ST_AsGeoJSON.md index 2cdc225728..7fd9277334 100644 --- a/docs/api/sql/Geometry-Output/ST_AsGeoJSON.md +++ b/docs/api/sql/Geometry-Output/ST_AsGeoJSON.md @@ -30,6 +30,8 @@ The type parameter (Since: `v1.6.1`) takes the following options - - "Feature": Wraps the geometry in a GeoJSON Feature. - "FeatureCollection": Wraps the Feature in a GeoJSON FeatureCollection. + + Format: `ST_AsGeoJSON (A: Geometry)` diff --git a/docs/api/sql/Geometry-Output/ST_AsHEXEWKB.md b/docs/api/sql/Geometry-Output/ST_AsHEXEWKB.md index 9e94b9dbad..7d4cecb47c 100644 --- a/docs/api/sql/Geometry-Output/ST_AsHEXEWKB.md +++ b/docs/api/sql/Geometry-Output/ST_AsHEXEWKB.md @@ -21,6 +21,8 @@ Introduction: This function returns the input geometry encoded to a text representation in HEXEWKB format. The HEXEWKB encoding can use either little-endian (NDR) or big-endian (XDR) byte ordering. If no encoding is explicitly specified, the function defaults to using the little-endian (NDR) format. + + Format: `ST_AsHEXEWKB(geom: Geometry, endian: String = NDR)` Return type: `String` diff --git a/docs/api/sql/Geometry-Output/ST_AsKML.md b/docs/api/sql/Geometry-Output/ST_AsKML.md index 29949010b7..b6c055a3c3 100644 --- a/docs/api/sql/Geometry-Output/ST_AsKML.md +++ b/docs/api/sql/Geometry-Output/ST_AsKML.md @@ -21,6 +21,8 @@ Introduction: Return the [KML](https://www.ogc.org/standards/kml) string representation of a geometry + + Format: `ST_AsKML (A: Geometry)` Return type: `String` diff --git a/docs/api/sql/Geometry-Output/ST_AsText.md b/docs/api/sql/Geometry-Output/ST_AsText.md index 70675b0630..ba581573c3 100644 --- a/docs/api/sql/Geometry-Output/ST_AsText.md +++ b/docs/api/sql/Geometry-Output/ST_AsText.md @@ -22,6 +22,8 @@ Introduction: Return the Well-Known Text string representation of a geometry. It will support M coordinate if present since v1.5.0. + + Format: `ST_AsText (A: Geometry)` Return type: `String` diff --git a/docs/api/sql/Geometry-Output/ST_GeoHash.md b/docs/api/sql/Geometry-Output/ST_GeoHash.md index ee1e343f60..3a4fc59ce7 100644 --- a/docs/api/sql/Geometry-Output/ST_GeoHash.md +++ b/docs/api/sql/Geometry-Output/ST_GeoHash.md @@ -21,6 +21,8 @@ Introduction: Returns GeoHash of the geometry with given precision + + Format: `ST_GeoHash(geom: Geometry, precision: Integer)` Return type: `String` diff --git a/docs/image/ST_AsBinary/ST_AsBinary.svg b/docs/image/ST_AsBinary/ST_AsBinary.svg new file mode 100644 index 0000000000..17407d618e --- /dev/null +++ b/docs/image/ST_AsBinary/ST_AsBinary.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsBinary</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle">0x0001020000...</text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">WKB (binary)</text> +</svg> diff --git a/docs/image/ST_AsEWKB/ST_AsEWKB.svg b/docs/image/ST_AsEWKB/ST_AsEWKB.svg new file mode 100644 index 0000000000..a5b09fce9e --- /dev/null +++ b/docs/image/ST_AsEWKB/ST_AsEWKB.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsEWKB</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle">0x0103000020E6...</text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">EWKB (binary+SRID)</text> +</svg> diff --git a/docs/image/ST_AsEWKT/ST_AsEWKT.svg b/docs/image/ST_AsEWKT/ST_AsEWKT.svg new file mode 100644 index 0000000000..4ad54cc256 --- /dev/null +++ b/docs/image/ST_AsEWKT/ST_AsEWKT.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsEWKT</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle">SRID=4326;POLYGON((...))</text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">EWKT</text> +</svg> diff --git a/docs/image/ST_AsGML/ST_AsGML.svg b/docs/image/ST_AsGML/ST_AsGML.svg new file mode 100644 index 0000000000..ef09031bcd --- /dev/null +++ b/docs/image/ST_AsGML/ST_AsGML.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsGML</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle"><gml:Polygon>...</gml:Polygon></text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">GML</text> +</svg> diff --git a/docs/image/ST_AsGeoJSON/ST_AsGeoJSON.svg b/docs/image/ST_AsGeoJSON/ST_AsGeoJSON.svg new file mode 100644 index 0000000000..8f6b1a44f4 --- /dev/null +++ b/docs/image/ST_AsGeoJSON/ST_AsGeoJSON.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsGeoJSON</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle">{"type":"Polygon",...}</text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">GeoJSON</text> +</svg> diff --git a/docs/image/ST_AsHEXEWKB/ST_AsHEXEWKB.svg b/docs/image/ST_AsHEXEWKB/ST_AsHEXEWKB.svg new file mode 100644 index 0000000000..8a44fbd994 --- /dev/null +++ b/docs/image/ST_AsHEXEWKB/ST_AsHEXEWKB.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsHEXEWKB</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle">0103000020E610...</text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">HEXEWKB</text> +</svg> diff --git a/docs/image/ST_AsKML/ST_AsKML.svg b/docs/image/ST_AsKML/ST_AsKML.svg new file mode 100644 index 0000000000..69083ac9e9 --- /dev/null +++ b/docs/image/ST_AsKML/ST_AsKML.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsKML</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle"><Polygon>...</Polygon></text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">KML</text> +</svg> diff --git a/docs/image/ST_AsText/ST_AsText.svg b/docs/image/ST_AsText/ST_AsText.svg new file mode 100644 index 0000000000..b15a5c2910 --- /dev/null +++ b/docs/image/ST_AsText/ST_AsText.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <polygon points="35.0,80.0 35.0,20.0 95.0,20.0 95.0,80.0 35.0,80.0" stroke="#4A90D9" stroke-width="2" fill="rgba(74,144,217,0.15)"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_AsText</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle">POLYGON((1 1,1 4,...))</text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">WKT</text> +</svg> diff --git a/docs/image/ST_GeoHash/ST_GeoHash.svg b/docs/image/ST_GeoHash/ST_GeoHash.svg new file mode 100644 index 0000000000..f142ffa788 --- /dev/null +++ b/docs/image/ST_GeoHash/ST_GeoHash.svg @@ -0,0 +1,10 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="380" height="120" viewBox="0 0 380 120"> + <rect width="380" height="120" fill="#f5f5f5" rx="5"/> + <defs><marker id="arrowhead" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#666"/></marker></defs> + <circle cx="35.0" cy="20.0" r="4" fill="#4A90D9" stroke="none"/> + <line x1="140.0" y1="60.0" x2="180.0" y2="60.0" stroke="#666" stroke-width="1.5" marker-end="url(#arrowhead)"/> + <text x="160.0" y="50.0" font-family="monospace" font-size="9" fill="#666" text-anchor="middle">ST_GeoHash</text> + <rect x="190.0" y="49.0" width="180.0" height="22" rx="4" fill="#E8F5E9" stroke="#43A047" stroke-width="1"/> + <text x="280.0" y="64.0" font-family="monospace" font-size="9" fill="#333" text-anchor="middle">s00twy01mt</text> + <text x="280.0" y="84.0" font-family="monospace" font-size="9" fill="#999" text-anchor="middle">GeoHash</text> +</svg>
