Changeset: a370b6c9c27d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a370b6c9c27d
Added Files:
        sql/backends/monet5/Tests/pyapi34.sql
        sql/backends/monet5/Tests/pyapi34.stable.err
        sql/backends/monet5/Tests/pyapi34.stable.out
        sql/test/BugTracker-2017/Tests/crash-dce.Bug-6330.stable.out.int128
        
sql/test/BugTracker-2017/Tests/crash-select_after_MAL_error.Bug-6332.stable.out.int128
        sql/test/BugTracker-2017/Tests/default-insert-update.Bug-6249.sql
        sql/test/BugTracker-2017/Tests/default-insert-update.Bug-6249.stable.err
        sql/test/BugTracker-2017/Tests/default-insert-update.Bug-6249.stable.out
Removed Files:
        NT/updatecodes.py
        sql/test/pg_regress/Tests/oid.stable.out.oid32
        sql/test/pg_regress/Tests/without_oid.stable.out.oid32
Modified Files:
        gdk/gdk_hash.c
        gdk/gdk_imprints.c
        geom/monetdb5/geom_upgrade.c
        monetdb5/optimizer/opt_mergetable.c
        sql/backends/monet5/Tests/All
        sql/backends/monet5/UDF/pyapi/connection.c
        sql/backends/monet5/UDF/pyapi/conversion.c
        sql/backends/monet5/UDF/pyapi/emit.c
        sql/backends/monet5/UDF/pyapi/pyheader.h
        sql/backends/monet5/UDF/pyapi/pytypes.c
        sql/backends/monet5/UDF/pyapi/pytypes.h
        sql/backends/monet5/UDF/pyapi/type_conversion.c
        sql/backends/monet5/UDF/pyapi/type_conversion.h
        sql/backends/monet5/sql_execute.c
        sql/backends/monet5/sql_gencode.c
        sql/backends/monet5/sql_upgrades.c
        sql/server/rel_dump.c
        sql/server/rel_exp.c
        sql/server/rel_exp.h
        sql/server/rel_optimizer.c
        sql/server/rel_schema.c
        sql/server/rel_updates.c
        sql/server/sql_parser.y
        sql/storage/bat/bat_table.c
        sql/storage/store.c
        sql/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.stable.out
        
sql/test/BugTracker-2009/Tests/use_order_column_first.SF-2686008.stable.out
        
sql/test/BugTracker-2010/Tests/LIMIT_OFFSET_big-endian.Bug-2622.stable.out
        
sql/test/BugTracker-2010/Tests/ORDER_BY_over_UNION_EXCEPT_INTERSECT.Bug-2606.stable.out
        sql/test/BugTracker-2010/Tests/limit_in_prepare.Bug-2552.sql
        sql/test/BugTracker-2010/Tests/limit_in_prepare.Bug-2552.stable.out
        sql/test/BugTracker-2011/Tests/count-count-distinct.Bug-2808.sql
        sql/test/BugTracker-2011/Tests/crash_on_alias.Bug-2798.stable.out
        sql/test/BugTracker-2011/Tests/crash_on_alias.Bug-2798.stable.out.int128
        
sql/test/BugTracker-2012/Tests/aggregate_vs_positional_column_crash.Bug-3085.sql
        sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090.sql
        sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090.stable.out
        sql/test/BugTracker-2013/Tests/qualified_aggrname.Bug-3332.sql
        sql/test/BugTracker-2013/Tests/qualified_aggrname.Bug-3332.stable.out
        sql/test/BugTracker-2013/Tests/rangejoin_optimizer.Bug-3411.stable.out
        sql/test/BugTracker-2013/Tests/swapped_likejoin.Bug-3375.sql
        sql/test/BugTracker-2013/Tests/swapped_likejoin.Bug-3375.stable.out
        sql/test/BugTracker-2014/Tests/select-having.Bug-3458.sql
        sql/test/BugTracker-2015/Tests/cardinality.Bug-3761.sql
        sql/test/BugTracker-2015/Tests/cardinality.Bug-3761.stable.out
        sql/test/BugTracker-2015/Tests/crash.Bug-3736.stable.out
        sql/test/BugTracker-2015/Tests/large_join.Bug-3809.stable.out
        
sql/test/BugTracker-2015/Tests/quantile_function_resolution.Bug-3773.stable.out
        sql/test/BugTracker-2015/Tests/schema_view.Bug-3708.stable.out
        
sql/test/BugTracker-2016/Tests/memory-consumption-query-PLAN-25joins.Bug-3972.stable.out
        sql/test/BugTracker-2016/Tests/merge_project.Bug-3955.stable.out
        sql/test/BugTracker-2017/Tests/All
        sql/test/BugTracker-2017/Tests/crash-dce.Bug-6330.stable.err
        sql/test/BugTracker-2017/Tests/crash-dce.Bug-6330.stable.out
        
sql/test/BugTracker-2017/Tests/crash-select_after_MAL_error.Bug-6332.stable.err
        
sql/test/BugTracker-2017/Tests/crash-select_after_MAL_error.Bug-6332.stable.out
        sql/test/BugTracker-2017/Tests/nestedoperators.Bug-6292.stable.err
        sql/test/BugTracker/Tests/explain.SF-1739353.stable.out
        sql/test/BugTracker/Tests/jdbc_no_debug.SF-1739356.stable.out
        sql/test/Tests/order_by_complex_exp.stable.out
        sql/test/bugs/Tests/crash_order_by.sql
        sql/test/bugs/Tests/simple_view.sql
        sql/test/bugs/insert_delete-bug-sf-904025.sql
        sql/test/emptydb-upgrade-chain-hge/Tests/check.stable.out.int128
        sql/test/emptydb-upgrade-chain/Tests/check.stable.out
        sql/test/emptydb-upgrade-chain/Tests/check.stable.out.32bit
        sql/test/emptydb-upgrade-chain/Tests/check.stable.out.int128
        sql/test/emptydb-upgrade-hge/Tests/check.stable.out.int128
        sql/test/emptydb-upgrade/Tests/check.stable.out
        sql/test/emptydb-upgrade/Tests/check.stable.out.32bit
        sql/test/emptydb-upgrade/Tests/check.stable.out.int128
        sql/test/emptydb/Tests/check.stable.out
        sql/test/emptydb/Tests/check.stable.out.32bit
        sql/test/emptydb/Tests/check.stable.out.int128
        sql/test/mergetables/Tests/part-elim.stable.out
        sql/test/pg_regress/Tests/alter_table.stable.err
        sql/test/pg_regress/Tests/alter_table.stable.out
        sql/test/pg_regress/Tests/insert.stable.err
        sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128
        tools/merovingian/client/monetdb.c
        tools/merovingian/daemon/merovingian.c
        tools/merovingian/utils/properties.c
Branch: data-vaults
Log Message:

Merge with default


diffs (truncated from 25193 to 300 lines):

diff --git a/NT/updatecodes.py b/NT/updatecodes.py
deleted file mode 100755
--- a/NT/updatecodes.py
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/python
-
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0.  If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# Copyright 1997 - July 2008 CWI, August 2008 - 2017 MonetDB B.V.
-
-import subprocess
-import re
-
-prcdre = re.compile('"ProductCode" = "8:{(.*)}"')
-pacdre = re.compile('"PackageCode" = "8:{(.*)}"')
-
-def update(f):
-    p = subprocess.Popen(['uuidgen'], stdout = subprocess.PIPE,
-                         universal_newlines = True)
-    u, e = p.communicate()
-    productcode = u.strip('\n').upper()
-    p = subprocess.Popen(['uuidgen'], stdout = subprocess.PIPE,
-                         universal_newlines = True)
-    u, e = p.communicate()
-    packagecode = u.strip('\n').upper()
-    fp = open(f)
-    data = fp.read()
-    fp.close()
-    repl = '"ProductCode" = "8:{%s}"' % productcode
-    data = prcdre.sub(repl, data)
-    repl = '"PackageCode" = "8:{%s}"' % packagecode
-    data = pacdre.sub(repl, data)
-    fp = open(f, 'w')
-    fp.write(data)
-    fp.close()
-
-if __name__ == '__main__':
-    import sys
-    for f in sys.argv[1:]:
-        update(f)
diff --git a/gdk/gdk_hash.c b/gdk/gdk_hash.c
--- a/gdk/gdk_hash.c
+++ b/gdk/gdk_hash.c
@@ -202,17 +202,16 @@ BATcheckhash(BAT *b)
                Hash *h;
                Heap *hp;
                const char *nme = BBP_physical(b->batCacheid);
-               const char *ext = b->batCacheid > 0 ? "thash" : "hhash";
                int fd;
 
                b->thash = NULL;
                if ((hp = GDKzalloc(sizeof(*hp))) != NULL &&
                    (hp->farmid = BBPselectfarm(b->batRole, b->ttype, 
hashheap)) >= 0 &&
                    (hp->filename = GDKmalloc(strlen(nme) + 12)) != NULL) {
-                       sprintf(hp->filename, "%s.%s", nme, ext);
+                       sprintf(hp->filename, "%s.thash", nme);
 
                        /* check whether a persisted hash can be found */
-                       if ((fd = GDKfdlocate(hp->farmid, nme, "rb+", ext)) >= 
0) {
+                       if ((fd = GDKfdlocate(hp->farmid, nme, "rb+", "thash")) 
>= 0) {
                                size_t hdata[HASH_HEADER_SIZE];
                                struct stat st;
 
@@ -226,7 +225,7 @@ BATcheckhash(BAT *b)
                                    hdata[4] == (size_t) BATcount(b) &&
                                    fstat(fd, &st) == 0 &&
                                    st.st_size >= (off_t) (hp->size = hp->free 
= (hdata[1] + hdata[2]) * hdata[3] + HASH_HEADER_SIZE * SIZEOF_SIZE_T) &&
-                                   HEAPload(hp, nme, ext, 0) == GDK_SUCCEED) {
+                                   HEAPload(hp, nme, "thash", 0) == 
GDK_SUCCEED) {
                                        h->lim = (BUN) hdata[1];
                                        h->type = ATOMtype(b->ttype);
                                        h->mask = (BUN) (hdata[2] - 1);
@@ -260,7 +259,7 @@ BATcheckhash(BAT *b)
                                GDKfree(h);
                                close(fd);
                                /* unlink unusable file */
-                               GDKunlink(hp->farmid, BATDIR, nme, ext);
+                               GDKunlink(hp->farmid, BATDIR, nme, "thash");
                        }
                        GDKfree(hp->filename);
                }
@@ -338,7 +337,6 @@ BAThash(BAT *b, BUN masksize)
                Hash *h = NULL;
                Heap *hp;
                const char *nme = BBP_physical(b->batCacheid);
-               const char *ext = b->batCacheid > 0 ? "thash" : "hhash";
                BATiter bi = bat_iterator(b);
 
                ALGODEBUG fprintf(stderr, "#BAThash: create hash(%s#" BUNFMT 
");\n", BATgetId(b), BATcount(b));
@@ -350,7 +348,7 @@ BAThash(BAT *b, BUN masksize)
                        return GDK_FAIL;
                }
                hp->dirty = TRUE;
-               sprintf(hp->filename, "%s.%s", nme, ext);
+               sprintf(hp->filename, "%s.thash", nme);
 
                /* cnt = 0, hopefully there is a proper capacity from
                 * which we can derive enough information */
diff --git a/gdk/gdk_imprints.c b/gdk/gdk_imprints.c
--- a/gdk/gdk_imprints.c
+++ b/gdk/gdk_imprints.c
@@ -208,7 +208,6 @@ BATcheckimprints(BAT *b)
                Imprints *imprints;
                Heap *hp;
                str nme = BBP_physical(b->batCacheid);
-               const char *ext = b->batCacheid > 0 ? "timprints" : "himprints";
 
                b->timprints = NULL;
                if ((hp = GDKzalloc(sizeof(Heap))) != NULL &&
@@ -216,10 +215,10 @@ BATcheckimprints(BAT *b)
                    (hp->filename = GDKmalloc(strlen(nme) + 12)) != NULL) {
                        int fd;
 
-                       sprintf(hp->filename, "%s.%s", nme, ext);
+                       sprintf(hp->filename, "%s.timprints", nme);
                        /* check whether a persisted imprints index
                         * can be found */
-                       if ((fd = GDKfdlocate(hp->farmid, nme, "rb", ext)) >= 
0) {
+                       if ((fd = GDKfdlocate(hp->farmid, nme, "rb", 
"timprints")) >= 0) {
                                size_t hdata[4];
                                struct stat st;
                                size_t pages;
@@ -240,7 +239,7 @@ BATcheckimprints(BAT *b)
                                                           hdata[2] * 
sizeof(cchdc_t) +
                                                           sizeof(uint64_t) /* 
padding for alignment */
                                                           + 4 * SIZEOF_SIZE_T) 
&&
-                                   HEAPload(hp, nme, b->batCacheid > 0 ? 
"timprints" : "himprints", 0) == GDK_SUCCEED) {
+                                   HEAPload(hp, nme, "timprints", 0) == 
GDK_SUCCEED) {
                                        /* usable */
                                        imprints->imprints = hp;
                                        imprints->bits = (bte) (hdata[0] & 
0xFF);
@@ -261,7 +260,7 @@ BATcheckimprints(BAT *b)
                                GDKfree(imprints);
                                close(fd);
                                /* unlink unusable file */
-                               GDKunlink(hp->farmid, BATDIR, nme, ext);
+                               GDKunlink(hp->farmid, BATDIR, nme, "timprints");
                        }
                        GDKfree(hp->filename);
                }
@@ -342,8 +341,7 @@ BATimprints(BAT *b)
                        MT_lock_unset(&GDKimprintsLock(b->batCacheid));
                        return GDK_FAIL;
                }
-               sprintf(imprints->imprints->filename, "%s.%cimprints", nme,
-                       b->batCacheid > 0 ? 't' : 'h');
+               sprintf(imprints->imprints->filename, "%s.timprints", nme);
                pages = (((size_t) BATcount(b) * b->twidth) + IMPS_PAGE - 1) / 
IMPS_PAGE;
                imprints->imprints->farmid = BBPselectfarm(b->batRole, b->ttype,
                                                           imprintsheap);
@@ -472,9 +470,9 @@ BATimprints(BAT *b)
                ((size_t *) imprints->imprints->base)[2] = (size_t) 
imprints->dictcnt;
                ((size_t *) imprints->imprints->base)[3] = (size_t) BATcount(b);
                if ((BBP_status(b->batCacheid) & BBPEXISTING) &&
-                   HEAPsave(imprints->imprints, nme, b->batCacheid > 0 ? 
"timprints" : "himprints") == GDK_SUCCEED &&
+                   HEAPsave(imprints->imprints, nme, "timprints") == 
GDK_SUCCEED &&
                    (fd = GDKfdlocate(imprints->imprints->farmid, nme, "rb+",
-                                     b->batCacheid > 0 ? "timprints" : 
"himprints")) >= 0) {
+                                     "timprints")) >= 0) {
                        ALGODEBUG fprintf(stderr, "#BATimprints: persisting 
imprints\n");
                        /* add version number */
                        ((size_t *) imprints->imprints->base)[0] |= (size_t) 
IMPRINTS_VERSION << 8;
@@ -610,7 +608,7 @@ IMPSremove(BAT *b)
                    * (size_t *) imprints->imprints->base & (1 << 16))
                        fprintf(stderr, "#IMPSremove: removing persisted 
imprints\n");
                if (HEAPdelete(imprints->imprints, BBP_physical(b->batCacheid),
-                              b->batCacheid > 0 ? "timprints" : "himprints"))
+                              "timprints"))
                        IODEBUG fprintf(stderr, "#IMPSremove(%s): imprints 
heap\n", BATgetId(b));
 
                GDKfree(imprints->imprints);
diff --git a/geom/monetdb5/geom_upgrade.c b/geom/monetdb5/geom_upgrade.c
--- a/geom/monetdb5/geom_upgrade.c
+++ b/geom/monetdb5/geom_upgrade.c
@@ -402,14 +402,14 @@ geom_sql_upgrade(int olddb)
                        "4194|EPSG|4194|GEOGCS[\"Qornoq 
1927\",DATUM[\"Qornoq_1927\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[163.511,127.533,-159.789,0,0,0.814,-0.6],AUTHORITY[\"EPSG\",\"6194\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4194\"]]|+proj=longlat
 +ellps=intl +towgs84=163.511,127.533,-159.789,0,0,0.814,-0.6 +no_defs\n"
                        "4195|EPSG|4195|GEOGCS[\"Scoresbysund 
1952\",DATUM[\"Scoresbysund_1952\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[105,326,-102.5,0,0,0.814,-0.6],AUTHORITY[\"EPSG\",\"6195\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4195\"]]|+proj=longlat
 +ellps=intl +towgs84=105,326,-102.5,0,0,0.814,-0.6 +no_defs\n"
                        "4196|EPSG|4196|GEOGCS[\"Ammassalik 
1958\",DATUM[\"Ammassalik_1958\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-45,417,-3.5,0,0,0.814,-0.6],AUTHORITY[\"EPSG\",\"6196\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4196\"]]|+proj=longlat
 +ellps=intl +towgs84=-45,417,-3.5,0,0,0.814,-0.6 +no_defs\n"
-                                               
"4197|EPSG|4197|GEOGCS[\"Garoua\",DATUM[\"Garoua\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],AUTHORITY[\"EPSG\",\"6197\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4197\"]]|+proj=longlat
 +ellps=clrk80 +no_defs\n"
-                                               
"4198|EPSG|4198|GEOGCS[\"Kousseri\",DATUM[\"Kousseri\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],AUTHORITY[\"EPSG\",\"6198\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4198\"]]|+proj=longlat
 +ellps=clrk80 +no_defs\n"
-                                               "4199|EPSG|4199|GEOGCS[\"Egypt 
1930\",DATUM[\"Egypt_1930\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],AUTHORITY[\"EPSG\",\"6199\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4199\"]]|+proj=longlat
 +ellps=intl +no_defs\n"
-                                               
"4200|EPSG|4200|GEOGCS[\"Pulkovo 
1995\",DATUM[\"Pulkovo_1995\",SPHEROID[\"Krassowsky 
1940\",6378245,298.3,AUTHORITY[\"EPSG\",\"7024\"]],TOWGS84[24.82,-131.21,-82.66,-0,-0,0.16,-0.12],AUTHORITY[\"EPSG\",\"6200\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4200\"]]|+proj=longlat
 +ellps=krass +towgs84=24.82,-131.21,-82.66,-0,-0,0.16,-0.12 +no_defs\n"
-                                               
"4201|EPSG|4201|GEOGCS[\"Adindan\",DATUM[\"Adindan\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-166,-15,204,0,0,0,0],AUTHORITY[\"EPSG\",\"6201\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4201\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-166,-15,204,0,0,0,0 +no_defs\n"
-                                               
"4202|EPSG|4202|GEOGCS[\"AGD66\",DATUM[\"Australian_Geodetic_Datum_1966\",SPHEROID[\"Australian
 National 
Spheroid\",6378160,298.25,AUTHORITY[\"EPSG\",\"7003\"]],TOWGS84[-117.808,-51.536,137.784,0.303,0.446,0.234,-0.29],AUTHORITY[\"EPSG\",\"6202\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4202\"]]|+proj=longlat
 +ellps=aust_SA +towgs84=-117.808,-51.536,137.784,0.303,0.446,0.234,-0.29 
+no_defs\n"
-                                               
"4203|EPSG|4203|GEOGCS[\"AGD84\",DATUM[\"Australian_Geodetic_Datum_1984\",SPHEROID[\"Australian
 National 
Spheroid\",6378160,298.25,AUTHORITY[\"EPSG\",\"7003\"]],TOWGS84[-134,-48,149,0,0,0,0],AUTHORITY[\"EPSG\",\"6203\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4203\"]]|+proj=longlat
 +ellps=aust_SA +towgs84=-134,-48,149,0,0,0,0 +no_defs\n"
-                                               "4204|EPSG|4204|GEOGCS[\"Ain el 
Abd\",DATUM[\"Ain_el_Abd_1970\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-143,-236,7,0,0,0,0],AUTHORITY[\"EPSG\",\"6204\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4204\"]]|+proj=longlat
 +ellps=intl +towgs84=-143,-236,7,0,0,0,0 +no_defs\n"
+                       
"4197|EPSG|4197|GEOGCS[\"Garoua\",DATUM[\"Garoua\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],AUTHORITY[\"EPSG\",\"6197\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4197\"]]|+proj=longlat
 +ellps=clrk80 +no_defs\n"
+                       
"4198|EPSG|4198|GEOGCS[\"Kousseri\",DATUM[\"Kousseri\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],AUTHORITY[\"EPSG\",\"6198\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4198\"]]|+proj=longlat
 +ellps=clrk80 +no_defs\n"
+                       "4199|EPSG|4199|GEOGCS[\"Egypt 
1930\",DATUM[\"Egypt_1930\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],AUTHORITY[\"EPSG\",\"6199\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4199\"]]|+proj=longlat
 +ellps=intl +no_defs\n"
+                       "4200|EPSG|4200|GEOGCS[\"Pulkovo 
1995\",DATUM[\"Pulkovo_1995\",SPHEROID[\"Krassowsky 
1940\",6378245,298.3,AUTHORITY[\"EPSG\",\"7024\"]],TOWGS84[24.82,-131.21,-82.66,-0,-0,0.16,-0.12],AUTHORITY[\"EPSG\",\"6200\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4200\"]]|+proj=longlat
 +ellps=krass +towgs84=24.82,-131.21,-82.66,-0,-0,0.16,-0.12 +no_defs\n"
+                       
"4201|EPSG|4201|GEOGCS[\"Adindan\",DATUM[\"Adindan\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-166,-15,204,0,0,0,0],AUTHORITY[\"EPSG\",\"6201\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4201\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-166,-15,204,0,0,0,0 +no_defs\n"
+                       
"4202|EPSG|4202|GEOGCS[\"AGD66\",DATUM[\"Australian_Geodetic_Datum_1966\",SPHEROID[\"Australian
 National 
Spheroid\",6378160,298.25,AUTHORITY[\"EPSG\",\"7003\"]],TOWGS84[-117.808,-51.536,137.784,0.303,0.446,0.234,-0.29],AUTHORITY[\"EPSG\",\"6202\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4202\"]]|+proj=longlat
 +ellps=aust_SA +towgs84=-117.808,-51.536,137.784,0.303,0.446,0.234,-0.29 
+no_defs\n"
+                       
"4203|EPSG|4203|GEOGCS[\"AGD84\",DATUM[\"Australian_Geodetic_Datum_1984\",SPHEROID[\"Australian
 National 
Spheroid\",6378160,298.25,AUTHORITY[\"EPSG\",\"7003\"]],TOWGS84[-134,-48,149,0,0,0,0],AUTHORITY[\"EPSG\",\"6203\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4203\"]]|+proj=longlat
 +ellps=aust_SA +towgs84=-134,-48,149,0,0,0,0 +no_defs\n"
+                       "4204|EPSG|4204|GEOGCS[\"Ain el 
Abd\",DATUM[\"Ain_el_Abd_1970\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-143,-236,7,0,0,0,0],AUTHORITY[\"EPSG\",\"6204\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4204\"]]|+proj=longlat
 +ellps=intl +towgs84=-143,-236,7,0,0,0,0 +no_defs\n"
                        
"4205|EPSG|4205|GEOGCS[\"Afgooye\",DATUM[\"Afgooye\",SPHEROID[\"Krassowsky 
1940\",6378245,298.3,AUTHORITY[\"EPSG\",\"7024\"]],TOWGS84[-43,-163,45,0,0,0,0],AUTHORITY[\"EPSG\",\"6205\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4205\"]]|+proj=longlat
 +ellps=krass +towgs84=-43,-163,45,0,0,0,0 +no_defs\n"
                        
"4206|EPSG|4206|GEOGCS[\"Agadez\",DATUM[\"Agadez\",SPHEROID[\"Clarke 1880 
(IGN)\",6378249.2,293.4660212936265,AUTHORITY[\"EPSG\",\"7011\"]],AUTHORITY[\"EPSG\",\"6206\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4206\"]]|+proj=longlat
 +a=6378249.2 +b=6356515 +no_defs\n"
                        
"4207|EPSG|4207|GEOGCS[\"Lisbon\",DATUM[\"Lisbon_1937\",SPHEROID[\"International
 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-304.046,-60.576,103.64,0,0,0,0],AUTHORITY[\"EPSG\",\"6207\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4207\"]]|+proj=longlat
 +ellps=intl +towgs84=-304.046,-60.576,103.64,0,0,0,0 +no_defs\n"
@@ -438,7 +438,8 @@ geom_sql_upgrade(int olddb)
                        
"4231|EPSG|4231|GEOGCS[\"ED87\",DATUM[\"European_Datum_1987\",SPHEROID[\"International
 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-83.11,-97.38,-117.22,0.00569291,-0.0446976,0.0442851,0.1218],AUTHORITY[\"EPSG\",\"6231\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4231\"]]|+proj=longlat
 +ellps=intl 
+towgs84=-83.11,-97.38,-117.22,0.00569291,-0.0446976,0.0442851,0.1218 
+no_defs\n"
                        
"4232|EPSG|4232|GEOGCS[\"Fahud\",DATUM[\"Fahud\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-346,-1,224,0,0,0,0],AUTHORITY[\"EPSG\",\"6232\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4232\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-346,-1,224,0,0,0,0 +no_defs\n"
                        "4233|EPSG|4233|GEOGCS[\"Gandajika 
1970\",DATUM[\"Gandajika_1970\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-133,-321,50,0,0,0,0],AUTHORITY[\"EPSG\",\"6233\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4233\"]]|+proj=longlat
 +ellps=intl +towgs84=-133,-321,50,0,0,0,0 +no_defs\n"
-                       
"4234|EPSG|4234|GEOGCS[\"Garoua\",DATUM[\"Garoua\",SPHEROID[\"Clarke 1880 
(IGN)\",6378249.2,293.4660212936265,AUTHORITY[\"EPSG\",\"7011\"]],AUTHORITY[\"EPSG\",\"6234\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4234\"]]|+proj=longlat
 +a=6378249.2 +b=6356515 +no_defs\n"
+                       
"4234|EPSG|4234|GEOGCS[\"Garoua\",DATUM[\"Garoua\",SPHEROID[\"Clarke 1880 
(IGN)\",6378249.2,293.4660212936265,AUTHORITY[\"EPSG\",\"7011\"]],AUTHORITY[\"EPSG\",\"6234\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4234\"]]|+proj=longlat
 +a=6378249.2 +b=6356515 +no_defs\n");
+       pos += snprintf(buf + pos, bufsize - pos,
                        "4235|EPSG|4235|GEOGCS[\"Guyane 
Francaise\",DATUM[\"Guyane_Francaise\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],AUTHORITY[\"EPSG\",\"6235\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4235\"]]|+proj=longlat
 +ellps=intl +no_defs\n"
                        "4236|EPSG|4236|GEOGCS[\"Hu Tzu Shan 
1950\",DATUM[\"Hu_Tzu_Shan_1950\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-637,-549,-203,0,0,0,0],AUTHORITY[\"EPSG\",\"6236\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4236\"]]|+proj=longlat
 +ellps=intl +towgs84=-637,-549,-203,0,0,0,0 +no_defs\n"
                        
"4237|EPSG|4237|GEOGCS[\"HD72\",DATUM[\"Hungarian_Datum_1972\",SPHEROID[\"GRS 
1967\",6378160,298.247167427,AUTHORITY[\"EPSG\",\"7036\"]],TOWGS84[52.17,-71.82,-14.9,0,0,0,0],AUTHORITY[\"EPSG\",\"6237\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4237\"]]|+proj=longlat
 +ellps=GRS67 +towgs84=52.17,-71.82,-14.9,0,0,0,0 +no_defs\n"
@@ -457,14 +458,14 @@ geom_sql_upgrade(int olddb)
                        
"4250|EPSG|4250|GEOGCS[\"Leigon\",DATUM[\"Leigon\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-130,29,364,0,0,0,0],AUTHORITY[\"EPSG\",\"6250\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4250\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-130,29,364,0,0,0,0 +no_defs\n"
                        "4251|EPSG|4251|GEOGCS[\"Liberia 
1964\",DATUM[\"Liberia_1964\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-90,40,88,0,0,0,0],AUTHORITY[\"EPSG\",\"6251\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4251\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-90,40,88,0,0,0,0 +no_defs\n"
                        
"4252|EPSG|4252|GEOGCS[\"Lome\",DATUM[\"Lome\",SPHEROID[\"Clarke 1880 
(IGN)\",6378249.2,293.4660212936265,AUTHORITY[\"EPSG\",\"7011\"]],AUTHORITY[\"EPSG\",\"6252\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4252\"]]|+proj=longlat
 +a=6378249.2 +b=6356515 +no_defs\n"
-                                               "4253|EPSG|4253|GEOGCS[\"Luzon 
1911\",DATUM[\"Luzon_1911\",SPHEROID[\"Clarke 
1866\",6378206.4,294.9786982139006,AUTHORITY[\"EPSG\",\"7008\"]],TOWGS84[-133,-77,-51,0,0,0,0],AUTHORITY[\"EPSG\",\"6253\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4253\"]]|+proj=longlat
 +ellps=clrk66 +towgs84=-133,-77,-51,0,0,0,0 +no_defs\n"
-                                               "4254|EPSG|4254|GEOGCS[\"Hito 
XVIII 1963\",DATUM[\"Hito_XVIII_1963\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[16,196,93,0,0,0,0],AUTHORITY[\"EPSG\",\"6254\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4254\"]]|+proj=longlat
 +ellps=intl +towgs84=16,196,93,0,0,0,0 +no_defs\n"
-                                               "4255|EPSG|4255|GEOGCS[\"Herat 
North\",DATUM[\"Herat_North\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-333,-222,114,0,0,0,0],AUTHORITY[\"EPSG\",\"6255\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4255\"]]|+proj=longlat
 +ellps=intl +towgs84=-333,-222,114,0,0,0,0 +no_defs\n"
-                                               "4256|EPSG|4256|GEOGCS[\"Mahe 
1971\",DATUM[\"Mahe_1971\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[41,-220,-134,0,0,0,0],AUTHORITY[\"EPSG\",\"6256\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4256\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=41,-220,-134,0,0,0,0 +no_defs\n"
-                                               
"4257|EPSG|4257|GEOGCS[\"Makassar\",DATUM[\"Makassar\",SPHEROID[\"Bessel 
1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],TOWGS84[-587.8,519.75,145.76,0,0,0,0],AUTHORITY[\"EPSG\",\"6257\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4257\"]]|+proj=longlat
 +ellps=bessel +towgs84=-587.8,519.75,145.76,0,0,0,0 +no_defs\n"
-                                               
"4258|EPSG|4258|GEOGCS[\"ETRS89\",DATUM[\"European_Terrestrial_Reference_System_1989\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6258\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4258\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
-                                               
"4259|EPSG|4259|GEOGCS[\"Malongo 
1987\",DATUM[\"Malongo_1987\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-254.1,-5.36,-100.29,0,0,0,0],AUTHORITY[\"EPSG\",\"6259\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4259\"]]|+proj=longlat
 +ellps=intl +towgs84=-254.1,-5.36,-100.29,0,0,0,0 +no_defs\n"
-                                               
"4260|EPSG|4260|GEOGCS[\"Manoca\",DATUM[\"Manoca\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-70.9,-151.8,-41.4,0,0,0,0],AUTHORITY[\"EPSG\",\"6260\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4260\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-70.9,-151.8,-41.4,0,0,0,0 +no_defs\n"
+                       "4253|EPSG|4253|GEOGCS[\"Luzon 
1911\",DATUM[\"Luzon_1911\",SPHEROID[\"Clarke 
1866\",6378206.4,294.9786982139006,AUTHORITY[\"EPSG\",\"7008\"]],TOWGS84[-133,-77,-51,0,0,0,0],AUTHORITY[\"EPSG\",\"6253\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4253\"]]|+proj=longlat
 +ellps=clrk66 +towgs84=-133,-77,-51,0,0,0,0 +no_defs\n"
+                       "4254|EPSG|4254|GEOGCS[\"Hito XVIII 
1963\",DATUM[\"Hito_XVIII_1963\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[16,196,93,0,0,0,0],AUTHORITY[\"EPSG\",\"6254\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4254\"]]|+proj=longlat
 +ellps=intl +towgs84=16,196,93,0,0,0,0 +no_defs\n"
+                       "4255|EPSG|4255|GEOGCS[\"Herat 
North\",DATUM[\"Herat_North\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-333,-222,114,0,0,0,0],AUTHORITY[\"EPSG\",\"6255\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4255\"]]|+proj=longlat
 +ellps=intl +towgs84=-333,-222,114,0,0,0,0 +no_defs\n"
+                       "4256|EPSG|4256|GEOGCS[\"Mahe 
1971\",DATUM[\"Mahe_1971\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[41,-220,-134,0,0,0,0],AUTHORITY[\"EPSG\",\"6256\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4256\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=41,-220,-134,0,0,0,0 +no_defs\n"
+                       
"4257|EPSG|4257|GEOGCS[\"Makassar\",DATUM[\"Makassar\",SPHEROID[\"Bessel 
1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],TOWGS84[-587.8,519.75,145.76,0,0,0,0],AUTHORITY[\"EPSG\",\"6257\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4257\"]]|+proj=longlat
 +ellps=bessel +towgs84=-587.8,519.75,145.76,0,0,0,0 +no_defs\n"
+                       
"4258|EPSG|4258|GEOGCS[\"ETRS89\",DATUM[\"European_Terrestrial_Reference_System_1989\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6258\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4258\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
+                       "4259|EPSG|4259|GEOGCS[\"Malongo 
1987\",DATUM[\"Malongo_1987\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-254.1,-5.36,-100.29,0,0,0,0],AUTHORITY[\"EPSG\",\"6259\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4259\"]]|+proj=longlat
 +ellps=intl +towgs84=-254.1,-5.36,-100.29,0,0,0,0 +no_defs\n"
+                       
"4260|EPSG|4260|GEOGCS[\"Manoca\",DATUM[\"Manoca\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-70.9,-151.8,-41.4,0,0,0,0],AUTHORITY[\"EPSG\",\"6260\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4260\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-70.9,-151.8,-41.4,0,0,0,0 +no_defs\n"
                        
"4261|EPSG|4261|GEOGCS[\"Merchich\",DATUM[\"Merchich\",SPHEROID[\"Clarke 1880 
(IGN)\",6378249.2,293.4660212936265,AUTHORITY[\"EPSG\",\"7011\"]],TOWGS84[31,146,47,0,0,0,0],AUTHORITY[\"EPSG\",\"6261\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4261\"]]|+proj=longlat
 +a=6378249.2 +b=6356515 +towgs84=31,146,47,0,0,0,0 +no_defs\n"
                        
"4262|EPSG|4262|GEOGCS[\"Massawa\",DATUM[\"Massawa\",SPHEROID[\"Bessel 
1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],TOWGS84[639,405,60,0,0,0,0],AUTHORITY[\"EPSG\",\"6262\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4262\"]]|+proj=longlat
 +ellps=bessel +towgs84=639,405,60,0,0,0,0 +no_defs\n"
                        
"4263|EPSG|4263|GEOGCS[\"Minna\",DATUM[\"Minna\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-92,-93,122,0,0,0,0],AUTHORITY[\"EPSG\",\"6263\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4263\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-92,-93,122,0,0,0,0 +no_defs\n"
@@ -543,13 +544,13 @@ geom_sql_upgrade(int olddb)
                        
"4608|EPSG|4608|GEOGCS[\"NAD27(76)\",DATUM[\"North_American_Datum_1927_1976\",SPHEROID[\"Clarke
 
1866\",6378206.4,294.9786982139006,AUTHORITY[\"EPSG\",\"7008\"]],AUTHORITY[\"EPSG\",\"6608\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4608\"]]|+proj=longlat
 +ellps=clrk66 +no_defs\n"
                        
"4609|EPSG|4609|GEOGCS[\"NAD27(CGQ77)\",DATUM[\"North_American_Datum_1927_CGQ77\",SPHEROID[\"Clarke
 
1866\",6378206.4,294.9786982139006,AUTHORITY[\"EPSG\",\"7008\"]],AUTHORITY[\"EPSG\",\"6609\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4609\"]]|+proj=longlat
 +ellps=clrk66 +no_defs\n"
                        "4610|EPSG|4610|GEOGCS[\"Xian 
1980\",DATUM[\"Xian_1980\",SPHEROID[\"IAG 
1975\",6378140,298.257,AUTHORITY[\"EPSG\",\"7049\"]],AUTHORITY[\"EPSG\",\"6610\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4610\"]]|+proj=longlat
 +a=6378140 +b=6356755.288157528 +no_defs\n"
-                                               "4611|EPSG|4611|GEOGCS[\"Hong 
Kong 1980\",DATUM[\"Hong_Kong_1980\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-162.619,-276.959,-161.764,0.067753,-2.24365,-1.15883,-1.09425],AUTHORITY[\"EPSG\",\"6611\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4611\"]]|+proj=longlat
 +ellps=intl 
+towgs84=-162.619,-276.959,-161.764,0.067753,-2.24365,-1.15883,-1.09425 
+no_defs\n"
-                                               
"4612|EPSG|4612|GEOGCS[\"JGD2000\",DATUM[\"Japanese_Geodetic_Datum_2000\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6612\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4612\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
-                                               
"4613|EPSG|4613|GEOGCS[\"Segara\",DATUM[\"Gunung_Segara\",SPHEROID[\"Bessel 
1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],TOWGS84[-403,684,41,0,0,0,0],AUTHORITY[\"EPSG\",\"6613\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4613\"]]|+proj=longlat
 +ellps=bessel +towgs84=-403,684,41,0,0,0,0 +no_defs\n"
-                                               
"4614|EPSG|4614|GEOGCS[\"QND95\",DATUM[\"Qatar_National_Datum_1995\",SPHEROID[\"International
 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-119.425,-303.659,-11.0006,1.1643,0.174458,1.09626,3.65706],AUTHORITY[\"EPSG\",\"6614\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4614\"]]|+proj=longlat
 +ellps=intl 
+towgs84=-119.425,-303.659,-11.0006,1.1643,0.174458,1.09626,3.65706 +no_defs\n"
-                                               "4615|EPSG|4615|GEOGCS[\"Porto 
Santo\",DATUM[\"Porto_Santo_1936\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-499,-249,314,0,0,0,0],AUTHORITY[\"EPSG\",\"6615\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4615\"]]|+proj=longlat
 +ellps=intl +towgs84=-499,-249,314,0,0,0,0 +no_defs\n"
-                                               
"4616|EPSG|4616|GEOGCS[\"Selvagem 
Grande\",DATUM[\"Selvagem_Grande\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-289,-124,60,0,0,0,0],AUTHORITY[\"EPSG\",\"6616\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4616\"]]|+proj=longlat
 +ellps=intl +towgs84=-289,-124,60,0,0,0,0 +no_defs\n"
-                                               
"4617|EPSG|4617|GEOGCS[\"NAD83(CSRS)\",DATUM[\"NAD83_Canadian_Spatial_Reference_System\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6140\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4617\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
+                       "4611|EPSG|4611|GEOGCS[\"Hong Kong 
1980\",DATUM[\"Hong_Kong_1980\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-162.619,-276.959,-161.764,0.067753,-2.24365,-1.15883,-1.09425],AUTHORITY[\"EPSG\",\"6611\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4611\"]]|+proj=longlat
 +ellps=intl 
+towgs84=-162.619,-276.959,-161.764,0.067753,-2.24365,-1.15883,-1.09425 
+no_defs\n"
+                       
"4612|EPSG|4612|GEOGCS[\"JGD2000\",DATUM[\"Japanese_Geodetic_Datum_2000\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6612\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4612\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
+                       
"4613|EPSG|4613|GEOGCS[\"Segara\",DATUM[\"Gunung_Segara\",SPHEROID[\"Bessel 
1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],TOWGS84[-403,684,41,0,0,0,0],AUTHORITY[\"EPSG\",\"6613\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4613\"]]|+proj=longlat
 +ellps=bessel +towgs84=-403,684,41,0,0,0,0 +no_defs\n"
+                       
"4614|EPSG|4614|GEOGCS[\"QND95\",DATUM[\"Qatar_National_Datum_1995\",SPHEROID[\"International
 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-119.425,-303.659,-11.0006,1.1643,0.174458,1.09626,3.65706],AUTHORITY[\"EPSG\",\"6614\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4614\"]]|+proj=longlat
 +ellps=intl 
+towgs84=-119.425,-303.659,-11.0006,1.1643,0.174458,1.09626,3.65706 +no_defs\n"
+                       "4615|EPSG|4615|GEOGCS[\"Porto 
Santo\",DATUM[\"Porto_Santo_1936\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-499,-249,314,0,0,0,0],AUTHORITY[\"EPSG\",\"6615\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4615\"]]|+proj=longlat
 +ellps=intl +towgs84=-499,-249,314,0,0,0,0 +no_defs\n"
+                       "4616|EPSG|4616|GEOGCS[\"Selvagem 
Grande\",DATUM[\"Selvagem_Grande\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-289,-124,60,0,0,0,0],AUTHORITY[\"EPSG\",\"6616\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4616\"]]|+proj=longlat
 +ellps=intl +towgs84=-289,-124,60,0,0,0,0 +no_defs\n"
+                       
"4617|EPSG|4617|GEOGCS[\"NAD83(CSRS)\",DATUM[\"NAD83_Canadian_Spatial_Reference_System\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6140\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4617\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
                        
"4618|EPSG|4618|GEOGCS[\"SAD69\",DATUM[\"South_American_Datum_1969\",SPHEROID[\"GRS
 1967 
Modified\",6378160,298.25,AUTHORITY[\"EPSG\",\"7050\"]],TOWGS84[-57,1,-41,0,0,0,0],AUTHORITY[\"EPSG\",\"6618\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4618\"]]|+proj=longlat
 +ellps=aust_SA +towgs84=-57,1,-41,0,0,0,0 +no_defs\n"
                        
"4619|EPSG|4619|GEOGCS[\"SWEREF99\",DATUM[\"SWEREF99\",SPHEROID[\"GRS 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6619\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4619\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
                        "4620|EPSG|4620|GEOGCS[\"Point 
58\",DATUM[\"Point_58\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-106,-129,165,0,0,0,0],AUTHORITY[\"EPSG\",\"6620\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4620\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-106,-129,165,0,0,0,0 +no_defs\n"
@@ -588,14 +589,14 @@ geom_sql_upgrade(int olddb)
                        "4662|EPSG|4662|GEOGCS[\"IGN72 Grande 
Terre\",DATUM[\"IGN72_Grande_Terre\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-11.64,-348.6,291.98,0,0,0,0],AUTHORITY[\"EPSG\",\"6634\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4662\"]]|+proj=longlat
 +ellps=intl +towgs84=-11.64,-348.6,291.98,0,0,0,0 +no_defs\n"
                        "4663|EPSG|4663|GEOGCS[\"Porto Santo 
1995\",DATUM[\"Porto_Santo_1995\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-502.862,-247.438,312.724,0,0,0,0],AUTHORITY[\"EPSG\",\"6663\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4663\"]]|+proj=longlat
 +ellps=intl +towgs84=-502.862,-247.438,312.724,0,0,0,0 +no_defs\n"
                        "4664|EPSG|4664|GEOGCS[\"Azores Oriental 
1995\",DATUM[\"Azores_Oriental_Islands_1995\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-204.619,140.176,55.226,0,0,0,0],AUTHORITY[\"EPSG\",\"6664\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4664\"]]|+proj=longlat
 +ellps=intl +towgs84=-204.619,140.176,55.226,0,0,0,0 +no_defs\n"
-                                               "4665|EPSG|4665|GEOGCS[\"Azores 
Central 1995\",DATUM[\"Azores_Central_Islands_1995\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-106.226,166.366,-37.893,0,0,0,0],AUTHORITY[\"EPSG\",\"6665\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4665\"]]|+proj=longlat
 +ellps=intl +towgs84=-106.226,166.366,-37.893,0,0,0,0 +no_defs\n"
-                                               "4666|EPSG|4666|GEOGCS[\"Lisbon 
1890\",DATUM[\"Lisbon_1890\",SPHEROID[\"Bessel 
1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],TOWGS84[508.088,-191.042,565.223,0,0,0,0],AUTHORITY[\"EPSG\",\"6666\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4666\"]]|+proj=longlat
 +ellps=bessel +towgs84=508.088,-191.042,565.223,0,0,0,0 +no_defs\n"
-                                               
"4667|EPSG|4667|GEOGCS[\"IKBD-92\",DATUM[\"Iraq_Kuwait_Boundary_Datum_1992\",SPHEROID[\"WGS
 
84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6667\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4667\"]]|+proj=longlat
 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
-                                               
"4668|EPSG|4668|GEOGCS[\"ED79\",DATUM[\"European_Datum_1979\",SPHEROID[\"International
 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-86,-98,-119,0,0,0,0],AUTHORITY[\"EPSG\",\"6668\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4668\"]]|+proj=longlat
 +ellps=intl +towgs84=-86,-98,-119,0,0,0,0 +no_defs\n"
-                                               
"4669|EPSG|4669|GEOGCS[\"LKS94\",DATUM[\"Lithuania_1994_ETRS89\",SPHEROID[\"GRS 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6126\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4669\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
-                                               
"4670|EPSG|4670|GEOGCS[\"IGM95\",DATUM[\"Istituto_Geografico_Militaire_1995\",SPHEROID[\"WGS
 
84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6670\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4670\"]]|+proj=longlat
 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
-                                               "4671|EPSG|4671|GEOGCS[\"Voirol 
1879\",DATUM[\"Voirol_1879\",SPHEROID[\"Clarke 1880 
(IGN)\",6378249.2,293.4660212936265,AUTHORITY[\"EPSG\",\"7011\"]],AUTHORITY[\"EPSG\",\"6671\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4671\"]]|+proj=longlat
 +a=6378249.2 +b=6356515 +no_defs\n"
-                                               
"4673|EPSG|4673|GEOGCS[\"Chatham Islands 
1979\",DATUM[\"Chatham_Islands_Datum_1979\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[174.05,-25.49,112.57,-0,-0,0.554,0.2263],AUTHORITY[\"EPSG\",\"6673\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4673\"]]|+proj=longlat
 +ellps=intl +towgs84=174.05,-25.49,112.57,-0,-0,0.554,0.2263 +no_defs\n"
+                       "4665|EPSG|4665|GEOGCS[\"Azores Central 
1995\",DATUM[\"Azores_Central_Islands_1995\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-106.226,166.366,-37.893,0,0,0,0],AUTHORITY[\"EPSG\",\"6665\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4665\"]]|+proj=longlat
 +ellps=intl +towgs84=-106.226,166.366,-37.893,0,0,0,0 +no_defs\n"
+                       "4666|EPSG|4666|GEOGCS[\"Lisbon 
1890\",DATUM[\"Lisbon_1890\",SPHEROID[\"Bessel 
1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],TOWGS84[508.088,-191.042,565.223,0,0,0,0],AUTHORITY[\"EPSG\",\"6666\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4666\"]]|+proj=longlat
 +ellps=bessel +towgs84=508.088,-191.042,565.223,0,0,0,0 +no_defs\n"
+                       
"4667|EPSG|4667|GEOGCS[\"IKBD-92\",DATUM[\"Iraq_Kuwait_Boundary_Datum_1992\",SPHEROID[\"WGS
 
84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6667\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4667\"]]|+proj=longlat
 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
+                       
"4668|EPSG|4668|GEOGCS[\"ED79\",DATUM[\"European_Datum_1979\",SPHEROID[\"International
 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-86,-98,-119,0,0,0,0],AUTHORITY[\"EPSG\",\"6668\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4668\"]]|+proj=longlat
 +ellps=intl +towgs84=-86,-98,-119,0,0,0,0 +no_defs\n"
+                       
"4669|EPSG|4669|GEOGCS[\"LKS94\",DATUM[\"Lithuania_1994_ETRS89\",SPHEROID[\"GRS 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6126\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4669\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
+                       
"4670|EPSG|4670|GEOGCS[\"IGM95\",DATUM[\"Istituto_Geografico_Militaire_1995\",SPHEROID[\"WGS
 
84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6670\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4670\"]]|+proj=longlat
 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
+                       "4671|EPSG|4671|GEOGCS[\"Voirol 
1879\",DATUM[\"Voirol_1879\",SPHEROID[\"Clarke 1880 
(IGN)\",6378249.2,293.4660212936265,AUTHORITY[\"EPSG\",\"7011\"]],AUTHORITY[\"EPSG\",\"6671\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4671\"]]|+proj=longlat
 +a=6378249.2 +b=6356515 +no_defs\n"
+                       "4673|EPSG|4673|GEOGCS[\"Chatham Islands 
1979\",DATUM[\"Chatham_Islands_Datum_1979\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[174.05,-25.49,112.57,-0,-0,0.554,0.2263],AUTHORITY[\"EPSG\",\"6673\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4673\"]]|+proj=longlat
 +ellps=intl +towgs84=174.05,-25.49,112.57,-0,-0,0.554,0.2263 +no_defs\n"
                        "4674|EPSG|4674|GEOGCS[\"SIRGAS 
2000\",DATUM[\"Sistema_de_Referencia_Geocentrico_para_America_del_Sur_2000\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6674\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4674\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
                        "4675|EPSG|4675|GEOGCS[\"Guam 
1963\",DATUM[\"Guam_1963\",SPHEROID[\"Clarke 
1866\",6378206.4,294.9786982139006,AUTHORITY[\"EPSG\",\"7008\"]],TOWGS84[-100,-248,259,0,0,0,0],AUTHORITY[\"EPSG\",\"6675\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4675\"]]|+proj=longlat
 +ellps=clrk66 +towgs84=-100,-248,259,0,0,0,0 +no_defs\n"
                        "4676|EPSG|4676|GEOGCS[\"Vientiane 
1982\",DATUM[\"Vientiane_1982\",SPHEROID[\"Krassowsky 
1940\",6378245,298.3,AUTHORITY[\"EPSG\",\"7024\"]],AUTHORITY[\"EPSG\",\"6676\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4676\"]]|+proj=longlat
 +ellps=krass +no_defs\n"
@@ -608,7 +609,8 @@ geom_sql_upgrade(int olddb)
                        
"4683|EPSG|4683|GEOGCS[\"PRS92\",DATUM[\"Philippine_Reference_System_1992\",SPHEROID[\"Clarke
 
1866\",6378206.4,294.9786982139006,AUTHORITY[\"EPSG\",\"7008\"]],TOWGS84[-127.62,-67.24,-47.04,-3.068,4.903,1.578,-1.06],AUTHORITY[\"EPSG\",\"6683\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4683\"]]|+proj=longlat
 +ellps=clrk66 +towgs84=-127.62,-67.24,-47.04,-3.068,4.903,1.578,-1.06 
+no_defs\n"
                        "4684|EPSG|4684|GEOGCS[\"Gan 
1970\",DATUM[\"Gan_1970\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-133,-321,50,0,0,0,0],AUTHORITY[\"EPSG\",\"6684\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4684\"]]|+proj=longlat
 +ellps=intl +towgs84=-133,-321,50,0,0,0,0 +no_defs\n"
                        
"4685|EPSG|4685|GEOGCS[\"Gandajika\",DATUM[\"Gandajika\",SPHEROID[\"International
 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],AUTHORITY[\"EPSG\",\"6685\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4685\"]]|+proj=longlat
 +ellps=intl +no_defs\n"
-                       
"4686|EPSG|4686|GEOGCS[\"MAGNA-SIRGAS\",DATUM[\"Marco_Geocentrico_Nacional_de_Referencia\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6686\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4686\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n"
+                       
"4686|EPSG|4686|GEOGCS[\"MAGNA-SIRGAS\",DATUM[\"Marco_Geocentrico_Nacional_de_Referencia\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6686\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4686\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs\n");
+       pos += snprintf(buf + pos, bufsize - pos,
                        
"4687|EPSG|4687|GEOGCS[\"RGPF\",DATUM[\"Reseau_Geodesique_de_la_Polynesie_Francaise\",SPHEROID[\"GRS
 
1980\",6378137,298.257222101,AUTHORITY[\"EPSG\",\"7019\"]],TOWGS84[0.072,-0.507,-0.245,-0.0183,0.0003,-0.007,-0.0093],AUTHORITY[\"EPSG\",\"6687\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4687\"]]|+proj=longlat
 +ellps=GRS80 +towgs84=0.072,-0.507,-0.245,-0.0183,0.0003,-0.007,-0.0093 
+no_defs\n"
                        "4688|EPSG|4688|GEOGCS[\"Fatu Iva 
72\",DATUM[\"Fatu_Iva_72\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[347.103,1078.12,2623.92,-33.8875,70.6773,-9.3943,186.074],AUTHORITY[\"EPSG\",\"6688\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4688\"]]|+proj=longlat
 +ellps=intl +towgs84=347.103,1078.12,2623.92,-33.8875,70.6773,-9.3943,186.074 
+no_defs\n"
                        "4689|EPSG|4689|GEOGCS[\"IGN63 Hiva 
Oa\",DATUM[\"IGN63_Hiva_Oa\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[410.721,55.049,80.746,2.5779,2.3514,0.6664,17.3311],AUTHORITY[\"EPSG\",\"6689\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4689\"]]|+proj=longlat
 +ellps=intl +towgs84=410.721,55.049,80.746,2.5779,2.3514,0.6664,17.3311 
+no_defs\n"
@@ -634,14 +636,14 @@ geom_sql_upgrade(int olddb)
                        "4709|EPSG|4709|GEOGCS[\"Iwo Jima 
1945\",DATUM[\"Iwo_Jima_1945\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[145,75,-272,0,0,0,0],AUTHORITY[\"EPSG\",\"6709\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4709\"]]|+proj=longlat
 +ellps=intl +towgs84=145,75,-272,0,0,0,0 +no_defs\n"
                        "4710|EPSG|4710|GEOGCS[\"St. Helena 
1971\",DATUM[\"St_Helena_1971\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-320,550,-494,0,0,0,0],AUTHORITY[\"EPSG\",\"6710\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4710\"]]|+proj=longlat
 +ellps=intl +towgs84=-320,550,-494,0,0,0,0 +no_defs\n"
                        "4711|EPSG|4711|GEOGCS[\"Marcus Island 
1952\",DATUM[\"Marcus_Island_1952\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[124,-234,-25,0,0,0,0],AUTHORITY[\"EPSG\",\"6711\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4711\"]]|+proj=longlat
 +ellps=intl +towgs84=124,-234,-25,0,0,0,0 +no_defs\n"
-                                               
"4712|EPSG|4712|GEOGCS[\"Ascension Island 
1958\",DATUM[\"Ascension_Island_1958\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-205,107,53,0,0,0,0],AUTHORITY[\"EPSG\",\"6712\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4712\"]]|+proj=longlat
 +ellps=intl +towgs84=-205,107,53,0,0,0,0 +no_defs\n"
-                                               
"4713|EPSG|4713|GEOGCS[\"Ayabelle 
Lighthouse\",DATUM[\"Ayabelle_Lighthouse\",SPHEROID[\"Clarke 1880 
(RGS)\",6378249.145,293.465,AUTHORITY[\"EPSG\",\"7012\"]],TOWGS84[-79,-129,145,0,0,0,0],AUTHORITY[\"EPSG\",\"6713\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4713\"]]|+proj=longlat
 +ellps=clrk80 +towgs84=-79,-129,145,0,0,0,0 +no_defs\n"
-                                               
"4714|EPSG|4714|GEOGCS[\"Bellevue\",DATUM[\"Bellevue\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-127,-769,472,0,0,0,0],AUTHORITY[\"EPSG\",\"6714\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4714\"]]|+proj=longlat
 +ellps=intl +towgs84=-127,-769,472,0,0,0,0 +no_defs\n"
-                                               "4715|EPSG|4715|GEOGCS[\"Camp 
Area Astro\",DATUM[\"Camp_Area_Astro\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-104,-129,239,0,0,0,0],AUTHORITY[\"EPSG\",\"6715\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4715\"]]|+proj=longlat
 +ellps=intl +towgs84=-104,-129,239,0,0,0,0 +no_defs\n"
-                                               
"4716|EPSG|4716|GEOGCS[\"Phoenix Islands 
1966\",DATUM[\"Phoenix_Islands_1966\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[298,-304,-375,0,0,0,0],AUTHORITY[\"EPSG\",\"6716\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4716\"]]|+proj=longlat
 +ellps=intl +towgs84=298,-304,-375,0,0,0,0 +no_defs\n"
-                                               "4717|EPSG|4717|GEOGCS[\"Cape 
Canaveral\",DATUM[\"Cape_Canaveral\",SPHEROID[\"Clarke 
1866\",6378206.4,294.9786982139006,AUTHORITY[\"EPSG\",\"7008\"]],TOWGS84[-2,151,181,0,0,0,0],AUTHORITY[\"EPSG\",\"6717\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4717\"]]|+proj=longlat
 +ellps=clrk66 +towgs84=-2,151,181,0,0,0,0 +no_defs\n"
-                                               
"4718|EPSG|4718|GEOGCS[\"Solomon 
1968\",DATUM[\"Solomon_1968\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[252,-209,-751,0,0,0,0],AUTHORITY[\"EPSG\",\"6718\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4718\"]]|+proj=longlat
 +ellps=intl +towgs84=252,-209,-751,0,0,0,0 +no_defs\n"
-                                               "4719|EPSG|4719|GEOGCS[\"Easter 
Island 1967\",DATUM[\"Easter_Island_1967\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[211,147,111,0,0,0,0],AUTHORITY[\"EPSG\",\"6719\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4719\"]]|+proj=longlat
 +ellps=intl +towgs84=211,147,111,0,0,0,0 +no_defs\n"
+                       "4712|EPSG|4712|GEOGCS[\"Ascension Island 
1958\",DATUM[\"Ascension_Island_1958\",SPHEROID[\"International 
1924\",6378388,297,AUTHORITY[\"EPSG\",\"7022\"]],TOWGS84[-205,107,53,0,0,0,0],AUTHORITY[\"EPSG\",\"6712\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4712\"]]|+proj=longlat
 +ellps=intl +towgs84=-205,107,53,0,0,0,0 +no_defs\n"
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to