[
https://issues.jboss.org/browse/TEIID-3300?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-3300:
---------------------------------------
With attribution we should be able to borrow the postgis sql, but our internal tables are
typically not actual tables. If we could have the data as a csv dump it would be similar
to other pg logic (PGCatalogMetadataStore) to create a view using texttable and mark it as
materialized. This would be done with the other non-pg system tables in
https://github.com/teiid/teiid/tree/master/engine/src/main/resources/org/...
The system tables that just are backed by live metadata objects are implemented in
DataTierManagerImpl.
Do you want to make an attempt at this first, or should I add something?
Add SPATIAL_REF_SYS table
-------------------------
Key: TEIID-3300
URL:
https://issues.jboss.org/browse/TEIID-3300
Project: Teiid
Issue Type: Feature Request
Reporter: Tom Arnold
Assignee: Steven Hawkins
Labels: spatial
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_s...
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.11#6341)