[teiid-issues] [JBoss JIRA] (TEIID-3300) Add SPATIAL_REF_SYS table

Steven Hawkins (JIRA) issues at jboss.org
Thu Jun 4 09:15:08 EDT 2015


    [ https://issues.jboss.org/browse/TEIID-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13074146#comment-13074146 ] 

Steven Hawkins commented on TEIID-3300:
---------------------------------------

With the current logic no you would not be able to issue an update.

An alternative although not as straight-forward would be to update the engine module or the embedded classpath to read an updated CSV file, rather than the default under org/teiid/metadata/spatial_ref_sys.csv

> Add SPATIAL_REF_SYS table
> -------------------------
>
>                 Key: TEIID-3300
>                 URL: https://issues.jboss.org/browse/TEIID-3300
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Query Engine
>            Reporter: Tom Arnold
>            Assignee: Steven Hawkins
>              Labels: spatial
>             Fix For: 8.11
>
>
> Implement SPATIAL_REF_SYS table (from the OGC Simple Features spec). This table stores metadata about different coordinate systems and how to tranform between them. See [here|http://en.wikipedia.org/wiki/SRID] and [here|http://www.carocoops.org/resources/doc/postgis/x321.html] for details.
> {code}
> CREATE TABLE SPATIAL_REF_SYS
> (
>     SRID      INTEGER   NOT NULL PRIMARY KEY,
>     AUTH_NAME CHARACTER VARYING(256),
>     AUTH_SRID INTEGER,
>     SRTEXT    CHARACTER VARYING(2048)
> )
> {code}
> https://raw.githubusercontent.com/postgis/postgis/svn-trunk/spatial_ref_sys.sql
> This would be used in conjunction with the GeoTools referencing module or Proj4J to transform between coordinate systems in Teiid (ST_Transform function).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list