Ticket #1237 (new defect)

Opened 21 months ago

Last modified 21 months ago

ST_SpatialRefSys data type (sql/mm)

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS Future
Component: postgis Version: trunk
Keywords: Cc:

Description

SQL/MM wants an ST_SpatialRefSys datatype. The type can be constructed by well-known-text representation of the projection or by SRID and can yeld both in output.

For practical purposes such type may be used to parse .prj content in shapefiles and look for corresponding SRID in database.

Change History

Changed 21 months ago by strk

GDAL has such an object, in case we'll make it a mandatory dependency:

 http://www.gdal.org/ogr/classOGRSpatialReference.html

Changed 21 months ago by grin

ST_Distance_Spheroid would be happy to get spheroid out of it and get rid of "ugly" WKT representation. :-)

Note: See TracTickets for help on using tickets.