yutannihilation opened a new pull request, #1183:
URL: https://github.com/apache/sedona-db/pull/1183

   This pull request adds `ST_MakeEnvelope()`.
   
   PostGIS: https://postgis.net/docs/ST_MakeEnvelope.html
   Sedona: 
https://sedona.apache.org/latest/api/sql/Geometry-Constructors/ST_MakeEnvelope/
   
   ```
   >>> import sedonadb
   >>> con = sedonadb.connect()
   >>> con.sql("""
   ...     SELECT ST_AsText(ST_MakeEnvelope(1, 2, 3, 4)) AS envelope
   ...     """).to_pandas()
                            envelope
   0  POLYGON((1 2,1 4,3 4,3 2,1 2))
   ```
   
   As this is straightforward, the code is mostly generated by LLM.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to