desruisseaux commented on issue #10260:
URL: https://github.com/apache/iceberg/issues/10260#issuecomment-2255338418

   > In addition, how does one can tell the string is in a certain CRS format 
(maybe by reading the first few characters, or try catch exception handling )?
   
   For WKT 1 (if allowed) versus WKT 2, the library should be able to 
distinguish by itself, because the keywords are not the same. For WKT versus 
SRID, we can skip the first letters until we reach the first punctuation 
character. If it is `:`, this is probably a HTTP, URN or authority code. If it 
is `[` or `(`, this is probably a WKT 1 or 2. Note that WKT allows both `[` and 
`(`, even if in practice I saw only the former.
   


-- 
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-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to