From d928db15d53805d9b728b440079756081961c536 Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Wed, 14 Nov 2018 17:40:42 +0100
Subject: Implement RFC 2: Initial integration of "GDAL SRS barn" work

This work mostly consists of:
- a C++ implementation of the ISO-19111:2018 / OGC Topic 2
  "Referencing by coordinates" classes to represent Datums,
  Coordinate systems, CRSs (Coordinate Reference Systems) and
  Coordinate Operations.
- methods to convert between this C++ modeling and WKT1, WKT2
  and PROJ string representations of those objects
- management and query of a SQLite3 database of CRS and Coordinate Operation definition
- a C API binding part of those capabilities

This is all-in-one squashed commit of the work of
https://github.com/OSGeo/proj.4/pull/1040
---
 data/sql/coordinate_system.sql | 132 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 132 insertions(+)
 create mode 100644 data/sql/coordinate_system.sql

(limited to 'data/sql/coordinate_system.sql')

diff --git a/data/sql/coordinate_system.sql b/data/sql/coordinate_system.sql
new file mode 100644
index 00000000..1e893f65
--- /dev/null
+++ b/data/sql/coordinate_system.sql
@@ -0,0 +1,132 @@
+--- This file has been generated by scripts/build_db.py. DO NOT EDIT !
+
+INSERT INTO "coordinate_system" VALUES('EPSG','1024','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1025','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1026','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1027','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1028','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1029','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1030','vertical',1);
+INSERT INTO "coordinate_system" VALUES('EPSG','1031','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1032','Cartesian',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','1033','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1034','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1035','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1036','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1037','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1038','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1039','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1040','Cartesian',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','1041','Cartesian',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','1042','Cartesian',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','1043','vertical',1);
+INSERT INTO "coordinate_system" VALUES('EPSG','1044','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','1045','Cartesian',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','4400','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4401','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4402','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4403','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4404','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4405','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4406','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4407','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4408','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4409','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4410','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4460','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4461','Cartesian',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','4462','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4463','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4464','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4465','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4466','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4467','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4468','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4469','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4470','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4471','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4472','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4473','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4474','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4475','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4476','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4477','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4478','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4479','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4480','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4481','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4482','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4483','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4484','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4485','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4486','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4487','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4488','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4489','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4490','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4491','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4492','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4493','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4494','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4495','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4496','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4497','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4498','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4499','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4500','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4501','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4502','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4530','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4531','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4532','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4533','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','4534','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6401','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6402','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6403','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6404','spherical',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6405','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6406','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6407','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6408','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6409','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6410','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6411','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6412','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6413','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6414','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6415','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6416','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6417','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6418','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6419','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6420','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6421','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6422','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6423','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6424','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6425','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6426','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6427','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6428','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6429','ellipsoidal',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6430','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6431','ellipsoidal',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6495','vertical',1);
+INSERT INTO "coordinate_system" VALUES('EPSG','6496','vertical',1);
+INSERT INTO "coordinate_system" VALUES('EPSG','6497','vertical',1);
+INSERT INTO "coordinate_system" VALUES('EPSG','6498','vertical',1);
+INSERT INTO "coordinate_system" VALUES('EPSG','6499','vertical',1);
+INSERT INTO "coordinate_system" VALUES('EPSG','6500','Cartesian',3);
+INSERT INTO "coordinate_system" VALUES('EPSG','6501','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6502','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6503','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6504','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6505','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6506','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6507','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6508','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6509','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6510','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6511','Cartesian',2);
+INSERT INTO "coordinate_system" VALUES('EPSG','6512','Cartesian',3);
-- 
cgit v1.2.3

