You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "jiayuasu (via GitHub)" <gi...@apache.org> on 2026/03/04 22:19:26 UTC

[PR] [GH-2678] Add SVG visuals for geometry editor functions (Phase 5) [sedona]

jiayuasu opened a new pull request, #2686:
URL: https://github.com/apache/sedona/pull/2686

   ## What is this PR about?
   
   Phase 5 of [GH-2678](https://github.com/apache/sedona/issues/2678): Add SVG visual illustrations for all **29 Geometry Editor** function documentation pages.
   
   ### Changes
   
   - **29 new SVGs** in `docs/image/ST_*/ST_*.svg` illustrating editor functions
   - **84 doc files** updated (29 SQL + 29 Flink + 26 Snowflake) with image references
   
   ### Functions covered
   
   | Category | Functions |
   |----------|-----------|
   | Point editing | ST_AddPoint, ST_RemovePoint, ST_SetPoint, ST_RemoveRepeatedPoints |
   | Line construction | ST_LineFromMultiPoint, ST_MakeLine, ST_LineMerge, ST_LineSegments |
   | Polygon construction | ST_MakePolygon, ST_Polygon |
   | Collection ops | ST_Collect, ST_Multi, ST_CollectionExtract, ST_ForceCollection |
   | Coordinate manipulation | ST_FlipCoordinates, ST_Force2D, ST_Force_2D, ST_Force3D, ST_Force3DZ, ST_Force3DM, ST_Force4D, ST_ShiftLongitude |
   | Orientation & order | ST_ForcePolygonCCW, ST_ForcePolygonCW, ST_ForceRHR, ST_Normalize, S| Orientation & order | ST_ForcePolygon_P| Orientation & oral style
   | Orientation & order | ST_ForcePolygonCCW, ST_ForcePolygonCW, ST_ForceRHR, ST_Normalize, S| Orientation & order | ST_ForcePolygon_P| Orientation & oral srection arrows, di| Orientation & order | ST_ForcePolygonCCW, ST_ForcePolygonCW, ST_ForceRHR, eg| Orientation & order | ST_ForcePolygonCCW, ST_ForcePolygonCW, ST_ForceRHR,ed for those.
   
   ### Previous PRs i### Previous PRs Phase 1 ### Previous PRs i### Phase 2 (Overlays): #2682
   - Phase 3 (Processing): #2683
   - Phase 4 (Measurement): #2684
   
   Closes #2678 (partial)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [GH-2678] Add SVG visuals for geometry editor functions (Phase 5) [sedona]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #2686:
URL: https://github.com/apache/sedona/pull/2686#discussion_r2886504329


##########
docs/api/flink/Geometry-Editors/ST_ShiftLongitude.md:
##########
@@ -24,6 +24,7 @@ Introduction: Modifies longitude coordinates in geometries, shifting values betw
 !!!note
     This function is only applicable to geometries that use lon/lat coordinate systems.
 
+![ST_ShiftLongitude](../../../image/ST_ShiftLongitude/ST_ShiftLongitude.svg "ST_ShiftLongitude")

Review Comment:
   There should be a blank line after the image before the next section text for consistent Markdown rendering (see e.g. `docs/api/sql/Overlay-Functions/ST_Intersection.md:24-26`). As written, the image and `Format:` line are in the same paragraph; please insert an empty line after the image (and apply the same formatting to the other Geometry-Editors pages updated in this PR).
   ```suggestion
   ![ST_ShiftLongitude](../../../image/ST_ShiftLongitude/ST_ShiftLongitude.svg "ST_ShiftLongitude")
   ```



##########
docs/api/snowflake/vector-data/Geometry-Editors/ST_ShiftLongitude.md:
##########
@@ -24,5 +24,6 @@ Introduction: Modifies longitude coordinates in geometries, shifting values betw
 !!!note
     This function is only applicable to geometries that use lon/lat coordinate systems.
 
+![ST_ShiftLongitude](../../../../image/ST_ShiftLongitude/ST_ShiftLongitude.svg "ST_ShiftLongitude")
 Format: `ST_ShiftLongitude (geom: geometry)`

Review Comment:
   There should be a blank line after the image before the next section text for consistent Markdown rendering (see e.g. `docs/api/sql/Overlay-Functions/ST_Intersection.md:24-26`). As written, the image and `Format:` line are in the same paragraph; please insert an empty line after the image (and apply the same formatting to the other Geometry-Editors pages updated in this PR).



##########
docs/api/sql/Geometry-Editors/ST_ShiftLongitude.md:
##########
@@ -24,6 +24,7 @@ Introduction: Modifies longitude coordinates in geometries, shifting values betw
 !!!note
     This function is only applicable to geometries that use lon/lat coordinate systems.
 
+![ST_ShiftLongitude](../../../image/ST_ShiftLongitude/ST_ShiftLongitude.svg "ST_ShiftLongitude")
 Format: `ST_ShiftLongitude (geom: geometry)`

Review Comment:
   There should be a blank line after the image before the next section text for consistent Markdown rendering (see e.g. `docs/api/sql/Overlay-Functions/ST_Intersection.md:24-26`). As written, the image and `Format:` line are in the same paragraph; please insert an empty line after the image (and apply the same formatting to the other Geometry-Editors pages updated in this PR).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [GH-2678] Add SVG visuals for geometry editor functions (Phase 5) [sedona]

Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu merged PR #2686:
URL: https://github.com/apache/sedona/pull/2686


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org