You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Kristin Cowalcijk (Jira)" <ji...@apache.org> on 2023/07/06 10:05:00 UTC

[jira] [Created] (SEDONA-320) Implement RS_SRID using getIdentifiers

Kristin Cowalcijk created SEDONA-320:
----------------------------------------

             Summary: Implement RS_SRID using getIdentifiers
                 Key: SEDONA-320
                 URL: https://issues.apache.org/jira/browse/SEDONA-320
             Project: Apache Sedona
          Issue Type: Improvement
            Reporter: Kristin Cowalcijk


{{RS_SRID}} was implemented using {{CRS.lookupEpsgCode}}. It can also be implemented using {{IdentifiedObject.getIdentifiers()}}, which is cheaper since it does not need to query the database. I found [this|https://sis.apache.org/faq.html#lookupReliability] on the FAQ of Apache SIS and it seems to be valid for GeoTools as well.

We can add an optional parameter to {{RS_SRID}} to query the EPSG code from the database, while the default behavior is to call {{IdentifiedObject.getIdentifiers()}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)