[postgis-tickets] [PostGIS] #5024: spatial_ref_sys table not updated with new entries

PostGIS trac at osgeo.org
Tue Feb 8 11:31:36 PST 2022


#5024: spatial_ref_sys table not updated with new entries
----------------------+---------------------------
  Reporter:  robe     |      Owner:  strk
      Type:  defect   |     Status:  reopened
  Priority:  medium   |  Milestone:  PostGIS 3.3.0
 Component:  postgis  |    Version:  3.1.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 It seems to me that a far simpler and easier to reason about change would
 be to convert spatial_ref_sys.sql into a CSV file and have two build
 targets, one for spatial_ref_sys_create.sql that gets bundled into the
 CREATE EXTENSION script and one for spatial_ref_sys_update.sql that
 consists up upserts and gets bundled into the ALTER EXTENSION UPDATE
 script.

 People always have the latest entries per the amazon email, and the
 situation is very simple and easily documented: create your custom entries
 out of the way of EPSG (<32600) and out of the way of ESRI. The table
 remains very simple and the logic is very easy to explain.

 I think the latter point (simplicity of impact) is underappreciated WRT
 the proposed view, as even I, a lover of spatial reference systems, feel
 my eyes glaze over as proponents talk about the various cases and possible
 flags and intermediate states of "systems in both tables with a warning in
 the script".

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5024#comment:22>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list