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

   I'm trying to demonstrate how SedonaDB tracks CRSs and doesn't allow for 
operations with mismatched CRSs.
   
   Doesn't look like this code is properly setting the CRS:
   
   ```python
   cities = sd.sql("""
   SELECT * FROM (VALUES
       ('New York', ST_SetSRID(ST_GeomFromText('POINT(-8238310.24 
4969803.34)'), 3857)),
       ('Los Angeles', ST_SetSRID(ST_GeomFromText('POINT(-13153204.78 
4037636.04)'), 3857)),
       ('Chicago', ST_SetSRID(ST_GeomFromText('POINT(-9757148.04 5138517.44)'), 
3857)))
   AS t(city, geometry)""")
   ```
   
   ```
   cities.schema
   SedonaSchema with 2 fields:
     city: Utf8
     geometry: Binary
   ```
   
   Let me know if you have any suggestions on how to fix the code!


-- 
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