Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Comment: | removing any reference to the infamous DQS misfeature - take one |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e24e4ef7a08fcf6ed4095348a8dae894 |
User & Date: | sandro 2019-07-28 06:06:12 |
2019-07-31
| ||
21:23 | removing any reference to the infamous DQS misfeature - take two check-in: 41b92e961f user: sandro tags: trunk | |
2019-07-28
| ||
06:06 | removing any reference to the infamous DQS misfeature - take one check-in: e24e4ef7a0 user: sandro tags: trunk | |
2019-07-05
| ||
13:01 | using a second DB connection on StoredProc_Execute check-in: 7dcf78e2d0 user: sandro tags: trunk | |
Changes to src/geopackage/gpkgCreateTilesTable.c.
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
const char *metaTableSchemas[] = {
"INSERT INTO gpkg_contents (table_name, data_type, srs_id, min_x, min_y, max_x, max_y) VALUES (%Q, 'tiles', %i, %f, %f, %f, %f)",
"INSERT INTO gpkg_tile_matrix_set (table_name, srs_id, min_x, min_y, max_x, max_y) VALUES (%Q, %i, %f, %f, %f, %f)",
NULL
};
const char *tableSchemas[] = {
"CREATE TABLE %q (\n"
"id INTEGER PRIMARY KEY AUTOINCREMENT,\n"
"zoom_level INTEGER NOT NULL DEFAULT 0,\n"
"tile_column INTEGER NOT NULL DEFAULT 0,\n"
"tile_row INTEGER NOT NULL DEFAULT 0,\n"
"tile_data BLOB NOT NULL,\n"
"UNIQUE (zoom_level, tile_column, tile_row))",
|
| |
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
const char *metaTableSchemas[] = {
"INSERT INTO gpkg_contents (table_name, data_type, srs_id, min_x, min_y, max_x, max_y) VALUES (%Q, 'tiles', %i, %f, %f, %f, %f)",
"INSERT INTO gpkg_tile_matrix_set (table_name, srs_id, min_x, min_y, max_x, max_y) VALUES (%Q, %i, %f, %f, %f, %f)",
NULL
};
const char *tableSchemas[] = {
"CREATE TABLE \"%w\" (\n"
"id INTEGER PRIMARY KEY AUTOINCREMENT,\n"
"zoom_level INTEGER NOT NULL DEFAULT 0,\n"
"tile_column INTEGER NOT NULL DEFAULT 0,\n"
"tile_row INTEGER NOT NULL DEFAULT 0,\n"
"tile_data BLOB NOT NULL,\n"
"UNIQUE (zoom_level, tile_column, tile_row))",
|
Changes to src/geopackage/gpkg_add_tile_triggers.c.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
int i = 0; /* Note: the code below relies on there being twelve (or less) varargs, all of which are the table name */ const char *trigger_stmts[] = { "CREATE TRIGGER \"%s_zoom_insert\"\n" "BEFORE INSERT ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: zoom_level not specified for table in gpkg_tile_matrix')\n" "WHERE NOT (NEW.zoom_level IN (SELECT zoom_level FROM gpkg_tile_matrix WHERE table_name = \"%s\"));\n" "END", "CREATE TRIGGER \"%s_zoom_update\"\n" "BEFORE UPDATE OF zoom_level ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: zoom_level not specified for table in gpkg_tile_matrix')\n" "WHERE NOT (NEW.zoom_level IN (SELECT zoom_level FROM gpkg_tile_matrix WHERE table_name = \"%s\"));\n" "END", "CREATE TRIGGER \"%s_tile_column_insert\"\n" "BEFORE INSERT ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_column cannot be < 0')\n" "WHERE (NEW.tile_column < 0) ;\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_column must be < matrix_width specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_column < (SELECT matrix_width FROM gpkg_tile_matrix WHERE table_name = '%s' AND zoom_level = NEW.zoom_level));\n" "END", "CREATE TRIGGER \"%s_tile_column_update\"\n" "BEFORE UPDATE OF tile_column ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_column cannot be < 0')\n" "WHERE (NEW.tile_column < 0) ;\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_column must be < matrix_width specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_column < (SELECT matrix_width FROM gpkg_tile_matrix WHERE table_name = '%s' AND zoom_level = NEW.zoom_level));\n" "END", "CREATE TRIGGER \"%s_tile_row_insert\"\n" "BEFORE INSERT ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_row cannot be < 0')\n" "WHERE (NEW.tile_row < 0) ;\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_row must be < matrix_height specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_row < (SELECT matrix_height FROM gpkg_tile_matrix WHERE table_name = '%s' AND zoom_level = NEW.zoom_level));\n" "END", "CREATE TRIGGER \"%s_tile_row_update\"\n" "BEFORE UPDATE OF tile_row ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_row cannot be < 0')\n" "WHERE (NEW.tile_row < 0) ;\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_row must be < matrix_height specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_row < (SELECT matrix_height FROM gpkg_tile_matrix WHERE table_name = '%s' AND zoom_level = NEW.zoom_level));\n" "END", NULL }; if (sqlite3_value_type (argv[0]) != SQLITE_TEXT) { |
| | | | | | |
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
int i = 0; /* Note: the code below relies on there being twelve (or less) varargs, all of which are the table name */ const char *trigger_stmts[] = { "CREATE TRIGGER \"%s_zoom_insert\"\n" "BEFORE INSERT ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: zoom_level not specified for table in gpkg_tile_matrix')\n" "WHERE NOT (NEW.zoom_level IN (SELECT zoom_level FROM gpkg_tile_matrix WHERE table_name = %Q));\n" "END", "CREATE TRIGGER \"%s_zoom_update\"\n" "BEFORE UPDATE OF zoom_level ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: zoom_level not specified for table in gpkg_tile_matrix')\n" "WHERE NOT (NEW.zoom_level IN (SELECT zoom_level FROM gpkg_tile_matrix WHERE table_name = %Q));\n" "END", "CREATE TRIGGER \"%s_tile_column_insert\"\n" "BEFORE INSERT ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_column cannot be < 0')\n" "WHERE (NEW.tile_column < 0) ;\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_column must be < matrix_width specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_column < (SELECT matrix_width FROM gpkg_tile_matrix WHERE table_name = %Q AND zoom_level = NEW.zoom_level));\n" "END", "CREATE TRIGGER \"%s_tile_column_update\"\n" "BEFORE UPDATE OF tile_column ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_column cannot be < 0')\n" "WHERE (NEW.tile_column < 0) ;\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_column must be < matrix_width specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_column < (SELECT matrix_width FROM gpkg_tile_matrix WHERE table_name = %Q AND zoom_level = NEW.zoom_level));\n" "END", "CREATE TRIGGER \"%s_tile_row_insert\"\n" "BEFORE INSERT ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_row cannot be < 0')\n" "WHERE (NEW.tile_row < 0) ;\n" "SELECT RAISE(ABORT, 'insert on table ''%s'' violates constraint: tile_row must be < matrix_height specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_row < (SELECT matrix_height FROM gpkg_tile_matrix WHERE table_name = %Q AND zoom_level = NEW.zoom_level));\n" "END", "CREATE TRIGGER \"%s_tile_row_update\"\n" "BEFORE UPDATE OF tile_row ON \"%s\"\n" "FOR EACH ROW BEGIN\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_row cannot be < 0')\n" "WHERE (NEW.tile_row < 0) ;\n" "SELECT RAISE(ABORT, 'update on table ''%s'' violates constraint: tile_row must be < matrix_height specified for table and zoom level in gpkg_tile_matrix')\n" "WHERE NOT (NEW.tile_row < (SELECT matrix_height FROM gpkg_tile_matrix WHERE table_name = %Q AND zoom_level = NEW.zoom_level));\n" "END", NULL }; if (sqlite3_value_type (argv[0]) != SQLITE_TEXT) { |
Changes to src/geopackage/gpkg_get_normal_row.c.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
-1);
return;
}
inverted_row_number = sqlite3_value_int (argv[2]);
sql_stmt =
sqlite3_mprintf
("SELECT matrix_height FROM gpkg_tile_matrix WHERE table_name=\"%q\" AND zoom_level=%i",
table, zoom_level);
sqlite = sqlite3_context_db_handle (context);
ret =
sqlite3_get_table (sqlite, sql_stmt, &results, &rows, &columns,
&errMsg);
sqlite3_free (sql_stmt);
|
| |
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
-1);
return;
}
inverted_row_number = sqlite3_value_int (argv[2]);
sql_stmt =
sqlite3_mprintf
("SELECT matrix_height FROM gpkg_tile_matrix WHERE table_name = %Q AND zoom_level=%i",
table, zoom_level);
sqlite = sqlite3_context_db_handle (context);
ret =
sqlite3_get_table (sqlite, sql_stmt, &results, &rows, &columns,
&errMsg);
sqlite3_free (sql_stmt);
|
Changes to src/geopackage/gpkg_get_normal_zoom.c.
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
-1);
return;
}
inverted_zoom_level = sqlite3_value_int (argv[1]);
sql_stmt =
sqlite3_mprintf
("SELECT MAX(zoom_level) FROM gpkg_tile_matrix WHERE table_name=\"%q\"",
table);
sqlite = sqlite3_context_db_handle (context);
ret =
sqlite3_get_table (sqlite, sql_stmt, &results, &rows, &columns,
&errMsg);
sqlite3_free (sql_stmt);
|
| |
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
-1);
return;
}
inverted_zoom_level = sqlite3_value_int (argv[1]);
sql_stmt =
sqlite3_mprintf
("SELECT MAX(zoom_level) FROM gpkg_tile_matrix WHERE table_name = %Q",
table);
sqlite = sqlite3_context_db_handle (context);
ret =
sqlite3_get_table (sqlite, sql_stmt, &results, &rows, &columns,
&errMsg);
sqlite3_free (sql_stmt);
|
Changes to src/headers/spatialite_private.h.
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
int size); #ifdef _WIN32 SPATIALITE_PRIVATE void splite_pause_windows (void); #else SPATIALITE_PRIVATE void splite_pause_signal (void); #endif #ifdef __cplusplus } #endif #endif /* _SPATIALITE_PRIVATE_H */ |
> > |
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 |
int size);
#ifdef _WIN32
SPATIALITE_PRIVATE void splite_pause_windows (void);
#else
SPATIALITE_PRIVATE void splite_pause_signal (void);
#endif
SPATIALITE_PRIVATE void finalize_topologies (const void *p_cache);
#ifdef __cplusplus
}
#endif
#endif /* _SPATIALITE_PRIVATE_H */
|
Changes to src/shapefiles/shapefiles.c.
3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 .... 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 .... 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 .... 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 |
{ if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%s\") = " "'LINESTRING' OR GeometryAliasType(\"%s\") = 'MULTILINESTRING' " "OR \"%s\" IS NULL", xprefix, xxtable, xcolumn, xcolumn, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%s\") = " "'LINESTRING' OR GeometryAliasType(\"%s\") = 'MULTILINESTRING' " "OR \"%s\" IS NULL", xtable, xcolumn, xcolumn, xcolumn); } else if (shape == GAIA_POLYGON || shape == GAIA_POLYGONZ || shape == GAIA_POLYGONM || shape == GAIA_POLYGONZM || shape == GAIA_MULTIPOLYGON || shape == GAIA_MULTIPOLYGONZ || shape == GAIA_MULTIPOLYGONM || shape == GAIA_MULTIPOLYGONZM) { if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%s\") = " "'POLYGON' OR GeometryAliasType(\"%s\") = 'MULTIPOLYGON'" "OR \"%s\" IS NULL", xprefix, xxtable, xcolumn, xcolumn, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%s\") = " "'POLYGON' OR GeometryAliasType(\"%s\") = 'MULTIPOLYGON'" "OR \"%s\" IS NULL", xtable, xcolumn, xcolumn, xcolumn); } else if (shape == GAIA_MULTIPOINT || shape == GAIA_MULTIPOINTZ || shape == GAIA_MULTIPOINTM || shape == GAIA_MULTIPOINTZM) { if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%s\") = " "'POINT' OR GeometryAliasType(\"%s\") = 'MULTIPOINT'" "OR \"%s\" IS NULL", xprefix, xxtable, xcolumn, xcolumn, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%s\") = " "'POINT' OR GeometryAliasType(\"%s\") = 'MULTIPOINT'" "OR \"%s\" IS NULL", xtable, xcolumn, xcolumn, xcolumn); } else { if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%s\") = " "'POINT' OR \"%s\" IS NULL", xprefix, xxtable, xcolumn, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%s\") = " "'POINT' OR \"%s\" IS NULL", xtable, xcolumn, xcolumn); } /* compiling SQL prepared statement */ ret = sqlite3_prepare_v2 (sqlite, sql, strlen (sql), &stmt, NULL); sqlite3_free (sql); if (ret != SQLITE_OK) goto sql_error; ................................................................................ xgeom_col = gaiaDoubleQuotedSql (geom_col); sql = sqlite3_mprintf ("SELECT AsGeoJSON(\"%s\", %d, %d) FROM \"%s\" WHERE \"%s\" IS NOT NULL", xgeom_col, precision, option, xtable, xgeom_col); free (xtable); free (xgeom_col); ret = sqlite3_prepare_v2 (sqlite, sql, strlen (sql), &stmt, NULL); sqlite3_free (sql); if (ret != SQLITE_OK) goto sql_error; while (1) { ................................................................................ if (srid == 0 || srid == 4326) { /* already lon-lan, no transformation is required */ if (m_coords) { /* exporting eventual M-Values */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(\"%s\", %d)", x_col, precision); } else { if (dims == GAIA_XY_M) { /* exporting XYM as XY */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXY(\"%s\"), %d)", x_col, precision); } else if (dims == GAIA_XY_Z_M) { /* exporting XYZM as XYZ */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXYZ(\"%s\"), %d)", x_col, precision); } else { /* unchanged dimensions */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(\"%s\", %d)", x_col, precision); } } } else { /* converting to lon-lat WGS84 */ if (m_coords) { /* exporting eventual M-Values */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_Transform(\"%s\", 4326), %d)", x_col, precision); } else { if (dims == GAIA_XY_M) { /* exporting XYM as XY */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_Transform(CastToXY(\"%s\"), 4326), %d)", x_col, precision); } else if (dims == GAIA_XY_Z_M) { /* exporting XYZM as XYZ */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_TransformCastToXYZ(\"%s\"), 4326), %d)", x_col, precision); } else { /* unchanged dimensions */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_Transform(\"%s\", 4326), %d)", x_col, precision); } } } } else { /* exporting coordinates as they are without any transformation */ if (m_coords) { /* exporting eventual M-Values */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(\"%s\", %d)", x_col, precision); } else { if (dims == GAIA_XY_M) { /* exporting XYM as XY */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXY(\"%s\"), %d)", x_col, precision); } else if (dims == GAIA_XY_Z_M) { /* exporting XYZM as XYZ */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXYZ(\"%s\"), %d)", x_col, precision); } else { /* unchanged dimensions */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(\"%s\", %d)", x_col, precision); } } } free (x_col); for (i = 1; i <= rows; i++) ................................................................................ { /* then adding all Properties */ const char *col = results[(i * columns) + 1]; if (strcasecmp (col, geom_col) == 0) continue; /* skipping the Geometry itself */ x_col = gaiaDoubleQuotedSql (col); prev = sql; sql = sqlite3_mprintf ("%s, \"%s\"", prev, x_col); free (x_col); sqlite3_free (prev); } sqlite3_free_table (results); prev = sql; xtable = gaiaDoubleQuotedSql (table); sql = sqlite3_mprintf ("%s FROM \"%s\"", prev, xtable); |
| | | | | | | | | | | | | | | | | | | | | | > | | | | | | | | | | | | | |
3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 .... 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 .... 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 .... 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 |
{ if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%w\") = " "'LINESTRING' OR GeometryAliasType(\"%w\") = 'MULTILINESTRING' " "OR \"%s\" IS NULL", xprefix, xxtable, column, column, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%w\") = " "'LINESTRING' OR GeometryAliasType(\"%w\") = 'MULTILINESTRING' " "OR \"%s\" IS NULL", xtable, column, column, xcolumn); } else if (shape == GAIA_POLYGON || shape == GAIA_POLYGONZ || shape == GAIA_POLYGONM || shape == GAIA_POLYGONZM || shape == GAIA_MULTIPOLYGON || shape == GAIA_MULTIPOLYGONZ || shape == GAIA_MULTIPOLYGONM || shape == GAIA_MULTIPOLYGONZM) { if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%w\") = " "'POLYGON' OR GeometryAliasType(\"%w\") = 'MULTIPOLYGON'" "OR \"%s\" IS NULL", xprefix, xxtable, column, column, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%w\") = " "'POLYGON' OR GeometryAliasType(\"%w\") = 'MULTIPOLYGON'" "OR \"%s\" IS NULL", xtable, column, column, xcolumn); } else if (shape == GAIA_MULTIPOINT || shape == GAIA_MULTIPOINTZ || shape == GAIA_MULTIPOINTM || shape == GAIA_MULTIPOINTZM) { if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%w\") = " "'POINT' OR GeometryAliasType(\"%w\") = 'MULTIPOINT'" "OR \"%s\" IS NULL", xprefix, xxtable, column, column, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%w\") = " "'POINT' OR GeometryAliasType(\"%w\") = 'MULTIPOINT'" "OR \"%s\" IS NULL", xtable, column, column, xcolumn); } else { if (db_prefix != NULL && table_name != NULL) { xprefix = gaiaDoubleQuotedSql (db_prefix); xxtable = gaiaDoubleQuotedSql (table_name); sql = sqlite3_mprintf ("SELECT * FROM \"%s\".\"%s\" WHERE GeometryAliasType(\"%w\") = " "'POINT' OR \"%s\" IS NULL", xprefix, xxtable, column, xcolumn); free (xprefix); free (xxtable); } else sql = sqlite3_mprintf ("SELECT * FROM \"%s\" WHERE GeometryAliasType(\"%w\") = " "'POINT' OR \"%s\" IS NULL", xtable, column, xcolumn); } /* compiling SQL prepared statement */ ret = sqlite3_prepare_v2 (sqlite, sql, strlen (sql), &stmt, NULL); sqlite3_free (sql); if (ret != SQLITE_OK) goto sql_error; ................................................................................ xgeom_col = gaiaDoubleQuotedSql (geom_col); sql = sqlite3_mprintf ("SELECT AsGeoJSON(\"%s\", %d, %d) FROM \"%s\" WHERE \"%s\" IS NOT NULL", xgeom_col, precision, option, xtable, xgeom_col); free (xtable); free (xgeom_col); fprintf(stderr, "%s\n", sql); ret = sqlite3_prepare_v2 (sqlite, sql, strlen (sql), &stmt, NULL); sqlite3_free (sql); if (ret != SQLITE_OK) goto sql_error; while (1) { ................................................................................ if (srid == 0 || srid == 4326) { /* already lon-lan, no transformation is required */ if (m_coords) { /* exporting eventual M-Values */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(%Q, %d)", x_col, precision); } else { if (dims == GAIA_XY_M) { /* exporting XYM as XY */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXY(%Q), %d)", x_col, precision); } else if (dims == GAIA_XY_Z_M) { /* exporting XYZM as XYZ */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXYZ(%Q), %d)", x_col, precision); } else { /* unchanged dimensions */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(%Q, %d)", x_col, precision); } } } else { /* converting to lon-lat WGS84 */ if (m_coords) { /* exporting eventual M-Values */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_Transform(%Q, 4326), %d)", x_col, precision); } else { if (dims == GAIA_XY_M) { /* exporting XYM as XY */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_Transform(CastToXY(%Q), 4326), %d)", x_col, precision); } else if (dims == GAIA_XY_Z_M) { /* exporting XYZM as XYZ */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_TransformCastToXYZ(%Q), 4326), %d)", x_col, precision); } else { /* unchanged dimensions */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(ST_Transform(%Q, 4326), %d)", x_col, precision); } } } } else { /* exporting coordinates as they are without any transformation */ if (m_coords) { /* exporting eventual M-Values */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(%Q, %d)", x_col, precision); } else { if (dims == GAIA_XY_M) { /* exporting XYM as XY */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXY(%Q), %d)", x_col, precision); } else if (dims == GAIA_XY_Z_M) { /* exporting XYZM as XYZ */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(CastToXYZ(%Q), %d)", x_col, precision); } else { /* unchanged dimensions */ sql = sqlite3_mprintf ("SELECT AsGeoJSON(%Q, %d)", x_col, precision); } } } free (x_col); for (i = 1; i <= rows; i++) ................................................................................ { /* then adding all Properties */ const char *col = results[(i * columns) + 1]; if (strcasecmp (col, geom_col) == 0) continue; /* skipping the Geometry itself */ x_col = gaiaDoubleQuotedSql (col); prev = sql; sql = sqlite3_mprintf ("%s, %Q", prev, x_col); free (x_col); sqlite3_free (prev); } sqlite3_free_table (results); prev = sql; xtable = gaiaDoubleQuotedSql (table); sql = sqlite3_mprintf ("%s FROM \"%s\"", prev, xtable); |
Changes to src/spatialite/statistics.c.
3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 |
{
/* dropping a Table */
char *sql;
char *q_prefix;
char *q_table;
int ret;
char *errMsg = NULL;
if ((aux) && (aux->metadata_version > 0)
&& (aux->count_geometry_columns > 0))
{
/* updating first all metadata tables */
if (aux->ok_geometry_columns)
{
/* deleting from GEOMETRY_COLUMNS */
q_prefix = gaiaDoubleQuotedSql (prefix);
sql =
|
| < |
3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 |
{
/* dropping a Table */
char *sql;
char *q_prefix;
char *q_table;
int ret;
char *errMsg = NULL;
if ((aux) && (aux->metadata_version > 0))
{
/* updating first all metadata tables */
if (aux->ok_geometry_columns)
{
/* deleting from GEOMETRY_COLUMNS */
q_prefix = gaiaDoubleQuotedSql (prefix);
sql =
|
Changes to src/spatialite/virtualgeojson.c.
2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 |
goto err; p_vt->Valid = 1; p_vt->Parser = parser; goto ok; err: if (error_message != NULL) { spatialite_e (error_message); sqlite3_free (error_message); } ok: vgeojson_get_extent (p_vt); if (!(p_vt->Valid)) { /* something is going the wrong way; creating a stupid default table */ |
| |
2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 |
goto err;
p_vt->Valid = 1;
p_vt->Parser = parser;
goto ok;
err:
if (error_message != NULL)
{
spatialite_e ("%s\n", error_message);
sqlite3_free (error_message);
}
ok:
vgeojson_get_extent (p_vt);
if (!(p_vt->Valid))
{
/* something is going the wrong way; creating a stupid default table */
|
Changes to src/stored_procedures/stored_procedures.c.
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
....
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
|
if (strcasecmp (db_name, "main") == 0) continue; /* ignoring MAIN */ if (db_path == NULL) mem_db = 1; else if (*db_path == '\0') mem_db = 1; if (mem_db && strcasecmp (db_name, "temp") == 0) goto skip_temp; /* "temp" is already attached by default */ xdb_name = gaiaDoubleQuotedSql (db_name); if (mem_db) sql = sqlite3_mprintf ("ATTACH DATABASE %Q AS \"%s\"", ":memory:", xdb_name); else sql = ................................................................................ "--=========================================================================================\n\n\n"); fflush (log); } /* updating the actual MEMORY DB (if any) */ do_clone_memory_db (main_handle, handle, "main"); /* terminating the new connection */ ret = sqlite3_close (handle); if (ret != SQLITE_OK) spatialite_e ("SqlProcExec: sqlite3_close() error: %s\n", sqlite3_errmsg (handle)); /* copying an eventual RETVALUE */ ret_value = cache->SqlProcRetValue; |
|
>
|
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
....
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
|
if (strcasecmp (db_name, "main") == 0) continue; /* ignoring MAIN */ if (db_path == NULL) mem_db = 1; else if (*db_path == '\0') mem_db = 1; if (mem_db && strcasecmp (db_name, "temp") == 0) goto skip_temp; /* "temp" is already attached by default */ xdb_name = gaiaDoubleQuotedSql (db_name); if (mem_db) sql = sqlite3_mprintf ("ATTACH DATABASE %Q AS \"%s\"", ":memory:", xdb_name); else sql = ................................................................................ "--=========================================================================================\n\n\n"); fflush (log); } /* updating the actual MEMORY DB (if any) */ do_clone_memory_db (main_handle, handle, "main"); /* terminating the new connection */ finalize_topologies (cache); ret = sqlite3_close (handle); if (ret != SQLITE_OK) spatialite_e ("SqlProcExec: sqlite3_close() error: %s\n", sqlite3_errmsg (handle)); /* copying an eventual RETVALUE */ ret_value = cache->SqlProcRetValue; |
Changes to src/topology/gaia_auxtopo.c.
2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 .... 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 .... 6097 6098 6099 6100 6101 6102 6103 |
GAIATOPO_DECLARE GaiaTopologyAccessorPtr gaiaTopologyFromCache (const void *p_cache, const char *topo_name) { /* attempting to retrieve an already defined Topology Accessor Object from the Connection Cache */ struct gaia_topology *ptr; struct splite_internal_cache *cache = (struct splite_internal_cache *) p_cache; if (cache == 0) return NULL; ptr = (struct gaia_topology *) (cache->firstTopology); while (ptr != NULL) { /* checking for an already registered Topology */ if (strcasecmp (topo_name, ptr->topology_name) == 0) ................................................................................ { /* attempting to create a Topology Accessor Object into the Connection Cache */ const RTCTX *ctx = NULL; RTT_BE_CALLBACKS *callbacks; struct gaia_topology *ptr; struct splite_internal_cache *cache = (struct splite_internal_cache *) p_cache; if (cache == 0) return NULL; if (cache->magic1 != SPATIALITE_CACHE_MAGIC1 || cache->magic2 != SPATIALITE_CACHE_MAGIC2) return NULL; ctx = cache->RTTOPO_handle; if (ctx == NULL) return NULL; ................................................................................ split = NULL; } return 1; } #endif /* end ENABLE_RTTOPO conditionals */ |
| | > > > > > > > > > > > > > > |
2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 .... 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 .... 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 |
GAIATOPO_DECLARE GaiaTopologyAccessorPtr gaiaTopologyFromCache (const void *p_cache, const char *topo_name) { /* attempting to retrieve an already defined Topology Accessor Object from the Connection Cache */ struct gaia_topology *ptr; struct splite_internal_cache *cache = (struct splite_internal_cache *) p_cache; if (cache == NULL) return NULL; ptr = (struct gaia_topology *) (cache->firstTopology); while (ptr != NULL) { /* checking for an already registered Topology */ if (strcasecmp (topo_name, ptr->topology_name) == 0) ................................................................................ { /* attempting to create a Topology Accessor Object into the Connection Cache */ const RTCTX *ctx = NULL; RTT_BE_CALLBACKS *callbacks; struct gaia_topology *ptr; struct splite_internal_cache *cache = (struct splite_internal_cache *) p_cache; if (cache == NULL) return NULL; if (cache->magic1 != SPATIALITE_CACHE_MAGIC1 || cache->magic2 != SPATIALITE_CACHE_MAGIC2) return NULL; ctx = cache->RTTOPO_handle; if (ctx == NULL) return NULL; ................................................................................ split = NULL; } return 1; } #endif /* end ENABLE_RTTOPO conditionals */ SPATIALITE_PRIVATE void finalize_topologies (const void *p_cache) { /* finalizing all topology related prepared statements */ struct splite_internal_cache *cache = (struct splite_internal_cache *) p_cache; if (cache == NULL) return; #ifdef ENABLE_RTTOPO /* only if RTTOPO is enabled */ finalize_all_topo_prepared_stmts (p_cache); #endif /* end ENABLE_RTTOPO conditionals */ } |
Changes to test/check_add_tile_triggers.c.
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
...
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test1_matrix_tiles\", 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ return -5; } sqlite3_free (err_msg); /* create matrix level 0 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); |
|
|
|
|
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
...
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test1_matrix_tiles', 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ return -5; } sqlite3_free (err_msg); /* create matrix level 0 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); |
Changes to test/check_add_tile_triggers_bad_table_name.c.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 ... 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
sqlite3_free (err_msg); return -5; } /* add in a test entry */ ret = sqlite3_exec (db_handle, "INSERT INTO raster_format_metadata VALUES (\"mytable_tiles\", \"tile_data\", \"image/png\", 24)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT raster_format_metadata error: %s\n", err_msg); sqlite3_free (err_msg); return -6; ................................................................................ fprintf (stderr, "CREATE tile_matrix_metadata error: %s\n", err_msg); sqlite3_free (err_msg); return -8; } /* add in a test entry */ ret = sqlite3_exec (db_handle, "INSERT INTO tile_matrix_metadata VALUES (\"mytable_tiles\", 0, 1, 1)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT tile_matrix_metadata error: %s\n", err_msg); sqlite3_free (err_msg); return -9; } ................................................................................ sqlite3_free (err_msg); return -11; } /* test trigger setup */ ret = sqlite3_exec (db_handle, "SELECT gpkgAddTileTriggers(\"no_such_table\")", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Unexpected gpkgAddTileTriggers result: %i\n", ret); return -12; } if (strcmp (err_msg, "no such table: main.no_such_table") != 0) |
| | | |
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 ... 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
sqlite3_free (err_msg); return -5; } /* add in a test entry */ ret = sqlite3_exec (db_handle, "INSERT INTO raster_format_metadata VALUES ('mytable_tiles', 'tile_data', 'image/png', 24)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT raster_format_metadata error: %s\n", err_msg); sqlite3_free (err_msg); return -6; ................................................................................ fprintf (stderr, "CREATE tile_matrix_metadata error: %s\n", err_msg); sqlite3_free (err_msg); return -8; } /* add in a test entry */ ret = sqlite3_exec (db_handle, "INSERT INTO tile_matrix_metadata VALUES ('mytable_tiles', 0, 1, 1)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT tile_matrix_metadata error: %s\n", err_msg); sqlite3_free (err_msg); return -9; } ................................................................................ sqlite3_free (err_msg); return -11; } /* test trigger setup */ ret = sqlite3_exec (db_handle, "SELECT gpkgAddTileTriggers('no_such_table')", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Unexpected gpkgAddTileTriggers result: %i\n", ret); return -12; } if (strcmp (err_msg, "no such table: main.no_such_table") != 0) |
Changes to test/check_bufovflw.c.
1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 |
sqlite3_close (handle);
return -122;
}
unlink (dumpname);
#endif /* end including PROJ.4 */
/* checking dump_geojson */
ret = dump_geojson (handle, shape, "col1", dumpname, 10, 5);
if (!ret)
{
fprintf (stderr, "dump_geojson() error: %s\n", err_msg);
sqlite3_close (handle);
return -123;
}
#endif /* end ICONV */
|
| |
1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 |
sqlite3_close (handle);
return -122;
}
unlink (dumpname);
#endif /* end including PROJ.4 */
/* checking dump_geojson */
ret = dump_geojson (handle, shape, "geometry", dumpname, 10, 5);
if (!ret)
{
fprintf (stderr, "dump_geojson() error: %s\n", err_msg);
sqlite3_close (handle);
return -123;
}
#endif /* end ICONV */
|
Changes to test/check_dxf.c.
1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
return -5;
if (check_archaic (cache_mode) != 0)
return -6;
if (check_linked (cache_mode) != 0)
return -7;
if (check_linked_legacy (cache_mode) != 0)
return -8;
if (check_hatch (cache_mode) != 0)
return -9;
if (check_hatch_legacy (cache_mode) != 0)
|
| |
1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
return -5; if (check_archaic (cache_mode) != 0) return -6; if (check_linked (cache_mode) != 0) return -7; if (check_linked_legacy (cache_mode) != 0) return -8; if (check_hatch (cache_mode) != 0) return -9; if (check_hatch_legacy (cache_mode) != 0) |
Changes to test/check_get_normal_row.c.
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 ... 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 ... 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 ... 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 ... 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 ... 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 ... 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 ... 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 ... 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 ... 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test1_matrix_tiles\", 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1, 2 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -4; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 2, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(2) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ fprintf (stderr, "INSERT error 11: %s\n", err_msg); sqlite3_free (err_msg); return -11; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error12: %s\n", err_msg); sqlite3_free (err_msg); return -12; } ................................................................................ sqlite3_free_table (results); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 2, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 2: %s\n", err_msg); sqlite3_free (err_msg); return -15; } ................................................................................ return -17; } sqlite3_free_table (results); /* test an out-of-range zoom number - expect exception */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 5, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -18; ................................................................................ sqlite3_free (err_msg); return -19; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", -1, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -20; ................................................................................ return -21; } sqlite3_free (err_msg); /* test bad table name */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"no_such_table\", 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad table name level, got %i\n", ret); sqlite3_free (err_msg); return -22; ................................................................................ return -27; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 3.2, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg2 type, got %i\n", ret); sqlite3_free (err_msg); return -28; } ................................................................................ return -29; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 2, 1.6)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg3 type, got %i\n", ret); sqlite3_free (err_msg); return -30; } ................................................................................ return -31; } sqlite3_free (err_msg); /* test overrange row number */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 2, 4)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange row number level, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -33; } sqlite3_free (err_msg); /* test underrange row number */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 2, -1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange row number level, got %i\n", ret); sqlite3_free (err_msg); |
| | | | | | | | | | | | | | |
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 ... 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 ... 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 ... 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 ... 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 ... 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 ... 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 ... 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 ... 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 ... 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test1_matrix_tiles', 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1, 2 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -4; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 2, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(2) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ fprintf (stderr, "INSERT error 11: %s\n", err_msg); sqlite3_free (err_msg); return -11; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error12: %s\n", err_msg); sqlite3_free (err_msg); return -12; } ................................................................................ sqlite3_free_table (results); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 2, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 2: %s\n", err_msg); sqlite3_free (err_msg); return -15; } ................................................................................ return -17; } sqlite3_free_table (results); /* test an out-of-range zoom number - expect exception */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 5, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -18; ................................................................................ sqlite3_free (err_msg); return -19; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', -1, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -20; ................................................................................ return -21; } sqlite3_free (err_msg); /* test bad table name */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('no_such_table', 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad table name level, got %i\n", ret); sqlite3_free (err_msg); return -22; ................................................................................ return -27; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 3.2, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg2 type, got %i\n", ret); sqlite3_free (err_msg); return -28; } ................................................................................ return -29; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 2, 1.6)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg3 type, got %i\n", ret); sqlite3_free (err_msg); return -30; } ................................................................................ return -31; } sqlite3_free (err_msg); /* test overrange row number */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 2, 4)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange row number level, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -33; } sqlite3_free (err_msg); /* test underrange row number */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 2, -1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange row number level, got %i\n", ret); sqlite3_free (err_msg); |
Changes to test/check_get_normal_row_bad_geopackage.c.
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
...
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
{ fprintf (stderr, "CREATE gpkg_tile_matrix error: %s\n", err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "INSERT INTO gpkg_tile_matrix VALUES (\"test1_matrix_tiles\", 0, 0, \"foo\")", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT tile_matrix_metadata zoom 0 error: %s\n", err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_exec (db_handle, "INSERT INTO gpkg_tile_matrix VALUES (\"test1_matrix_tiles\", 1, 0, \"4000000000\")", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT tile_matrix_metadata zoom 1 error: %s\n", err_msg); sqlite3_free (err_msg); return -7; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -9; ................................................................................ sqlite3_free (err_msg); return -10; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 1, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage zoom1, got %i\n", ret); sqlite3_free (err_msg); return -11; |
|
|
|
|
|
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
...
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
{ fprintf (stderr, "CREATE gpkg_tile_matrix error: %s\n", err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "INSERT INTO gpkg_tile_matrix VALUES ('test1_matrix_tiles', 0, 0, 'foo')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT tile_matrix_metadata zoom 0 error: %s\n", err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_exec (db_handle, "INSERT INTO gpkg_tile_matrix VALUES ('test1_matrix_tiles', 1, 0, '4000000000')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT tile_matrix_metadata zoom 1 error: %s\n", err_msg); sqlite3_free (err_msg); return -7; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -9; ................................................................................ sqlite3_free (err_msg); return -10; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 1, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage zoom1, got %i\n", ret); sqlite3_free (err_msg); return -11; |
Changes to test/check_get_normal_row_bad_geopackage2.c.
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
fprintf (stderr, "DROP gpkg_tile_matrix error: %s\n", err_msg); sqlite3_free (err_msg); return -4; } /* now do the query */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow(\"test1_matrix_tiles\", 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -5; |
| |
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
fprintf (stderr, "DROP gpkg_tile_matrix error: %s\n", err_msg); sqlite3_free (err_msg); return -4; } /* now do the query */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalRow('test1_matrix_tiles', 0, 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -5; |
Changes to test/check_get_normal_zoom.c.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 ... 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 ... 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 ... 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 ... 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 ... 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 ... 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test1_matrix_tiles\", 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -4; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error1: %s\n", err_msg); sqlite3_free (err_msg); return -9; } ................................................................................ sqlite3_free_table (results); return -11; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 2: %s\n", err_msg); sqlite3_free (err_msg); return -12; } ................................................................................ results[rows * columns + 0]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 4)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 3: %s\n", err_msg); sqlite3_free (err_msg); return -15; } ................................................................................ return -17; } sqlite3_free_table (results); /* test an out-of-range zoom number - expect exception */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 5)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -18; ................................................................................ sqlite3_free (err_msg); return -19; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", -1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -20; ................................................................................ return -21; } sqlite3_free (err_msg); /* test bad table name */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"no_such_table\", 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad table name level, got %i\n", ret); sqlite3_free (err_msg); return -22; ................................................................................ return -27; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 0.2)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg2 type, got %i\n", ret); sqlite3_free (err_msg); return -28; } |
| | | | | | | | | | | |
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 ... 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 ... 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 ... 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 ... 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 ... 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 ... 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test1_matrix_tiles', 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -4; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error1: %s\n", err_msg); sqlite3_free (err_msg); return -9; } ................................................................................ sqlite3_free_table (results); return -11; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 2: %s\n", err_msg); sqlite3_free (err_msg); return -12; } ................................................................................ results[rows * columns + 0]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 4)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 3: %s\n", err_msg); sqlite3_free (err_msg); return -15; } ................................................................................ return -17; } sqlite3_free_table (results); /* test an out-of-range zoom number - expect exception */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 5)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -18; ................................................................................ sqlite3_free (err_msg); return -19; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', -1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -20; ................................................................................ return -21; } sqlite3_free (err_msg); /* test bad table name */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('no_such_table', 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad table name level, got %i\n", ret); sqlite3_free (err_msg); return -22; ................................................................................ return -27; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 0.2)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg2 type, got %i\n", ret); sqlite3_free (err_msg); return -28; } |
Changes to test/check_get_normal_zoom_bad_geopackage.c.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
{ fprintf (stderr, "CREATE gpkg_tile_matrix error: %s\n", err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "INSERT INTO gpkg_tile_matrix VALUES (\"test1_matrix_tiles\", \"foo\", 1, 1)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT gpkg_tile_matrix zoom 0 error: %s\n", err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -7; |
| | |
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
{ fprintf (stderr, "CREATE gpkg_tile_matrix error: %s\n", err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "INSERT INTO gpkg_tile_matrix VALUES ('test1_matrix_tiles', 'foo', 1, 1)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "INSERT gpkg_tile_matrix zoom 0 error: %s\n", err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -7; |
Changes to test/check_get_normal_zoom_bad_geopackage2.c.
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
...
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test1_matrix_tiles\", 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -5; } /* now do the query */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -6; |
|
|
|
|
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
...
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test1_matrix_tiles', 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -5; } /* now do the query */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for broken geopackage, got %i\n", ret); sqlite3_free (err_msg); return -6; |
Changes to test/check_get_normal_zoom_extension_load.c.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 ... 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 ... 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 ... 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 ... 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 ... 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 ... 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test1_matrix_tiles\", 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -4; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error1: %s\n", err_msg); sqlite3_free (err_msg); return -9; } ................................................................................ sqlite3_free_table (results); return -11; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 2: %s\n", err_msg); sqlite3_free (err_msg); return -12; } ................................................................................ results[rows * columns + 0]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 4)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 3: %s\n", err_msg); sqlite3_free (err_msg); return -15; } ................................................................................ return -17; } sqlite3_free_table (results); /* test an out-of-range zoom number - expect exception */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 5)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -18; ................................................................................ sqlite3_free (err_msg); return -19; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", -1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -20; ................................................................................ return -21; } sqlite3_free (err_msg); /* test bad table name */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"no_such_table\", 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad table name level, got %i\n", ret); sqlite3_free (err_msg); return -22; ................................................................................ return -27; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom(\"test1_matrix_tiles\", 0.2)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg2 type, got %i\n", ret); sqlite3_free (err_msg); return -28; } |
| | | | | | | | | | | |
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 ... 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 ... 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 ... 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 ... 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 ... 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 ... 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test1_matrix_tiles', 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix levels 0, 1 and 4 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -4; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -5; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 4, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(4) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error1: %s\n", err_msg); sqlite3_free (err_msg); return -9; } ................................................................................ sqlite3_free_table (results); return -11; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 2: %s\n", err_msg); sqlite3_free (err_msg); return -12; } ................................................................................ results[rows * columns + 0]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 4)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error 3: %s\n", err_msg); sqlite3_free (err_msg); return -15; } ................................................................................ return -17; } sqlite3_free_table (results); /* test an out-of-range zoom number - expect exception */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 5)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for overrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -18; ................................................................................ sqlite3_free (err_msg); return -19; } sqlite3_free (err_msg); ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', -1)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for underrange zoom level, got %i\n", ret); sqlite3_free (err_msg); return -20; ................................................................................ return -21; } sqlite3_free (err_msg); /* test bad table name */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('no_such_table', 0)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad table name level, got %i\n", ret); sqlite3_free (err_msg); return -22; ................................................................................ return -27; } sqlite3_free (err_msg); /* test bad argument types */ ret = sqlite3_get_table (db_handle, "SELECT gpkgGetNormalZoom('test1_matrix_tiles', 0.2)", &results, &rows, &columns, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for bad arg2 type, got %i\n", ret); sqlite3_free (err_msg); return -28; } |
Changes to test/check_gpkgCreateFeaturesTable.c.
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 ... 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 ... 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 ... 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 ... 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 ... 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 ... 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 ... 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 ... 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 ... 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 |
err_msg); sqlite3_free (err_msg); return -101; } ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"testfeats1\", \"thegeom\", \"POINT\", 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgAddGeometryColumn() result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -102; } ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"testfeats1\", \"thegeom\", \"POINT\", 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column duplicate column name, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ fprintf (stderr, "Unexpected create ctd table result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -200; } ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", 2.4, \"POINT\", 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad column type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -202; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", \"the_geom\", 4, 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad geom type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -204; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(8.3, \"the_geom\", \"POINT\", 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad table type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -206; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", \"the_geom\", \"POINT\", \"z\", 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad z type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -208; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", \"the_geom\", \"POINT\", 0, \"m\", 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad m type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -210; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", \"the_geom\", \"POINT\", 3, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad z value, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -212; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", \"the_geom\", \"POINT\", 0, 3, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad m value, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -214; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", \"the_geom\", \"POINT\", 0, 2, \"srid\")", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad srid type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -216; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(\"ctd\", \"the_geom\", \"blah\", 0, 1, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad geom type value, got %i\n", ret); sqlite3_free (err_msg); |
| | | | | | | | | | | |
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 ... 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 ... 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 ... 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 ... 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 ... 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 ... 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 ... 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 ... 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 ... 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 |
err_msg); sqlite3_free (err_msg); return -101; } ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('testfeats1', 'thegeom', 'POINT', 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgAddGeometryColumn() result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -102; } ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('testfeats1', 'thegeom', 'POINT', 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column duplicate column name, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ fprintf (stderr, "Unexpected create ctd table result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -200; } ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 2.4, 'POINT', 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad column type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -202; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 'the_geom', 4, 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad geom type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -204; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn(8.3, 'the_geom', 'POINT', 0, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad table type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -206; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 'the_geom', 'POINT', 'z', 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad z type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -208; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 'the_geom', 'POINT', 0, 'm', 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad m type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -210; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 'the_geom', 'POINT', 3, 0, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad z value, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -212; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 'the_geom', 'POINT', 0, 3, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad m value, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -214; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 'the_geom', 'POINT', 0, 2, 'srid')", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad srid type, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -216; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgAddGeometryColumn('ctd', 'the_geom', 'blah', 0, 1, 4326)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add geometry column bad geom type value, got %i\n", ret); sqlite3_free (err_msg); |
Changes to test/check_gpkgCreateTilesTable.c.
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 ... 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 ... 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 ... 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 ... 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 ... 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 ... 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 ... 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 |
err_msg); sqlite3_free (err_msg); return -100; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"testtiles1\", 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -101; } /* same, but using integer bounds */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"testtiles2\", 4326, -180, -90, 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() integer bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -151; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test2\", \"srid\", -180, -90, 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-integer SRID value, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -153; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test2\", 0, \"minx\", -90, 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric min_x, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -155; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test2\", 0, -180, \"min_y\", 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric min_y, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -157; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test2\", 0, -180, -90, \"max_x\", 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric max_x, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -159; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test2\", 0, -180, -90, 180, \"max_y\")", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric max_y, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -161; } sqlite3_free (err_msg); /* try duplicate entry */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"testtiles2\", 0, -180, -85, 180, 85)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, duplicate table, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ "Unexpected error for add tiles table, existing table setup %i (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -164; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"alreadythere\", 0, -180, -85, 180, 85)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, duplicate table manual, got %i\n", ret); sqlite3_free (err_msg); return -165; } if (strcmp (err_msg, "table alreadythere already exists") != 0) { fprintf (stderr, "Unexpected error message for gpkgCreateTilesTable dupe manual table: %s\n", err_msg); sqlite3_free (err_msg); return -163; } |
| | | | | | | | | | > |
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 ... 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 ... 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 ... 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 ... 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 ... 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 ... 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 ... 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 |
err_msg); sqlite3_free (err_msg); return -100; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('testtiles1', 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() float bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -101; } /* same, but using integer bounds */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('testtiles2', 4326, -180, -90, 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() integer bounds result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -151; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test2', 'srid', -180, -90, 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-integer SRID value, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -153; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test2', 0, 'minx', -90, 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric min_x, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -155; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test2', 0, -180, 'min_y', 180, 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric min_y, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -157; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test2', 0, -180, -90, 'max_x', 90)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric max_x, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -159; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test2', 0, -180, -90, 180, 'max_y')", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, non-numeric max_y, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -161; } sqlite3_free (err_msg); /* try duplicate entry */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('testtiles2', 0, -180, -85, 180, 85)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, duplicate table, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ "Unexpected error for add tiles table, existing table setup %i (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -164; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('alreadythere', 0, -180, -85, 180, 85)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add tiles table, duplicate table manual, got %i\n", ret); sqlite3_free (err_msg); return -165; } if (strcmp (err_msg, "table alreadythere already exists") != 0 && strcmp (err_msg, "table \"alreadythere\" already exists") != 0) { fprintf (stderr, "Unexpected error message for gpkgCreateTilesTable dupe manual table: %s\n", err_msg); sqlite3_free (err_msg); return -163; } |
Changes to test/check_gpkgCreateTilesZoomLevel.c.
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 ... 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ... 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 ... 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 ... 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 ... 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable(\"test1_matrix_tiles\", 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix level 0 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } /* try duplicate entry */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, duplicate entry, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -21; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 4.2, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, non-integer zoom, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -21; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 4, \"x\", 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, non-numeric extent, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -23; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 4, 360, \"y\")", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, non-numeric height extent, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -25; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", -1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, negative zoom, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -27; } sqlite3_free (err_msg); /* Try float extent */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel(\"test1_matrix_tiles\", 1, 360.0, 180.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); |
| | | | | | | | |
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 ... 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 ... 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 ... 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 ... 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 ... 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
err_msg); sqlite3_free (err_msg); return -2; } ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesTable('test1_matrix_tiles', 4326, -180.0, -90.0, 180.0, 90.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesTable() result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -3; } /* create matrix level 0 */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(0) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); return -6; } /* try duplicate entry */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 0, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, duplicate entry, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -21; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 4.2, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, non-integer zoom, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -21; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 4, 'x', 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, non-numeric extent, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -23; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 4, 360, 'y')", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, non-numeric height extent, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ sqlite3_free (err_msg); return -25; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', -1, 360, 180)", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "Expected error for add zoom level, negative zoom, got %i\n", ret); sqlite3_free (err_msg); ................................................................................ return -27; } sqlite3_free (err_msg); /* Try float extent */ ret = sqlite3_exec (db_handle, "SELECT gpkgCreateTilesZoomLevel('test1_matrix_tiles', 1, 360.0, 180.0)", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Unexpected gpkgCreateTilesZoomLevel(1) result: %i, (%s)\n", ret, err_msg); sqlite3_free (err_msg); |
Changes to test/check_gpkgGetImageFormat.c.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile(\"tile111.jpeg\"))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
| |
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile('tile111.jpeg'))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
Changes to test/check_gpkgGetImageFormat_png.c.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile(\"empty.png\"))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
| |
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile('empty.png'))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
Changes to test/check_gpkgGetImageFormat_tiff.c.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile(\"empty.tif\"))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
| |
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile('empty.tif'))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
Changes to test/check_gpkgGetImageFormat_webp.c.
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile(\"test.webp\"))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
| |
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
fprintf (stderr, "cannot open in-memory db: %s\n", sqlite3_errmsg (db_handle)); sqlite3_close (db_handle); db_handle = NULL; return -1; } sql_statement = "SELECT gpkgGetImageType(BlobFromFile('test.webp'))"; ret = sqlite3_prepare_v2 (db_handle, sql_statement, strlen (sql_statement), &stmt, NULL); if (ret != SQLITE_OK) { fprintf (stderr, "failed to prepare SQL statement: %i (%s)\n", ret, sqlite3_errmsg (db_handle)); |
Changes to test/check_gpkgMode.c.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 ... 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 ... 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 ... 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
/* testing LINESTRINGs */ sql = "SELECT IsValidGPB( ST_Collect(geom) ) FROM ln2d"; if (!test_sql_query (db_handle, sql)) { ret = -7; goto end; } #ifndef OMIT_GEOS /* only if GEOS is enabled */ sql = "SELECT IsValidGPB( ST_Union(geom) ) FROM ln2dm"; if (!test_sql_query (db_handle, sql)) { ret = -8; goto end; } sql = "SELECT IsValidGPB( ST_Buffer(geom, 0.01) ) FROM ln3dz WHERE id = 2"; ................................................................................ "ST_GeomFromText('POLYGON((0 0, 0 30, 30 30, 30 0, 0 0))'), " "ST_Buffer(geom, 15) ) ) FROM mpt3dzm WHERE id = 1"; if (!test_sql_query (db_handle, sql)) { ret = -18; goto end; } #endif /* end GEOS conditionals */ /* testing MULTILINESTRINGs */ sql = "SELECT IsValidGPB( ST_StartPoint( ST_GeometryN(geom, 1) ) ) FROM mln2d WHERE id = 1"; if (!test_sql_query (db_handle, sql)) { ret = -19; ................................................................................ sql = "SELECT IsValidGPB( ST_EndPoint( ST_GeometryN(geom, 1) ) ) FROM mln2dm WHERE id = 2"; if (!test_sql_query (db_handle, sql)) { ret = -20; goto end; } #ifndef OMIT_GEOS /* only if GEOS is enabled */ sql = "SELECT IsValidGPB( ST_Line_Interpolate_Point( ST_GeometryN(geom, 1), 0.66) ) FROM mln3dz WHERE id = 2"; if (!test_sql_query (db_handle, sql)) { ret = -21; goto end; } ................................................................................ sql = "SELECT IsValidGPB(ST_Line_Substring( ST_GeometryN(geom, 1), 0.33, 0.66) ) FROM mln3dzm WHERE id = 1"; if (!test_sql_query (db_handle, sql)) { ret = -22; goto end; } #endif /* end GEOS conditionals */ /* testing MULTIPOLYGONs */ sql = "SELECT IsValidGPB( ST_EndPoint( ST_ExteriorRing( ST_GeometryN(geom, 1) ) ) ) FROM mpg2d WHERE id = 2"; if (!test_sql_query (db_handle, sql)) { ret = -23; |
| | | | | | |
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 ... 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 ... 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 ... 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
/* testing LINESTRINGs */ sql = "SELECT IsValidGPB( ST_Collect(geom) ) FROM ln2d"; if (!test_sql_query (db_handle, sql)) { ret = -7; goto end; } #ifndef OMIT_GEOS /* only if GEOS is enabled */ sql = "SELECT IsValidGPB( ST_Union(geom) ) FROM ln2dm"; if (!test_sql_query (db_handle, sql)) { ret = -8; goto end; } sql = "SELECT IsValidGPB( ST_Buffer(geom, 0.01) ) FROM ln3dz WHERE id = 2"; ................................................................................ "ST_GeomFromText('POLYGON((0 0, 0 30, 30 30, 30 0, 0 0))'), " "ST_Buffer(geom, 15) ) ) FROM mpt3dzm WHERE id = 1"; if (!test_sql_query (db_handle, sql)) { ret = -18; goto end; } #endif /* end GEOS conditionals */ /* testing MULTILINESTRINGs */ sql = "SELECT IsValidGPB( ST_StartPoint( ST_GeometryN(geom, 1) ) ) FROM mln2d WHERE id = 1"; if (!test_sql_query (db_handle, sql)) { ret = -19; ................................................................................ sql = "SELECT IsValidGPB( ST_EndPoint( ST_GeometryN(geom, 1) ) ) FROM mln2dm WHERE id = 2"; if (!test_sql_query (db_handle, sql)) { ret = -20; goto end; } #ifndef OMIT_GEOS /* only if GEOS is enabled */ sql = "SELECT IsValidGPB( ST_Line_Interpolate_Point( ST_GeometryN(geom, 1), 0.66) ) FROM mln3dz WHERE id = 2"; if (!test_sql_query (db_handle, sql)) { ret = -21; goto end; } ................................................................................ sql = "SELECT IsValidGPB(ST_Line_Substring( ST_GeometryN(geom, 1), 0.33, 0.66) ) FROM mln3dzm WHERE id = 1"; if (!test_sql_query (db_handle, sql)) { ret = -22; goto end; } #endif /* end GEOS conditionals */ /* testing MULTIPOLYGONs */ sql = "SELECT IsValidGPB( ST_EndPoint( ST_ExteriorRing( ST_GeometryN(geom, 1) ) ) ) FROM mpg2d WHERE id = 2"; if (!test_sql_query (db_handle, sql)) { ret = -23; |
Changes to test/check_init2.c.
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 ... 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 ... 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 ... 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 ... 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 |
sqlite3_close (handle); return -1; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_exec (handle, "SELECT InitSpatialMetadata(\"NONE\")", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "InitSpatialMetadata(\"NONE\") error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -2; } ret = sqlite3_exec (handle, "SELECT InsertEpsgSrid(4326)", NULL, NULL, ................................................................................ sqlite3_close (handle); return -11; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadata(\"EMPTY\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -12; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadata(\"EMPTY\") bad result: %i/%i.\n", rows, columns); return -13; } if (strcmp (results[1], "1") != 0) { fprintf (stderr, "Unexpected error: InitSpatialMetadata(\"EMPTY\"): %s.\n", results[1]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid(4326)", &results, ................................................................................ fprintf (stderr, "Unexpected error: InsertEpsgSrid(4326): %s.\n", results[1]); return -17; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid(\"Non-integer\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -18; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InsertEpsgSrid(\"Non-integer\") bad result: %i/%i.\n", rows, columns); return -19; } if (strcmp (results[1], "0") != 0) { fprintf (stderr, "Unexpected result: InsertEpsgSrid() with non-integer passed: %s.\n", ................................................................................ sqlite3_close (handle); return -22; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadata(\"WGS84\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -23; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadata(\"WGS84\") bad result: %i/%i.\n", rows, columns); return -24; } if (strcmp (results[1], "1") != 0) { fprintf (stderr, "Unexpected error: InitSpatialMetadata(\"WGS84\"): %s.\n", results[1]); return -25; } sqlite3_free_table (results); #ifndef OMIT_EPSG /* only if full EPSG support is enabled */ ................................................................................ sqlite3_close (handle); return -33; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadata(\"WGS84_only\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadata(\"WGS84_ONLY\") bad result: %i/%i.\n", rows, columns); return -35; } if (strcmp (results[1], "1") != 0) { fprintf (stderr, "Unexpected error: InitSpatialMetadata(\"WGS84_ONLY\"): %s.\n", results[1]); return -36; } sqlite3_free_table (results); ret = sqlite3_close (handle); if (ret != SQLITE_OK) |
| | < | | | | | | | | | | | |
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 ... 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 ... 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 ... 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 ... 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
sqlite3_close (handle); return -1; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_exec (handle, "SELECT InitSpatialMetadata('NONE')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "InitSpatialMetadata('NONE') error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -2; } ret = sqlite3_exec (handle, "SELECT InsertEpsgSrid(4326)", NULL, NULL, ................................................................................ sqlite3_close (handle); return -11; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadata('EMPTY')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -12; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadata('EMPTY') bad result: %i/%i.\n", rows, columns); return -13; } if (strcmp (results[1], "1") != 0) { fprintf (stderr, "Unexpected error: InitSpatialMetadata('EMPTY'): %s.\n", results[1]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid(4326)", &results, ................................................................................ fprintf (stderr, "Unexpected error: InsertEpsgSrid(4326): %s.\n", results[1]); return -17; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid('Non-integer')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -18; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InsertEpsgSrid('Non-integer') bad result: %i/%i.\n", rows, columns); return -19; } if (strcmp (results[1], "0") != 0) { fprintf (stderr, "Unexpected result: InsertEpsgSrid() with non-integer passed: %s.\n", ................................................................................ sqlite3_close (handle); return -22; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadata('WGS84')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -23; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadata('WGS84') bad result: %i/%i.\n", rows, columns); return -24; } if (strcmp (results[1], "1") != 0) { fprintf (stderr, "Unexpected error: InitSpatialMetadata('WGS84'): %s.\n", results[1]); return -25; } sqlite3_free_table (results); #ifndef OMIT_EPSG /* only if full EPSG support is enabled */ ................................................................................ sqlite3_close (handle); return -33; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadata('WGS84_only')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadata('WGS84_ONLY') bad result: %i/%i.\n", rows, columns); return -35; } if (strcmp (results[1], "1") != 0) { fprintf (stderr, "Unexpected error: InitSpatialMetadata('WGS84_ONLY'): %s.\n", results[1]); return -36; } sqlite3_free_table (results); ret = sqlite3_close (handle); if (ret != SQLITE_OK) |
Changes to test/check_init_full.c.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 ... 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 ... 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 ... 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 ... 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
sqlite3_close (handle); return -1; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_exec (handle, "SELECT InitSpatialMetadataFull(\"NONE\")", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "InitSpatialMetadataFull(\"NONE\") error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -2; } ret = ................................................................................ sqlite3_close (handle); return -11; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadataFull(\"EMPTY\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -12; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadataFull(\"EMPTY\") bad result: %i/%i.\n", rows, columns); return -13; } #ifdef ENABLE_RTTOPO if (strcmp (results[1], "1") != 0) #else if (strcmp (results[1], "0") != 0) #endif { fprintf (stderr, "Unexpected error: InitSpatialMetadataFull(\"EMPTY\"): %s.\n", results[1]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid(4326)", &results, ................................................................................ fprintf (stderr, "Unexpected error: InsertEpsgSrid(4326): %s.\n", results[1]); return -17; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid(\"Non-integer\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -18; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InsertEpsgSrid(\"Non-integer\") bad result: %i/%i.\n", rows, columns); return -19; } if (strcmp (results[1], "0") != 0) { fprintf (stderr, "Unexpected result: InsertEpsgSrid() with non-integer passed: %s.\n", ................................................................................ sqlite3_close (handle); return -22; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadataFull(\"WGS84\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -23; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadataFull(\"WGS84\") bad result: %i/%i.\n", rows, columns); return -24; } #ifdef ENABLE_RTTOPO if (strcmp (results[1], "1") != 0) #else if (strcmp (results[1], "0") != 0) #endif { fprintf (stderr, "Unexpected error: InitSpatialMetadataFull(\"WGS84\"): %s.\n", results[1]); return -25; } sqlite3_free_table (results); #ifndef OMIT_EPSG /* only if full EPSG support is enabled */ ................................................................................ return -33; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadataFull(\"WGS84_only\")", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadataFull(\"WGS84_ONLY\") bad result: %i/%i.\n", rows, columns); return -35; } #ifdef ENABLE_RTTOPO if (strcmp (results[1], "1") != 0) #else if (strcmp (results[1], "0") != 0) #endif { fprintf (stderr, "Unexpected error: InitSpatialMetadataFull(\"WGS84_ONLY\"): %s.\n", results[1]); return -36; } sqlite3_free_table (results); ret = sqlite3_close (handle); if (ret != SQLITE_OK) |
| | | | | | | | | | | | | |
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 ... 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 ... 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 ... 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 ... 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
sqlite3_close (handle); return -1; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_exec (handle, "SELECT InitSpatialMetadataFull('NONE')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "InitSpatialMetadataFull('NONE') error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -2; } ret = ................................................................................ sqlite3_close (handle); return -11; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadataFull('EMPTY')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -12; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadataFull('EMPTY') bad result: %i/%i.\n", rows, columns); return -13; } #ifdef ENABLE_RTTOPO if (strcmp (results[1], "1") != 0) #else if (strcmp (results[1], "0") != 0) #endif { fprintf (stderr, "Unexpected error: InitSpatialMetadataFull('EMPTY'): %s.\n", results[1]); return -14; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid(4326)", &results, ................................................................................ fprintf (stderr, "Unexpected error: InsertEpsgSrid(4326): %s.\n", results[1]); return -17; } sqlite3_free_table (results); ret = sqlite3_get_table (handle, "SELECT InsertEpsgSrid('Non-integer')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -18; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InsertEpsgSrid('Non-integer') bad result: %i/%i.\n", rows, columns); return -19; } if (strcmp (results[1], "0") != 0) { fprintf (stderr, "Unexpected result: InsertEpsgSrid() with non-integer passed: %s.\n", ................................................................................ sqlite3_close (handle); return -22; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadataFull('WGS84')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -23; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadataFull('WGS84') bad result: %i/%i.\n", rows, columns); return -24; } #ifdef ENABLE_RTTOPO if (strcmp (results[1], "1") != 0) #else if (strcmp (results[1], "0") != 0) #endif { fprintf (stderr, "Unexpected error: InitSpatialMetadataFull('WGS84'): %s.\n", results[1]); return -25; } sqlite3_free_table (results); #ifndef OMIT_EPSG /* only if full EPSG support is enabled */ ................................................................................ return -33; } spatialite_init_ex (handle, cache, 0); ret = sqlite3_get_table (handle, "SELECT InitSpatialMetadataFull('WGS84_only')", &results, &rows, &columns, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } if ((rows != 1) || (columns != 1)) { fprintf (stderr, "Unexpected result InitSpatialMetadataFull('WGS84_ONLY') bad result: %i/%i.\n", rows, columns); return -35; } #ifdef ENABLE_RTTOPO if (strcmp (results[1], "1") != 0) #else if (strcmp (results[1], "0") != 0) #endif { fprintf (stderr, "Unexpected error: InitSpatialMetadataFull('WGS84_ONLY'): %s.\n", results[1]); return -36; } sqlite3_free_table (results); ret = sqlite3_close (handle); if (ret != SQLITE_OK) |
Changes to test/check_mbrcache.c.
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 |
sqlite3_close (handle); return -33; } sqlite3_free_table (results); ret = sqlite3_exec (handle, "UPDATE Councils SET geom = GeomFromText('MULTIPOLYGON(((987226.750031 4627372.000018, 997301.750031 4627331.000018, 997402.500032 4627344.000018, 997541.500031 4627326.500018, 987226.750031 4627372.000018)))', 23032) WHERE lc_name = \"Quairading\";", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "UPDATE error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } |
| |
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 |
sqlite3_close (handle); return -33; } sqlite3_free_table (results); ret = sqlite3_exec (handle, "UPDATE Councils SET geom = GeomFromText('MULTIPOLYGON(((987226.750031 4627372.000018, 997301.750031 4627331.000018, 997402.500032 4627344.000018, 997541.500031 4627326.500018, 987226.750031 4627372.000018)))', 23032) WHERE lc_name = 'Quairading';", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "UPDATE error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } |
Changes to test/check_spatialindex.c.
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
...
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
|
sqlite3_close (handle); return -20; } sqlite3_free_table (results); ret = sqlite3_exec (handle, "UPDATE Councils SET geom = GeomFromText('MULTIPOLYGON(((987226.750031 4627372.000018, 997301.750031 4627331.000018, 997402.500032 4627344.000018, 997541.500031 4627326.500018, 987226.750031 4627372.000018)))', 23032) WHERE lc_name = \"Quairading\";", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "UPDATE error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } ................................................................................ sqlite3_close (handle); return -38; } sqlite3_free_table (results); ret = sqlite3_exec (handle, "DELETE FROM Councils WHERE lc_name = \"Ascoli Satriano\";", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "DELETE error: %s\n", err_msg); sqlite3_free (err_msg); return -39; } |
|
|
|
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
...
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
|
sqlite3_close (handle); return -20; } sqlite3_free_table (results); ret = sqlite3_exec (handle, "UPDATE Councils SET geom = GeomFromText('MULTIPOLYGON(((987226.750031 4627372.000018, 997301.750031 4627331.000018, 997402.500032 4627344.000018, 997541.500031 4627326.500018, 987226.750031 4627372.000018)))', 23032) WHERE lc_name = 'Quairading';", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "UPDATE error: %s\n", err_msg); sqlite3_free (err_msg); return -34; } ................................................................................ sqlite3_close (handle); return -38; } sqlite3_free_table (results); ret = sqlite3_exec (handle, "DELETE FROM Councils WHERE lc_name = 'Ascoli Satriano';", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "DELETE error: %s\n", err_msg); sqlite3_free (err_msg); return -39; } |
Changes to test/check_styling.c.
1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 .... 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 .... 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 .... 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 |
ret = execute_check (handle, sql, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error UpdateVectorCoverageExtent #1 %s\n\n", err_msg); sqlite3_free (err_msg); #ifndef PROJ_NEW /* using old PROJ.4 */ return -13; #endif } sql = sqlite3_mprintf ("SELECT SE_UnRegisterVectorCoverageSrid('table2', 4326)"); ................................................................................ ret = execute_check (handle, sql, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error UpdateVectorCoverageExtent #2 %s\n\n", err_msg); sqlite3_free (err_msg); #ifndef PROJ_NEW /* using old PROJ.4 */ return -19; #endif } sql = sqlite3_mprintf ("SELECT SE_UnRegisterVectorCoverage('table1')"); ret = execute_check (handle, sql, NULL); sqlite3_free (sql); ................................................................................ ret = execute_check (handle, sql, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error UpdateVectorCoverageExtent #3 %s\n\n", err_msg); sqlite3_free (err_msg); #ifndef PROJ_NEW /* using old PROJ.4 */ return -25; #endif } return 0; } ................................................................................ ret = execute_check (handle, sql, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error CreateStylingTables %s\n\n", err_msg); sqlite3_free (err_msg); return -3; } /* re-creating the Styling Triggers */ sql = "SELECT ReCreateStylingTriggers(1)"; ret = execute_check (handle, sql, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error ReCreateStylingTriggers %s\n\n", err_msg); sqlite3_free (err_msg); |
| | | | |
1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 .... 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 .... 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 .... 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 |
ret = execute_check (handle, sql, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error UpdateVectorCoverageExtent #1 %s\n\n", err_msg); sqlite3_free (err_msg); #ifndef PROJ_NEW /* using old PROJ.4 */ return -13; #endif } sql = sqlite3_mprintf ("SELECT SE_UnRegisterVectorCoverageSrid('table2', 4326)"); ................................................................................ ret = execute_check (handle, sql, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error UpdateVectorCoverageExtent #2 %s\n\n", err_msg); sqlite3_free (err_msg); #ifndef PROJ_NEW /* using old PROJ.4 */ return -19; #endif } sql = sqlite3_mprintf ("SELECT SE_UnRegisterVectorCoverage('table1')"); ret = execute_check (handle, sql, NULL); sqlite3_free (sql); ................................................................................ ret = execute_check (handle, sql, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error UpdateVectorCoverageExtent #3 %s\n\n", err_msg); sqlite3_free (err_msg); #ifndef PROJ_NEW /* using old PROJ.4 */ return -25; #endif } return 0; } ................................................................................ ret = execute_check (handle, sql, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error CreateStylingTables %s\n\n", err_msg); sqlite3_free (err_msg); return -3; } /* re-creating the Styling Triggers */ sql = "SELECT ReCreateStylingTriggers(1)"; ret = execute_check (handle, sql, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "Error ReCreateStylingTriggers %s\n\n", err_msg); sqlite3_free (err_msg); |
Changes to test/check_virtual_ovflw.c.
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 ... 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 ... 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 |
suffix[suffix_len - 1] = '\0'; #ifndef OMIT_FREEXL /* only if FreeXL is supported */ table = sqlite3_mprintf ("xltest_%s", suffix); sql = sqlite3_mprintf ("create VIRTUAL TABLE %s USING VirtualXL(\"testcase1.xls\");", table); ret = sqlite3_exec (db_handle, sql, NULL, NULL, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -3; } sql = sqlite3_mprintf ("select col_2, col_4, col_5, col_7, rowid " "from %s WHERE col_2 = \"Canal Creek\";", table); ret = sqlite3_get_table (db_handle, sql, &results, &rows, &columns, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); ................................................................................ sqlite3_free (table); #endif /* end FreeXL conditional */ table = sqlite3_mprintf ("shapetest_%s", suffix); sql = sqlite3_mprintf ("create VIRTUAL TABLE %s USING VirtualShape(\"shapetest1\", UTF-8, 4326);", table); ret = sqlite3_exec (db_handle, sql, NULL, NULL, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); ................................................................................ spatialite_init_ex (db_handle, cache, 0); table = sqlite3_mprintf ("roads_net_%s", suffix); sql = sqlite3_mprintf ("create VIRTUAL TABLE %s USING VirtualNetwork(\"roads_net_data\");", table); ret = sqlite3_exec (db_handle, sql, NULL, NULL, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualNetwork error: %s\n", err_msg); sqlite3_free (err_msg); |
| | | | |
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 ... 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 ... 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 |
suffix[suffix_len - 1] = '\0'; #ifndef OMIT_FREEXL /* only if FreeXL is supported */ table = sqlite3_mprintf ("xltest_%s", suffix); sql = sqlite3_mprintf ("create VIRTUAL TABLE %s USING VirtualXL('testcase1.xls');", table); ret = sqlite3_exec (db_handle, sql, NULL, NULL, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -3; } sql = sqlite3_mprintf ("select col_2, col_4, col_5, col_7, rowid " "from %s WHERE col_2 = 'Canal Creek';", table); ret = sqlite3_get_table (db_handle, sql, &results, &rows, &columns, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); sqlite3_free (err_msg); ................................................................................ sqlite3_free (table); #endif /* end FreeXL conditional */ table = sqlite3_mprintf ("shapetest_%s", suffix); sql = sqlite3_mprintf ("create VIRTUAL TABLE %s USING VirtualShape('shapetest1', UTF-8, 4326);", table); ret = sqlite3_exec (db_handle, sql, NULL, NULL, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); ................................................................................ spatialite_init_ex (db_handle, cache, 0); table = sqlite3_mprintf ("roads_net_%s", suffix); sql = sqlite3_mprintf ("create VIRTUAL TABLE %s USING VirtualNetwork('roads_net_data');", table); ret = sqlite3_exec (db_handle, sql, NULL, NULL, &err_msg); sqlite3_free (sql); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualNetwork error: %s\n", err_msg); sqlite3_free (err_msg); |
Changes to test/check_virtualtable1.c.
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
return -1; } spatialite_init_ex (db_handle, cache, 0); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE places USING VirtualText(\"testcase1.csv\", UTF-8, 0, POINT, DOUBLEQUOTE);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualText error: %s\n", err_msg); sqlite3_free (err_msg); return -2; } sql_statement = sqlite3_mprintf ("select col003, col005, col006, col008 from places WHERE col003 = \"Canal Creek\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); |
| | |
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
return -1; } spatialite_init_ex (db_handle, cache, 0); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE places USING VirtualText('testcase1.csv', UTF-8, 0, POINT, DOUBLEQUOTE);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualText error: %s\n", err_msg); sqlite3_free (err_msg); return -2; } sql_statement = sqlite3_mprintf ("select col003, col005, col006, col008 from places WHERE col003 = 'Canal Creek';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); |
Changes to test/check_virtualtable2.c.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 ... 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 ... 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 ... 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 ... 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 ... 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 ... 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 ... 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 .... 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
char *err_msg = NULL; char **results; int rows; int columns; ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest USING VirtualShape(\"shapetest1\", UTF-8, 4326);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -2; } ................................................................................ results[5]); return -34; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 < \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[5]); return -40; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 <= \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "BEGIN error: %s\n", err_msg); sqlite3_free (err_msg); return -47; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 > \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "ROLLBACK error: %s\n", err_msg); sqlite3_free (err_msg); return -55; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 >= \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[5]); return -61; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 = \"windward\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[5]); return -97; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select PKUID, testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 LIKE \"wind%%\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[0]); return -106; } sqlite3_free_table (results); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest2 USING VirtualShape(\"shp/merano-3d/roads\", CP1252, 25832);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -107; } ................................................................................ results[0]); return -116; } sqlite3_free_table (results); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest3 USING VirtualShape(\"shp/merano-3d/points\", CP1252, 25832);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -117; } ................................................................................ results[0]); return -123; } sqlite3_free_table (results); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest4 USING VirtualShape(\"shp/merano-3d/polygons\", CP1252, 25832);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -124; } |
| | | | | | | | | | |
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 ... 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 ... 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 ... 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 ... 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 ... 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 ... 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 ... 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 .... 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
char *err_msg = NULL; char **results; int rows; int columns; ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest USING VirtualShape('shapetest1', UTF-8, 4326);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -2; } ................................................................................ results[5]); return -34; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 < 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[5]); return -40; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 <= 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "BEGIN error: %s\n", err_msg); sqlite3_free (err_msg); return -47; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 > 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "ROLLBACK error: %s\n", err_msg); sqlite3_free (err_msg); return -55; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 >= 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[5]); return -61; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 = 'windward';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[5]); return -97; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select PKUID, testcase1, testcase2, AsText(Geometry) from shapetest where testcase1 LIKE 'wind%%';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[0]); return -106; } sqlite3_free_table (results); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest2 USING VirtualShape('shp/merano-3d/roads', CP1252, 25832);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -107; } ................................................................................ results[0]); return -116; } sqlite3_free_table (results); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest3 USING VirtualShape('shp/merano-3d/points', CP1252, 25832);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -117; } ................................................................................ results[0]); return -123; } sqlite3_free_table (results); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE shapetest4 USING VirtualShape('shp/merano-3d/polygons', CP1252, 25832);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualShape error: %s\n", err_msg); sqlite3_free (err_msg); return -124; } |
Changes to test/check_virtualtable3.c.
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 ... 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 ... 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 ... 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 ... 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 ... 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 ... 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 |
results[3]); return -32; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 < \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[3]); return -38; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 <= \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "BEGIN error: %s\n", err_msg); sqlite3_free (err_msg); return -46; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 > \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "ROLLBACK error: %s\n", err_msg); sqlite3_free (err_msg); return -47; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 >= \"p\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[3]); return -58; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 = \"windward\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[3]); return -88; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select PKUID, testcase1, testcase2 from dbftest where testcase1 LIKE \"wind%%\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ sqlite3_free (err_msg); return -49; } /* error cases */ ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE toofewargs USING VirtualDBF(\"shapetest1.dbf\");", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "VirtualDBF unexpected result: %i\n", ret); return -95; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE toomanyargs USING VirtualDBF(\"shapetest1.dbf\", UTF-8, 1, UPPER, 1);", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "2 VirtualDBF unexpected result: %i\n", ret); return -96; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE nosuchfile USING VirtualDBF(\"not_a_file.dbf\", UTF-8);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualDBF error: %s\n", err_msg); sqlite3_free (err_msg); return -97; } |
| | | | | | | | | |
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 ... 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 ... 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 ... 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 ... 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 ... 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 ... 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 |
results[3]); return -32; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 < 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[3]); return -38; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 <= 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "BEGIN error: %s\n", err_msg); sqlite3_free (err_msg); return -46; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 > 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "ROLLBACK error: %s\n", err_msg); sqlite3_free (err_msg); return -47; } sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 >= 'p';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[3]); return -58; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select testcase1, testcase2 from dbftest where testcase1 = 'windward';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ results[3]); return -88; } sqlite3_free_table (results); sql_statement = sqlite3_mprintf ("select PKUID, testcase1, testcase2 from dbftest where testcase1 LIKE 'wind%%';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ sqlite3_free (err_msg); return -49; } /* error cases */ ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE toofewargs USING VirtualDBF('shapetest1.dbf');", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "VirtualDBF unexpected result: %i\n", ret); return -95; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE toomanyargs USING VirtualDBF('shapetest1.dbf', UTF-8, 1, UPPER, 1);", NULL, NULL, &err_msg); if (ret != SQLITE_ERROR) { fprintf (stderr, "2 VirtualDBF unexpected result: %i\n", ret); return -96; } sqlite3_free (err_msg); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE nosuchfile USING VirtualDBF('not_a_file.dbf', UTF-8);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualDBF error: %s\n", err_msg); sqlite3_free (err_msg); return -97; } |
Changes to test/check_virtualtable4.c.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 ... 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 ... 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 ... 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 ... 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
const char *sql; const int num_rows; }; #define NUMSTEPS 36 struct test_step steps[NUMSTEPS] = { {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 > \"Canary Creek\";", 9}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 < \"Canary Creek\";", 7}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 >= \"Canary Creek\";", 10}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 <= \"Canary Creek\";", 8}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 = 3;", 0}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 > 100000;", 1}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 < 100000;", 16}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 < 100000 AND col_14 > 0;", 1}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 = 895;", 1}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 = 895.0;", 1}, ................................................................................ return -1; } spatialite_init_ex (db_handle, cache, 0); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE xltest USING VirtualXL(\"testcase1.xls\");", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -2; } sql_statement = sqlite3_mprintf ("select col_2, col_4, col_5, col_7, rowid from xltest WHERE col_2 = \"Canal Creek\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -25; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE nosuchworksheet USING VirtualXL(\"testcase1.xls\", 3);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -26; } ................................................................................ fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -27; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE nosuchfile USING VirtualXL(\"not_a_file.xls\", 3);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -28; } ................................................................................ fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -29; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE sheet2 USING VirtualXL(\"testcase1.xls\", 1, 1);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -30; } sql_statement = sqlite3_mprintf ("select row_no, place, lat, lon, rowid from sheet2 WHERE place = \"Canal Creek\";"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ { fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -46; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE noheader USING VirtualXL(\"testcase1.xls\", 0, 0);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -47; } |
| | | | | | | | | | | |
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 ... 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 ... 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 ... 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 ... 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
const char *sql; const int num_rows; }; #define NUMSTEPS 36 struct test_step steps[NUMSTEPS] = { {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 > 'Canary Creek';", 9}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 < 'Canary Creek';", 7}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 >= 'Canary Creek';", 10}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 <= 'Canary Creek';", 8}, {"select col_2, col_4, col_5, col_7 from xltest WHERE col_2 = 3;", 0}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 > 100000;", 1}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 < 100000;", 16}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 < 100000 AND col_14 > 0;", 1}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 = 895;", 1}, {"SELECT col_2, col_14 FROM xltest WHERE col_14 = 895.0;", 1}, ................................................................................ return -1; } spatialite_init_ex (db_handle, cache, 0); ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE xltest USING VirtualXL('testcase1.xls');", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -2; } sql_statement = sqlite3_mprintf ("select col_2, col_4, col_5, col_7, rowid from xltest WHERE col_2 = 'Canal Creek';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -25; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE nosuchworksheet USING VirtualXL('testcase1.xls', 3);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -26; } ................................................................................ fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -27; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE nosuchfile USING VirtualXL('not_a_file.xls', 3);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -28; } ................................................................................ fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -29; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE sheet2 USING VirtualXL('testcase1.xls', 1, 1);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -30; } sql_statement = sqlite3_mprintf ("select row_no, place, lat, lon, rowid from sheet2 WHERE place = 'Canal Creek';"); ret = sqlite3_get_table (db_handle, sql_statement, &results, &rows, &columns, &err_msg); sqlite3_free (sql_statement); if (ret != SQLITE_OK) { fprintf (stderr, "Error: %s\n", err_msg); ................................................................................ { fprintf (stderr, "DROP TABLE error: %s\n", err_msg); sqlite3_free (err_msg); return -46; } ret = sqlite3_exec (db_handle, "create VIRTUAL TABLE noheader USING VirtualXL('testcase1.xls', 0, 0);", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "VirtualXL error: %s\n", err_msg); sqlite3_free (err_msg); return -47; } |
Changes to test/elba-sezcen.sqlite.
cannot compute difference between binary files
Changes to test/geojson_test.c.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
if (ret != SQLITE_OK) { fprintf (stderr, "InitSpatialMetadata() error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -3; } /* testing ImportGeoJSON basic options */ ret = sqlite3_exec(handle, "SELECT ImportGeoJSON('./test.geojson', 'euro_cities')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ImportGeoJSON() #1 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -4; } /* testing ImportGeoJSON full options */ ret = sqlite3_exec(handle, "SELECT ImportGeoJSON('./test.geojson', 'euro_cities2', 1, 4326, 'UPPER')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ImportGeoJSON() #2 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -5; } /* testing ExportGeoJSON2 basic options */ ret = sqlite3_exec(handle, "SELECT ExportGeoJSON2('euro_cities', NULL, './text_export1.geojson')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ExportGeoJSON2() #1 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -6; } /* testing ExportGeoJSON2 basic options */ ret = sqlite3_exec(handle, "SELECT ExportGeoJSON2('euro_cities', NULL, './text_export2.geojson', 8, 1, 0, 'UPPER')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ExportGeoJSON2() #2 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -7; } return 0; } int main (int argc, char *argv[]) { int ret; sqlite3 *handle; |
| > > | > | > > | > | > > | > | > > | > | | |
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
if (ret != SQLITE_OK) { fprintf (stderr, "InitSpatialMetadata() error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -3; } /* testing ImportGeoJSON basic options */ ret = sqlite3_exec (handle, "SELECT ImportGeoJSON('./test.geojson', 'euro_cities')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ImportGeoJSON() #1 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -4; } /* testing ImportGeoJSON full options */ ret = sqlite3_exec (handle, "SELECT ImportGeoJSON('./test.geojson', 'euro_cities2', 1, 4326, 'UPPER')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ImportGeoJSON() #2 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -5; } /* testing ExportGeoJSON2 basic options */ ret = sqlite3_exec (handle, "SELECT ExportGeoJSON2('euro_cities', NULL, './text_export1.geojson')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ExportGeoJSON2() #1 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -6; } /* testing ExportGeoJSON2 basic options */ ret = sqlite3_exec (handle, "SELECT ExportGeoJSON2('euro_cities', NULL, './text_export2.geojson', 8, 1, 0, 'UPPER')", NULL, NULL, &err_msg); if (ret != SQLITE_OK) { fprintf (stderr, "ExportGeoJSON2() #2 error: %s\n", err_msg); sqlite3_free (err_msg); sqlite3_close (handle); return -7; } return 0; } int main (int argc, char *argv[]) { int ret; sqlite3 *handle; |
Changes to test/routing_test.c.
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 |
/* testing invalid cases */
ret = do_test_invalid (handle);
if (ret != 0)
{
fprintf (stderr, "Test Invalid cases error\n");
return -4;
}
#endif /* end GEOS conditional */
sqlite3_close (handle);
spatialite_cleanup_ex (cache);
ret = unlink ("copy-orbetello.sqlite");
if (ret != 0)
{
|
| |
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 |
/* testing invalid cases */ ret = do_test_invalid (handle); if (ret != 0) { fprintf (stderr, "Test Invalid cases error\n"); return -4; } #endif /* end GEOS conditional */ sqlite3_close (handle); spatialite_cleanup_ex (cache); ret = unlink ("copy-orbetello.sqlite"); if (ret != 0) { |
Changes to test/sql_stmt_tests/NumPoints2.testcase.
1 2 3 4 5 6 7 |
NumPoints - Simple line :memory: #use in-memory database SELECT NumPoints(GeomFromText("LINESTRING(0 0, 1 2)")); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText("LINESTRING(0 0, 1 2)")) 2 |
| | |
1 2 3 4 5 6 7 |
NumPoints - Simple line :memory: #use in-memory database SELECT NumPoints(GeomFromText('LINESTRING(0 0, 1 2)')); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText('LINESTRING(0 0, 1 2)')) 2 |
Changes to test/sql_stmt_tests/NumPoints3.testcase.
1 2 3 4 5 6 7 |
NumPoints - Simple line Z :memory: #use in-memory database SELECT NumPoints(GeomFromText("LINESTRINGZ(0 0 0, 1 2 1)")); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText("LINESTRINGZ(0 0 0, 1 2 1)")) 2 |
| | |
1 2 3 4 5 6 7 |
NumPoints - Simple line Z :memory: #use in-memory database SELECT NumPoints(GeomFromText('LINESTRINGZ(0 0 0, 1 2 1)')); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText('LINESTRINGZ(0 0 0, 1 2 1)')) 2 |
Changes to test/sql_stmt_tests/NumPoints4.testcase.
1 2 3 4 5 6 7 |
NumPoints - Simple line M :memory: #use in-memory database SELECT NumPoints(GeomFromText("LINESTRINGM(0 0 0, 1 2 1)")); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText("LINESTRINGM(0 0 0, 1 2 1)")) 2 |
| | |
1 2 3 4 5 6 7 |
NumPoints - Simple line M :memory: #use in-memory database SELECT NumPoints(GeomFromText('LINESTRINGM(0 0 0, 1 2 1)')); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText('LINESTRINGM(0 0 0, 1 2 1)')) 2 |
Changes to test/sql_stmt_tests/NumPoints5.testcase.
1 2 3 4 5 6 7 |
NumPoints - Simple line ZM :memory: #use in-memory database SELECT NumPoints(GeomFromText("LINESTRINGZM(0 0 0 1, 1 2 1 2)")); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText("LINESTRINGZM(0 0 0 1, 1 2 1 2)")) 2 |
| | |
1 2 3 4 5 6 7 |
NumPoints - Simple line ZM :memory: #use in-memory database SELECT NumPoints(GeomFromText('LINESTRINGZM(0 0 0 1, 1 2 1 2)')); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText('LINESTRINGZM(0 0 0 1, 1 2 1 2)')) 2 |
Changes to test/sql_stmt_tests/NumPoints6.testcase.
1 2 3 4 5 6 7 |
NumPoints - text (error) :memory: #use in-memory database SELECT NumPoints("hello"); 1 # rows (not including the header row) 1 # column NumPoints("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
NumPoints - text (error) :memory: #use in-memory database SELECT NumPoints('hello'); 1 # rows (not including the header row) 1 # column NumPoints('hello') (NULL) |
Changes to test/sql_stmt_tests/NumPoints7.testcase.
1 2 3 4 5 6 7 |
NumPoints - Simple line Z :memory: #use in-memory database SELECT NumPoints(GeomFromText("POINT(0 0)")); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText("POINT(0 0)")) (NULL) |
| | |
1 2 3 4 5 6 7 |
NumPoints - Simple line Z :memory: #use in-memory database SELECT NumPoints(GeomFromText('POINT(0 0)')); 1 # rows (not including the header row) 1 # column NumPoints(GeomFromText('POINT(0 0)')) (NULL) |
Changes to test/sql_stmt_tests/SridFromAuthCRS.testcase.
1 2 3 4 5 6 7 |
SridFromAuthCRS :memory: #use in-memory database SELECT SridFromAuthCRS("EPSG", 4326) 1 # rows (not including the header row) 1 # columns SridFromAuthCRS("EPSG", 4326) 4326 |
| | |
1 2 3 4 5 6 7 |
SridFromAuthCRS :memory: #use in-memory database SELECT SridFromAuthCRS('EPSG', 4326) 1 # rows (not including the header row) 1 # columns SridFromAuthCRS('EPSG', 4326) 4326 |
Changes to test/sql_stmt_tests/SridFromAuthCRS2.testcase.
1 2 3 4 5 6 7 |
SridFromAuthCRS - non-integer second arg :memory: #use in-memory database SELECT SridFromAuthCRS("EPSG", "WGS084") 1 # rows (not including the header row) 1 # columns SridFromAuthCRS("EPSG", "WGS084") (NULL) |
| | |
1 2 3 4 5 6 7 |
SridFromAuthCRS - non-integer second arg :memory: #use in-memory database SELECT SridFromAuthCRS('EPSG', 'WGS084') 1 # rows (not including the header row) 1 # columns SridFromAuthCRS('EPSG', 'WGS084') (NULL) |
Changes to test/sql_stmt_tests/asbinary1.testcase.
1 2 3 4 5 6 7 |
asbinary :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("Point(1 2)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("Point(1 2)", 4326))) 0101000000000000000000F03F0000000000000040 |
| | |
1 2 3 4 5 6 7 |
asbinary :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('Point(1 2)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('Point(1 2)', 4326))) 0101000000000000000000F03F0000000000000040 |
Changes to test/sql_stmt_tests/asbinary10.testcase.
1 2 3 4 5 6 7 |
asbinary - POINTZM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("POINTZM(1 2 3 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("POINTZM(1 2 3 0)", 4326))) 01B90B0000000000000000F03F000000000000004000000000000008400000000000000000 |
| | |
1 2 3 4 5 6 7 |
asbinary - POINTZM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('POINTZM(1 2 3 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('POINTZM(1 2 3 0)', 4326))) 01B90B0000000000000000F03F000000000000004000000000000008400000000000000000 |
Changes to test/sql_stmt_tests/asbinary11.testcase.
1 2 3 4 5 6 7 |
asbinary - MULTILINESTRING :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRING((0 0, 3 0,3 0, 3 3), (0 0, 0 3))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRING((0 0, 3 0,3 0, 3 3), (0 0, 0 3))", 4326))) 010500000002000000010200000004000000000000000000000000000000000000000000000000000840000000000000000000000000000008400000000000000000000000000000084000000000000008400102000000020000000000000000000000000000000000000000000000000000000000000000000840 |
| | |
1 2 3 4 5 6 7 |
asbinary - MULTILINESTRING :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRING((0 0, 3 0,3 0, 3 3), (0 0, 0 3))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRING((0 0, 3 0,3 0, 3 3), (0 0, 0 3))', 4326))) 010500000002000000010200000004000000000000000000000000000000000000000000000000000840000000000000000000000000000008400000000000000000000000000000084000000000000008400102000000020000000000000000000000000000000000000000000000000000000000000000000840 |
Changes to test/sql_stmt_tests/asbinary12.testcase.
1 2 3 4 5 6 7 8 9 |
asbinary - MULTILINESTRINGZ :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRINGZ((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRINGZ((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))", 4326))) 01ED0300000200000001EA0300000400000000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000F03F00000000000008400000000000000000000000000000004000000000000008400000000000000840000000000000084001EA0300000200000000000000000000000000000000000000000000000000F03F000000000000000000000000000008400000000000000040 |
| | |
1 2 3 4 5 6 7 8 9 |
asbinary - MULTILINESTRINGZ :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRINGZ((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRINGZ((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))', 4326))) 01ED0300000200000001EA0300000400000000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000F03F00000000000008400000000000000000000000000000004000000000000008400000000000000840000000000000084001EA0300000200000000000000000000000000000000000000000000000000F03F000000000000000000000000000008400000000000000040 |
Changes to test/sql_stmt_tests/asbinary13.testcase.
1 2 3 4 5 6 7 8 9 |
asbinary - MULTILINESTRINGM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRINGM((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRINGM((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))", 4326))) 01D50700000200000001D20700000400000000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000F03F00000000000008400000000000000000000000000000004000000000000008400000000000000840000000000000084001D20700000200000000000000000000000000000000000000000000000000F03F000000000000000000000000000008400000000000000040 |
| | |
1 2 3 4 5 6 7 8 9 |
asbinary - MULTILINESTRINGM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRINGM((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRINGM((0 0 0, 3 0 1,3 0 2, 3 3 3), (0 0 1, 0 3 2))', 4326))) 01D50700000200000001D20700000400000000000000000000000000000000000000000000000000000000000000000008400000000000000000000000000000F03F00000000000008400000000000000000000000000000004000000000000008400000000000000840000000000000084001D20700000200000000000000000000000000000000000000000000000000F03F000000000000000000000000000008400000000000000040 |
Changes to test/sql_stmt_tests/asbinary14.testcase.
1 2 3 4 5 6 7 8 9 |
asbinary - MULTILINESTRINGZM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRINGZM((0 0 0 1, 3 0 1 1,3 0 2 1, 3 3 3 1), (0 0 1 2, 0 3 2 2))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRINGZM((0 0 0 1, 3 0 1 1,3 0 2 1, 3 3 3 1), (0 0 1 2, 0 3 2 2))", 4326))) 01BD0B00000200000001BA0B000004000000000000000000000000000000000000000000000000000000000000000000F03F00000000000008400000000000000000000000000000F03F000000000000F03F000000000000084000000000000000000000000000000040000000000000F03F000000000000084000000000000008400000000000000840000000000000F03F01BA0B00000200000000000000000000000000000000000000000000000000F03F00000000000000400000000000000000000000000000084000000000000000400000000000000040 |
| | |
1 2 3 4 5 6 7 8 9 |
asbinary - MULTILINESTRINGZM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRINGZM((0 0 0 1, 3 0 1 1,3 0 2 1, 3 3 3 1), (0 0 1 2, 0 3 2 2))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRINGZM((0 0 0 1, 3 0 1 1,3 0 2 1, 3 3 3 1), (0 0 1 2, 0 3 2 2))', 4326))) 01BD0B00000200000001BA0B000004000000000000000000000000000000000000000000000000000000000000000000F03F00000000000008400000000000000000000000000000F03F000000000000F03F000000000000084000000000000000000000000000000040000000000000F03F000000000000084000000000000008400000000000000840000000000000F03F01BA0B00000200000000000000000000000000000000000000000000000000F03F00000000000000400000000000000000000000000000084000000000000000400000000000000040 |
Changes to test/sql_stmt_tests/asbinary16.testcase.
1 2 3 4 5 6 7 |
asbinary - POLYGON :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("POLYGON((0 0, 3 0,3 3, 0 3,0 0), (1 1, 1 2, 2 2, 2 1, 1 1))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("POLYGON((0 0, 3 0,3 3, 0 3,0 0), (1 1, 1 2, 2 2, 2 1, 1 1))", 4326))) 01030000000200000005000000000000000000000000000000000000000000000000000840000000000000000000000000000008400000000000000840000000000000000000000000000008400000000000000000000000000000000005000000000000000000F03F000000000000F03F000000000000F03F0000000000000040000000000000004000000000000000400000000000000040000000000000F03F000000000000F03F000000000000F03F |
| | |
1 2 3 4 5 6 7 |
asbinary - POLYGON :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('POLYGON((0 0, 3 0,3 3, 0 3,0 0), (1 1, 1 2, 2 2, 2 1, 1 1))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('POLYGON((0 0, 3 0,3 3, 0 3,0 0), (1 1, 1 2, 2 2, 2 1, 1 1))', 4326))) 01030000000200000005000000000000000000000000000000000000000000000000000840000000000000000000000000000008400000000000000840000000000000000000000000000008400000000000000000000000000000000005000000000000000000F03F000000000000F03F000000000000F03F0000000000000040000000000000004000000000000000400000000000000040000000000000F03F000000000000F03F000000000000F03F |
Changes to test/sql_stmt_tests/asbinary17.testcase.
1 2 3 4 5 6 7 |
asbinary - POLYGONZM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("POLYGONZM((0 0 0 0, 3 0 0 0,3 3 0 0, 0 3 0 0,0 0 0 0), (1 1 1 1, 1 2 1 1, 2 2 1 1, 2 1 1 1, 1 1 1 1))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("POLYGONZM((0 0 0 0, 3 0 0 0,3 3 0 0, 0 3 0 0,0 0 0 0), (1 1 1 1, 1 2 1 1, 2 2 1 1, 2 1 1 1, 1 1 1 1))", 4326))) 01BB0B000002000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008400000000000000840000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000040000000000000F03F000000000000F03F00000000000000400000000000000040000000000000F03F000000000000F03F0000000000000040000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F |
| | |
1 2 3 4 5 6 7 |
asbinary - POLYGONZM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('POLYGONZM((0 0 0 0, 3 0 0 0,3 3 0 0, 0 3 0 0,0 0 0 0), (1 1 1 1, 1 2 1 1, 2 2 1 1, 2 1 1 1, 1 1 1 1))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('POLYGONZM((0 0 0 0, 3 0 0 0,3 3 0 0, 0 3 0 0,0 0 0 0), (1 1 1 1, 1 2 1 1, 2 2 1 1, 2 1 1 1, 1 1 1 1))', 4326))) 01BB0B000002000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008400000000000000840000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F0000000000000040000000000000F03F000000000000F03F00000000000000400000000000000040000000000000F03F000000000000F03F0000000000000040000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000F03F |
Changes to test/sql_stmt_tests/asbinary3.testcase.
1 2 3 4 5 6 7 |
asbinary - text :memory: #use in-memory database SELECT AsBinary("hello") 1 # rows (not including the header row) 1 # columns AsBinary("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
asbinary - text :memory: #use in-memory database SELECT AsBinary('hello') 1 # rows (not including the header row) 1 # columns AsBinary('hello') (NULL) |
Changes to test/sql_stmt_tests/asbinary4.testcase.
1 2 3 4 5 6 7 |
asbinary - multipoint :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MultiPoint(1 2,2 4)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MultiPoint(1 2,2 4)", 4326))) 0104000000020000000101000000000000000000F03F0000000000000040010100000000000000000000400000000000001040 |
| | |
1 2 3 4 5 6 7 |
asbinary - multipoint :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MultiPoint(1 2,2 4)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MultiPoint(1 2,2 4)', 4326))) 0104000000020000000101000000000000000000F03F0000000000000040010100000000000000000000400000000000001040 |
Changes to test/sql_stmt_tests/asbinary5.testcase.
1 2 3 4 5 6 7 |
asbinary - multipointz :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MultiPointZ(1 2 3,2 4 4)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MultiPointZ(1 2 3,2 4 4)", 4326))) 01EC0300000200000001E9030000000000000000F03F0000000000000040000000000000084001E9030000000000000000004000000000000010400000000000001040 |
| | |
1 2 3 4 5 6 7 |
asbinary - multipointz :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MultiPointZ(1 2 3,2 4 4)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MultiPointZ(1 2 3,2 4 4)', 4326))) 01EC0300000200000001E9030000000000000000F03F0000000000000040000000000000084001E9030000000000000000004000000000000010400000000000001040 |
Changes to test/sql_stmt_tests/asbinary6.testcase.
1 2 3 4 5 6 7 |
asbinary - multipointm :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MultiPointM(1 2 3,2 4 4)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MultiPointM(1 2 3,2 4 4)", 4326))) 01D40700000200000001D1070000000000000000F03F0000000000000040000000000000084001D1070000000000000000004000000000000010400000000000001040 |
| | |
1 2 3 4 5 6 7 |
asbinary - multipointm :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MultiPointM(1 2 3,2 4 4)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MultiPointM(1 2 3,2 4 4)', 4326))) 01D40700000200000001D1070000000000000000F03F0000000000000040000000000000084001D1070000000000000000004000000000000010400000000000001040 |
Changes to test/sql_stmt_tests/asbinary7.testcase.
1 2 3 4 5 6 7 |
asbinary - multipointzm :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MultiPointZM(1 2 3 0,2 4 4 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MultiPointZM(1 2 3 0,2 4 4 0)", 4326))) 01BC0B00000200000001B90B0000000000000000F03F00000000000000400000000000000840000000000000000001B90B00000000000000000040000000000000104000000000000010400000000000000000 |
| | |
1 2 3 4 5 6 7 |
asbinary - multipointzm :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MultiPointZM(1 2 3 0,2 4 4 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MultiPointZM(1 2 3 0,2 4 4 0)', 4326))) 01BC0B00000200000001B90B0000000000000000F03F00000000000000400000000000000840000000000000000001B90B00000000000000000040000000000000104000000000000010400000000000000000 |
Changes to test/sql_stmt_tests/asbinary8.testcase.
1 2 3 4 5 6 7 |
asbinary - POINTM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("POINTM(1 2 3)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("POINTM(1 2 3)", 4326))) 01D1070000000000000000F03F00000000000000400000000000000840 |
| | |
1 2 3 4 5 6 7 |
asbinary - POINTM :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('POINTM(1 2 3)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('POINTM(1 2 3)', 4326))) 01D1070000000000000000F03F00000000000000400000000000000840 |
Changes to test/sql_stmt_tests/asbinary9.testcase.
1 2 3 4 5 6 7 |
asbinary - POINTZ :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("POINTZ(1 2 3)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("POINTZ(1 2 3)", 4326))) 01E9030000000000000000F03F00000000000000400000000000000840 |
| | |
1 2 3 4 5 6 7 |
asbinary - POINTZ :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('POINTZ(1 2 3)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('POINTZ(1 2 3)', 4326))) 01E9030000000000000000F03F00000000000000400000000000000840 |
Changes to test/sql_stmt_tests/asewkb1.testcase.
1 2 3 4 5 6 7 8 9 10 |
asewkb - POINT :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("POINT(1 3)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("POINT(1 3)", 4326))) 3031303130303030323045363130303030303030303030303030303030304630334630303030303030303030303030383430 |
| | |
1 2 3 4 5 6 7 8 9 10 |
asewkb - POINT :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('POINT(1 3)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('POINT(1 3)', 4326))) 3031303130303030323045363130303030303030303030303030303030304630334630303030303030303030303030383430 |
Changes to test/sql_stmt_tests/asewkb10.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRINGZM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("LINESTRINGZM(1 3 2 0,1 0 2 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("LINESTRINGZM(1 3 2 0,1 0 2 0)", 4326))) 30313032303030304530453631303030303030323030303030303030303030303030303030304630334630303030303030303030303030383430303030303030303030303030303034303030303030303030303030303030303030303030303030303030303046303346303030303030303030303030303030303030303030303030303030303030343030303030303030303030303030303030 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRINGZM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('LINESTRINGZM(1 3 2 0,1 0 2 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('LINESTRINGZM(1 3 2 0,1 0 2 0)', 4326))) 30313032303030304530453631303030303030323030303030303030303030303030303030304630334630303030303030303030303030383430303030303030303030303030303034303030303030303030303030303030303030303030303030303030303046303346303030303030303030303030303030303030303030303030303030303030343030303030303030303030303030303030 |
Changes to test/sql_stmt_tests/asewkb11.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - MULTILINESTRING :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("MULTILINESTRING((1 3,2 0,1 0,2 0),(2 1, 3 4, 9 8, -30 -3.2))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("MULTILINESTRING((1 3,2 0,1 0,2 0),(2 1, 3 4, 9 8, -30 -3.2))", 4326))) 303130353030303032304536313030303030303230303030303030313032303030303030303430303030303030303030303030303030303046303346303030303030303030303030303834303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030463033463030303030303030303030303030303030303030303030303030303030303430303030303030303030303030303030303031303230303030303030343030303030303030303030303030303030303030343030303030303030303030303046303346303030303030303030303030303834303030303030303030303030303130343030303030303030303030303032323430303030303030303030303030323034303030303030303030303030303345433039413939393939393939393930394330 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - MULTILINESTRING :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('MULTILINESTRING((1 3,2 0,1 0,2 0),(2 1, 3 4, 9 8, -30 -3.2))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('MULTILINESTRING((1 3,2 0,1 0,2 0),(2 1, 3 4, 9 8, -30 -3.2))', 4326))) 303130353030303032304536313030303030303230303030303030313032303030303030303430303030303030303030303030303030303046303346303030303030303030303030303834303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030463033463030303030303030303030303030303030303030303030303030303030303430303030303030303030303030303030303031303230303030303030343030303030303030303030303030303030303030343030303030303030303030303046303346303030303030303030303030303834303030303030303030303030303130343030303030303030303030303032323430303030303030303030303030323034303030303030303030303030303345433039413939393939393939393930394330 |
Changes to test/sql_stmt_tests/asewkb12.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - POLYGON :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("POLYGON((0 0,10 0,10 10,0 10,0 0),(1 1,2 2, 2 1, 1 1))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("POLYGON((0 0,10 0,10 10,0 10,0 0),(1 1,2 2, 2 1, 1 1))", 4326))) 303130333030303032304536313030303030303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030323434303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030323434303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030343030303030303030303030303030303030304630334630303030303030303030303046303346303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303430303030303030303030303030463033463030303030303030303030304630334630303030303030303030303046303346 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - POLYGON :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('POLYGON((0 0,10 0,10 10,0 10,0 0),(1 1,2 2, 2 1, 1 1))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('POLYGON((0 0,10 0,10 10,0 10,0 0),(1 1,2 2, 2 1, 1 1))', 4326))) 303130333030303032304536313030303030303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030323434303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030323434303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030343030303030303030303030303030303030304630334630303030303030303030303046303346303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303430303030303030303030303030463033463030303030303030303030304630334630303030303030303030303046303346 |
Changes to test/sql_stmt_tests/asewkb13.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - POLYGONZ :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))", 4326))) 303130333030303041304536313030303030303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030303034303030303030303030303030304630334630303030303030303030303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - POLYGONZ :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))', 4326))) 303130333030303041304536313030303030303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030303034303030303030303030303030304630334630303030303030303030303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030 |
Changes to test/sql_stmt_tests/asewkb14.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - POLYGONM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("POLYGONM((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("POLYGONM((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))", 4326))) 303130333030303036304536313030303030303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030303034303030303030303030303030304630334630303030303030303030303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - POLYGONM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('POLYGONM((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('POLYGONM((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0))', 4326))) 303130333030303036304536313030303030303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030303034303030303030303030303030304630334630303030303030303030303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030 |
Changes to test/sql_stmt_tests/asewkb15.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - MULTIPOINT, 1 point :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("MULTIPOINT(0 1)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("MULTIPOINT(0 1)", 4326))) 3031303430303030323045363130303030303031303030303030303130313030303030303030303030303030303030303030303030303030303030303030303046303346 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - MULTIPOINT, 1 point :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('MULTIPOINT(0 1)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('MULTIPOINT(0 1)', 4326))) 3031303430303030323045363130303030303031303030303030303130313030303030303030303030303030303030303030303030303030303030303030303046303346 |
Changes to test/sql_stmt_tests/asewkb16.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - GEOMETRYCOLLECTION, 2 points :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("GEOMETRYCOLLECTION(POINT(0 1), POINT(2 3))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("GEOMETRYCOLLECTION(POINT(0 1), POINT(2 3))", 4326))) 3031303730303030323045363130303030303032303030303030303130313030303030303030303030303030303030303030303030303030303030303030303046303346303130313030303030303030303030303030303030303030343030303030303030303030303030383430 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - GEOMETRYCOLLECTION, 2 points :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('GEOMETRYCOLLECTION(POINT(0 1), POINT(2 3))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('GEOMETRYCOLLECTION(POINT(0 1), POINT(2 3))', 4326))) 3031303730303030323045363130303030303032303030303030303130313030303030303030303030303030303030303030303030303030303030303030303046303346303130313030303030303030303030303030303030303030343030303030303030303030303030383430 |
Changes to test/sql_stmt_tests/asewkb17.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - GEOMETRYCOLLECTION, polygonz and pointz :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(0 1 3), POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0)))", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(0 1 3), POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0)))", 4326))) 30313037303030304130453631303030303030323030303030303031303130303030383030303030303030303030303030303030303030303030303030303030463033463030303030303030303030303038343030313033303030303830303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030303034303030303030303030303030304630334630303030303030303030303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - GEOMETRYCOLLECTION, polygonz and pointz :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(0 1 3), POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0)))', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(0 1 3), POLYGONZ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(1 1 0,2 2 0, 2 1 0, 1 1 0)))', 4326))) 30313037303030304130453631303030303030323030303030303031303130303030383030303030303030303030303030303030303030303030303030303030463033463030303030303030303030303038343030313033303030303830303230303030303030353030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303234343030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303032343430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030303030303030303030303030303034303030303030303030303030303030343030303030303030303030303030303030303030303030303030303030303034303030303030303030303030304630334630303030303030303030303030303030303030303030303030303030463033463030303030303030303030304630334630303030303030303030303030303030 |
Changes to test/sql_stmt_tests/asewkb2.testcase.
1 2 3 4 5 6 7 8 |
asewkb - POINTZ :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("POINTZ(1 3 1)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("POINTZ(1 3 1)", 4326))) 303130313030303041304536313030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303046303346 |
| | |
1 2 3 4 5 6 7 8 |
asewkb - POINTZ :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('POINTZ(1 3 1)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('POINTZ(1 3 1)', 4326))) 303130313030303041304536313030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303046303346 |
Changes to test/sql_stmt_tests/asewkb3.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - POINTM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("POINTM(1 3 1)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("POINTM(1 3 1)", 4326))) 303130313030303036304536313030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303046303346 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - POINTM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('POINTM(1 3 1)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('POINTM(1 3 1)', 4326))) 303130313030303036304536313030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303046303346 |
Changes to test/sql_stmt_tests/asewkb4.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRING :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("LINESTRING(1 3,1 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("LINESTRING(1 3,1 0)", 4326))) 303130323030303032304536313030303030303230303030303030303030303030303030303046303346303030303030303030303030303834303030303030303030303030304630334630303030303030303030303030303030 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRING :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('LINESTRING(1 3,1 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('LINESTRING(1 3,1 0)', 4326))) 303130323030303032304536313030303030303230303030303030303030303030303030303046303346303030303030303030303030303834303030303030303030303030304630334630303030303030303030303030303030 |
Changes to test/sql_stmt_tests/asewkb6.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - POINTZM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("POINTZM(1 3 1 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("POINTZM(1 3 1 0)", 4326))) 30313031303030304530453631303030303030303030303030303030303046303346303030303030303030303030303834303030303030303030303030304630334630303030303030303030303030303030 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - POINTZM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('POINTZM(1 3 1 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('POINTZM(1 3 1 0)', 4326))) 30313031303030304530453631303030303030303030303030303030303046303346303030303030303030303030303834303030303030303030303030304630334630303030303030303030303030303030 |
Changes to test/sql_stmt_tests/asewkb8.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRINGZ :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("LINESTRINGZ(1 3 2,1 0 2)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("LINESTRINGZ(1 3 2,1 0 2)", 4326))) 3031303230303030413045363130303030303032303030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303030303430303030303030303030303030463033463030303030303030303030303030303030303030303030303030303030303430 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRINGZ :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('LINESTRINGZ(1 3 2,1 0 2)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('LINESTRINGZ(1 3 2,1 0 2)', 4326))) 3031303230303030413045363130303030303032303030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303030303430303030303030303030303030463033463030303030303030303030303030303030303030303030303030303030303430 |
Changes to test/sql_stmt_tests/asewkb9.testcase.
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRINGM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText("LINESTRINGM(1 3 2,1 0 2)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText("LINESTRINGM(1 3 2,1 0 2)", 4326))) 3031303230303030363045363130303030303032303030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303030303430303030303030303030303030463033463030303030303030303030303030303030303030303030303030303030303430 |
| | |
1 2 3 4 5 6 7 8 9 |
asewkb - LINESTRINGM :memory: #use in-memory database SELECT Hex(AsEWKB(GeomFromText('LINESTRINGM(1 3 2,1 0 2)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(AsEWKB(GeomFromText('LINESTRINGM(1 3 2,1 0 2)', 4326))) 3031303230303030363045363130303030303032303030303030303030303030303030303030463033463030303030303030303030303038343030303030303030303030303030303430303030303030303030303030463033463030303030303030303030303030303030303030303030303030303030303430 |
Changes to test/sql_stmt_tests/asfgf1.testcase.
1 2 3 4 5 6 7 |
asfgf - non-blob input :memory: #use in-memory database SELECT AsFGF("hello", 1) 1 # rows (not including the header row) 1 # columns AsFGF("hello", 1) (NULL) |
| | |
1 2 3 4 5 6 7 |
asfgf - non-blob input :memory: #use in-memory database SELECT AsFGF('hello', 1) 1 # rows (not including the header row) 1 # columns AsFGF('hello', 1) (NULL) |
Changes to test/sql_stmt_tests/asfgf3.testcase.
1 2 3 4 5 6 7 |
asfgf - non-int second arg :memory: #use in-memory database SELECT AsFGF(GeomFromText("POINT(1 2)"), "world") 1 # rows (not including the header row) 1 # columns AsFGF(GeomFromText("POINT(1 2)"), "world") (NULL) |
| | |
1 2 3 4 5 6 7 |
asfgf - non-int second arg :memory: #use in-memory database SELECT AsFGF(GeomFromText('POINT(1 2)'), 'world') 1 # rows (not including the header row) 1 # columns AsFGF(GeomFromText('POINT(1 2)'), 'world') (NULL) |
Changes to test/sql_stmt_tests/asfgf4.testcase.
1 2 3 4 5 6 7 |
asfgf - negative second arg :memory: #use in-memory database SELECT AsFGF(GeomFromText("POINT(1 2)"), -1) 1 # rows (not including the header row) 1 # columns AsFGF(GeomFromText("POINT(1 2)"), -1) (NULL) |
| | |
1 2 3 4 5 6 7 |
asfgf - negative second arg :memory: #use in-memory database SELECT AsFGF(GeomFromText('POINT(1 2)'), -1) 1 # rows (not including the header row) 1 # columns AsFGF(GeomFromText('POINT(1 2)'), -1) (NULL) |
Changes to test/sql_stmt_tests/asfgf5.testcase.
1 2 3 4 5 6 7 |
asfgf - out of range second arg :memory: #use in-memory database SELECT AsFGF(GeomFromText("POINT(1 2)"), 4) 1 # rows (not including the header row) 1 # columns AsFGF(GeomFromText("POINT(1 2)"), 4) (NULL) |
| | |
1 2 3 4 5 6 7 |
asfgf - out of range second arg :memory: #use in-memory database SELECT AsFGF(GeomFromText('POINT(1 2)'), 4) 1 # rows (not including the header row) 1 # columns AsFGF(GeomFromText('POINT(1 2)'), 4) (NULL) |
Changes to test/sql_stmt_tests/asfgf6.testcase.
1 2 3 4 5 6 7 |
asfgf - pointxy, 0 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText("POINT(1 2)"), 0)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText("POINT(1 2)"), 0)) 0100000000000000000000000000F03F0000000000000040 |
| | |
1 2 3 4 5 6 7 |
asfgf - pointxy, 0 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText('POINT(1 2)'), 0)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText('POINT(1 2)'), 0)) 0100000000000000000000000000F03F0000000000000040 |
Changes to test/sql_stmt_tests/asfgf7.testcase.
1 2 3 4 5 6 7 |
asfgf - pointxy, 1 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText("POINT(1 2)"), 1)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText("POINT(1 2)"), 1)) 0100000001000000000000000000F03F00000000000000400000000000000000 |
| | |
1 2 3 4 5 6 7 |
asfgf - pointxy, 1 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText('POINT(1 2)'), 1)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText('POINT(1 2)'), 1)) 0100000001000000000000000000F03F00000000000000400000000000000000 |
Changes to test/sql_stmt_tests/asfgf8.testcase.
1 2 3 4 5 6 7 |
asfgf - pointxy, 2 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText("POINT(1 2)"), 2)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText("POINT(1 2)"), 2)) 0100000002000000000000000000F03F00000000000000400000000000000000 |
| | |
1 2 3 4 5 6 7 |
asfgf - pointxy, 2 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText('POINT(1 2)'), 2)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText('POINT(1 2)'), 2)) 0100000002000000000000000000F03F00000000000000400000000000000000 |
Changes to test/sql_stmt_tests/asfgf9.testcase.
1 2 3 4 5 6 7 |
asfgf - pointxy, 3 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText("POINT(1 2)"), 3)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText("POINT(1 2)"), 3)) 0100000003000000000000000000F03F000000000000004000000000000000000000000000000000 |
| | |
1 2 3 4 5 6 7 |
asfgf - pointxy, 3 dim :memory: #use in-memory database SELECT Hex(AsFGF(GeomFromText('POINT(1 2)'), 3)) 1 # rows (not including the header row) 1 # columns Hex(AsFGF(GeomFromText('POINT(1 2)'), 3)) 0100000003000000000000000000F03F000000000000004000000000000000000000000000000000 |
Changes to test/sql_stmt_tests/asgeojson2.testcase.
1 2 3 4 5 6 7 |
asgeojson - bad args (non-blob, 2 arg) :memory: #use in-memory database SELECT asgeojson("hello", 4); 1 # rows (not including the header row) 1 # columns asgeojson("hello", 4) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgeojson - bad args (non-blob, 2 arg) :memory: #use in-memory database SELECT asgeojson('hello', 4); 1 # rows (not including the header row) 1 # columns asgeojson('hello', 4) (NULL) |
Changes to test/sql_stmt_tests/asgeojson3.testcase.
1 2 3 4 5 6 7 |
asgeojson - bad args (2 arg, bad precision) :memory: #use in-memory database SELECT asgeojson(GeomFromText("Point(1 2)", 4326), 4.2); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText("Point(1 2)", 4326), 4.2) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgeojson - bad args (2 arg, bad precision) :memory: #use in-memory database SELECT asgeojson(GeomFromText('Point(1 2)', 4326), 4.2); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText('Point(1 2)', 4326), 4.2) (NULL) |
Changes to test/sql_stmt_tests/asgeojson4.testcase.
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, bad precision) :memory: #use in-memory database SELECT asgeojson(GeomFromText("Point(1 2)", 4326), 4.2, 2); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText("Point(1 2)", 4326), 4.2, 2) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, bad precision) :memory: #use in-memory database SELECT asgeojson(GeomFromText('Point(1 2)', 4326), 4.2, 2); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText('Point(1 2)', 4326), 4.2, 2) (NULL) |
Changes to test/sql_stmt_tests/asgeojson5.testcase.
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, bad option type) :memory: #use in-memory database SELECT asgeojson(GeomFromText("Point(1 2)", 4326), 4, 2.2); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText("Point(1 2)", 4326), 4, 2.2) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, bad option type) :memory: #use in-memory database SELECT asgeojson(GeomFromText('Point(1 2)', 4326), 4, 2.2); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText('Point(1 2)', 4326), 4, 2.2) (NULL) |
Changes to test/sql_stmt_tests/asgeojson6.testcase.
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, non-blob type) :memory: #use in-memory database SELECT asgeojson("hello", 4, 2); 1 # rows (not including the header row) 1 # columns asgeojson("hello", 4, 2) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, non-blob type) :memory: #use in-memory database SELECT asgeojson('hello', 4, 2); 1 # rows (not including the header row) 1 # columns asgeojson('hello', 4, 2) (NULL) |
Changes to test/sql_stmt_tests/asgeojson7.testcase.
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, out of range option) :memory: #use in-memory database SELECT asgeojson(GeomFromText("Point(1 2)", 4326), 4, 22); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText("Point(1 2)", 4326), 4, 22) {"type":"Point","coordinates":[1,2]}:0 |
| | |
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, out of range option) :memory: #use in-memory database SELECT asgeojson(GeomFromText('Point(1 2)', 4326), 4, 22); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText('Point(1 2)', 4326), 4, 22) {"type":"Point","coordinates":[1,2]}:0 |
Changes to test/sql_stmt_tests/asgeojson8.testcase.
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, out of range option 0) :memory: #use in-memory database SELECT asgeojson(GeomFromText("Point(1 2)", 4326), 4, 0); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText("Point(1 2)", 4326), 4, 0) {"type":"Point","coordinates":[1,2]}:0 |
| | |
1 2 3 4 5 6 7 |
asgeojson - bad args (3 arg, out of range option 0) :memory: #use in-memory database SELECT asgeojson(GeomFromText('Point(1 2)', 4326), 4, 0); 1 # rows (not including the header row) 1 # columns asgeojson(GeomFromText('Point(1 2)', 4326), 4, 0) {"type":"Point","coordinates":[1,2]}:0 |
Changes to test/sql_stmt_tests/asgml10.testcase.
1 2 3 4 5 6 7 |
asgml - 2 arg :memory: #use in-memory database SELECT asgml(GeomFromText("Point(1 2)", 4326), 4); 1 # rows (not including the header row) 1 # columns asgml(GeomFromText("Point(1 2)", 4326), 4) <gml:Point srsName="EPSG:4326"><gml:coordinates>1,2</gml:coordinates></gml:Point>:0 |
| | |
1 2 3 4 5 6 7 |
asgml - 2 arg :memory: #use in-memory database SELECT asgml(GeomFromText('Point(1 2)', 4326), 4); 1 # rows (not including the header row) 1 # columns asgml(GeomFromText('Point(1 2)', 4326), 4) <gml:Point srsName="EPSG:4326"><gml:coordinates>1,2</gml:coordinates></gml:Point>:0 |
Changes to test/sql_stmt_tests/asgml11.testcase.
1 2 3 4 5 6 7 |
asgml - 2 arg :memory: #use in-memory database SELECT asgml(2, "hello"); 1 # rows (not including the header row) 1 # columns asgml(2, "hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
asgml - 2 arg :memory: #use in-memory database SELECT asgml(2, 'hello'); 1 # rows (not including the header row) 1 # columns asgml(2, 'hello') (NULL) |
Changes to test/sql_stmt_tests/asgml4.testcase.
1 2 3 4 5 6 7 |
asgml - bad args (non-blob, 3 arg) :memory: #use in-memory database SELECT asgml(2, "hello", 5); 1 # rows (not including the header row) 1 # columns asgml(2, "hello", 5) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgml - bad args (non-blob, 3 arg) :memory: #use in-memory database SELECT asgml(2, 'hello', 5); 1 # rows (not including the header row) 1 # columns asgml(2, 'hello', 5) (NULL) |
Changes to test/sql_stmt_tests/asgml5.testcase.
1 2 3 4 5 6 7 |
asgml - bad args (non-blob, 3 arg) :memory: #use in-memory database SELECT asgml(2, "hello", 5); 1 # rows (not including the header row) 1 # columns asgml(2, "hello", 5) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgml - bad args (non-blob, 3 arg) :memory: #use in-memory database SELECT asgml(2, 'hello', 5); 1 # rows (not including the header row) 1 # columns asgml(2, 'hello', 5) (NULL) |
Changes to test/sql_stmt_tests/asgml6.testcase.
1 2 3 4 5 6 7 |
asgml - bad args (non-int, 2 arg) :memory: #use in-memory database SELECT asgml("hello", GeomFromText("Point(1 2)")); 1 # rows (not including the header row) 1 # columns asgml("hello", GeomFromText("Point(1 2)")) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgml - bad args (non-int, 2 arg) :memory: #use in-memory database SELECT asgml('hello', GeomFromText('Point(1 2)')); 1 # rows (not including the header row) 1 # columns asgml('hello', GeomFromText('Point(1 2)')) (NULL) |
Changes to test/sql_stmt_tests/asgml7.testcase.
1 2 3 4 5 6 7 |
asgml - bad args (non-int, 3 arg) :memory: #use in-memory database SELECT asgml("hello", GeomFromText("Point(1 2)"), 4); 1 # rows (not including the header row) 1 # columns asgml("hello", GeomFromText("Point(1 2)"), 4) (NULL) |
| | |
1 2 3 4 5 6 7 |
asgml - bad args (non-int, 3 arg) :memory: #use in-memory database SELECT asgml('hello', GeomFromText('Point(1 2)'), 4); 1 # rows (not including the header row) 1 # columns asgml('hello', GeomFromText('Point(1 2)'), 4) (NULL) |
Changes to test/sql_stmt_tests/asgml8.testcase.
1 2 3 4 5 6 7 |
asgml - bad args (non-int 3rd arg) :memory: #use in-memory database SELECT asgml(3, GeomFromText("Point(1 2)"), "four"); 1 # rows (not including the header row) 1 # columns asgml(3, GeomFromText("Point(1 2)"), "four") (NULL) |
| | |
1 2 3 4 5 6 7 |
asgml - bad args (non-int 3rd arg) :memory: #use in-memory database SELECT asgml(3, GeomFromText('Point(1 2)'), 'four'); 1 # rows (not including the header row) 1 # columns asgml(3, GeomFromText('Point(1 2)'), 'four') (NULL) |
Changes to test/sql_stmt_tests/asgml9.testcase.
1 2 3 4 5 6 7 |
asgml - bad args (non-int 2nd arg) :memory: #use in-memory database SELECT asgml(GeomFromText("Point(1 2)"), "four"); 1 # rows (not including the header row) 1 # columns asgml(GeomFromText("Point(1 2)"), "four") (NULL) |
| | |
1 2 3 4 5 6 7 |
asgml - bad args (non-int 2nd arg) :memory: #use in-memory database SELECT asgml(GeomFromText('Point(1 2)'), 'four'); 1 # rows (not including the header row) 1 # columns asgml(GeomFromText('Point(1 2)'), 'four') (NULL) |
Changes to test/sql_stmt_tests/assvg1.testcase.
1 2 3 4 5 6 7 |
assvg - 2 arg bad precision (error) :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1 2)", 4326), "hello") 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1 2)", 4326), "hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
assvg - 2 arg bad precision (error) :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1 2)', 4326), 'hello') 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1 2)', 4326), 'hello') (NULL) |
Changes to test/sql_stmt_tests/assvg17.testcase.
1 2 3 4 5 6 7 |
assvg - 3 arg excessive precision :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1.3759 2)", 4326), 0, 17) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1.3759 2)", 4326), 0, 17) cx="1.3759" cy="-2" |
| | |
1 2 3 4 5 6 7 |
assvg - 3 arg excessive precision :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1.3759 2)', 4326), 0, 17) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1.3759 2)', 4326), 0, 17) cx="1.3759" cy="-2" |
Changes to test/sql_stmt_tests/assvg18.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XY :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("LINESTRING(1 2, 4 3, 5 6, 8 7)", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XY :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('LINESTRING(1 2, 4 3, 5 6, 8 7)', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
Changes to test/sql_stmt_tests/assvg19.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XYZ :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("LINESTRINGZ(1 2 100, 4 3 101, 5 6 102, 8 7 103)", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XYZ :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('LINESTRINGZ(1 2 100, 4 3 101, 5 6 102, 8 7 103)', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
Changes to test/sql_stmt_tests/assvg2.testcase.
1 2 3 4 5 6 7 |
assvg - 2 arg with SRID :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1 2)", 4326), 1) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1 2)", 4326), 1) x="1" y="-2" |
| | |
1 2 3 4 5 6 7 |
assvg - 2 arg with SRID :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1 2)', 4326), 1) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1 2)', 4326), 1) x="1" y="-2" |
Changes to test/sql_stmt_tests/assvg20.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XYM :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("LINESTRINGM(1 2 10, 4 3 11, 5 6 12, 8 7 13)", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XYM :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('LINESTRINGM(1 2 10, 4 3 11, 5 6 12, 8 7 13)', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
Changes to test/sql_stmt_tests/assvg21.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XYZM :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("LINESTRINGZM(1 2 100 10, 4 3 101 11, 5 6 102 12, 8 7 103 13)", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Linestring XYZM :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('LINESTRINGZM(1 2 100 10, 4 3 101 11, 5 6 102 12, 8 7 103 13)', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 1 -2 l 3 -1 1 -3 3 -1 M 1 -2 L 4 -3 5 -6 8 -7 |
Changes to test/sql_stmt_tests/assvg22.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Polygon :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("POLYGON((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11))", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 10 -10 l 5 0 0 -5 -5 0 z M 11 -11 l 1 0 0 -1 -1 0 z M 10 -10 L 15 -10 15 -15 10 -15 z M 11 -11 L 12 -11 12 -12 11 -12 z |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute Polygon :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('POLYGON((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11))', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 10 -10 l 5 0 0 -5 -5 0 z M 11 -11 l 1 0 0 -1 -1 0 z M 10 -10 L 15 -10 15 -15 10 -15 z M 11 -11 L 12 -11 12 -12 11 -12 z |
Changes to test/sql_stmt_tests/assvg23.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute MultiPoint :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("MULTIPOINT(10 10, 15 10)", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs x="10" y="-10",x="15" y="-10" cx="10" cy="-10",cx="15" cy="-10" |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute MultiPoint :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('MULTIPOINT(10 10, 15 10)', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs x="10" y="-10",x="15" y="-10" cx="10" cy="-10",cx="15" cy="-10" |
Changes to test/sql_stmt_tests/assvg24.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute MultiLinestring :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("MULTILINESTRING((10 10, 15 10), (10 15, 10 10))", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 10 -10 l 5 0 M 10 -15 l 0 5 M 10 -10 L 15 -10 M 10 -15 L 10 -10 |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute MultiLinestring :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('MULTILINESTRING((10 10, 15 10), (10 15, 10 10))', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 10 -10 l 5 0 M 10 -15 l 0 5 M 10 -10 L 15 -10 M 10 -15 L 10 -10 |
Changes to test/sql_stmt_tests/assvg25.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute MultiPolygon :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10)), ((71 11, 75 11, 75 15, 71 15, 71 11), (72 12, 73 12, 73 13, 72 13, 71 12)))", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 10 -10 l 5 0 0 -5 -5 0 z M 71 -11 l 4 0 0 -4 -4 0 z M 72 -12 l 1 0 0 -1 -1 0 z M 10 -10 L 15 -10 15 -15 10 -15 z M 71 -11 L 75 -11 75 -15 71 -15 z M 72 -12 L 73 -12 73 -13 72 -13 z |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute MultiPolygon :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10)), ((71 11, 75 11, 75 15, 71 15, 71 11), (72 12, 73 12, 73 13, 72 13, 71 12)))', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs M 10 -10 l 5 0 0 -5 -5 0 z M 71 -11 l 4 0 0 -4 -4 0 z M 72 -12 l 1 0 0 -1 -1 0 z M 10 -10 L 15 -10 15 -15 10 -15 z M 71 -11 L 75 -11 75 -15 71 -15 z M 72 -12 L 73 -12 73 -13 72 -13 z |
Changes to test/sql_stmt_tests/assvg26.testcase.
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute GeometryCollection :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), POINT(7 8), LINESTRING(3 4, 5 6), POLYGON((71 11, 75 11, 75 15, 71 15, 71 11), (72 12, 73 12, 73 13, 72 13, 71 12)))", 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs x="1" y="-2";x="7" y="-8";M 3 -4 l 2 -2 M 71 -11 l 4 0 0 -4 -4 0 z M 72 -12 l 1 0 0 -1 -1 0 z cx="1" cy="-2";cx="7" cy="-8";M 3 -4 L 5 -6 M 71 -11 L 75 -11 75 -15 71 -15 z M 72 -12 L 73 -12 73 -13 72 -13 z |
| |
1 2 3 4 5 6 7 8 9 |
assvg - relative/absolute GeometryCollection :memory: #use in-memory database SELECT assvg(geom, 1) AS rel, assvg(geom, 0) AS abs FROM (SELECT GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), POINT(7 8), LINESTRING(3 4, 5 6), POLYGON((71 11, 75 11, 75 15, 71 15, 71 11), (72 12, 73 12, 73 13, 72 13, 71 12)))', 4326) AS geom) dummy; 1 # rows (not including the header row) 2 # columns rel abs x="1" y="-2";x="7" y="-8";M 3 -4 l 2 -2 M 71 -11 l 4 0 0 -4 -4 0 z M 72 -12 l 1 0 0 -1 -1 0 z cx="1" cy="-2";cx="7" cy="-8";M 3 -4 L 5 -6 M 71 -11 L 75 -11 75 -15 71 -15 z M 72 -12 L 73 -12 73 -13 72 -13 z |
Changes to test/sql_stmt_tests/assvg3.testcase.
1 2 3 4 5 6 7 |
assvg - 3 arg non-relative :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1.3759 2)", 4326), 0, 2) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1.3759 2)", 4326), 0, 2) cx="1.38" cy="-2" |
| | |
1 2 3 4 5 6 7 |
assvg - 3 arg non-relative :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1.3759 2)', 4326), 0, 2) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1.3759 2)', 4326), 0, 2) cx="1.38" cy="-2" |
Changes to test/sql_stmt_tests/assvg4.testcase.
1 2 3 4 5 6 7 |
assvg - 1 arg with SRID :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1 2)", 4326)) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1 2)", 4326)) cx="1" cy="-2" |
| | |
1 2 3 4 5 6 7 |
assvg - 1 arg with SRID :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1 2)', 4326)) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1 2)', 4326)) cx="1" cy="-2" |
Changes to test/sql_stmt_tests/assvg7.testcase.
1 2 3 4 5 6 7 |
assvg - 3 arg negative precision :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1.3759 2)", 4326), 0, -1) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1.3759 2)", 4326), 0, -1) cx="1" cy="-2" |
| | |
1 2 3 4 5 6 7 |
assvg - 3 arg negative precision :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1.3759 2)', 4326), 0, -1) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1.3759 2)', 4326), 0, -1) cx="1" cy="-2" |
Changes to test/sql_stmt_tests/assvg8.testcase.
1 2 3 4 5 6 7 |
assvg - 3 arg bad second arg :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1.3759 2)", 4326), "hello", -1) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1.3759 2)", 4326), "hello", -1) (NULL) |
| | |
1 2 3 4 5 6 7 |
assvg - 3 arg bad second arg :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1.3759 2)', 4326), 'hello', -1) 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1.3759 2)', 4326), 'hello', -1) (NULL) |
Changes to test/sql_stmt_tests/assvg9.testcase.
1 2 3 4 5 6 7 |
assvg - 3 arg bad third arg :memory: #use in-memory database SELECT assvg(GeomFromText("Point(1.3759 2)", 4326), 0, "hello") 1 # rows (not including the header row) 1 # columns assvg(GeomFromText("Point(1.3759 2)", 4326), 0, "hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
assvg - 3 arg bad third arg :memory: #use in-memory database SELECT assvg(GeomFromText('Point(1.3759 2)', 4326), 0, 'hello') 1 # rows (not including the header row) 1 # columns assvg(GeomFromText('Point(1.3759 2)', 4326), 0, 'hello') (NULL) |
Changes to test/sql_stmt_tests/aswkt-text.testcase.
1 2 3 4 5 6 7 |
aswkt-text :memory: #use in-memory database SELECT AsWkt("not a blob", 4); 1 # rows (not including the header row) 1 # columns AsWkt("not a blob", 4) (NULL) |
| | |
1 2 3 4 5 6 7 |
aswkt-text :memory: #use in-memory database SELECT AsWkt('not a blob', 4); 1 # rows (not including the header row) 1 # columns AsWkt('not a blob', 4) (NULL) |
Changes to test/sql_stmt_tests/badEWKT1.testcase.
1 2 3 4 5 6 7 |
bad EWKT: Point :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;POINT(11.2 12.3"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;POINT(11.2 12.3") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: Point :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;POINT(11.2 12.3'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;POINT(11.2 12.3') (NULL) |
Changes to test/sql_stmt_tests/badEWKT2.testcase.
1 2 3 4 5 6 7 |
bad EWKT: Linestring :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: Linestring :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5') (NULL) |
Changes to test/sql_stmt_tests/badEWKT3.testcase.
1 2 3 4 5 6 7 |
bad EWKT: Polygon :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: Polygon :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)') (NULL) |
Changes to test/sql_stmt_tests/badEWKT4.testcase.
1 2 3 4 5 6 7 |
bad EWKT: MultiPoint :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;MULTIPOINT(11.2 12.3, 11.3 12.4"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;MULTIPOINT(11.2 12.3, 11.3 12.4") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: MultiPoint :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;MULTIPOINT(11.2 12.3, 11.3 12.4'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;MULTIPOINT(11.2 12.3, 11.3 12.4') (NULL) |
Changes to test/sql_stmt_tests/badEWKT5.testcase.
1 2 3 4 5 6 7 |
bad EWKT: MultiLinestring :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: MultiLinestring :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)') (NULL) |
Changes to test/sql_stmt_tests/badEWKT6.testcase.
1 2 3 4 5 6 7 |
bad EWKT: MultiPolygon :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: MultiPolygon :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))') (NULL) |
Changes to test/sql_stmt_tests/badEWKT7.testcase.
1 2 3 4 5 6 7 |
bad EWKT: GeometryCollection :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: GeometryCollection :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)') (NULL) |
Changes to test/sql_stmt_tests/badEWKT8.testcase.
1 2 3 4 5 6 7 |
bad EWKT: illegal GeometryCollection :memory: #use in-memory database SELECT GeomFromEWKT("SRID=4326;GEOMETRYCOLLECTION()"); 1 # rows (not including the header row) 1 # columns GeomFromEWKT("SRID=4326;GEOMETRYCOLLECTION()") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad EWKT: illegal GeometryCollection :memory: #use in-memory database SELECT GeomFromEWKT('SRID=4326;GEOMETRYCOLLECTION()'); 1 # rows (not including the header row) 1 # columns GeomFromEWKT('SRID=4326;GEOMETRYCOLLECTION()') (NULL) |
Changes to test/sql_stmt_tests/badwkt1.testcase.
1 2 3 4 5 6 7 |
bad WKT: Point :memory: #use in-memory database SELECT GeomFromText("POINT(11.2 12.3"); 1 # rows (not including the header row) 1 # columns GeomFromText("POINT(11.2 12.3"); (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: Point :memory: #use in-memory database SELECT GeomFromText('POINT(11.2 12.3'); 1 # rows (not including the header row) 1 # columns GeomFromText('POINT(11.2 12.3'); (NULL) |
Changes to test/sql_stmt_tests/badwkt2.testcase.
1 2 3 4 5 6 7 |
bad WKT: Linestring :memory: #use in-memory database SELECT GeomFromText("LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5"); 1 # rows (not including the header row) 1 # columns GeomFromText("LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: Linestring :memory: #use in-memory database SELECT GeomFromText('LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5'); 1 # rows (not including the header row) 1 # columns GeomFromText('LINESTRING(11.2 12.3, 11.3 12.4, 11.4 12.5') (NULL) |
Changes to test/sql_stmt_tests/badwkt3.testcase.
1 2 3 4 5 6 7 |
bad WKT: Polygon :memory: #use in-memory database SELECT GeomFromText("POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)"); 1 # rows (not including the header row) 1 # columns GeomFromText("POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: Polygon :memory: #use in-memory database SELECT GeomFromText('POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)'); 1 # rows (not including the header row) 1 # columns GeomFromText('POLYGON((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)') (NULL) |
Changes to test/sql_stmt_tests/badwkt4.testcase.
1 2 3 4 5 6 7 |
bad WKT: MultiPoint :memory: #use in-memory database SELECT GeomFromText("MULTIPOINT(11.2 12.3, 11.3 12.4"); 1 # rows (not including the header row) 1 # columns GeomFromText("MULTIPOINT(11.2 12.3, 11.3 12.4") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: MultiPoint :memory: #use in-memory database SELECT GeomFromText('MULTIPOINT(11.2 12.3, 11.3 12.4'); 1 # rows (not including the header row) 1 # columns GeomFromText('MULTIPOINT(11.2 12.3, 11.3 12.4') (NULL) |
Changes to test/sql_stmt_tests/badwkt5.testcase.
1 2 3 4 5 6 7 |
bad WKT: MultiLinestring :memory: #use in-memory database SELECT GeomFromText("MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)"); 1 # rows (not including the header row) 1 # columns GeomFromText("MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: MultiLinestring :memory: #use in-memory database SELECT GeomFromText('MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)'); 1 # rows (not including the header row) 1 # columns GeomFromText('MULTILINESTRING((11.2 12.3, 11.3 12.4, 11.4 12.5), (11.5 12.6, 11.6 12.7)') (NULL) |
Changes to test/sql_stmt_tests/badwkt6.testcase.
1 2 3 4 5 6 7 |
bad WKT: MultiPolygon :memory: #use in-memory database SELECT GeomFromText("MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))"); 1 # rows (not including the header row) 1 # columns GeomFromText("MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: MultiPolygon :memory: #use in-memory database SELECT GeomFromText('MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))'); 1 # rows (not including the header row) 1 # columns GeomFromText('MULTIPOLYGON(((11.2 12.3, 11.3 12.3, 11.3 12.4, 11.2 12.4, 11.2 12.3)), ((10.2 11.3, 10.3 11.3, 10.3 11.4, 10.2 11.4, 10.2 11.3))') (NULL) |
Changes to test/sql_stmt_tests/badwkt7.testcase.
1 2 3 4 5 6 7 |
bad WKT: GeometryCollection :memory: #use in-memory database SELECT GeomFromText("GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)"); 1 # rows (not including the header row) 1 # columns GeomFromText("GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: GeometryCollection :memory: #use in-memory database SELECT GeomFromText('GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)'); 1 # rows (not including the header row) 1 # columns GeomFromText('GEOMETRYCOLLECYION(POINT(11.2 12.3), LINESTRING(11.3 12.4, 11.4 12.4)') (NULL) |
Changes to test/sql_stmt_tests/badwkt8.testcase.
1 2 3 4 5 6 7 |
bad WKT: illegal GeometryCollection :memory: #use in-memory database SELECT GeomFromText("GEOMETRYCOLLECTION()"); 1 # rows (not including the header row) 1 # columns GeomFromText("GEOMETRYCOLLECTION()") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: illegal GeometryCollection :memory: #use in-memory database SELECT GeomFromText('GEOMETRYCOLLECTION()'); 1 # rows (not including the header row) 1 # columns GeomFromText('GEOMETRYCOLLECTION()') (NULL) |
Changes to test/sql_stmt_tests/badwkt9.testcase.
1 2 3 4 5 6 7 |
bad WKT: illegal Point :memory: #use in-memory database SELECT PointFromText("LINESTRING(11.3 12.4, 11.4 12.4)"); 1 # rows (not including the header row) 1 # columns PointFromText("LINESTRING(11.3 12.4, 11.4 12.4)") (NULL) |
| | |
1 2 3 4 5 6 7 |
bad WKT: illegal Point :memory: #use in-memory database SELECT PointFromText('LINESTRING(11.3 12.4, 11.4 12.4)'); 1 # rows (not including the header row) 1 # columns PointFromText('LINESTRING(11.3 12.4, 11.4 12.4)') (NULL) |
Changes to test/sql_stmt_tests/casttogeometrycollection2.testcase.
1 2 3 4 5 6 7 |
casttogeometrycollection - non-blob :memory: #use in-memory database SELECT CastToGeometryCollection("hello") 1 # rows (not including the header row) 1 # columns CastToGeometryCollection("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
casttogeometrycollection - non-blob :memory: #use in-memory database SELECT CastToGeometryCollection('hello') 1 # rows (not including the header row) 1 # columns CastToGeometryCollection('hello') (NULL) |
Changes to test/sql_stmt_tests/casttogeometrycollection3.testcase.
1 2 3 4 5 6 7 |
casttogeometrycollection - 2 linestrings :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText("MULTILINESTRING((4 1, 3 4),(4 6, 3 1))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText("MULTILINESTRING((4 1, 3 4),(4 6, 3 1))"))) GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4), LINESTRING(4 6, 3 1)) |
| | |
1 2 3 4 5 6 7 |
casttogeometrycollection - 2 linestrings :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText('MULTILINESTRING((4 1, 3 4),(4 6, 3 1))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText('MULTILINESTRING((4 1, 3 4),(4 6, 3 1))'))) GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4), LINESTRING(4 6, 3 1)) |
Changes to test/sql_stmt_tests/casttogeometrycollection4.testcase.
1 2 3 4 5 6 7 |
casttogeometrycollection - POINT :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText("POINT(3 1)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText("POINT(3 1)"))) GEOMETRYCOLLECTION(POINT(3 1)) |
| | |
1 2 3 4 5 6 7 |
casttogeometrycollection - POINT :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText('POINT(3 1)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText('POINT(3 1)'))) GEOMETRYCOLLECTION(POINT(3 1)) |
Changes to test/sql_stmt_tests/casttogeometrycollection5.testcase.
1 2 3 4 5 6 7 |
casttogeometrycollection - POLYGON :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText("POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText("POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))"))) GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))) |
| | |
1 2 3 4 5 6 7 |
casttogeometrycollection - POLYGON :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText('POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText('POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))'))) GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))) |
Changes to test/sql_stmt_tests/casttogeometrycollection6.testcase.
1 2 3 4 5 6 7 |
casttogeometrycollection - toxic POLYGON :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))) GEOMETRYCOLLECTION(POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))) |
| | |
1 2 3 4 5 6 7 |
casttogeometrycollection - toxic POLYGON :memory: #use in-memory database SELECT AsText(CastToGeometryCollection(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToGeometryCollection(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))) GEOMETRYCOLLECTION(POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))) |
Changes to test/sql_stmt_tests/casttolinestring3.testcase.
1 2 3 4 5 6 7 8 |
casttolinestring - LINESTRING :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText("LINESTRING(4 1, 3 4)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText("LINESTRING(4 1, 3 4)"))) LINESTRING(4 1, 3 4) |
| | |
1 2 3 4 5 6 7 8 |
casttolinestring - LINESTRING :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText('LINESTRING(4 1, 3 4)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText('LINESTRING(4 1, 3 4)'))) LINESTRING(4 1, 3 4) |
Changes to test/sql_stmt_tests/casttolinestring4.testcase.
1 2 3 4 5 6 7 8 |
casttolinestring - MULTILINESTRING, 1 linestring :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText("MULTILINESTRING((4 1, 3 4))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText("MULTILINESTRING((4 1, 3 4))"))) LINESTRING(4 1, 3 4) |
| | |
1 2 3 4 5 6 7 8 |
casttolinestring - MULTILINESTRING, 1 linestring :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText('MULTILINESTRING((4 1, 3 4))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText('MULTILINESTRING((4 1, 3 4))'))) LINESTRING(4 1, 3 4) |
Changes to test/sql_stmt_tests/casttolinestring5.testcase.
1 2 3 4 5 6 7 8 |
casttolinestring - MULTILINESTRING, 2 linestrings :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText("MULTILINESTRING((4 1, 3 4),(4 6, 3 1))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText("MULTILINESTRING((4 1, 3 4),(4 6, 3 1))"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
casttolinestring - MULTILINESTRING, 2 linestrings :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText('MULTILINESTRING((4 1, 3 4),(4 6, 3 1))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText('MULTILINESTRING((4 1, 3 4),(4 6, 3 1))'))) (NULL) |
Changes to test/sql_stmt_tests/casttolinestring6.testcase.
1 2 3 4 5 6 7 8 9 |
casttolinestring - GEOMETRY COLLECTION, 1 LINESTRING :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4))"))) LINESTRING(4 1, 3 4) |
| | |
1 2 3 4 5 6 7 8 9 |
casttolinestring - GEOMETRY COLLECTION, 1 LINESTRING :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4))'))) LINESTRING(4 1, 3 4) |
Changes to test/sql_stmt_tests/casttolinestring7.testcase.
1 2 3 4 5 6 7 8 9 |
casttolinestring - GEOMETRY COLLECTION, POINT and LINESTRING :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 3 4))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 3 4))"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 9 |
casttolinestring - GEOMETRY COLLECTION, POINT and LINESTRING :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 3 4))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 3 4))'))) (NULL) |
Changes to test/sql_stmt_tests/casttolinestring8.testcase.
1 2 3 4 5 6 7 8 9 |
casttolinestring - GEOMETRY COLLECTION, LINESTRING and POLYGON :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 9 |
casttolinestring - GEOMETRY COLLECTION, LINESTRING and POLYGON :memory: #use in-memory database SELECT AsText(CastToLineString(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToLineString(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))'))) (NULL) |
Changes to test/sql_stmt_tests/casttomulti11.testcase.
1 2 3 4 5 6 7 |
casttosingle - Geometry collection, polygon :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))"))) POLYGON((4 3, 4 1, 0 3, 4 3)) |
| | |
1 2 3 4 5 6 7 |
casttosingle - Geometry collection, polygon :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))'))) POLYGON((4 3, 4 1, 0 3, 4 3)) |
Changes to test/sql_stmt_tests/casttomulti2.testcase.
1 2 3 4 5 6 7 |
casttomulti - non-blob :memory: #use in-memory database SELECT CastToMulti("hello") 1 # rows (not including the header row) 1 # columns CastToMulti("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomulti - non-blob :memory: #use in-memory database SELECT CastToMulti('hello') 1 # rows (not including the header row) 1 # columns CastToMulti('hello') (NULL) |
Changes to test/sql_stmt_tests/casttomulti3.testcase.
1 2 3 4 5 6 7 |
casttomulti - 2 linestrings :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText("MULTILINESTRING((4 1, 3 4),(4 6, 3 1))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText("MULTILINESTRING((4 1, 3 4),(4 6, 3 1))"))) MULTILINESTRING((4 1, 3 4), (4 6, 3 1)) |
| | |
1 2 3 4 5 6 7 |
casttomulti - 2 linestrings :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText('MULTILINESTRING((4 1, 3 4),(4 6, 3 1))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText('MULTILINESTRING((4 1, 3 4),(4 6, 3 1))'))) MULTILINESTRING((4 1, 3 4), (4 6, 3 1)) |
Changes to test/sql_stmt_tests/casttomulti4.testcase.
1 2 3 4 5 6 7 |
casttomulti - POINT :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText("POINT(3 1)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText("POINT(3 1)"))) MULTIPOINT(3 1) |
| | |
1 2 3 4 5 6 7 |
casttomulti - POINT :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText('POINT(3 1)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText('POINT(3 1)'))) MULTIPOINT(3 1) |
Changes to test/sql_stmt_tests/casttomulti5.testcase.
1 2 3 4 5 6 7 |
casttomulti - POLYGON :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText("POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText("POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))"))) MULTIPOLYGON(((0 1, 2 1, 2 4, 0 4, 0 1))) |
| | |
1 2 3 4 5 6 7 |
casttomulti - POLYGON :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText('POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText('POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))'))) MULTIPOLYGON(((0 1, 2 1, 2 4, 0 4, 0 1))) |
Changes to test/sql_stmt_tests/casttomulti6.testcase.
1 2 3 4 5 6 7 |
casttomulti - POLYGON and POINT :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText("GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText("GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))"))) GEOMETRYCOLLECTION(POINT(4 2.3), POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))) |
| | |
1 2 3 4 5 6 7 |
casttomulti - POLYGON and POINT :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText('GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText('GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))'))) GEOMETRYCOLLECTION(POINT(4 2.3), POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))) |
Changes to test/sql_stmt_tests/casttomulti7.testcase.
1 2 3 4 5 6 7 |
casttomulti - LINESTRING and POINT :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))"))) GEOMETRYCOLLECTION(POINT(4 2.3), LINESTRING(0 1, 2 1, 2 4, 0 4)) |
| | |
1 2 3 4 5 6 7 |
casttomulti - LINESTRING and POINT :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))'))) GEOMETRYCOLLECTION(POINT(4 2.3), LINESTRING(0 1, 2 1, 2 4, 0 4)) |
Changes to test/sql_stmt_tests/casttomulti8.testcase.
1 2 3 4 5 6 7 |
casttomulti - 2 linestrings and polygon :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))"))) GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4), LINESTRING(4 6, 3 1), POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))) |
| | |
1 2 3 4 5 6 7 |
casttomulti - 2 linestrings and polygon :memory: #use in-memory database SELECT AsText(CastToMulti(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMulti(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))'))) GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4), LINESTRING(4 6, 3 1), POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))) |
Changes to test/sql_stmt_tests/casttomultilinestring2.testcase.
1 2 3 4 5 6 7 |
casttomultilinestring - nonblob :memory: #use in-memory database SELECT CastToMultiLineString("hello") 1 # rows (not including the header row) 1 # columns CastToMultiLineString("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomultilinestring - nonblob :memory: #use in-memory database SELECT CastToMultiLineString('hello') 1 # rows (not including the header row) 1 # columns CastToMultiLineString('hello') (NULL) |
Changes to test/sql_stmt_tests/casttomultilinestring3.testcase.
1 2 3 4 5 6 7 |
casttomultilinestring - GEOMETRYCOLLECTION - linestring :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))"))) MULTILINESTRING((0 1, 2 3)) |
| | |
1 2 3 4 5 6 7 |
casttomultilinestring - GEOMETRYCOLLECTION - linestring :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))'))) MULTILINESTRING((0 1, 2 3)) |
Changes to test/sql_stmt_tests/casttomultilinestring4.testcase.
1 2 3 4 5 6 7 |
casttomultilinestring - multilinestring :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText("MULTILINESTRING((0 1, 2 3),(7 9, 4 2, 0 1, 0.3 -2))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText("MULTILINESTRING((0 1, 2 3),(7 9, 4 2, 0 1, 0.3 -2))"))) MULTILINESTRING((0 1, 2 3), (7 9, 4 2, 0 1, 0.3 -2)) |
| | |
1 2 3 4 5 6 7 |
casttomultilinestring - multilinestring :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText('MULTILINESTRING((0 1, 2 3),(7 9, 4 2, 0 1, 0.3 -2))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText('MULTILINESTRING((0 1, 2 3),(7 9, 4 2, 0 1, 0.3 -2))'))) MULTILINESTRING((0 1, 2 3), (7 9, 4 2, 0 1, 0.3 -2)) |
Changes to test/sql_stmt_tests/casttomultilinestring5.testcase.
1 2 3 4 5 6 7 |
casttomultilinestring - GEOMETRYCOLLECTION - linestring + point :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(POINT(4 2),LINESTRING(0 1, 2 3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(POINT(4 2),LINESTRING(0 1, 2 3))"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomultilinestring - GEOMETRYCOLLECTION - linestring + point :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(POINT(4 2),LINESTRING(0 1, 2 3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(POINT(4 2),LINESTRING(0 1, 2 3))'))) (NULL) |
Changes to test/sql_stmt_tests/casttomultilinestring6.testcase.
1 2 3 4 5 6 7 8 9 |
casttomultilinestring - GEOMETRY COLLECTION, LINESTRING and POLYGON :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 9 |
casttomultilinestring - GEOMETRY COLLECTION, LINESTRING and POLYGON :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))'))) (NULL) |
Changes to test/sql_stmt_tests/casttomultilinestring7.testcase.
1 2 3 4 5 6 7 8 9 |
casttomultilinestring - GEOMETRY COLLECTION, POLYGON :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 9 |
casttomultilinestring - GEOMETRY COLLECTION, POLYGON :memory: #use in-memory database SELECT AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiLineString(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))'))) (NULL) |
Changes to test/sql_stmt_tests/casttomultipoint3.testcase.
1 2 3 4 5 6 7 |
casttomultipoint - POINT :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText("POINT(1 2)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText("POINT(1 2)"))) MULTIPOINT(1 2) |
| | |
1 2 3 4 5 6 7 |
casttomultipoint - POINT :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText('POINT(1 2)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText('POINT(1 2)'))) MULTIPOINT(1 2) |
Changes to test/sql_stmt_tests/casttomultipoint4.testcase.
1 2 3 4 5 6 7 |
casttomultipoint - MULTIPOINT - 1 point :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText("MULTIPOINT(1 2)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText("MULTIPOINT(1 2)"))) MULTIPOINT(1 2) |
| | |
1 2 3 4 5 6 7 |
casttomultipoint - MULTIPOINT - 1 point :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText('MULTIPOINT(1 2)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText('MULTIPOINT(1 2)'))) MULTIPOINT(1 2) |
Changes to test/sql_stmt_tests/casttomultipoint5.testcase.
1 2 3 4 5 6 7 |
casttomultipoint - MULTIPOINT - 2 points :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText("MULTIPOINT(1 2, 4 8)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText("MULTIPOINT(1 2, 4 8)"))) MULTIPOINT(1 2, 4 8) |
| | |
1 2 3 4 5 6 7 |
casttomultipoint - MULTIPOINT - 2 points :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText('MULTIPOINT(1 2, 4 8)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText('MULTIPOINT(1 2, 4 8)'))) MULTIPOINT(1 2, 4 8) |
Changes to test/sql_stmt_tests/casttomultipoint6.testcase.
1 2 3 4 5 6 7 |
casttomultipoint - GEOMETRYCOLLECTION - 2 points :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8))"))) MULTIPOINT(1 2, 4 8) |
| | |
1 2 3 4 5 6 7 |
casttomultipoint - GEOMETRYCOLLECTION - 2 points :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8))'))) MULTIPOINT(1 2, 4 8) |
Changes to test/sql_stmt_tests/casttomultipoint7.testcase.
1 2 3 4 5 6 7 |
casttomultipoint - GEOMETRYCOLLECTION - 2 points and linestring :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8),LINESTRING(0 1, 2 3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8),LINESTRING(0 1, 2 3))"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomultipoint - GEOMETRYCOLLECTION - 2 points and linestring :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8),LINESTRING(0 1, 2 3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),POINT(4 8),LINESTRING(0 1, 2 3))'))) (NULL) |
Changes to test/sql_stmt_tests/casttomultipoint8.testcase.
1 2 3 4 5 6 7 |
casttomultipoint - GEOMETRYCOLLECTION - linestring :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomultipoint - GEOMETRYCOLLECTION - linestring :memory: #use in-memory database SELECT AsText(CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 3))'))) (NULL) |
Changes to test/sql_stmt_tests/casttomultipoint9.testcase.
1 2 3 4 5 6 7 |
casttomultipoint - Geometry collection, point plus polygon :memory: #use in-memory database SELECT CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))")) 1 # rows (not including the header row) 1 # columns CastToMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomultipoint - Geometry collection, point plus polygon :memory: #use in-memory database SELECT CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))')) 1 # rows (not including the header row) 1 # columns CastToMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))')) (NULL) |
Changes to test/sql_stmt_tests/casttomultipolygon3.testcase.
1 2 3 4 5 6 7 |
casttomultipolygon - POINT :memory: #use in-memory database SELECT CastToMultiPolygon(GeomFromText("POINT(1 2)")) 1 # rows (not including the header row) 1 # columns CastToMultiPolygon(GeomFromText("POINT(1 2)")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomultipolygon - POINT :memory: #use in-memory database SELECT CastToMultiPolygon(GeomFromText('POINT(1 2)')) 1 # rows (not including the header row) 1 # columns CastToMultiPolygon(GeomFromText('POINT(1 2)')) (NULL) |
Changes to test/sql_stmt_tests/casttomultipolygon4.testcase.
1 2 3 4 5 6 7 |
casttomultipolygon - LINESTRING :memory: #use in-memory database SELECT CastToMultiPolygon(GeomFromText("LINESTRING(1 2, 4 5)")) 1 # rows (not including the header row) 1 # columns CastToMultiPolygon(GeomFromText("LINESTRING(1 2, 4 5)")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttomultipolygon - LINESTRING :memory: #use in-memory database SELECT CastToMultiPolygon(GeomFromText('LINESTRING(1 2, 4 5)')) 1 # rows (not including the header row) 1 # columns CastToMultiPolygon(GeomFromText('LINESTRING(1 2, 4 5)')) (NULL) |
Changes to test/sql_stmt_tests/casttomultipolygon5.testcase.
1 2 3 4 5 6 7 |
casttomultipolygon - POLYGON :memory: #use in-memory database SELECT AsText(CastToMultiPolygon(GeomFromText("POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPolygon(GeomFromText("POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))"))) MULTIPOLYGON(((0 1, 2 1, 2 4, 0 4, 0 1))) |
| | |
1 2 3 4 5 6 7 |
casttomultipolygon - POLYGON :memory: #use in-memory database SELECT AsText(CastToMultiPolygon(GeomFromText('POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToMultiPolygon(GeomFromText('POLYGON((0 1, 2 1, 2 4, 0 4, 0 1))'))) MULTIPOLYGON(((0 1, 2 1, 2 4, 0 4, 0 1))) |
Changes to test/sql_stmt_tests/casttopoint3.testcase.
1 2 3 4 5 6 7 |
casttopoint - POINT :memory: #use in-memory database SELECT AsText(CastToPoint(GeomFromText("POINT(4 3)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToPoint(GeomFromText("POINT(4 3)"))) POINT(4 3) |
| | |
1 2 3 4 5 6 7 |
casttopoint - POINT :memory: #use in-memory database SELECT AsText(CastToPoint(GeomFromText('POINT(4 3)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToPoint(GeomFromText('POINT(4 3)'))) POINT(4 3) |
Changes to test/sql_stmt_tests/casttopoint4.testcase.
1 2 3 4 5 6 7 |
casttopoint - MULTIPOINT, 1 point :memory: #use in-memory database SELECT AsText(CastToPoint(GeomFromText("MULTIPOINT(4 3)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToPoint(GeomFromText("MULTIPOINT(4 3)"))) POINT(4 3) |
| | |
1 2 3 4 5 6 7 |
casttopoint - MULTIPOINT, 1 point :memory: #use in-memory database SELECT AsText(CastToPoint(GeomFromText('MULTIPOINT(4 3)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToPoint(GeomFromText('MULTIPOINT(4 3)'))) POINT(4 3) |
Changes to test/sql_stmt_tests/casttopoint5.testcase.
1 2 3 4 5 6 7 |
casttopoint - MULTIPOINT, 2 points :memory: #use in-memory database SELECT AsText(CastToPoint(GeomFromText("MULTIPOINT(4 3, 1 6)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToPoint(GeomFromText("MULTIPOINT(4 3, 1 6)"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttopoint - MULTIPOINT, 2 points :memory: #use in-memory database SELECT AsText(CastToPoint(GeomFromText('MULTIPOINT(4 3, 1 6)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToPoint(GeomFromText('MULTIPOINT(4 3, 1 6)'))) (NULL) |
Changes to test/sql_stmt_tests/casttopoint6.testcase.
1 2 3 4 5 6 7 |
casttopoint - LINESTRING, no points :memory: #use in-memory database SELECT CastToPoint(GeomFromText("LINESTRING(4 3, 4 1)")) 1 # rows (not including the header row) 1 # columns CastToPoint(GeomFromText("LINESTRING(4 3, 4 1)")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttopoint - LINESTRING, no points :memory: #use in-memory database SELECT CastToPoint(GeomFromText('LINESTRING(4 3, 4 1)')) 1 # rows (not including the header row) 1 # columns CastToPoint(GeomFromText('LINESTRING(4 3, 4 1)')) (NULL) |
Changes to test/sql_stmt_tests/casttopoint7.testcase.
1 2 3 4 5 6 7 |
casttopoint - Geometry collection, point plus linestring :memory: #use in-memory database SELECT CastToPoint(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))")) 1 # rows (not including the header row) 1 # columns CastToPoint(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttopoint - Geometry collection, point plus linestring :memory: #use in-memory database SELECT CastToPoint(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))')) 1 # rows (not including the header row) 1 # columns CastToPoint(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))')) (NULL) |
Changes to test/sql_stmt_tests/casttopoint8.testcase.
1 2 3 4 5 6 7 |
casttopoint - Geometry collection, point plus polygon :memory: #use in-memory database SELECT CastToPoint(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))")) 1 # rows (not including the header row) 1 # columns CastToPoint(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttopoint - Geometry collection, point plus polygon :memory: #use in-memory database SELECT CastToPoint(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))')) 1 # rows (not including the header row) 1 # columns CastToPoint(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))')) (NULL) |
Changes to test/sql_stmt_tests/casttopoly3.testcase.
1 2 3 4 5 6 7 |
casttopolygon - POLYGON :memory: #use in-memory database SELECT AsText(CastToPolygon(GeomFromText("POLYGON((4 3, 1 1, 9 8, 4 3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToPolygon(GeomFromText("POLYGON((4 3, 1 1, 9 8, 4 3))"))) POLYGON((4 3, 1 1, 9 8, 4 3)) |
| | |
1 2 3 4 5 6 7 |
casttopolygon - POLYGON :memory: #use in-memory database SELECT AsText(CastToPolygon(GeomFromText('POLYGON((4 3, 1 1, 9 8, 4 3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToPolygon(GeomFromText('POLYGON((4 3, 1 1, 9 8, 4 3))'))) POLYGON((4 3, 1 1, 9 8, 4 3)) |
Changes to test/sql_stmt_tests/casttopoly4.testcase.
1 2 3 4 5 6 7 |
casttopolygon - Geometry collection, point plus linestring :memory: #use in-memory database SELECT CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))")) 1 # rows (not including the header row) 1 # columns CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttopolygon - Geometry collection, point plus linestring :memory: #use in-memory database SELECT CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))')) 1 # rows (not including the header row) 1 # columns CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 3, 4 1),POINT(1 2))')) (NULL) |
Changes to test/sql_stmt_tests/casttopoly5.testcase.
1 2 3 4 5 6 7 |
casttopoly - Geometry collection, point plus polygon :memory: #use in-memory database SELECT CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))")) 1 # rows (not including the header row) 1 # columns CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttopoly - Geometry collection, point plus polygon :memory: #use in-memory database SELECT CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))')) 1 # rows (not including the header row) 1 # columns CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POINT(1 2))')) (NULL) |
Changes to test/sql_stmt_tests/casttopoly6.testcase.
1 2 3 4 5 6 7 |
casttopoly - Geometry collection, polygon :memory: #use in-memory database SELECT AsText(CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))"))) POLYGON((4 3, 4 1, 0 3, 4 3)) |
| | |
1 2 3 4 5 6 7 |
casttopoly - Geometry collection, polygon :memory: #use in-memory database SELECT AsText(CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)))'))) POLYGON((4 3, 4 1, 0 3, 4 3)) |
Changes to test/sql_stmt_tests/casttopoly7.testcase.
1 2 3 4 5 6 7 |
casttopoly - Geometry collection, polygon x 2 :memory: #use in-memory database SELECT CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POLYGON((0 0, 1 0, 1 1, 0 0)))")) 1 # rows (not including the header row) 1 # columns CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POLYGON((0 0, 1 0, 1 1, 0 0)))")) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttopoly - Geometry collection, polygon x 2 :memory: #use in-memory database SELECT CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POLYGON((0 0, 1 0, 1 1, 0 0)))')) 1 # rows (not including the header row) 1 # columns CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),POLYGON((0 0, 1 0, 1 1, 0 0)))')) (NULL) |
Changes to test/sql_stmt_tests/casttopoly8.testcase.
1 2 3 4 5 6 7 8 9 |
casttopoly - GEOMETRY COLLECTION, LINESTRING and POLYGON :memory: #use in-memory database SELECT AsText(CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToPolygon(GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 9 |
casttopoly - GEOMETRY COLLECTION, LINESTRING and POLYGON :memory: #use in-memory database SELECT AsText(CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToPolygon(GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 3, 4 1, 0 3, 4 3)),LINESTRING(4 1, 3 4))'))) (NULL) |
Changes to test/sql_stmt_tests/casttosingle10.testcase.
1 2 3 4 5 6 7 |
casttosingle - POLYGON :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("POLYGON((4 3, 1 1, 9 8, 4 3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("POLYGON((4 3, 1 1, 9 8, 4 3))"))) POLYGON((4 3, 1 1, 9 8, 4 3)) |
| | |
1 2 3 4 5 6 7 |
casttosingle - POLYGON :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('POLYGON((4 3, 1 1, 9 8, 4 3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('POLYGON((4 3, 1 1, 9 8, 4 3))'))) POLYGON((4 3, 1 1, 9 8, 4 3)) |
Changes to test/sql_stmt_tests/casttosingle12.testcase.
1 2 3 4 5 6 7 |
casttosingle - MULTIPOLYGON, one polygon :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("MULTIPOLYGON(((4 3, 1 1, 9 8, 4 3)))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("MULTIPOLYGON(((4 3, 1 1, 9 8, 4 3)))"))) POLYGON((4 3, 1 1, 9 8, 4 3)) |
| | |
1 2 3 4 5 6 7 |
casttosingle - MULTIPOLYGON, one polygon :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('MULTIPOLYGON(((4 3, 1 1, 9 8, 4 3)))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('MULTIPOLYGON(((4 3, 1 1, 9 8, 4 3)))'))) POLYGON((4 3, 1 1, 9 8, 4 3)) |
Changes to test/sql_stmt_tests/casttosingle3.testcase.
1 2 3 4 5 6 7 |
casttosingle - POINT :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("POINT(3 1)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("POINT(3 1)"))) POINT(3 1) |
| | |
1 2 3 4 5 6 7 |
casttosingle - POINT :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('POINT(3 1)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('POINT(3 1)'))) POINT(3 1) |
Changes to test/sql_stmt_tests/casttosingle4.testcase.
1 2 3 4 5 6 7 |
casttosingle - MULTIPOINT, one point :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("MULTIPOINT(3 1)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("MULTIPOINT(3 1)"))) POINT(3 1) |
| | |
1 2 3 4 5 6 7 |
casttosingle - MULTIPOINT, one point :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('MULTIPOINT(3 1)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('MULTIPOINT(3 1)'))) POINT(3 1) |
Changes to test/sql_stmt_tests/casttosingle5.testcase.
1 2 3 4 5 6 7 |
casttosingle - MULTIPOINT, two points :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("MULTIPOINT(3 1, 4.2 2)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("MULTIPOINT(3 1, 4.2 2)"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttosingle - MULTIPOINT, two points :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('MULTIPOINT(3 1, 4.2 2)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('MULTIPOINT(3 1, 4.2 2)'))) (NULL) |
Changes to test/sql_stmt_tests/casttosingle6.testcase.
1 2 3 4 5 6 7 |
casttosingle - LINESTRING and POINT :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttosingle - LINESTRING and POINT :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(0 1, 2 1, 2 4, 0 4),POINT(4 2.3))'))) (NULL) |
Changes to test/sql_stmt_tests/casttosingle7.testcase.
1 2 3 4 5 6 7 |
casttosingle - POLYGON and POINT :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttosingle - POLYGON and POINT :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)),POINT(4 2.3))'))) (NULL) |
Changes to test/sql_stmt_tests/casttosingle8.testcase.
1 2 3 4 5 6 7 |
casttosingle - 2 linestrings and polygon :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttosingle - 2 linestrings and polygon :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 1, 3 4),LINESTRING(4 6, 3 1),POLYGON((0 1, 2 1, 2 4, 0 4, 0 1)))'))) (NULL) |
Changes to test/sql_stmt_tests/casttosingle9.testcase.
1 2 3 4 5 6 7 8 |
casttosingle - LINESTRING :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText("LINESTRING(4 1, 3 4)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText("LINESTRING(4 1, 3 4)"))) LINESTRING(4 1, 3 4) |
| | |
1 2 3 4 5 6 7 8 |
casttosingle - LINESTRING :memory: #use in-memory database SELECT AsText(CastToSingle(GeomFromText('LINESTRING(4 1, 3 4)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToSingle(GeomFromText('LINESTRING(4 1, 3 4)'))) LINESTRING(4 1, 3 4) |
Changes to test/sql_stmt_tests/casttoxy3.testcase.
1 2 3 4 5 6 7 |
casttoxy - POINT :memory: #use in-memory database SELECT AsText(CastToXY(GeomFromText("POINTZM(4 3 10 20)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXY(GeomFromText("POINTZM(4 3 10 20)"))) POINT(4 3) |
| | |
1 2 3 4 5 6 7 |
casttoxy - POINT :memory: #use in-memory database SELECT AsText(CastToXY(GeomFromText('POINTZM(4 3 10 20)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXY(GeomFromText('POINTZM(4 3 10 20)'))) POINT(4 3) |
Changes to test/sql_stmt_tests/casttoxym10.testcase.
1 2 3 4 5 6 7 |
casttoxyz - INT nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), -1)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), -1)) POINT M(4 3 -1) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - INT nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), -1)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), -1)) POINT M(4 3 -1) |
Changes to test/sql_stmt_tests/casttoxym11.testcase.
1 2 3 4 5 6 7 |
casttoxyz - DOUBLE nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), -1.11)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), -1.11)) POINT M(4 3 -1.11) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - DOUBLE nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), -1.11)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), -1.11)) POINT M(4 3 -1.11) |
Changes to test/sql_stmt_tests/casttoxym3.testcase.
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTZM(4 3 10 20)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTZM(4 3 10 20)"))) POINT M(4 3 20) |
| | |
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTZM(4 3 10 20)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTZM(4 3 10 20)'))) POINT M(4 3 20) |
Changes to test/sql_stmt_tests/casttoxym4.testcase.
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINT(4 3)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINT(4 3)"))) POINT M(4 3 0) |
| | |
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINT(4 3)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINT(4 3)'))) POINT M(4 3 0) |
Changes to test/sql_stmt_tests/casttoxym5.testcase.
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTZ(4 3 10)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTZ(4 3 10)"))) POINT M(4 3 0) |
| | |
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTZ(4 3 10)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTZ(4 3 10)'))) POINT M(4 3 0) |
Changes to test/sql_stmt_tests/casttoxym6.testcase.
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTM(4 3 20)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTM(4 3 20)"))) POINT M(4 3 20) |
| | |
1 2 3 4 5 6 7 |
casttoxym - POINT :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTM(4 3 20)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTM(4 3 20)'))) POINT M(4 3 20) |
Changes to test/sql_stmt_tests/casttoxym7.testcase.
1 2 3 4 5 6 7 |
casttoxyz - TEXT nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), 'nodata')) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), 'nodata')) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - TEXT nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), 'nodata')) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), 'nodata')) (NULL) |
Changes to test/sql_stmt_tests/casttoxym8.testcase.
1 2 3 4 5 6 7 |
casttoxyz - BLOB nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), zeroblob(10))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), zeroblob(10))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - BLOB nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), zeroblob(10))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), zeroblob(10))) (NULL) |
Changes to test/sql_stmt_tests/casttoxym9.testcase.
1 2 3 4 5 6 7 |
casttoxyz - NULL nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), NULL)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText("POINTZ(4 3 20)"), NULL)) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - NULL nodata :memory: #use in-memory database SELECT AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), NULL)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYM(GeomFromText('POINTZ(4 3 20)'), NULL)) (NULL) |
Changes to test/sql_stmt_tests/casttoxyz10.testcase.
1 2 3 4 5 6 7 |
casttoxyz - INT nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), -1)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), -1)) POINT Z(4 3 -1) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - INT nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), -1)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), -1)) POINT Z(4 3 -1) |
Changes to test/sql_stmt_tests/casttoxyz11.testcase.
1 2 3 4 5 6 7 |
casttoxyz - DOUBLE nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), -1.11)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), -1.11)) POINT Z(4 3 -1.11) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - DOUBLE nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), -1.11)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), -1.11)) POINT Z(4 3 -1.11) |
Changes to test/sql_stmt_tests/casttoxyz3.testcase.
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTZM(4 3 10 20)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTZM(4 3 10 20)"))) POINT Z(4 3 10) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTZM(4 3 10 20)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTZM(4 3 10 20)'))) POINT Z(4 3 10) |
Changes to test/sql_stmt_tests/casttoxyz4.testcase.
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINT(4 3)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINT(4 3)"))) POINT Z(4 3 0) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINT(4 3)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINT(4 3)'))) POINT Z(4 3 0) |
Changes to test/sql_stmt_tests/casttoxyz5.testcase.
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTZ(4 3 10)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTZ(4 3 10)"))) POINT Z(4 3 10) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTZ(4 3 10)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTZ(4 3 10)'))) POINT Z(4 3 10) |
Changes to test/sql_stmt_tests/casttoxyz6.testcase.
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"))) POINT Z(4 3 0) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - POINT :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'))) POINT Z(4 3 0) |
Changes to test/sql_stmt_tests/casttoxyz7.testcase.
1 2 3 4 5 6 7 |
casttoxyz - TEXT nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), 'nodata')) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), 'nodata')) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - TEXT nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), 'nodata')) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), 'nodata')) (NULL) |
Changes to test/sql_stmt_tests/casttoxyz8.testcase.
1 2 3 4 5 6 7 |
casttoxyz - BLOB nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), zeroblob(10))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), zeroblob(10))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - BLOB nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), zeroblob(10))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), zeroblob(10))) (NULL) |
Changes to test/sql_stmt_tests/casttoxyz9.testcase.
1 2 3 4 5 6 7 |
casttoxyz - NULL nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), NULL)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText("POINTM(4 3 20)"), NULL)) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyz - NULL nodata :memory: #use in-memory database SELECT AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), NULL)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZ(GeomFromText('POINTM(4 3 20)'), NULL)) (NULL) |
Changes to test/sql_stmt_tests/casttoxyzm10.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - INT Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), -1, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), -1, -2.22)) POINT ZM(4 3 -1 20) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - INT Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), -1, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), -1, -2.22)) POINT ZM(4 3 -1 20) |
Changes to test/sql_stmt_tests/casttoxyzm11.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - DOUBLE Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), -1.11, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), -1.11, -2.22)) POINT ZM(4 3 -1.11 20) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - DOUBLE Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), -1.11, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), -1.11, -2.22)) POINT ZM(4 3 -1.11 20) |
Changes to test/sql_stmt_tests/casttoxyzm12.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - NULL M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, NULL)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, NULL)) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - NULL M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, NULL)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, NULL)) (NULL) |
Changes to test/sql_stmt_tests/casttoxyzm13.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - TEXT M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, 'nodata')) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, 'nodata')) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - TEXT M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, 'nodata')) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, 'nodata')) (NULL) |
Changes to test/sql_stmt_tests/casttoxyzm14.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - BLOB M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, zeroblob(4))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, zeroblob(4))) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - BLOB M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, zeroblob(4))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, zeroblob(4))) (NULL) |
Changes to test/sql_stmt_tests/casttoxyzm15.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - INT M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, -2)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, -2)) POINT ZM(4 3 20 -2) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - INT M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, -2)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, -2)) POINT ZM(4 3 20 -2) |
Changes to test/sql_stmt_tests/casttoxyzm16.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - DOUBLE M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTZ(4 3 20)"), -1.11, -2.22)) POINT ZM(4 3 20 -2.22) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - DOUBLE M nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTZ(4 3 20)'), -1.11, -2.22)) POINT ZM(4 3 20 -2.22) |
Changes to test/sql_stmt_tests/casttoxyzm3.testcase.
1 2 3 4 5 6 7 |
casttoxy - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTZM(4 3 10 20)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTZM(4 3 10 20)"))) POINT ZM(4 3 10 20) |
| | |
1 2 3 4 5 6 7 |
casttoxy - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTZM(4 3 10 20)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTZM(4 3 10 20)'))) POINT ZM(4 3 10 20) |
Changes to test/sql_stmt_tests/casttoxyzm4.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINT(4 3)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINT(4 3)"))) POINT ZM(4 3 0 0) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINT(4 3)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINT(4 3)'))) POINT ZM(4 3 0 0) |
Changes to test/sql_stmt_tests/casttoxyzm5.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTZ(4 3 10)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTZ(4 3 10)"))) POINT ZM(4 3 10 0) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTZ(4 3 10)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTZ(4 3 10)'))) POINT ZM(4 3 10 0) |
Changes to test/sql_stmt_tests/casttoxyzm6.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"))) POINT ZM(4 3 0 20) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - POINT :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'))) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'))) POINT ZM(4 3 0 20) |
Changes to test/sql_stmt_tests/casttoxyzm7.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - NULL Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), NULL, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), NULL, -2.22)) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - NULL Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), NULL, -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), NULL, -2.22)) (NULL) |
Changes to test/sql_stmt_tests/casttoxyzm8.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - TEXT Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), 'nodata', -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), 'nodata', -2.22)) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - TEXT Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), 'nodata', -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), 'nodata', -2.22)) (NULL) |
Changes to test/sql_stmt_tests/casttoxyzm9.testcase.
1 2 3 4 5 6 7 |
casttoxyzm - BLOB Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), zeroblob(4), -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText("POINTM(4 3 20)"), zeroblob(4), -2.22)) (NULL) |
| | |
1 2 3 4 5 6 7 |
casttoxyzm - BLOB Z nodata :memory: #use in-memory database SELECT AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), zeroblob(4), -2.22)) 1 # rows (not including the header row) 1 # columns AsText(CastToXYZM(GeomFromText('POINTM(4 3 20)'), zeroblob(4), -2.22)) (NULL) |
Changes to test/sql_stmt_tests/collect10.testcase.
1 2 3 4 5 6 7 8 |
collect - Point, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINT(1 2)"), GeomFromText("POINTM(4 5 3.2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINT(1 2)"), GeomFromText("POINTM(4 5 3.2)"))) MULTIPOINT(1 2, 4 5) |
| | |
1 2 3 4 5 6 7 8 |
collect - Point, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINT(1 2)'), GeomFromText('POINTM(4 5 3.2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINT(1 2)'), GeomFromText('POINTM(4 5 3.2)'))) MULTIPOINT(1 2, 4 5) |
Changes to test/sql_stmt_tests/collect11.testcase.
1 2 3 4 5 6 7 8 |
collect - Point, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINT(1 2)"), GeomFromText("POINTZM(4 5 3.2 6)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINT(1 2)"), GeomFromText("POINTZM(4 5 3.2 6)"))) MULTIPOINT(1 2, 4 5) |
| | |
1 2 3 4 5 6 7 8 |
collect - Point, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINT(1 2)'), GeomFromText('POINTZM(4 5 3.2 6)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINT(1 2)'), GeomFromText('POINTZM(4 5 3.2 6)'))) MULTIPOINT(1 2, 4 5) |
Changes to test/sql_stmt_tests/collect12.testcase.
1 2 3 4 5 6 7 8 |
collect - PointZ, Point :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZ(4 5 3.2)"), GeomFromText("POINT(1 2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZ(4 5 3.2)"), GeomFromText("POINT(1 2)"))) MULTIPOINT Z(4 5 3.2, 1 2 0) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointZ, Point :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZ(4 5 3.2)'), GeomFromText('POINT(1 2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZ(4 5 3.2)'), GeomFromText('POINT(1 2)'))) MULTIPOINT Z(4 5 3.2, 1 2 0) |
Changes to test/sql_stmt_tests/collect13.testcase.
1 2 3 4 5 6 7 8 |
collect - PointZ, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZ(4 5 3.2)"), GeomFromText("POINTM(1 2 6)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZ(4 5 3.2)"), GeomFromText("POINTM(1 2 6)"))) MULTIPOINT Z(4 5 3.2, 1 2 0) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointZ, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZ(4 5 3.2)'), GeomFromText('POINTM(1 2 6)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZ(4 5 3.2)'), GeomFromText('POINTM(1 2 6)'))) MULTIPOINT Z(4 5 3.2, 1 2 0) |
Changes to test/sql_stmt_tests/collect14.testcase.
1 2 3 4 5 6 7 8 |
collect - PointZ, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZ(4 5 3.2)"), GeomFromText("POINTZM(1 2 6 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZ(4 5 3.2)"), GeomFromText("POINTZM(1 2 6 4)"))) MULTIPOINT Z(4 5 3.2, 1 2 6) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointZ, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZ(4 5 3.2)'), GeomFromText('POINTZM(1 2 6 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZ(4 5 3.2)'), GeomFromText('POINTZM(1 2 6 4)'))) MULTIPOINT Z(4 5 3.2, 1 2 6) |
Changes to test/sql_stmt_tests/collect15.testcase.
1 2 3 4 5 6 7 8 |
collect - PointM, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINTZM(1 2 6 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINTZM(1 2 6 4)"))) MULTIPOINT M(4 5 3.2, 1 2 4) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointM, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINTZM(1 2 6 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINTZM(1 2 6 4)'))) MULTIPOINT M(4 5 3.2, 1 2 4) |
Changes to test/sql_stmt_tests/collect16.testcase.
1 2 3 4 5 6 7 8 |
collect - PointM, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINTM(1 2 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINTM(1 2 4)"))) MULTIPOINT M(4 5 3.2, 1 2 4) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointM, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINTM(1 2 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINTM(1 2 4)'))) MULTIPOINT M(4 5 3.2, 1 2 4) |
Changes to test/sql_stmt_tests/collect17.testcase.
1 2 3 4 5 6 7 8 |
collect - PointM, PointZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINTZ(1 2 6)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINTZ(1 2 6)"))) MULTIPOINT M(4 5 3.2, 1 2 0) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointM, PointZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINTZ(1 2 6)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINTZ(1 2 6)'))) MULTIPOINT M(4 5 3.2, 1 2 0) |
Changes to test/sql_stmt_tests/collect18.testcase.
1 2 3 4 5 6 7 8 |
collect - PointM, Point :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINT(1 2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTM(4 5 3.2)"), GeomFromText("POINT(1 2)"))) MULTIPOINT M(4 5 3.2, 1 2 0) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointM, Point :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINT(1 2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTM(4 5 3.2)'), GeomFromText('POINT(1 2)'))) MULTIPOINT M(4 5 3.2, 1 2 0) |
Changes to test/sql_stmt_tests/collect19.testcase.
1 2 3 4 5 6 7 8 |
collect - PointZM, Point :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINT(1 2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINT(1 2)"))) MULTIPOINT ZM(4 5 6 3.2, 1 2 0 0) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointZM, Point :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINT(1 2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINT(1 2)'))) MULTIPOINT ZM(4 5 6 3.2, 1 2 0 0) |
Changes to test/sql_stmt_tests/collect20.testcase.
1 2 3 4 5 6 7 8 |
collect - PointZM, PointZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINTZ(1 2 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINTZ(1 2 4)"))) MULTIPOINT ZM(4 5 6 3.2, 1 2 4 0) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointZM, PointZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINTZ(1 2 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINTZ(1 2 4)'))) MULTIPOINT ZM(4 5 6 3.2, 1 2 4 0) |
Changes to test/sql_stmt_tests/collect21.testcase.
1 2 3 4 5 6 7 8 |
collect - PointZM, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINTM(1 2 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINTM(1 2 4)"))) MULTIPOINT ZM(4 5 6 3.2, 1 2 0 4) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointZM, PointM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINTM(1 2 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINTM(1 2 4)'))) MULTIPOINT ZM(4 5 6 3.2, 1 2 0 4) |
Changes to test/sql_stmt_tests/collect23.testcase.
1 2 3 4 5 6 7 8 |
collect - PointZM, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINTZM(1 2 5 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZM(4 5 6 3.2)"), GeomFromText("POINTZM(1 2 5 4)"))) MULTIPOINT ZM(4 5 6 3.2, 1 2 5 4) |
| | |
1 2 3 4 5 6 7 8 |
collect - PointZM, PointZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINTZM(1 2 5 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZM(4 5 6 3.2)'), GeomFromText('POINTZM(1 2 5 4)'))) MULTIPOINT ZM(4 5 6 3.2, 1 2 5 4) |
Changes to test/sql_stmt_tests/collect24.testcase.
1 2 3 4 5 6 7 |
collect - LineString, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRINGZM(4 5 3.2 6, 1 2 4.6 8, 4 2 3.1 9)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRINGZM(4 5 3.2 6, 1 2 4.6 8, 4 2 3.1 9)"))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
| | |
1 2 3 4 5 6 7 |
collect - LineString, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRINGZM(4 5 3.2 6, 1 2 4.6 8, 4 2 3.1 9)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRINGZM(4 5 3.2 6, 1 2 4.6 8, 4 2 3.1 9)'))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
Changes to test/sql_stmt_tests/collect25.testcase.
1 2 3 4 5 6 7 |
collect - LineString, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
| | |
1 2 3 4 5 6 7 |
collect - LineString, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
Changes to test/sql_stmt_tests/collect26.testcase.
1 2 3 4 5 6 7 |
collect - LineString, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRINGM(4 5 3.2, 1 2 4.6, 4 2 3.1)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRINGM(4 5 3.2, 1 2 4.6, 4 2 3.1)"))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
| | |
1 2 3 4 5 6 7 |
collect - LineString, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRINGM(4 5 3.2, 1 2 4.6, 4 2 3.1)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRINGM(4 5 3.2, 1 2 4.6, 4 2 3.1)'))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
Changes to test/sql_stmt_tests/collect27.testcase.
1 2 3 4 5 6 7 8 |
collect - LineString, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("Linestring(1 2, 3 4)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineString, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('Linestring(1 2, 3 4)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))) MULTILINESTRING((1 2, 3 4), (4 5, 1 2, 4 2)) |
Changes to test/sql_stmt_tests/collect28.testcase.
1 2 3 4 5 6 7 |
collect - LineStringZ, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 3.2, 1 2 4.6, 4 2 3.1)) |
| | |
1 2 3 4 5 6 7 |
collect - LineStringZ, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 3.2, 1 2 4.6, 4 2 3.1)) |
Changes to test/sql_stmt_tests/collect29.testcase.
1 2 3 4 5 6 7 |
collect - LineStringZ, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)"))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 3.2, 1 2 4.6, 4 2 3.1)) |
| | |
1 2 3 4 5 6 7 |
collect - LineStringZ, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)'))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 3.2, 1 2 4.6, 4 2 3.1)) |
Changes to test/sql_stmt_tests/collect30.testcase.
1 2 3 4 5 6 7 |
collect - LineStringZ, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGM(4 5 1, 1 2 2, 4 2 3)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGM(4 5 1, 1 2 2, 4 2 3)"))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
| | |
1 2 3 4 5 6 7 |
collect - LineStringZ, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGM(4 5 1, 1 2 2, 4 2 3)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGM(4 5 1, 1 2 2, 4 2 3)'))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
Changes to test/sql_stmt_tests/collect31.testcase.
1 2 3 4 5 6 7 8 |
collect - LineStringZ, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZ(1 2 4, 3 4 2)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineStringZ, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZ(1 2 4, 3 4 2)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))) MULTILINESTRING Z((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
Changes to test/sql_stmt_tests/collect32.testcase.
1 2 3 4 5 6 7 8 |
collect - LineStringM, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineStringM, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
Changes to test/sql_stmt_tests/collect33.testcase.
1 2 3 4 5 6 7 8 |
collect - LineStringM, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGM(4 5 1, 1 2 2, 4 2 3)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGM(4 5 1, 1 2 2, 4 2 3)"))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 1, 1 2 2, 4 2 3)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineStringM, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGM(4 5 1, 1 2 2, 4 2 3)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGM(4 5 1, 1 2 2, 4 2 3)'))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 1, 1 2 2, 4 2 3)) |
Changes to test/sql_stmt_tests/collect34.testcase.
1 2 3 4 5 6 7 |
collect - LineStringM, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)"))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 1, 1 2 2, 4 2 3)) |
| | |
1 2 3 4 5 6 7 |
collect - LineStringM, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 3)'))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 1, 1 2 2, 4 2 3)) |
Changes to test/sql_stmt_tests/collect35.testcase.
1 2 3 4 5 6 7 |
collect - LineStringM, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGM(1 2 4, 3 4 2)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
| | |
1 2 3 4 5 6 7 |
collect - LineStringM, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGM(1 2 4, 3 4 2)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))) MULTILINESTRING M((1 2 4, 3 4 2), (4 5 0, 1 2 0, 4 2 0)) |
Changes to test/sql_stmt_tests/collect36.testcase.
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)"))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 3.2 0, 1 2 4.6 0, 4 2 3.1 0)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineStringZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRINGZ(4 5 3.2, 1 2 4.6, 4 2 3.1)'))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 3.2 0, 1 2 4.6 0, 4 2 3.1 0)) |
Changes to test/sql_stmt_tests/collect37.testcase.
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 4)"))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 4)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineStringZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRINGZM(4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 4)'))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 3.2 1, 1 2 4.6 2, 4 2 3.1 4)) |
Changes to test/sql_stmt_tests/collect38.testcase.
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRINGM(4 5 1, 1 2 2, 4 2 4)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRINGM(4 5 1, 1 2 2, 4 2 4)"))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 0 1, 1 2 0 2, 4 2 0 4)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineStringM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRINGM(4 5 1, 1 2 2, 4 2 4)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRINGM(4 5 1, 1 2 2, 4 2 4)'))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 0 1, 1 2 0 2, 4 2 0 4)) |
Changes to test/sql_stmt_tests/collect39.testcase.
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("LINESTRINGZM(1 2 4 1, 3 4 2 2)"), GeomFromText("LINESTRING(4 5, 1 2, 4 2)"))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 0 0, 1 2 0 0, 4 2 0 0)) |
| | |
1 2 3 4 5 6 7 8 |
collect - LineStringZM, LineString :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('LINESTRINGZM(1 2 4 1, 3 4 2 2)'), GeomFromText('LINESTRING(4 5, 1 2, 4 2)'))) MULTILINESTRING ZM((1 2 4 1, 3 4 2 2), (4 5 0 0, 1 2 0 0, 4 2 0 0)) |
Changes to test/sql_stmt_tests/collect40.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonZ, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2))"))) MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4)), ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonZ, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2))'))) MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4)), ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2))) |
Changes to test/sql_stmt_tests/collect41.testcase.
1 2 3 4 5 6 7 |
collect - PolygonZ, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))); MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2), (2 3 4, 3 4 1, 3 3 1, 2 3 4))) |
| | |
1 2 3 4 5 6 7 |
collect - PolygonZ, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))); MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2), (2 3 4, 3 4 1, 3 3 1, 2 3 4))) |
Changes to test/sql_stmt_tests/collect42.testcase.
1 2 3 4 5 6 7 |
collect - PolygonZ, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONM((4 5 4, 1 2 5, 4 2 3, 4 5 4),(2 3 1, 3 4 2, 3 3 3, 2 3 1))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONM((4 5 4, 1 2 5, 4 2 3, 4 5 4),(2 3 1, 3 4 2, 3 3 3, 2 3 1))"))) MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
| | |
1 2 3 4 5 6 7 |
collect - PolygonZ, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONM((4 5 4, 1 2 5, 4 2 3, 4 5 4),(2 3 1, 3 4 2, 3 3 3, 2 3 1))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONM((4 5 4, 1 2 5, 4 2 3, 4 5 4),(2 3 1, 3 4 2, 3 3 3, 2 3 1))'))) MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
Changes to test/sql_stmt_tests/collect43.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonZ, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))) MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonZ, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZ((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))) MULTIPOLYGON Z(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
Changes to test/sql_stmt_tests/collect44.testcase.
1 2 3 4 5 6 7 |
collect - Polygon, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
| | |
1 2 3 4 5 6 7 |
collect - Polygon, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
Changes to test/sql_stmt_tests/collect45.testcase.
1 2 3 4 5 6 7 |
collect - Polygon, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
| | |
1 2 3 4 5 6 7 |
collect - Polygon, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
Changes to test/sql_stmt_tests/collect46.testcase.
1 2 3 4 5 6 7 |
collect - Polygon, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
| | |
1 2 3 4 5 6 7 |
collect - Polygon, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
Changes to test/sql_stmt_tests/collect47.testcase.
1 2 3 4 5 6 7 8 |
collect - Polygon, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
| | |
1 2 3 4 5 6 7 8 |
collect - Polygon, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGON((1 2, 3 4, 3 2, 1 2),(1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))) MULTIPOLYGON(((1 2, 3 4, 3 2, 1 2), (1.5 2.5, 2.5 3.5, 2.5 2.3, 1.5 2.5)), ((4 5, 1 2, 4 2, 4 5), (2 3, 3 4, 3 3, 2 3))) |
Changes to test/sql_stmt_tests/collect48.testcase.
1 2 3 4 5 6 7 |
collect - PolygonM, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))); MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 4, 1 2 5, 4 2 3, 4 5 4), (2 3 1, 3 4 2, 3 3 3, 2 3 1))) |
| | |
1 2 3 4 5 6 7 |
collect - PolygonM, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))); MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 4, 1 2 5, 4 2 3, 4 5 4), (2 3 1, 3 4 2, 3 3 3, 2 3 1))) |
Changes to test/sql_stmt_tests/collect49.testcase.
1 2 3 4 5 6 7 |
collect - PolygonM, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))) MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
| | |
1 2 3 4 5 6 7 |
collect - PolygonM, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))) MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
Changes to test/sql_stmt_tests/collect50.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonM, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))) MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2), (2 3 4, 3 4 1, 3 3 1, 2 3 4))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonM, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))) MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2), (2 3 4, 3 4 1, 3 3 1, 2 3 4))) |
Changes to test/sql_stmt_tests/collect51.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonM, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))) MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonM, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONM((1 2 4, 3 4 2, 3 2 3, 1 2 4),(1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))) MULTIPOLYGON M(((1 2 4, 3 4 2, 3 2 3, 1 2 4), (1.5 2.5 4, 2.5 3.5 3, 2.5 2.3 3, 1.5 2.5 4)), ((4 5 0, 1 2 0, 4 2 0, 4 5 0), (2 3 0, 3 4 0, 3 3 0, 2 3 0))) |
Changes to test/sql_stmt_tests/collect52.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonZM, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))"))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4), (2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonZM, PolygonZM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGONZM((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4),(2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))'))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 3.2 4, 1 2 4.6 5, 4 2 3.1 3, 4 5 3.2 4), (2 3 4 1, 3 4 1 2, 3 3 1 3, 2 3 4 1))) |
Changes to test/sql_stmt_tests/collect53.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonZM, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 3.2 0, 1 2 4.6 0, 4 2 3.1 0, 4 5 3.2 0), (2 3 4 0, 3 4 1 0, 3 3 1 0, 2 3 4 0))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonZM, PolygonZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGONZ((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 3.2 0, 1 2 4.6 0, 4 2 3.1 0, 4 5 3.2 0), (2 3 4 0, 3 4 1 0, 3 3 1 0, 2 3 4 0))) |
Changes to test/sql_stmt_tests/collect54.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonZM, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))"))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 0 3.2, 1 2 0 4.6, 4 2 0 3.1, 4 5 0 3.2), (2 3 0 4, 3 4 0 1, 3 3 0 1, 2 3 0 4))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonZM, PolygonM :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGONM((4 5 3.2, 1 2 4.6, 4 2 3.1, 4 5 3.2),(2 3 4, 3 4 1, 3 3 1, 2 3 4))'))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 0 3.2, 1 2 0 4.6, 4 2 0 3.1, 4 5 0 3.2), (2 3 0 4, 3 4 0 1, 3 3 0 1, 2 3 0 4))) |
Changes to test/sql_stmt_tests/collect55.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonZM, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))"))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 0 0, 1 2 0 0, 4 2 0 0, 4 5 0 0), (2 3 0 0, 3 4 0 0, 3 3 0 0, 2 3 0 0))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonZM, Polygon :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('POLYGON((4 5, 1 2, 4 2, 4 5),(2 3, 3 4, 3 3, 2 3))'))) MULTIPOLYGON ZM(((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1)), ((4 5 0 0, 1 2 0 0, 4 2 0 0, 4 5 0 0), (2 3 0 0, 3 4 0 0, 3 3 0 0, 2 3 0 0))) |
Changes to test/sql_stmt_tests/collect56.testcase.
1 2 3 4 5 6 7 8 |
collect - PolygonZM, MULTILINESTRING :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("MULTILINESTRING((4 5, 1 2, 4 2),(2 3, 3 4, 3 3))"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))"), GeomFromText("MULTILINESTRING((4 5, 1 2, 4 2),(2 3, 3 4, 3 3))"))) GEOMETRYCOLLECTION ZM(LINESTRING ZM(4 5 0 0, 1 2 0 0, 4 2 0 0), LINESTRING ZM(2 3 0 0, 3 4 0 0, 3 3 0 0), POLYGON ZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))) |
| | |
1 2 3 4 5 6 7 8 |
collect - PolygonZM, MULTILINESTRING :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('MULTILINESTRING((4 5, 1 2, 4 2),(2 3, 3 4, 3 3))'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POLYGONZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1),(1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))'), GeomFromText('MULTILINESTRING((4 5, 1 2, 4 2),(2 3, 3 4, 3 3))'))) GEOMETRYCOLLECTION ZM(LINESTRING ZM(4 5 0 0, 1 2 0 0, 4 2 0 0), LINESTRING ZM(2 3 0 0, 3 4 0 0, 3 3 0 0), POLYGON ZM((1 2 4 1, 3 4 2 1, 3 2 3 2, 1 2 4 1), (1.5 2.5 4 1, 2.5 3.5 3 2, 2.5 2.3 3 1, 1.5 2.5 4 1))) |
Changes to test/sql_stmt_tests/collect6.testcase.
1 2 3 4 5 6 7 |
collect - toxic blob first arg :memory: #use in-memory database SELECT AsText(Collect(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), MakePoint(3,3))) 1 # rows (not including the header row) 1 # columns AsText(Collect(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), MakePoint(3,3))) GEOMETRYCOLLECTION(POINT(3 3), POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))) |
| | |
1 2 3 4 5 6 7 |
collect - toxic blob first arg :memory: #use in-memory database SELECT AsText(Collect(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), MakePoint(3,3))) 1 # rows (not including the header row) 1 # columns AsText(Collect(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), MakePoint(3,3))) GEOMETRYCOLLECTION(POINT(3 3), POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))) |
Changes to test/sql_stmt_tests/collect7.testcase.
1 2 3 4 5 6 7 |
collect - toxic blob second arg :memory: #use in-memory database SELECT AsText(Collect(MakePoint(3,3), GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))) 1 # rows (not including the header row) 1 # columns AsText(Collect(MakePoint(3,3), GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))) GEOMETRYCOLLECTION(POINT(3 3), POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))) |
| | |
1 2 3 4 5 6 7 |
collect - toxic blob second arg :memory: #use in-memory database SELECT AsText(Collect(MakePoint(3,3), GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))) 1 # rows (not including the header row) 1 # columns AsText(Collect(MakePoint(3,3), GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))) GEOMETRYCOLLECTION(POINT(3 3), POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))) |
Changes to test/sql_stmt_tests/collect8.testcase.
1 2 3 4 5 6 7 8 |
collect - two pointZs :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINTZ(1 2 3)"), GeomFromText("POINTZ(4 5 3.2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINTZ(1 2 3)"), GeomFromText("POINTZ(4 5 3.2)"))) MULTIPOINT Z(1 2 3, 4 5 3.2) |
| | |
1 2 3 4 5 6 7 8 |
collect - two pointZs :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINTZ(1 2 3)'), GeomFromText('POINTZ(4 5 3.2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINTZ(1 2 3)'), GeomFromText('POINTZ(4 5 3.2)'))) MULTIPOINT Z(1 2 3, 4 5 3.2) |
Changes to test/sql_stmt_tests/collect9.testcase.
1 2 3 4 5 6 7 |
collect - Point, PointZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText("POINT(1 2)"), GeomFromText("POINTZ(4 5 3.2)"))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText("POINT(1 2)"), GeomFromText("POINTZ(4 5 3.2)"))) MULTIPOINT(1 2, 4 5) |
| | |
1 2 3 4 5 6 7 |
collect - Point, PointZ :memory: #use in-memory database SELECT AsText(COLLECT(GeomFromText('POINT(1 2)'), GeomFromText('POINTZ(4 5 3.2)'))); 1 # rows (not including the header row) 1 # columns AsText(COLLECT(GeomFromText('POINT(1 2)'), GeomFromText('POINTZ(4 5 3.2)'))) MULTIPOINT(1 2, 4 5) |
Changes to test/sql_stmt_tests/collectextract1.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Point :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 1)) POINT(1 2) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Point :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 1)) POINT(1 2) |
Changes to test/sql_stmt_tests/collectextract10.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - PointZ :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POINTZ(1 2 3)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POINTZ(1 2 3)"), 1)) POINT Z(1 2 3) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - PointZ :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POINTZ(1 2 3)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POINTZ(1 2 3)'), 1)) POINT Z(1 2 3) |
Changes to test/sql_stmt_tests/collectextract11.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - PointZM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POINTZM(1 2 3 4)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POINTZM(1 2 3 4)"), 1)) POINT ZM(1 2 3 4) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - PointZM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POINTZM(1 2 3 4)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POINTZM(1 2 3 4)'), 1)) POINT ZM(1 2 3 4) |
Changes to test/sql_stmt_tests/collectextract12.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - PointM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POINTM(1 2 4)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POINTM(1 2 4)"), 1)) POINT M(1 2 4) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - PointM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POINTM(1 2 4)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POINTM(1 2 4)'), 1)) POINT M(1 2 4) |
Changes to test/sql_stmt_tests/collectextract13.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Point extract from linestring :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("LINESTRING(1 2, 4 2)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("LINESTRING(1 2, 4 2)"), 1)) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Point extract from linestring :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('LINESTRING(1 2, 4 2)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('LINESTRING(1 2, 4 2)'), 1)) (NULL) |
Changes to test/sql_stmt_tests/collectextract14.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Extract linestring from point :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("MULTIPOINT(1 2, 4 2)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("MULTIPOINT(1 2, 4 2)"), 2)) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Extract linestring from point :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('MULTIPOINT(1 2, 4 2)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('MULTIPOINT(1 2, 4 2)'), 2)) (NULL) |
Changes to test/sql_stmt_tests/collectextract15.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestring :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("LINESTRING(1 2, 4 3)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("LINESTRING(1 2, 4 3)"), 2)) LINESTRING(1 2, 4 3) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestring :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('LINESTRING(1 2, 4 3)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('LINESTRING(1 2, 4 3)'), 2)) LINESTRING(1 2, 4 3) |
Changes to test/sql_stmt_tests/collectextract16.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestringZ :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("LINESTRINGZ(1 2 4, 4 3 1)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("LINESTRINGZ(1 2 4, 4 3 1)"), 2)) LINESTRING Z(1 2 4, 4 3 1) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestringZ :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('LINESTRINGZ(1 2 4, 4 3 1)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('LINESTRINGZ(1 2 4, 4 3 1)'), 2)) LINESTRING Z(1 2 4, 4 3 1) |
Changes to test/sql_stmt_tests/collectextract17.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestringM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("LINESTRINGM(1 2 4, 4 3 1)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("LINESTRINGM(1 2 4, 4 3 1)"), 2)) LINESTRING M(1 2 4, 4 3 1) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestringM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('LINESTRINGM(1 2 4, 4 3 1)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('LINESTRINGM(1 2 4, 4 3 1)'), 2)) LINESTRING M(1 2 4, 4 3 1) |
Changes to test/sql_stmt_tests/collectextract18.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestringZM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("LINESTRINGZM(1 2 4 1, 4 3 1 2)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("LINESTRINGZM(1 2 4 1, 4 3 1 2)"), 2)) LINESTRING ZM(1 2 4 1, 4 3 1 2) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract linestringZM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('LINESTRINGZM(1 2 4 1, 4 3 1 2)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('LINESTRINGZM(1 2 4 1, 4 3 1 2)'), 2)) LINESTRING ZM(1 2 4 1, 4 3 1 2) |
Changes to test/sql_stmt_tests/collectextract19.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGONZM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POLYGONZM((0 0 1 3, 10 0 2 3, 10 10 1 6, 0 0 1 3),(1 2 4 1, 4 3 1 2, 1 1 1 6, 1 2 4 1))"), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POLYGONZM((0 0 1 3, 10 0 2 3, 10 10 1 6, 0 0 1 3),(1 2 4 1, 4 3 1 2, 1 1 1 6, 1 2 4 1))"), 3)) POLYGON ZM((0 0 1 3, 10 0 2 3, 10 10 1 6, 0 0 1 3), (1 2 4 1, 4 3 1 2, 1 1 1 6, 1 2 4 1)) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGONZM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POLYGONZM((0 0 1 3, 10 0 2 3, 10 10 1 6, 0 0 1 3),(1 2 4 1, 4 3 1 2, 1 1 1 6, 1 2 4 1))'), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POLYGONZM((0 0 1 3, 10 0 2 3, 10 10 1 6, 0 0 1 3),(1 2 4 1, 4 3 1 2, 1 1 1 6, 1 2 4 1))'), 3)) POLYGON ZM((0 0 1 3, 10 0 2 3, 10 10 1 6, 0 0 1 3), (1 2 4 1, 4 3 1 2, 1 1 1 6, 1 2 4 1)) |
Changes to test/sql_stmt_tests/collectextract2.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Point (NULL) :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 2)) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Point (NULL) :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 2)) (NULL) |
Changes to test/sql_stmt_tests/collectextract20.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGONZ :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POLYGONZ((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))"), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POLYGONZ((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))"), 3)) POLYGON Z((0 0 1, 10 0 2, 10 10 1, 0 0 1), (1 2 4, 4 3 1, 1 1 1, 1 2 4)) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGONZ :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POLYGONZ((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))'), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POLYGONZ((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))'), 3)) POLYGON Z((0 0 1, 10 0 2, 10 10 1, 0 0 1), (1 2 4, 4 3 1, 1 1 1, 1 2 4)) |
Changes to test/sql_stmt_tests/collectextract21.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGONM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POLYGONM((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))"), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POLYGONM((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))"), 3)) POLYGON M((0 0 1, 10 0 2, 10 10 1, 0 0 1), (1 2 4, 4 3 1, 1 1 1, 1 2 4)) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGONM :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POLYGONM((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))'), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POLYGONM((0 0 1, 10 0 2, 10 10 1, 0 0 1),(1 2 4, 4 3 1, 1 1 1, 1 2 4))'), 3)) POLYGON M((0 0 1, 10 0 2, 10 10 1, 0 0 1), (1 2 4, 4 3 1, 1 1 1, 1 2 4)) |
Changes to test/sql_stmt_tests/collectextract22.testcase.
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGON :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POLYGON((0 0, 10 0, 10 10, 0 0),(1 2, 4 3, 1 1, 1 2))"), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POLYGON((0 0, 10 0, 10 10, 0 0),(1 2, 4 3, 1 1, 1 2))"), 3)) POLYGON((0 0, 10 0, 10 10, 0 0), (1 2, 4 3, 1 1, 1 2)) |
| | |
1 2 3 4 5 6 7 8 9 |
Collection Extract - Extract POLYGON :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POLYGON((0 0, 10 0, 10 10, 0 0),(1 2, 4 3, 1 1, 1 2))'), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POLYGON((0 0, 10 0, 10 10, 0 0),(1 2, 4 3, 1 1, 1 2))'), 3)) POLYGON((0 0, 10 0, 10 10, 0 0), (1 2, 4 3, 1 1, 1 2)) |
Changes to test/sql_stmt_tests/collectextract23.testcase.
1 2 3 4 5 6 7 |
Collection Extract - Extract MULTIPOINT :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))"), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))"), 1)) MULTIPOINT(0 0, 1 1) |
| | |
1 2 3 4 5 6 7 |
Collection Extract - Extract MULTIPOINT :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))'), 1)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))'), 1)) MULTIPOINT(0 0, 1 1) |
Changes to test/sql_stmt_tests/collectextract24.testcase.
1 2 3 4 5 6 7 |
Collection Extract - Extract MULTILINESTRING :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))"), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))"), 2)) MULTILINESTRING((0 0, 1 1), (1 1, 2 2)) |
| | |
1 2 3 4 5 6 7 |
Collection Extract - Extract MULTILINESTRING :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))'), 2)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))'), 2)) MULTILINESTRING((0 0, 1 1), (1 1, 2 2)) |
Changes to test/sql_stmt_tests/collectextract25.testcase.
1 2 3 4 5 6 7 |
Collection Extract - Extract MULTILINESTRING :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))"), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))"), 3)) MULTIPOLYGON(((0 0, 1 0, 1 1, 0 1, 0 0)), ((1 1, 2 1, 2 2, 1 2, 1 1))) |
| | |
1 2 3 4 5 6 7 |
Collection Extract - Extract MULTILINESTRING :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))'), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(0 0, 1 1), POLYGON((0 0, 1 0, 1 1, 0 1, 0 0)), POINT(1 1), LINESTRING(1 1, 2 2), POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)))'), 3)) MULTIPOLYGON(((0 0, 1 0, 1 1, 0 1, 0 0)), ((1 1, 2 1, 2 2, 1 2, 1 1))) |
Changes to test/sql_stmt_tests/collectextract3.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Point (NULL) :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 3)) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Point (NULL) :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 3)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 3)) (NULL) |
Changes to test/sql_stmt_tests/collectextract4.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Point invalid type :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 4)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText("POINT(1 2)"), 4)) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Point invalid type :memory: #use in-memory database SELECT AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 4)); 1 # rows (not including the header row) 1 # columns AsText(CollectionExtract(GeomFromText('POINT(1 2)'), 4)) (NULL) |
Changes to test/sql_stmt_tests/collectextract5.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Point invalid type 0 :memory: #use in-memory database SELECT CollectionExtract(GeomFromText("POINT(1 2)"), 0); 1 # rows (not including the header row) 1 # columns CollectionExtract(GeomFromText("POINT(1 2)"), 0) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Point invalid type 0 :memory: #use in-memory database SELECT CollectionExtract(GeomFromText('POINT(1 2)'), 0); 1 # rows (not including the header row) 1 # columns CollectionExtract(GeomFromText('POINT(1 2)'), 0) (NULL) |
Changes to test/sql_stmt_tests/collectextract7.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - text arg :memory: #use in-memory database SELECT CollectionExtract("text", 1); 1 # rows (not including the header row) 1 # columns CollectionExtract("text", 1) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - text arg :memory: #use in-memory database SELECT CollectionExtract('text', 1); 1 # rows (not including the header row) 1 # columns CollectionExtract('text', 1) (NULL) |
Changes to test/sql_stmt_tests/collectextract8.testcase.
1 2 3 4 5 6 7 8 |
Collection Extract - Point Float idx (NULL) :memory: #use in-memory database SELECT CollectionExtract(GeomFromText("POINT(1 2)"), 3.2); 1 # rows (not including the header row) 1 # columns CollectionExtract(GeomFromText("POINT(1 2)"), 3.2) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
Collection Extract - Point Float idx (NULL) :memory: #use in-memory database SELECT CollectionExtract(GeomFromText('POINT(1 2)'), 3.2); 1 # rows (not including the header row) 1 # columns CollectionExtract(GeomFromText('POINT(1 2)'), 3.2) (NULL) |
Changes to test/sql_stmt_tests/compressgeometry1.testcase.
1 2 3 4 5 6 7 |
CompressGeometry :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("Point(1 2)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("Point(1 2)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407C01000000000000000000F03F0000000000000040FE |
| | |
1 2 3 4 5 6 7 |
CompressGeometry :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('Point(1 2)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('Point(1 2)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407C01000000000000000000F03F0000000000000040FE |
Changes to test/sql_stmt_tests/compressgeometry10.testcase.
1 2 3 4 5 6 7 8 9 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRINGM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("GeometryCollectionM(LINESTRINGM(1 2 0, 3 4 0))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("GeometryCollectionM(LINESTRINGM(1 2 0, 3 4 0))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CD70700000100000069124A0F0002000000000000000000F03F00000000000000400000000000000000000000000000084000000000000010400000000000000000FE |
| | |
1 2 3 4 5 6 7 8 9 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRINGM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('GeometryCollectionM(LINESTRINGM(1 2 0, 3 4 0))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('GeometryCollectionM(LINESTRINGM(1 2 0, 3 4 0))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CD70700000100000069124A0F0002000000000000000000F03F00000000000000400000000000000000000000000000084000000000000010400000000000000000FE |
Changes to test/sql_stmt_tests/compressgeometry11.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRINGZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("GeometryCollectionZM(LINESTRINGZM(1 2 0 1, 3 4 0 1))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("GeometryCollectionZM(LINESTRINGZM(1 2 0 1, 3 4 0 1))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CBF0B00000100000069FA4D0F0002000000000000000000F03F00000000000000400000000000000000000000000000F03F000000000000084000000000000010400000000000000000000000000000F03FFE |
| | |
1 2 3 4 5 6 7 8 9 10 11 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRINGZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('GeometryCollectionZM(LINESTRINGZM(1 2 0 1, 3 4 0 1))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('GeometryCollectionZM(LINESTRINGZM(1 2 0 1, 3 4 0 1))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CBF0B00000100000069FA4D0F0002000000000000000000F03F00000000000000400000000000000000000000000000F03F000000000000084000000000000010400000000000000000000000000000F03FFE |
Changes to test/sql_stmt_tests/compressgeometry12.testcase.
1 2 3 4 5 6 7 8 |
CompressGeometry - MULTILINESTRING :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("MULTILINESTRING((1 2, 3 4))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("MULTILINESTRING((1 2, 3 4))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407C05000000010000006942420F0002000000000000000000F03F000000000000004000000000000008400000000000001040FE |
| | |
1 2 3 4 5 6 7 8 |
CompressGeometry - MULTILINESTRING :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('MULTILINESTRING((1 2, 3 4))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('MULTILINESTRING((1 2, 3 4))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407C05000000010000006942420F0002000000000000000000F03F000000000000004000000000000008400000000000001040FE |
Changes to test/sql_stmt_tests/compressgeometry13.testcase.
1 2 3 4 5 6 7 8 9 |
CompressGeometry - MULTILINESTRINGZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("MULTILINESTRINGZ((1 2 2, 3 4 2))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("MULTILINESTRINGZ((1 2 2, 3 4 2))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CED03000001000000692A460F0002000000000000000000F03F00000000000000400000000000000040000000000000084000000000000010400000000000000040FE |
| | |
1 2 3 4 5 6 7 8 9 |
CompressGeometry - MULTILINESTRINGZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('MULTILINESTRINGZ((1 2 2, 3 4 2))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('MULTILINESTRINGZ((1 2 2, 3 4 2))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CED03000001000000692A460F0002000000000000000000F03F00000000000000400000000000000040000000000000084000000000000010400000000000000040FE |
Changes to test/sql_stmt_tests/compressgeometry14.testcase.
1 2 3 4 5 6 7 8 |
CompressGeometry - MULTILINESTRINGM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("MULTILINESTRINGM((1 2 2, 3 4 2))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("MULTILINESTRINGM((1 2 2, 3 4 2))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CD50700000100000069124A0F0002000000000000000000F03F00000000000000400000000000000040000000000000084000000000000010400000000000000040FE |
| | |
1 2 3 4 5 6 7 8 |
CompressGeometry - MULTILINESTRINGM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('MULTILINESTRINGM((1 2 2, 3 4 2))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('MULTILINESTRINGM((1 2 2, 3 4 2))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CD50700000100000069124A0F0002000000000000000000F03F00000000000000400000000000000040000000000000084000000000000010400000000000000040FE |
Changes to test/sql_stmt_tests/compressgeometry15.testcase.
1 2 3 4 5 6 7 8 9 10 |
CompressGeometry - MULTILINESTRINGZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("MULTILINESTRINGZM((1 2 2 1, 3 4 2 1))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("MULTILINESTRINGZM((1 2 2 1, 3 4 2 1))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CBD0B00000100000069FA4D0F0002000000000000000000F03F00000000000000400000000000000040000000000000F03F000000000000084000000000000010400000000000000040000000000000F03FFE |
| | |
1 2 3 4 5 6 7 8 9 10 |
CompressGeometry - MULTILINESTRINGZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('MULTILINESTRINGZM((1 2 2 1, 3 4 2 1))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('MULTILINESTRINGZM((1 2 2 1, 3 4 2 1))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CBD0B00000100000069FA4D0F0002000000000000000000F03F00000000000000400000000000000040000000000000F03F000000000000084000000000000010400000000000000040000000000000F03FFE |
Changes to test/sql_stmt_tests/compressgeometry17.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - POINTZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("POINTZ(1 2 1)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("POINTZ(1 2 1)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CE9030000000000000000F03F0000000000000040000000000000F03FFE |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - POINTZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('POINTZ(1 2 1)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('POINTZ(1 2 1)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CE9030000000000000000F03F0000000000000040000000000000F03FFE |
Changes to test/sql_stmt_tests/compressgeometry18.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - POINTM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("POINTM(1 2 1)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("POINTM(1 2 1)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CD1070000000000000000F03F0000000000000040000000000000F03FFE |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - POINTM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('POINTM(1 2 1)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('POINTM(1 2 1)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CD1070000000000000000F03F0000000000000040000000000000F03FFE |
Changes to test/sql_stmt_tests/compressgeometry19.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - POINTZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("POINTZM(1 2 1 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("POINTZM(1 2 1 0)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CB90B0000000000000000F03F0000000000000040000000000000F03F0000000000000000FE |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - POINTZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('POINTZM(1 2 1 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('POINTZM(1 2 1 0)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CB90B0000000000000000F03F0000000000000040000000000000F03F0000000000000000FE |
Changes to test/sql_stmt_tests/compressgeometry20.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("MULTIPOINT(1 2)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("MULTIPOINT(1 2)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407C04000000010000006901000000000000000000F03F0000000000000040FE |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('MULTIPOINT(1 2)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('MULTIPOINT(1 2)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407C04000000010000006901000000000000000000F03F0000000000000040FE |
Changes to test/sql_stmt_tests/compressgeometry21.testcase.
1 2 3 4 5 6 7 8 |
CompressGeometry - MULTIPOINTZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("MULTIPOINTZ(1 2 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("MULTIPOINTZ(1 2 0)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CEC0300000100000069E9030000000000000000F03F00000000000000400000000000000000FE |
| | |
1 2 3 4 5 6 7 8 |
CompressGeometry - MULTIPOINTZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('MULTIPOINTZ(1 2 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('MULTIPOINTZ(1 2 0)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CEC0300000100000069E9030000000000000000F03F00000000000000400000000000000000FE |
Changes to test/sql_stmt_tests/compressgeometry22.testcase.
1 2 3 4 5 6 7 8 9 |
CompressGeometry - MULTIPOINTM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("MULTIPOINTM(1 2 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("MULTIPOINTM(1 2 0)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CD40700000100000069D1070000000000000000F03F00000000000000400000000000000000FE |
| | |
1 2 3 4 5 6 7 8 9 |
CompressGeometry - MULTIPOINTM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('MULTIPOINTM(1 2 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('MULTIPOINTM(1 2 0)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407CD40700000100000069D1070000000000000000F03F00000000000000400000000000000000FE |
Changes to test/sql_stmt_tests/compressgeometry23.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("LINESTRING(1 2, 3 4, 5 6)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("LINESTRING(1 2, 3 4, 5 6)", 4326))) LINESTRING(1 2, 3 4, 5 6) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('LINESTRING(1 2, 3 4, 5 6)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('LINESTRING(1 2, 3 4, 5 6)', 4326))) LINESTRING(1 2, 3 4, 5 6) |
Changes to test/sql_stmt_tests/compressgeometry24.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("LINESTRINGZ(1 2 100, 3 4 101, 5 6 102)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("LINESTRINGZ(1 2 100, 3 4 101, 5 6 102)", 4326))) LINESTRING Z(1 2 100, 3 4 101, 5 6 102) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('LINESTRINGZ(1 2 100, 3 4 101, 5 6 102)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('LINESTRINGZ(1 2 100, 3 4 101, 5 6 102)', 4326))) LINESTRING Z(1 2 100, 3 4 101, 5 6 102) |
Changes to test/sql_stmt_tests/compressgeometry25.testcase.
1 2 3 4 5 6 7 8 |
CompressGeometry - LINESTRING M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("LINESTRINGM(1 2 10, 3 4 11, 5 6 12", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("LINESTRINGM(1 2 10, 3 4 11, 5 6 12", 4326))) (NULL) LINESTRING M(1 2 10, 3 4 11, 5 6 12) |
| | |
1 2 3 4 5 6 7 8 |
CompressGeometry - LINESTRING M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('LINESTRINGM(1 2 10, 3 4 11, 5 6 12', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('LINESTRINGM(1 2 10, 3 4 11, 5 6 12', 4326))) (NULL) LINESTRING M(1 2 10, 3 4 11, 5 6 12) |
Changes to test/sql_stmt_tests/compressgeometry26.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12)", 4326))) LINESTRING ZM(1 2 100 10, 3 4 101 11, 5 6 102 12) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12)', 4326))) LINESTRING ZM(1 2 100 10, 3 4 101 11, 5 6 102 12) |
Changes to test/sql_stmt_tests/compressgeometry27.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - POLYGON :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1))", 4326))) POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - POLYGON :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1))', 4326))) POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1)) |
Changes to test/sql_stmt_tests/compressgeometry28.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - POLYGON Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100))", 4326))) POLYGON Z((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - POLYGON Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100))', 4326))) POLYGON Z((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100)) |
Changes to test/sql_stmt_tests/compressgeometry29.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - POLYGON M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10))", 4326))) POLYGON M((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - POLYGON M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10))', 4326))) POLYGON M((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10)) |
Changes to test/sql_stmt_tests/compressgeometry30.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(10 10, 11 11), POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(10 10, 11 11), POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1)))", 4326))) GEOMETRYCOLLECTION(LINESTRING(10 10, 11 11), POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(10 10, 11 11), POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(10 10, 11 11), POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1)))', 4326))) GEOMETRYCOLLECTION(LINESTRING(10 10, 11 11), POLYGON((0 0, 5 0, 5 5, 0 5, 0 0), (1 1, 2 1, 2 2, 1 2, 1 1))) |
Changes to test/sql_stmt_tests/compressgeometry31.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(10 10 100, 11 11 101), POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(10 10 100, 11 11 101), POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100)))", 4326))) GEOMETRYCOLLECTION Z(LINESTRING Z(10 10 100, 11 11 101), POLYGON Z((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(10 10 100, 11 11 101), POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(10 10 100, 11 11 101), POLYGONZ((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100)))', 4326))) GEOMETRYCOLLECTION Z(LINESTRING Z(10 10 100, 11 11 101), POLYGON Z((0 0 100, 5 0 101, 5 5 102, 0 5 103, 0 0 100), (1 1 100, 2 1 101, 2 2 102, 1 2 103, 1 1 100))) |
Changes to test/sql_stmt_tests/compressgeometry32.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(10 10 1, 11 11 2), POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(10 10 1, 11 11 2), POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10)))", 4326))) GEOMETRYCOLLECTION M(LINESTRING M(10 10 1, 11 11 2), POLYGON M((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(10 10 1, 11 11 2), POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(10 10 1, 11 11 2), POLYGONM((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10)))', 4326))) GEOMETRYCOLLECTION M(LINESTRING M(10 10 1, 11 11 2), POLYGON M((0 0 1, 5 0 2, 5 5 3, 0 5 4, 0 0 1), (1 1 10, 2 1 11, 2 2 12, 1 2 13, 1 1 10))) |
Changes to test/sql_stmt_tests/compressgeometry33.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(10 10 100 1, 11 11 101 2), POLYGONZM((0 0 100 1, 5 0 101 2, 5 5 102 3, 0 5 103 4, 0 0 100 1), (1 1 100 10, 2 1 101 11, 2 2 102 12, 1 2 103 13, 1 1 100 10)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(10 10 100 1, 11 11 101 2), POLYGONZM((0 0 100 1, 5 0 101 2, 5 5 102 3, 0 5 103 4, 0 0 100 1), (1 1 100 10, 2 1 101 11, 2 2 102 12, 1 2 103 13, 1 1 100 10)))", 4326))) GEOMETRYCOLLECTION ZM(LINESTRING ZM(10 10 100 1, 11 11 101 2), POLYGON ZM((0 0 100 1, 5 0 101 2, 5 5 102 3, 0 5 103 4, 0 0 100 1), (1 1 100 10, 2 1 101 11, 2 2 102 12, 1 2 103 13, 1 1 100 10))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(10 10 100 1, 11 11 101 2), POLYGONZM((0 0 100 1, 5 0 101 2, 5 5 102 3, 0 5 103 4, 0 0 100 1), (1 1 100 10, 2 1 101 11, 2 2 102 12, 1 2 103 13, 1 1 100 10)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(10 10 100 1, 11 11 101 2), POLYGONZM((0 0 100 1, 5 0 101 2, 5 5 102 3, 0 5 103 4, 0 0 100 1), (1 1 100 10, 2 1 101 11, 2 2 102 12, 1 2 103 13, 1 1 100 10)))', 4326))) GEOMETRYCOLLECTION ZM(LINESTRING ZM(10 10 100 1, 11 11 101 2), POLYGON ZM((0 0 100 1, 5 0 101 2, 5 5 102 3, 0 5 103 4, 0 0 100 1), (1 1 100 10, 2 1 101 11, 2 2 102 12, 1 2 103 13, 1 1 100 10))) |
Changes to test/sql_stmt_tests/compressgeometry34.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOINT(10 10, 11 11)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOINT(10 10, 11 11)", 4326))) MULTIPOINT(10 10, 11 11) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOINT(10 10, 11 11)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOINT(10 10, 11 11)', 4326))) MULTIPOINT(10 10, 11 11) |
Changes to test/sql_stmt_tests/compressgeometry35.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOINTZ(10 10 100, 11 11 101)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOINTZ(10 10 100, 11 11 101)", 4326))) MULTIPOINT Z(10 10 100, 11 11 101) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOINTZ(10 10 100, 11 11 101)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOINTZ(10 10 100, 11 11 101)', 4326))) MULTIPOINT Z(10 10 100, 11 11 101) |
Changes to test/sql_stmt_tests/compressgeometry36.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOINTM(10 10 1, 11 11 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOINTM(10 10 1, 11 11 2)", 4326))) MULTIPOINT M(10 10 1, 11 11 2) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOINTM(10 10 1, 11 11 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOINTM(10 10 1, 11 11 2)', 4326))) MULTIPOINT M(10 10 1, 11 11 2) |
Changes to test/sql_stmt_tests/compressgeometry37.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOINTZM(10 10 100 1, 11 11 101 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOINTZM(10 10 100 1, 11 11 101 2)", 4326))) MULTIPOINT ZM(10 10 100 1, 11 11 101 2) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOINT ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOINTZM(10 10 100 1, 11 11 101 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOINTZM(10 10 100 1, 11 11 101 2)', 4326))) MULTIPOINT ZM(10 10 100 1, 11 11 101 2) |
Changes to test/sql_stmt_tests/compressgeometry38.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTILINESTRING((10 10, 11 11), (15 15, 16 16))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTILINESTRING((10 10, 11 11), (15 15, 16 16))", 4326))) MULTILINESTRING((10 10, 11 11), (15 15, 16 16)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTILINESTRING((10 10, 11 11), (15 15, 16 16))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTILINESTRING((10 10, 11 11), (15 15, 16 16))', 4326))) MULTILINESTRING((10 10, 11 11), (15 15, 16 16)) |
Changes to test/sql_stmt_tests/compressgeometry39.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTILINESTRINGZ((10 10 100, 11 11 101, 12 12 102), (15 15 101, 16 16 102, 17 17 103))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTILINESTRINGZ((10 10 100, 11 11 101, 12 12 102), (15 15 101, 16 16 102, 17 17 103))", 4326))) MULTILINESTRING Z((10 10 100, 11 11 101, 12 12 102), (15 15 101, 16 16 102, 17 17 103)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTILINESTRINGZ((10 10 100, 11 11 101, 12 12 102), (15 15 101, 16 16 102, 17 17 103))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTILINESTRINGZ((10 10 100, 11 11 101, 12 12 102), (15 15 101, 16 16 102, 17 17 103))', 4326))) MULTILINESTRING Z((10 10 100, 11 11 101, 12 12 102), (15 15 101, 16 16 102, 17 17 103)) |
Changes to test/sql_stmt_tests/compressgeometry4.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("LINESTRING(1 2, 3 4)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("LINESTRING(1 2, 3 4)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000084000000000000010407C42420F0002000000000000000000F03F000000000000004000000000000008400000000000001040FE |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - LINESTRING :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('LINESTRING(1 2, 3 4)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('LINESTRING(1 2, 3 4)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000084000000000000010407C42420F0002000000000000000000F03F000000000000004000000000000008400000000000001040FE |
Changes to test/sql_stmt_tests/compressgeometry40.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTILINESTRINGM((10 10 1, 11 11 2, 12 12 3), (15 15 1, 16 16 2, 17 17 3))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTILINESTRINGM((10 10 1, 11 11 2, 12 12 3), (15 15 1, 16 16 2, 17 17 3))", 4326))) MULTILINESTRING M((10 10 1, 11 11 2, 12 12 3), (15 15 1, 16 16 2, 17 17 3)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTILINESTRINGM((10 10 1, 11 11 2, 12 12 3), (15 15 1, 16 16 2, 17 17 3))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTILINESTRINGM((10 10 1, 11 11 2, 12 12 3), (15 15 1, 16 16 2, 17 17 3))', 4326))) MULTILINESTRING M((10 10 1, 11 11 2, 12 12 3), (15 15 1, 16 16 2, 17 17 3)) |
Changes to test/sql_stmt_tests/compressgeometry41.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTILINESTRINGZM((10 10 100 1, 11 11 101 2, 12 12 102 3), (15 15 101 1, 16 16 102 2, 17 17 103 3))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTILINESTRINGZM((10 10 100 1, 11 11 101 2, 12 12 102 3), (15 15 101 1, 16 16 102 2, 17 17 103 3))", 4326))) MULTILINESTRING ZM((10 10 100 1, 11 11 101 2, 12 12 102 3), (15 15 101 1, 16 16 102 2, 17 17 103 3)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTILINESTRING ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTILINESTRINGZM((10 10 100 1, 11 11 101 2, 12 12 102 3), (15 15 101 1, 16 16 102 2, 17 17 103 3))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTILINESTRINGZM((10 10 100 1, 11 11 101 2, 12 12 102 3), (15 15 101 1, 16 16 102 2, 17 17 103 3))', 4326))) MULTILINESTRING ZM((10 10 100 1, 11 11 101 2, 12 12 102 3), (15 15 101 1, 16 16 102 2, 17 17 103 3)) |
Changes to test/sql_stmt_tests/compressgeometry42.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)), ((15 15, 16 15, 16 16, 15 16, 15 15)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)), ((15 15, 16 15, 16 16, 15 16, 15 15)))", 4326))) MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)), ((15 15, 16 15, 16 16, 15 16, 15 15))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)), ((15 15, 16 15, 16 16, 15 16, 15 15)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)), ((15 15, 16 15, 16 16, 15 16, 15 15)))', 4326))) MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)), ((15 15, 16 15, 16 16, 15 16, 15 15))) |
Changes to test/sql_stmt_tests/compressgeometry43.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))", 4326))) MULTIPOLYGON Z(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON Z :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))', 4326))) MULTIPOLYGON Z(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55))) |
Changes to test/sql_stmt_tests/compressgeometry44.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), ((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), ((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))", 4326))) MULTIPOLYGON M(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), ((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON M :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), ((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), ((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))', 4326))) MULTIPOLYGON M(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), ((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5))) |
Changes to test/sql_stmt_tests/compressgeometry45.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), ((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), ((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))", 4326))) MULTIPOLYGON ZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), ((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON ZM :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), ((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), ((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))', 4326))) MULTIPOLYGON ZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), ((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5))) |
Changes to test/sql_stmt_tests/compressgeometry46.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2))", 4326))) GEOMETRYCOLLECTION(POINT(1 2)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2))', 4326))) GEOMETRYCOLLECTION(POINT(1 2)) |
Changes to test/sql_stmt_tests/compressgeometry47.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100))", 4326))) GEOMETRYCOLLECTION Z(POINT Z(1 2 100)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100))', 4326))) GEOMETRYCOLLECTION Z(POINT Z(1 2 100)) |
Changes to test/sql_stmt_tests/compressgeometry48.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10))", 4326))) GEOMETRYCOLLECTION M(POINT M(1 2 10)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10))', 4326))) GEOMETRYCOLLECTION M(POINT M(1 2 10)) |
Changes to test/sql_stmt_tests/compressgeometry49.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10))", 4326))) GEOMETRYCOLLECTION ZM(POINT ZM(1 2 100 10)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (1 Point) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10))', 4326))) GEOMETRYCOLLECTION ZM(POINT ZM(1 2 100 10)) |
Changes to test/sql_stmt_tests/compressgeometry5.testcase.
1 2 3 4 5 6 7 8 |
CompressGeometry - LINESTRINGZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("LINESTRINGZ(1 2 3, 3 4 3)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("LINESTRINGZ(1 2 3, 3 4 3)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000084000000000000010407C2A460F0002000000000000000000F03F00000000000000400000000000000840000000000000084000000000000010400000000000000840FE |
| | |
1 2 3 4 5 6 7 8 |
CompressGeometry - LINESTRINGZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('LINESTRINGZ(1 2 3, 3 4 3)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('LINESTRINGZ(1 2 3, 3 4 3)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000084000000000000010407C2A460F0002000000000000000000F03F00000000000000400000000000000840000000000000084000000000000010400000000000000840FE |
Changes to test/sql_stmt_tests/compressgeometry50.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), POINT(3 4))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), POINT(3 4))", 4326))) GEOMETRYCOLLECTION(POINT(1 2), POINT(3 4)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), POINT(3 4))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), POINT(3 4))', 4326))) GEOMETRYCOLLECTION(POINT(1 2), POINT(3 4)) |
Changes to test/sql_stmt_tests/compressgeometry51.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POINTZ(3 4 101))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POINTZ(3 4 101))", 4326))) GEOMETRYCOLLECTION Z(POINT Z(1 2 100), POINT Z(3 4 101)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POINTZ(3 4 101))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POINTZ(3 4 101))', 4326))) GEOMETRYCOLLECTION Z(POINT Z(1 2 100), POINT Z(3 4 101)) |
Changes to test/sql_stmt_tests/compressgeometry52.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), POINTM(3 4 11))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), POINTM(3 4 11))", 4326))) GEOMETRYCOLLECTION M(POINT M(1 2 10), POINT M(3 4 11)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), POINTM(3 4 11))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), POINTM(3 4 11))', 4326))) GEOMETRYCOLLECTION M(POINT M(1 2 10), POINT M(3 4 11)) |
Changes to test/sql_stmt_tests/compressgeometry53.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), POINTZM(3 4 101 11))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), POINTZM(3 4 101 11))", 4326))) GEOMETRYCOLLECTION ZM(POINT ZM(1 2 100 10), POINT ZM(3 4 101 11)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (2 Points) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), POINTZM(3 4 101 11))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), POINTZM(3 4 101 11))', 4326))) GEOMETRYCOLLECTION ZM(POINT ZM(1 2 100 10), POINT ZM(3 4 101 11)) |
Changes to test/sql_stmt_tests/compressgeometry54.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(1 2, 3 4, 5 6), LINESTRING(7 7, 8 8, 9 9))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(1 2, 3 4, 5 6), LINESTRING(7 7, 8 8, 9 9))", 4326))) GEOMETRYCOLLECTION(LINESTRING(1 2, 3 4, 5 6), LINESTRING(7 7, 8 8, 9 9)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(1 2, 3 4, 5 6), LINESTRING(7 7, 8 8, 9 9))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(1 2, 3 4, 5 6), LINESTRING(7 7, 8 8, 9 9))', 4326))) GEOMETRYCOLLECTION(LINESTRING(1 2, 3 4, 5 6), LINESTRING(7 7, 8 8, 9 9)) |
Changes to test/sql_stmt_tests/compressgeometry55.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(1 2 100, 3 4 101, 5 6 102), LINESTRINGZ(7 7 101, 8 8 102, 9 9 103))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(1 2 100, 3 4 101, 5 6 102), LINESTRINGZ(7 7 101, 8 8 102, 9 9 103))", 4326))) GEOMETRYCOLLECTION Z(LINESTRING Z(1 2 100, 3 4 101, 5 6 102), LINESTRING Z(7 7 101, 8 8 102, 9 9 103)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(1 2 100, 3 4 101, 5 6 102), LINESTRINGZ(7 7 101, 8 8 102, 9 9 103))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(1 2 100, 3 4 101, 5 6 102), LINESTRINGZ(7 7 101, 8 8 102, 9 9 103))', 4326))) GEOMETRYCOLLECTION Z(LINESTRING Z(1 2 100, 3 4 101, 5 6 102), LINESTRING Z(7 7 101, 8 8 102, 9 9 103)) |
Changes to test/sql_stmt_tests/compressgeometry56.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(1 2 10, 3 4 11, 5 6 12), LINESTRINGM(7 7 11, 8 8 12, 9 9 13))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(1 2 10, 3 4 11, 5 6 12), LINESTRINGM(7 7 11, 8 8 12, 9 9 13))", 4326))) GEOMETRYCOLLECTION M(LINESTRING M(1 2 10, 3 4 11, 5 6 12), LINESTRING M(7 7 11, 8 8 12, 9 9 13)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(1 2 10, 3 4 11, 5 6 12), LINESTRINGM(7 7 11, 8 8 12, 9 9 13))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(1 2 10, 3 4 11, 5 6 12), LINESTRINGM(7 7 11, 8 8 12, 9 9 13))', 4326))) GEOMETRYCOLLECTION M(LINESTRING M(1 2 10, 3 4 11, 5 6 12), LINESTRING M(7 7 11, 8 8 12, 9 9 13)) |
Changes to test/sql_stmt_tests/compressgeometry57.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12), LINESTRINGZM(7 7 101 11, 8 8 102 12, 9 9 103 13))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12), LINESTRINGZM(7 7 101 11, 8 8 102 12, 9 9 103 13))", 4326))) GEOMETRYCOLLECTION ZM(LINESTRING ZM(1 2 100 10, 3 4 101 11, 5 6 102 12), LINESTRING ZM(7 7 101 11, 8 8 102 12, 9 9 103 13)) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (2 Linestrings) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12), LINESTRINGZM(7 7 101 11, 8 8 102 12, 9 9 103 13))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(1 2 100 10, 3 4 101 11, 5 6 102 12), LINESTRINGZM(7 7 101 11, 8 8 102 12, 9 9 103 13))', 4326))) GEOMETRYCOLLECTION ZM(LINESTRING ZM(1 2 100 10, 3 4 101 11, 5 6 102 12), LINESTRING ZM(7 7 101 11, 8 8 102 12, 9 9 103 13)) |
Changes to test/sql_stmt_tests/compressgeometry58.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))", 4326))) GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))', 4326))) GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15))) |
Changes to test/sql_stmt_tests/compressgeometry59.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), POLYGONZ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), POLYGONZ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))", 4326))) GEOMETRYCOLLECTION Z(POLYGON Z((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), POLYGON Z((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), POLYGONZ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), POLYGONZ((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55)))', 4326))) GEOMETRYCOLLECTION Z(POLYGON Z((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)), POLYGON Z((15 15 55, 16 15 56, 16 16 57, 15 16 58, 15 15 55))) |
Changes to test/sql_stmt_tests/compressgeometry6.testcase.
1 2 3 4 5 6 7 8 9 |
CompressGeometry - LINESTRINGM :memory: #use in-memory database SELECT Hex(geom), AsText(geom) FROM (SELECT CompressGeometry(GeomFromText("LINESTRINGM(1 2 3, 3 4 3, 5 6 4)", 4326)) AS geom) 1 # rows (not including the header row) 2 # columns Hex(geom) AsText(geom) 0001E6100000000000000000F03F0000000000000040000000000000144000000000000018407C124A0F0003000000000000000000F03F0000000000000040000000000000084000000040000000400000000000000840000000000000144000000000000018400000000000001040FE LINESTRING M(1 2 3, 3 4 3, 5 6 4) |
| |
1 2 3 4 5 6 7 8 9 |
CompressGeometry - LINESTRINGM :memory: #use in-memory database SELECT Hex(geom), AsText(geom) FROM (SELECT CompressGeometry(GeomFromText('LINESTRINGM(1 2 3, 3 4 3, 5 6 4)', 4326)) AS geom) 1 # rows (not including the header row) 2 # columns Hex(geom) AsText(geom) 0001E6100000000000000000F03F0000000000000040000000000000144000000000000018407C124A0F0003000000000000000000F03F0000000000000040000000000000084000000040000000400000000000000840000000000000144000000000000018400000000000001040FE LINESTRING M(1 2 3, 3 4 3, 5 6 4) |
Changes to test/sql_stmt_tests/compressgeometry60.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), POLYGONM((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), POLYGONM((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))", 4326))) GEOMETRYCOLLECTION M(POLYGON M((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), POLYGON M((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), POLYGONM((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), POLYGONM((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5)))', 4326))) GEOMETRYCOLLECTION M(POLYGON M((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)), POLYGON M((15 15 5, 16 15 6, 16 16 7, 15 16 8, 15 15 5))) |
Changes to test/sql_stmt_tests/compressgeometry61.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), POLYGONZM((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), POLYGONZM((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))", 4326))) GEOMETRYCOLLECTION ZM(POLYGON ZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), POLYGON ZM((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (2 Polygons) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), POLYGONZM((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), POLYGONZM((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5)))', 4326))) GEOMETRYCOLLECTION ZM(POLYGON ZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)), POLYGON ZM((15 15 55 5, 16 15 56 6, 16 16 57 7, 15 16 58 8, 15 15 55 5))) |
Changes to test/sql_stmt_tests/compressgeometry62.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))) MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))) MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10))) |
Changes to test/sql_stmt_tests/compressgeometry63.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON Z (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))", 4326))) MULTIPOLYGON Z(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON Z (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZ(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))', 4326))) MULTIPOLYGON Z(((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77))) |
Changes to test/sql_stmt_tests/compressgeometry64.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON M (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))", 4326))) MULTIPOLYGON M(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON M (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGONM(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))', 4326))) MULTIPOLYGON M(((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7))) |
Changes to test/sql_stmt_tests/compressgeometry65.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON ZM (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))", 4326))) MULTIPOLYGON ZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - MULTIPOLYGON ZM (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('MULTIPOLYGONZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))', 4326))) MULTIPOLYGON ZM(((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7))) |
Changes to test/sql_stmt_tests/compressgeometry66.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))) GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))) GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10))) |
Changes to test/sql_stmt_tests/compressgeometry67.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))", 4326))) GEOMETRYCOLLECTION Z(POLYGON Z((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION Z (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77)))', 4326))) GEOMETRYCOLLECTION Z(POLYGON Z((10 10 77, 11 10 88, 11 11 99, 10 11 88, 10 10 77))) |
Changes to test/sql_stmt_tests/compressgeometry68.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))", 4326))) GEOMETRYCOLLECTION M(POLYGON M((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION M (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7)))', 4326))) GEOMETRYCOLLECTION M(POLYGON M((10 10 7, 11 10 8, 11 11 9, 10 11 8, 10 10 7))) |
Changes to test/sql_stmt_tests/compressgeometry69.testcase.
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))", 4326))) GEOMETRYCOLLECTION ZM(POLYGON ZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7))) |
| | |
1 2 3 4 5 6 7 |
CompressGeometry - GEOMETRYCOLLECTION ZM (1 Polygon) :memory: #use in-memory database SELECT AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(CompressGeometry(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7)))', 4326))) GEOMETRYCOLLECTION ZM(POLYGON ZM((10 10 77 7, 11 10 88 8, 11 11 99 9, 10 11 88 8, 10 10 77 7))) |
Changes to test/sql_stmt_tests/compressgeometry7.testcase.
1 2 3 4 5 6 7 8 9 10 |
CompressGeometry - LINESTRINGZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("LINESTRINGZM(1 2 3 0, 3 4 3 0)", 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("LINESTRINGZM(1 2 3 0, 3 4 3 0)", 4326))) 0001E6100000000000000000F03F0000000000000040000000000000084000000000000010407CFA4D0F0002000000000000000000F03F0000000000000040000000000000084000000000000000000000000000000840000000000000104000000000000008400000000000000000FE |
| | |
1 2 3 4 5 6 7 8 9 10 |
CompressGeometry - LINESTRINGZM :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('LINESTRINGZM(1 2 3 0, 3 4 3 0)', 4326))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('LINESTRINGZM(1 2 3 0, 3 4 3 0)', 4326))) 0001E6100000000000000000F03F0000000000000040000000000000084000000000000010407CFA4D0F0002000000000000000000F03F0000000000000040000000000000084000000000000000000000000000000840000000000000104000000000000008400000000000000000FE |
Changes to test/sql_stmt_tests/compressgeometry8.testcase.
1 2 3 4 5 6 7 8 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRING :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("GeometryCollection(LINESTRING(1 2, 3 4))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("GeometryCollection(LINESTRING(1 2, 3 4))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407C07000000010000006942420F0002000000000000000000F03F000000000000004000000000000008400000000000001040FE |
| | |
1 2 3 4 5 6 7 8 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRING :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('GeometryCollection(LINESTRING(1 2, 3 4))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('GeometryCollection(LINESTRING(1 2, 3 4))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407C07000000010000006942420F0002000000000000000000F03F000000000000004000000000000008400000000000001040FE |
Changes to test/sql_stmt_tests/compressgeometry9.testcase.
1 2 3 4 5 6 7 8 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRINGZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText("GeometryCollectionZ(LINESTRINGZ(1 2 0, 3 4 0))"))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText("GeometryCollectionZ(LINESTRINGZ(1 2 0, 3 4 0))"))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CEF03000001000000692A460F0002000000000000000000F03F00000000000000400000000000000000000000000000084000000000000010400000000000000000FE |
| | |
1 2 3 4 5 6 7 8 |
CompressGeometry - GEOMETRYCOLLECTION / LINESTRINGZ :memory: #use in-memory database SELECT Hex(CompressGeometry(GeomFromText('GeometryCollectionZ(LINESTRINGZ(1 2 0, 3 4 0))'))) 1 # rows (not including the header row) 1 # columns Hex(CompressGeometry(GeomFromText('GeometryCollectionZ(LINESTRINGZ(1 2 0, 3 4 0))'))) 000100000000000000000000F03F0000000000000040000000000000084000000000000010407CEF03000001000000692A460F0002000000000000000000F03F00000000000000400000000000000000000000000000084000000000000010400000000000000000FE |
Changes to test/sql_stmt_tests/dimension1.testcase.
1 2 3 4 5 6 7 |
dimension1 - POINT :memory: #use in-memory database SELECT Dimension(GeomFromText("POINT(-71.1043443253471 42.315067601582900)")); 1 # rows (not including the header row) 1 # columns Dimension(GeomFromText("POINT(-71.1043443253471 42.315067601582900)")) 0 |
| | |
1 2 3 4 5 6 7 |
dimension1 - POINT :memory: #use in-memory database SELECT Dimension(GeomFromText('POINT(-71.1043443253471 42.315067601582900)')); 1 # rows (not including the header row) 1 # columns Dimension(GeomFromText('POINT(-71.1043443253471 42.315067601582900)')) 0 |
Changes to test/sql_stmt_tests/dimension3.testcase.
1 2 3 4 5 6 7 |
dimension3 - linestring :memory: #use in-memory database SELECT Dimension(GeomFromText("LINESTRING(4 0, 4 4, 8 4)")) 1 # rows (not including the header row) 1 # columns Dimension(GeomFromText("LINESTRING(4 0, 4 4, 8 4)")) 1 |
| | |
1 2 3 4 5 6 7 |
dimension3 - linestring :memory: #use in-memory database SELECT Dimension(GeomFromText('LINESTRING(4 0, 4 4, 8 4)')) 1 # rows (not including the header row) 1 # columns Dimension(GeomFromText('LINESTRING(4 0, 4 4, 8 4)')) 1 |
Changes to test/sql_stmt_tests/dimension5.testcase.
1 2 3 4 5 6 7 |
dimension5 - GeometryCollection :memory: #use in-memory database SELECT Dimension(GeometryCollectionFromText("GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))", 4326)) 1 # rows (not including the header row) 1 # columns Dimension(GeometryCollectionFromText("GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))", 4326)) 1 |
| | |
1 2 3 4 5 6 7 |
dimension5 - GeometryCollection :memory: #use in-memory database SELECT Dimension(GeometryCollectionFromText('GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))', 4326)) 1 # rows (not including the header row) 1 # columns Dimension(GeometryCollectionFromText('GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))', 4326)) 1 |
Changes to test/sql_stmt_tests/dimension6.testcase.
1 2 3 4 5 6 7 |
dimension6 - POLYGON :memory: #use in-memory database SELECT Dimension(PolygonFromText("POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))", 4326)); 1 # rows (not including the header row) 1 # columns Dimension(PolygonFromText("POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))", 4326)) 2 |
| | |
1 2 3 4 5 6 7 |
dimension6 - POLYGON :memory: #use in-memory database SELECT Dimension(PolygonFromText('POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))', 4326)); 1 # rows (not including the header row) 1 # columns Dimension(PolygonFromText('POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))', 4326)) 2 |
Changes to test/sql_stmt_tests/dimension7.testcase.
1 2 3 4 5 6 7 |
dimension7 - MPOLYGON :memory: #use in-memory database SELECT Dimension(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))")) 1 # rows (not including the header row) 1 # columns Dimension(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))")) 2 |
| | |
1 2 3 4 5 6 7 |
dimension7 - MPOLYGON :memory: #use in-memory database SELECT Dimension(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))')) 1 # rows (not including the header row) 1 # columns Dimension(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))')) 2 |
Changes to test/sql_stmt_tests/dimension8.testcase.
1 2 3 4 5 6 7 |
dimension5 - GeometryCollection :memory: #use in-memory database SELECT Dimension(GeometryFromText("POINT EMPTY")) 1 # rows (not including the header row) 1 # columns Dimension(GeometryFromText("POINT EMPTY")) (NULL) |
| | |
1 2 3 4 5 6 7 |
dimension5 - GeometryCollection :memory: #use in-memory database SELECT Dimension(GeometryFromText('POINT EMPTY')) 1 # rows (not including the header row) 1 # columns Dimension(GeometryFromText('POINT EMPTY')) (NULL) |
Changes to test/sql_stmt_tests/dissolve1.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POINT :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POINT(1 2)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT(1 2) POINT(1 2) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POINT :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POINT(1 2)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT(1 2) POINT(1 2) |
Changes to test/sql_stmt_tests/dissolve10.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POINT M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POINTM(1 2 4.3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT M(1 2 4.3) POINT M(1 2 4.3) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POINT M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POINTM(1 2 4.3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT M(1 2 4.3) POINT M(1 2 4.3) |
Changes to test/sql_stmt_tests/dissolve11.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POINT ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POINTZM(1 2 4.3 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT ZM(1 2 4.3 3) POINT ZM(1 2 4.3 3) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POINT ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POINTZM(1 2 4.3 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT ZM(1 2 4.3 3) POINT ZM(1 2 4.3 3) |
Changes to test/sql_stmt_tests/dissolve12.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRING ZM(1 2 4.3 3, 4 1 49 2.8)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING ZM(1 2 4.3 3, 4 1 49 2.8) MULTIPOINT ZM(1 2 4.3 3, 4 1 49 2.8) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRING ZM(1 2 4.3 3, 4 1 49 2.8)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING ZM(1 2 4.3 3, 4 1 49 2.8) MULTIPOINT ZM(1 2 4.3 3, 4 1 49 2.8) |
Changes to test/sql_stmt_tests/dissolve13.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRING Z(1 2 4.3, 4 1 49)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING Z(1 2 4.3, 4 1 49) MULTIPOINT Z(1 2 4.3, 4 1 49) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRING Z(1 2 4.3, 4 1 49)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING Z(1 2 4.3, 4 1 49) MULTIPOINT Z(1 2 4.3, 4 1 49) |
Changes to test/sql_stmt_tests/dissolve14.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRING M(1 2 4.3, 4 1 49)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING M(1 2 4.3, 4 1 49) MULTIPOINT M(1 2 4.3, 4 1 49) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRING M(1 2 4.3, 4 1 49)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING M(1 2 4.3, 4 1 49) MULTIPOINT M(1 2 4.3, 4 1 49) |
Changes to test/sql_stmt_tests/dissolve15.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRING(1 2, 4 1)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING(1 2, 4 1) MULTIPOINT(1 2, 4 1) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - LINESTRING :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRING(1 2, 4 1)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING(1 2, 4 1) MULTIPOINT(1 2, 4 1) |
Changes to test/sql_stmt_tests/dissolve16.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - MULTILINESTRINGZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("MULTILINESTRINGZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2),(15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((30 20 1 2, 10 40 1 2), (10 40 1 2, 45 40 1 2), (45 40 1 2, 30 20 1 2), (15 5 2 3, 40 10 2 3), (40 10 2 3, 10 20 2 3), (10 20 2 3, 5 10 2 3), (5 10 2 3, 15 5 2 3)) MULTIPOINT ZM(30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2, 15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - MULTILINESTRINGZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('MULTILINESTRINGZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2),(15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((30 20 1 2, 10 40 1 2), (10 40 1 2, 45 40 1 2), (45 40 1 2, 30 20 1 2), (15 5 2 3, 40 10 2 3), (40 10 2 3, 10 20 2 3), (10 20 2 3, 5 10 2 3), (5 10 2 3, 15 5 2 3)) MULTIPOINT ZM(30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2, 15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3) |
Changes to test/sql_stmt_tests/dissolve17.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - GEOMETRY COLLECTION :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(4 6 0,7 10 0))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING M(4 6 0, 7 10 0) MULTIPOINT M(4 6 0, 7 10 0) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - GEOMETRY COLLECTION :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(4 6 0,7 10 0))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) LINESTRING M(4 6 0, 7 10 0) MULTIPOINT M(4 6 0, 7 10 0) |
Changes to test/sql_stmt_tests/dissolve18.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGON((0 0,10 0,10 10,0 10,0 0),(1 1,2 2, 2 1, 1 1))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((0 0, 10 0), (10 0, 10 10), (10 10, 0 10), (0 10, 0 0), (1 1, 2 2), (2 2, 2 1), (2 1, 1 1)) MULTIPOINT(0 0, 10 0, 10 10, 0 10, 0 0, 1 1, 2 2, 2 1, 1 1) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGON((0 0,10 0,10 10,0 10,0 0),(1 1,2 2, 2 1, 1 1))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((0 0, 10 0), (10 0, 10 10), (10 10, 0 10), (0 10, 0 0), (1 1, 2 2), (2 2, 2 1), (2 1, 1 1)) MULTIPOINT(0 0, 10 0, 10 10, 0 10, 0 0, 1 1, 2 2, 2 1, 1 1) |
Changes to test/sql_stmt_tests/dissolve19.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGONZ((0 0 4,10 0 5,10 10 6,0 10 7,0 0 4),(1 1 2, 2 2 3, 2 1 4, 1 1 2))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING Z((0 0 4, 10 0 5), (10 0 5, 10 10 6), (10 10 6, 0 10 7), (0 10 7, 0 0 4), (1 1 2, 2 2 3), (2 2 3, 2 1 4), (2 1 4, 1 1 2)) MULTIPOINT Z(0 0 4, 10 0 5, 10 10 6, 0 10 7, 0 0 4, 1 1 2, 2 2 3, 2 1 4, 1 1 2) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGONZ((0 0 4,10 0 5,10 10 6,0 10 7,0 0 4),(1 1 2, 2 2 3, 2 1 4, 1 1 2))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING Z((0 0 4, 10 0 5), (10 0 5, 10 10 6), (10 10 6, 0 10 7), (0 10 7, 0 0 4), (1 1 2, 2 2 3), (2 2 3, 2 1 4), (2 1 4, 1 1 2)) MULTIPOINT Z(0 0 4, 10 0 5, 10 10 6, 0 10 7, 0 0 4, 1 1 2, 2 2 3, 2 1 4, 1 1 2) |
Changes to test/sql_stmt_tests/dissolve20.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGONM((0 0 4,10 0 5,10 10 6,0 10 7,0 0 4),(1 1 2, 2 2 3, 2 1 4, 1 1 2))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING M((0 0 4, 10 0 5), (10 0 5, 10 10 6), (10 10 6, 0 10 7), (0 10 7, 0 0 4), (1 1 2, 2 2 3), (2 2 3, 2 1 4), (2 1 4, 1 1 2)) MULTIPOINT M(0 0 4, 10 0 5, 10 10 6, 0 10 7, 0 0 4, 1 1 2, 2 2 3, 2 1 4, 1 1 2) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGONM((0 0 4,10 0 5,10 10 6,0 10 7,0 0 4),(1 1 2, 2 2 3, 2 1 4, 1 1 2))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING M((0 0 4, 10 0 5), (10 0 5, 10 10 6), (10 10 6, 0 10 7), (0 10 7, 0 0 4), (1 1 2, 2 2 3), (2 2 3, 2 1 4), (2 1 4, 1 1 2)) MULTIPOINT M(0 0 4, 10 0 5, 10 10 6, 0 10 7, 0 0 4, 1 1 2, 2 2 3, 2 1 4, 1 1 2) |
Changes to test/sql_stmt_tests/dissolve21.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGONZM((0 0 4 1,10 0 5 1,10 10 6 1,0 10 7 1,0 0 4 1),(1 1 2 2, 2 2 3 2, 2 1 4 2, 1 1 2 2))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((0 0 4 1, 10 0 5 1), (10 0 5 1, 10 10 6 1), (10 10 6 1, 0 10 7 1), (0 10 7 1, 0 0 4 1), (1 1 2 2, 2 2 3 2), (2 2 3 2, 2 1 4 2), (2 1 4 2, 1 1 2 2)) MULTIPOINT ZM(0 0 4 1, 10 0 5 1, 10 10 6 1, 0 10 7 1, 0 0 4 1, 1 1 2 2, 2 2 3 2, 2 1 4 2, 1 1 2 2) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POLYGON ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGONZM((0 0 4 1,10 0 5 1,10 10 6 1,0 10 7 1,0 0 4 1),(1 1 2 2, 2 2 3 2, 2 1 4 2, 1 1 2 2))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((0 0 4 1, 10 0 5 1), (10 0 5 1, 10 10 6 1), (10 10 6 1, 0 10 7 1), (0 10 7 1, 0 0 4 1), (1 1 2 2, 2 2 3 2), (2 2 3 2, 2 1 4 2), (2 1 4 2, 1 1 2 2)) MULTIPOINT ZM(0 0 4 1, 10 0 5 1, 10 10 6 1, 0 10 7 1, 0 0 4 1, 1 1 2 2, 2 2 3 2, 2 1 4 2, 1 1 2 2) |
Changes to test/sql_stmt_tests/dissolve22.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRING(0 1, 0 2, 1 2, 1 2)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((0 1, 0 2), (0 2, 1 2)) MULTIPOINT(0 1, 0 2, 1 2, 1 2) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRING(0 1, 0 2, 1 2, 1 2)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((0 1, 0 2), (0 2, 1 2)) MULTIPOINT(0 1, 0 2, 1 2, 1 2) |
Changes to test/sql_stmt_tests/dissolve23.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRINGZ(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING Z((0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3)) MULTIPOINT Z(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRINGZ(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING Z((0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3)) MULTIPOINT Z(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3) |
Changes to test/sql_stmt_tests/dissolve24.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRINGM(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING M((0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3)) MULTIPOINT M(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRINGM(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING M((0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3)) MULTIPOINT M(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3) |
Changes to test/sql_stmt_tests/dissolve25.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("LINESTRINGZM(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((0 1 0 2, 0 2 1 3), (0 2 1 3, 1 2 2 4), (1 2 2 4, 1 2 3 5), (1 2 3 5, 1 2 3 6)) MULTIPOINT ZM(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('LINESTRINGZM(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((0 1 0 2, 0 2 1 3), (0 2 1 3, 1 2 2 4), (1 2 2 4, 1 2 3 5), (1 2 3 5, 1 2 3 6)) MULTIPOINT ZM(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6) |
Changes to test/sql_stmt_tests/dissolve26.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGONZM((0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((0 1 0 2, 0 2 1 3), (0 2 1 3, 1 2 2 4), (1 2 2 4, 1 2 3 5), (1 2 3 5, 1 2 3 6), (1 2 3 6, 0 1 0 2)) MULTIPOINT ZM(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGONZM((0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((0 1 0 2, 0 2 1 3), (0 2 1 3, 1 2 2 4), (1 2 2 4, 1 2 3 5), (1 2 3 5, 1 2 3 6), (1 2 3 6, 0 1 0 2)) MULTIPOINT ZM(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2) |
Changes to test/sql_stmt_tests/dissolve27.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGONZM((-10 0 0 0, -10 10 0 0, -10 10 10 0, 10 10 10 0, 10 10 10 10, 10 10 10 -10, 10 -10 10 -10, -10 -10 -10 -10, -10 0 0 0),(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((-10 0 0 0, -10 10 0 0), (-10 10 0 0, -10 10 10 0), (-10 10 10 0, 10 10 10 0), (10 10 10 0, 10 10 10 10), (10 10 10 10, 10 10 10 -10), (10 10 10 -10, 10 -10 10 -10), (10 -10 10 -10, -10 -10 -10 -10), (-10 -10 -10 -10, -10 0 0 0), (0 1 0 2, 0 2 1 3), (0 2 1 3, 1 2 2 4), (1 2 2 4, 1 2 3 5), (1 2 3 5, 1 2 3 6), (1 2 3 6, 0 1 0 2)) MULTIPOINT ZM(-10 0 0 0, -10 10 0 0, -10 10 10 0, 10 10 10 0, 10 10 10 10, 10 10 10 -10, 10 -10 10 -10, -10 -10 -10 -10, -10 0 0 0, 0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON ZM :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGONZM((-10 0 0 0, -10 10 0 0, -10 10 10 0, 10 10 10 0, 10 10 10 10, 10 10 10 -10, 10 -10 10 -10, -10 -10 -10 -10, -10 0 0 0),(0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING ZM((-10 0 0 0, -10 10 0 0), (-10 10 0 0, -10 10 10 0), (-10 10 10 0, 10 10 10 0), (10 10 10 0, 10 10 10 10), (10 10 10 10, 10 10 10 -10), (10 10 10 -10, 10 -10 10 -10), (10 -10 10 -10, -10 -10 -10 -10), (-10 -10 -10 -10, -10 0 0 0), (0 1 0 2, 0 2 1 3), (0 2 1 3, 1 2 2 4), (1 2 2 4, 1 2 3 5), (1 2 3 5, 1 2 3 6), (1 2 3 6, 0 1 0 2)) MULTIPOINT ZM(-10 0 0 0, -10 10 0 0, -10 10 10 0, 10 10 10 0, 10 10 10 10, 10 10 10 -10, 10 -10 10 -10, -10 -10 -10 -10, -10 0 0 0, 0 1 0 2, 0 2 1 3, 1 2 2 4, 1 2 3 5, 1 2 3 6, 1 2 3 6, 0 1 0 2) |
Changes to test/sql_stmt_tests/dissolve28.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGONZ((-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0),(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING Z((-10 0 0, -10 10 0), (-10 10 0, -10 10 10), (-10 10 10, 10 10 10), (10 10 10, 10 10 -10), (10 10 -10, 10 -10 -10), (10 -10 -10, -10 -10 -10), (-10 -10 -10, -10 0 0), (0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3), (1 2 3, 0 1 0)) MULTIPOINT Z(-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0, 0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGONZ((-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0),(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING Z((-10 0 0, -10 10 0), (-10 10 0, -10 10 10), (-10 10 10, 10 10 10), (10 10 10, 10 10 -10), (10 10 -10, 10 -10 -10), (10 -10 -10, -10 -10 -10), (-10 -10 -10, -10 0 0), (0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3), (1 2 3, 0 1 0)) MULTIPOINT Z(-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0, 0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0) |
Changes to test/sql_stmt_tests/dissolve29.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGONM((-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0),(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING M((-10 0 0, -10 10 0), (-10 10 0, -10 10 10), (-10 10 10, 10 10 10), (10 10 10, 10 10 -10), (10 10 -10, 10 -10 -10), (10 -10 -10, -10 -10 -10), (-10 -10 -10, -10 0 0), (0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3), (1 2 3, 0 1 0)) MULTIPOINT M(-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0, 0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON M :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGONM((-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0),(0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING M((-10 0 0, -10 10 0), (-10 10 0, -10 10 10), (-10 10 10, 10 10 10), (10 10 10, 10 10 -10), (10 10 -10, 10 -10 -10), (10 -10 -10, -10 -10 -10), (-10 -10 -10, -10 0 0), (0 1 0, 0 2 1), (0 2 1, 1 2 2), (1 2 2, 1 2 3), (1 2 3, 0 1 0)) MULTIPOINT M(-10 0 0, -10 10 0, -10 10 10, 10 10 10, 10 10 10, 10 10 -10, 10 -10 -10, -10 -10 -10, -10 0 0, 0 1 0, 0 2 1, 1 2 2, 1 2 3, 1 2 3, 1 2 3, 0 1 0) |
Changes to test/sql_stmt_tests/dissolve3.testcase.
1 2 3 4 5 6 7 |
dissolve - text input :memory: #use in-memory database SELECT DissolveSegments("hell0") 1 # rows (not including the header row) 1 # columns DissolveSegments("hell0") (NULL) |
| | |
1 2 3 4 5 6 7 |
dissolve - text input :memory: #use in-memory database SELECT DissolveSegments('hell0') 1 # rows (not including the header row) 1 # columns DissolveSegments('hell0') (NULL) |
Changes to test/sql_stmt_tests/dissolve30.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGON((-10 0, -10 10, -10 10, 10 10, 10 10, 10 10, 10 -10, -10 -10, -9 -9, -10 0),(0 1, 0 2, 1 2, 1 2, 2 3, 1 2, 0 1))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((-10 0, -10 10), (-10 10, 10 10), (10 10, 10 -10), (10 -10, -10 -10), (-10 -10, -9 -9), (-9 -9, -10 0), (0 1, 0 2), (0 2, 1 2), (1 2, 2 3), (2 3, 1 2), (1 2, 0 1)) MULTIPOINT(-10 0, -10 10, -10 10, 10 10, 10 10, 10 10, 10 -10, -10 -10, -9 -9, -10 0, 0 1, 0 2, 1 2, 1 2, 2 3, 1 2, 0 1) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - Overlap points POLYGON :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGON((-10 0, -10 10, -10 10, 10 10, 10 10, 10 10, 10 -10, -10 -10, -9 -9, -10 0),(0 1, 0 2, 1 2, 1 2, 2 3, 1 2, 0 1))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((-10 0, -10 10), (-10 10, 10 10), (10 10, 10 -10), (10 -10, -10 -10), (-10 -10, -9 -9), (-9 -9, -10 0), (0 1, 0 2), (0 2, 1 2), (1 2, 2 3), (2 3, 1 2), (1 2, 0 1)) MULTIPOINT(-10 0, -10 10, -10 10, 10 10, 10 10, 10 10, 10 -10, -10 -10, -9 -9, -10 0, 0 1, 0 2, 1 2, 1 2, 2 3, 1 2, 0 1) |
Changes to test/sql_stmt_tests/dissolve6.testcase.
1 2 3 4 5 6 7 |
dissolve points - text input :memory: #use in-memory database SELECT DissolvePoints("hell0") 1 # rows (not including the header row) 1 # columns DissolvePoints("hell0") (NULL) |
| | |
1 2 3 4 5 6 7 |
dissolve points - text input :memory: #use in-memory database SELECT DissolvePoints('hell0') 1 # rows (not including the header row) 1 # columns DissolvePoints('hell0') (NULL) |
Changes to test/sql_stmt_tests/dissolve8.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - toxic polygon :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((136 -35, 135.2 -34.5), (135.2 -34.5, 136 -35.2), (136 -35.2, 136 -35), (136 -35, 135.2 -34.5)) MULTIPOINT(136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - toxic polygon :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) MULTILINESTRING((136 -35, 135.2 -34.5), (135.2 -34.5, 136 -35.2), (136 -35.2, 136 -35), (136 -35, 135.2 -34.5)) MULTIPOINT(136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5) |
Changes to test/sql_stmt_tests/dissolve9.testcase.
1 2 3 4 5 6 7 8 9 |
dissolve - POINT Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText("POINTZ(1 2 4.3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT Z(1 2 4.3) POINT Z(1 2 4.3) |
| |
1 2 3 4 5 6 7 8 9 |
dissolve - POINT Z :memory: #use in-memory database SELECT AsText(DissolveSegments(geom)),AsText(DissolvePoints(geom)) from (SELECT GeomFromText('POINTZ(1 2 4.3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns AsText(DissolveSegments(geom)) AsText(DissolvePoints(geom)) POINT Z(1 2 4.3) POINT Z(1 2 4.3) |
Changes to test/sql_stmt_tests/endpoint1.testcase.
1 2 3 4 5 6 7 |
endpoint - regular LINESTRING :memory: #use in-memory database SELECT AsText(EndPoint(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"))); 1 # rows (not including the header row) 1 # columns AsText(EndPoint(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"))) POINT(8 4) |
| | |
1 2 3 4 5 6 7 |
endpoint - regular LINESTRING :memory: #use in-memory database SELECT AsText(EndPoint(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'))); 1 # rows (not including the header row) 1 # columns AsText(EndPoint(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'))) POINT(8 4) |
Changes to test/sql_stmt_tests/envelope1.testcase.
1 2 3 4 5 6 7 |
Envelope :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText("Point(1 2)"))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText("Point(1 2)"))) POLYGON((1 2, 1 2, 1 2, 1 2, 1 2)) |
| | |
1 2 3 4 5 6 7 |
Envelope :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText('Point(1 2)'))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText('Point(1 2)'))) POLYGON((1 2, 1 2, 1 2, 1 2, 1 2)) |
Changes to test/sql_stmt_tests/envelope2.testcase.
1 2 3 4 5 6 7 |
Envelope - Polygon :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"))) POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)) |
| | |
1 2 3 4 5 6 7 |
Envelope - Polygon :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'))) POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)) |
Changes to test/sql_stmt_tests/envelope3.testcase.
1 2 3 4 5 6 7 |
Envelope - Polygon :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"))) POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)) |
| | |
1 2 3 4 5 6 7 |
Envelope - Polygon :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'))) POLYGON((1 1, 2 1, 2 2, 1 2, 1 1)) |
Changes to test/sql_stmt_tests/envelope4.testcase.
1 2 3 4 5 6 7 |
Envelope - Polygon :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText("POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))"))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText("POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))"))) POLYGON((0 0, 2 0, 2 2, 0 2, 0 0)) |
| | |
1 2 3 4 5 6 7 |
Envelope - Polygon :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText('POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))'))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText('POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))'))) POLYGON((0 0, 2 0, 2 2, 0 2, 0 0)) |
Changes to test/sql_stmt_tests/envelope6.testcase.
1 2 3 4 5 6 7 |
Envelope - non-geom :memory: #use in-memory database SELECT Envelope("hello") 1 # rows (not including the header row) 1 # columns Envelope("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
Envelope - non-geom :memory: #use in-memory database SELECT Envelope('hello') 1 # rows (not including the header row) 1 # columns Envelope('hello') (NULL) |
Changes to test/sql_stmt_tests/envelope7.testcase.
1 2 3 4 5 6 7 |
Envelope - toxic :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))) POLYGON((135.2 -35.2, 136 -35.2, 136 -34.5, 135.2 -34.5, 135.2 -35.2)) |
| | |
1 2 3 4 5 6 7 |
Envelope - toxic :memory: #use in-memory database SELECT AsText(Envelope(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))) 1 # rows (not including the header row) 1 # columns AsText(Envelope(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))) POLYGON((135.2 -35.2, 136 -35.2, 136 -34.5, 135.2 -34.5, 135.2 -35.2)) |
Changes to test/sql_stmt_tests/envintersects1.testcase.
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #1 :memory: #use in-memory database SELECT ST_EnvIntersects("alpha", 2, 2, 3, 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects("alpha", 2, 2, 3, 3) -1 |
| | |
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #1 :memory: #use in-memory database SELECT ST_EnvIntersects('alpha', 2, 2, 3, 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects('alpha', 2, 2, 3, 3) -1 |
Changes to test/sql_stmt_tests/envintersects2.testcase.
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #2 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), "alpha", 2, 3, 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), "alpha", 2, 3, 3) -1 |
| | |
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #2 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), 'alpha', 2, 3, 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), 'alpha', 2, 3, 3) -1 |
Changes to test/sql_stmt_tests/envintersects3.testcase.
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #3 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), 2, "alpha", 3, 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), 2, "alpha", 3, 3) -1 |
| | |
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #3 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), 2, 'alpha', 3, 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), 2, 'alpha', 3, 3) -1 |
Changes to test/sql_stmt_tests/envintersects4.testcase.
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #4 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), 2, 2, "alpha", 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), 2, 2, "alpha", 3) -1 |
| | |
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #4 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), 2, 2, 'alpha', 3) 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), 2, 2, 'alpha', 3) -1 |
Changes to test/sql_stmt_tests/envintersects5.testcase.
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #5 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), 2, 2, 3, "alpha") 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), 2, 2, 3, "alpha") -1 |
| | |
1 2 3 4 5 6 7 |
ST_EnvIntersects - bad arg #5 :memory: #use in-memory database SELECT ST_EnvIntersects(zeroblob(50), 2, 2, 3, 'alpha') 1 # rows (not including the header row) 1 # columns ST_EnvIntersects(zeroblob(50), 2, 2, 3, 'alpha') -1 |
Changes to test/sql_stmt_tests/expand1.testcase.
1 2 3 4 5 6 7 |
Expand :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText("Point(1 2)"), 0.5)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText("Point(1 2)"), 0.5)) POLYGON((0.5 1.5, 1.5 1.5, 1.5 2.5, 0.5 2.5, 0.5 1.5)) |
| | |
1 2 3 4 5 6 7 |
Expand :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText('Point(1 2)'), 0.5)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText('Point(1 2)'), 0.5)) POLYGON((0.5 1.5, 1.5 1.5, 1.5 2.5, 0.5 2.5, 0.5 1.5)) |
Changes to test/sql_stmt_tests/expand2.testcase.
1 2 3 4 5 6 7 |
Expand - Polygon :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"), 0.5)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"), 0.5)) POLYGON((0.5 0.5, 2.5 0.5, 2.5 2.5, 0.5 2.5, 0.5 0.5)) |
| | |
1 2 3 4 5 6 7 |
Expand - Polygon :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'), 0.5)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'), 0.5)) POLYGON((0.5 0.5, 2.5 0.5, 2.5 2.5, 0.5 2.5, 0.5 0.5)) |
Changes to test/sql_stmt_tests/expand3.testcase.
1 2 3 4 5 6 7 |
Expand - Polygon :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"), 1)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText("POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))"), 1)) POLYGON((0 0, 3 0, 3 3, 0 3, 0 0)) |
| | |
1 2 3 4 5 6 7 |
Expand - Polygon :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'), 1)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText('POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))'), 1)) POLYGON((0 0, 3 0, 3 3, 0 3, 0 0)) |
Changes to test/sql_stmt_tests/expand4.testcase.
1 2 3 4 5 6 7 |
Expand - Polygon :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText("POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))"), 1)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText("POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))"), 1)) POLYGON((-1 -1, 3 -1, 3 3, -1 3, -1 -1)) |
| | |
1 2 3 4 5 6 7 |
Expand - Polygon :memory: #use in-memory database SELECT AsText(ST_Expand(GeomFromText('POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))'), 1)) 1 # rows (not including the header row) 1 # columns AsText(ST_Expand(GeomFromText('POLYGON((0 1, 1 0, 2 1, 1 2, 0 1))'), 1)) POLYGON((-1 -1, 3 -1, 3 3, -1 3, -1 -1)) |
Changes to test/sql_stmt_tests/expand6.testcase.
1 2 3 4 5 6 7 |
Expand - non-geom :memory: #use in-memory database SELECT ST_Expand("hello", 1) 1 # rows (not including the header row) 1 # columns ST_Expand("hello", 1) (NULL) |
| | |
1 2 3 4 5 6 7 |
Expand - non-geom :memory: #use in-memory database SELECT ST_Expand('hello', 1) 1 # rows (not including the header row) 1 # columns ST_Expand('hello', 1) (NULL) |
Changes to test/sql_stmt_tests/expand7.testcase.
1 2 3 4 5 6 7 |
Expand - illegal amount :memory: #use in-memory database SELECT ST_Expand(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), "alpha") 1 # rows (not including the header row) 1 # columns ST_Expand(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), "alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
Expand - illegal amount :memory: #use in-memory database SELECT ST_Expand(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 'alpha') 1 # rows (not including the header row) 1 # columns ST_Expand(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 'alpha') (NULL) |
Changes to test/sql_stmt_tests/extractmultilinestring3.testcase.
1 2 3 4 5 6 7 |
extractmultilinestring - LINESTRING :memory: #use in-memory database SELECT AsText(ExtractMultiLinestring(GeomFromText("GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))"))) 1 # rows (not including the header row) 1 # columns AsText(ExtractMultiLinestring(GeomFromText("GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))"))) MULTILINESTRING((5 6, 6 7)) |
| | |
1 2 3 4 5 6 7 |
extractmultilinestring - LINESTRING :memory: #use in-memory database SELECT AsText(ExtractMultiLinestring(GeomFromText('GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))'))) 1 # rows (not including the header row) 1 # columns AsText(ExtractMultiLinestring(GeomFromText('GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))'))) MULTILINESTRING((5 6, 6 7)) |
Changes to test/sql_stmt_tests/extractmultipoint3.testcase.
1 2 3 4 5 6 7 |
extractmultipoint - POINT :memory: #use in-memory database SELECT AsText(ExtractMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))"))) 1 # rows (not including the header row) 1 # columns AsText(ExtractMultiPoint(GeomFromText("GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))"))) MULTIPOINT(4 3) |
| | |
1 2 3 4 5 6 7 |
extractmultipoint - POINT :memory: #use in-memory database SELECT AsText(ExtractMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))'))) 1 # rows (not including the header row) 1 # columns AsText(ExtractMultiPoint(GeomFromText('GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))'))) MULTIPOINT(4 3) |
Changes to test/sql_stmt_tests/extractmultipolygon3.testcase.
1 2 3 4 5 6 7 |
extractmultipolygon - POINT :memory: #use in-memory database SELECT AsText(ExtractMultiPolygon(GeomFromText("GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))"))) 1 # rows (not including the header row) 1 # columns AsText(ExtractMultiPolygon(GeomFromText("GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))"))) MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10))) |
| | |
1 2 3 4 5 6 7 |
extractmultipolygon - POINT :memory: #use in-memory database SELECT AsText(ExtractMultiPolygon(GeomFromText('GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))'))) 1 # rows (not including the header row) 1 # columns AsText(ExtractMultiPolygon(GeomFromText('GEOMETRYCOLLECTION(POINT(4 3), LINESTRING(5 6, 6 7), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))'))) MULTIPOLYGON(((10 10, 11 10, 11 11, 10 11, 10 10))) |
Changes to test/sql_stmt_tests/fromWkb1.testcase.
1 2 3 4 5 6 7 |
fromWkb :memory: #use in-memory database SELECT AsText(GeomFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)))) 1 # rows (not including the header row) 1 # columns AsText(GeomFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)))) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
fromWkb :memory: #use in-memory database SELECT AsText(GeomFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)))) 1 # rows (not including the header row) 1 # columns AsText(GeomFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)))) POINT(1 2) |
Changes to test/sql_stmt_tests/fromWkb10.testcase.
1 2 3 4 5 6 7 |
fromWkb - mandatory POLYGON, 2 arg :memory: #use in-memory database SELECT Hex(PolygonFromWkb(AsBinary(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))")), 4326)) 1 # rows (not including the header row) 1 # columns Hex(PolygonFromWkb(AsBinary(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))")), 4326)) 0001E6100000000000000000F03F000000000000F03F000000000000104000000000000010407C030000000100000004000000000000000000F03F00000000000000400000000000000840000000000000F03F00000000000010400000000000001040000000000000F03F0000000000000040FE |
| | |
1 2 3 4 5 6 7 |
fromWkb - mandatory POLYGON, 2 arg :memory: #use in-memory database SELECT Hex(PolygonFromWkb(AsBinary(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))')), 4326)) 1 # rows (not including the header row) 1 # columns Hex(PolygonFromWkb(AsBinary(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))')), 4326)) 0001E6100000000000000000F03F000000000000F03F000000000000104000000000000010407C030000000100000004000000000000000000F03F00000000000000400000000000000840000000000000F03F00000000000010400000000000001040000000000000F03F0000000000000040FE |
Changes to test/sql_stmt_tests/fromWkb13.testcase.
1 2 3 4 5 6 7 |
fromWkb - POINT, 2 arg :memory: #use in-memory database SELECT AsText(GeomFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)), 4326)) 1 # rows (not including the header row) 1 # columns AsText(GeomFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)), 4326)) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
fromWkb - POINT, 2 arg :memory: #use in-memory database SELECT AsText(GeomFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)), 4326)) 1 # rows (not including the header row) 1 # columns AsText(GeomFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)), 4326)) POINT(1 2) |
Changes to test/sql_stmt_tests/fromWkb14.testcase.
1 2 3 4 5 6 7 |
fromWkb - mandatory POINT, 2 arg :memory: #use in-memory database SELECT AsText(PointFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)), 4326)) 1 # rows (not including the header row) 1 # columns AsText(PointFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)), 4326)) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
fromWkb - mandatory POINT, 2 arg :memory: #use in-memory database SELECT AsText(PointFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)), 4326)) 1 # rows (not including the header row) 1 # columns AsText(PointFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)), 4326)) POINT(1 2) |
Changes to test/sql_stmt_tests/fromWkb15.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - GeometryCollection :memory: #use in-memory database SELECT Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2))", 4326)), 4326)) 1 # rows (not including the header row) 1 # columns Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2))", 4326)), 4326)) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407C07000000010000006901000000000000000000F03F0000000000000040FE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - GeometryCollection :memory: #use in-memory database SELECT Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2))', 4326)), 4326)) 1 # rows (not including the header row) 1 # columns Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2))', 4326)), 4326)) 0001E6100000000000000000F03F0000000000000040000000000000F03F00000000000000407C07000000010000006901000000000000000000F03F0000000000000040FE |
Changes to test/sql_stmt_tests/fromWkb16.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - GeometryCollection :memory: #use in-memory database SELECT Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2))", 4326)))) 1 # rows (not including the header row) 1 # columns Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2))", 4326)))) 000100000000000000000000F03F0000000000000040000000000000F03F00000000000000407C07000000010000006901000000000000000000F03F0000000000000040FE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - GeometryCollection :memory: #use in-memory database SELECT Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2))', 4326)))) 1 # rows (not including the header row) 1 # columns Hex(GeometryCollectionFromWkb(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2))', 4326)))) 000100000000000000000000F03F0000000000000040000000000000F03F00000000000000407C07000000010000006901000000000000000000F03F0000000000000040FE |
Changes to test/sql_stmt_tests/fromWkb17.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - LINESTRING with SRID :memory: #use in-memory database SELECT Hex(LinestringFromWkb(AsBinary(GeomFromText("LINESTRING(1 2, 2 1)", 4326)), 4326)) 1 # rows (not including the header row) 1 # columns Hex(LinestringFromWkb(AsBinary(GeomFromText("LINESTRING(1 2, 2 1)", 4326)), 4326)) 0001E6100000000000000000F03F000000000000F03F000000000000004000000000000000407C0200000002000000000000000000F03F00000000000000400000000000000040000000000000F03FFE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - LINESTRING with SRID :memory: #use in-memory database SELECT Hex(LinestringFromWkb(AsBinary(GeomFromText('LINESTRING(1 2, 2 1)', 4326)), 4326)) 1 # rows (not including the header row) 1 # columns Hex(LinestringFromWkb(AsBinary(GeomFromText('LINESTRING(1 2, 2 1)', 4326)), 4326)) 0001E6100000000000000000F03F000000000000F03F000000000000004000000000000000407C0200000002000000000000000000F03F00000000000000400000000000000040000000000000F03FFE |
Changes to test/sql_stmt_tests/fromWkb18.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - MULTILINESTRING with SRID :memory: #use in-memory database SELECT Hex(MultiLinestringFromWkb(AsBinary(GeomFromText("MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))", 4326)), 4326)) 1 # rows (not including the header row) 1 # columns Hex(MultiLinestringFromWkb(AsBinary(GeomFromText("MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))", 4326)), 4326)) 0001E610000000000000000000000000000000000000000000000000104000000000000014407C0500000002000000690200000002000000000000000000F03F00000000000000400000000000000040000000000000F03F690200000003000000000000000000000000000000000000000000000000000040000000000000144000000000000010400000000000000040FE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - MULTILINESTRING with SRID :memory: #use in-memory database SELECT Hex(MultiLinestringFromWkb(AsBinary(GeomFromText('MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))', 4326)), 4326)) 1 # rows (not including the header row) 1 # columns Hex(MultiLinestringFromWkb(AsBinary(GeomFromText('MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))', 4326)), 4326)) 0001E610000000000000000000000000000000000000000000000000104000000000000014407C0500000002000000690200000002000000000000000000F03F00000000000000400000000000000040000000000000F03F690200000003000000000000000000000000000000000000000000000000000040000000000000144000000000000010400000000000000040FE |
Changes to test/sql_stmt_tests/fromWkb19.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - MULTILINESTRING :memory: #use in-memory database SELECT Hex(MultiLinestringFromWkb(AsBinary(GeomFromText("MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))", 4326)))) 1 # rows (not including the header row) 1 # columns Hex(MultiLinestringFromWkb(AsBinary(GeomFromText("MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))", 4326)))) 00010000000000000000000000000000000000000000000000000000104000000000000014407C0500000002000000690200000002000000000000000000F03F00000000000000400000000000000040000000000000F03F690200000003000000000000000000000000000000000000000000000000000040000000000000144000000000000010400000000000000040FE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - MULTILINESTRING :memory: #use in-memory database SELECT Hex(MultiLinestringFromWkb(AsBinary(GeomFromText('MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))', 4326)))) 1 # rows (not including the header row) 1 # columns Hex(MultiLinestringFromWkb(AsBinary(GeomFromText('MULTILINESTRING((1 2, 2 1),(0 0, 2 5, 4 2))', 4326)))) 00010000000000000000000000000000000000000000000000000000104000000000000014407C0500000002000000690200000002000000000000000000F03F00000000000000400000000000000040000000000000F03F690200000003000000000000000000000000000000000000000000000000000040000000000000144000000000000010400000000000000040FE |
Changes to test/sql_stmt_tests/fromWkb20.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - MULTIPOINT :memory: #use in-memory database SELECT Hex(MultiPointFromWkb(AsBinary(GeomFromText("MULTIPOINT(1 2,2 1)", 4326)))); 1 # rows (not including the header row) 1 # columns Hex(MultiPointFromWkb(AsBinary(GeomFromText("MULTIPOINT(1 2,2 1)", 4326)))) 000100000000000000000000F03F000000000000F03F000000000000004000000000000000407C04000000020000006901000000000000000000F03F000000000000004069010000000000000000000040000000000000F03FFE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - MULTIPOINT :memory: #use in-memory database SELECT Hex(MultiPointFromWkb(AsBinary(GeomFromText('MULTIPOINT(1 2,2 1)', 4326)))); 1 # rows (not including the header row) 1 # columns Hex(MultiPointFromWkb(AsBinary(GeomFromText('MULTIPOINT(1 2,2 1)', 4326)))) 000100000000000000000000F03F000000000000F03F000000000000004000000000000000407C04000000020000006901000000000000000000F03F000000000000004069010000000000000000000040000000000000F03FFE |
Changes to test/sql_stmt_tests/fromWkb21.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - MULTIPOINT :memory: #use in-memory database SELECT Hex(MultiPointFromWkb(AsBinary(GeomFromText("MULTIPOINT(1 2,2 1)")), 4326)); 1 # rows (not including the header row) 1 # columns Hex(MultiPointFromWkb(AsBinary(GeomFromText("MULTIPOINT(1 2,2 1)")), 4326)) 0001E6100000000000000000F03F000000000000F03F000000000000004000000000000000407C04000000020000006901000000000000000000F03F000000000000004069010000000000000000000040000000000000F03FFE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - MULTIPOINT :memory: #use in-memory database SELECT Hex(MultiPointFromWkb(AsBinary(GeomFromText('MULTIPOINT(1 2,2 1)')), 4326)); 1 # rows (not including the header row) 1 # columns Hex(MultiPointFromWkb(AsBinary(GeomFromText('MULTIPOINT(1 2,2 1)')), 4326)) 0001E6100000000000000000F03F000000000000F03F000000000000004000000000000000407C04000000020000006901000000000000000000F03F000000000000004069010000000000000000000040000000000000F03FFE |
Changes to test/sql_stmt_tests/fromWkb22.testcase.
1 2 3 4 5 6 7 8 9 |
fromWkb - MULTIPOLYGON :memory: #use in-memory database SELECT Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))", 4326)))) 1 # rows (not including the header row) 1 # columns Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))", 4326)))) 00010000000000000000000014400000000000001440000000000080464000000000000044407C0600000002000000690300000001000000040000000000000000003E40000000000000344000000000000024400000000000004440000000000080464000000000000044400000000000003E400000000000003440690300000001000000050000000000000000002E4000000000000014400000000000004440000000000000244000000000000024400000000000003440000000000000144000000000000024400000000000002E400000000000001440FE |
| | |
1 2 3 4 5 6 7 8 9 |
fromWkb - MULTIPOLYGON :memory: #use in-memory database SELECT Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))', 4326)))) 1 # rows (not including the header row) 1 # columns Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))', 4326)))) 00010000000000000000000014400000000000001440000000000080464000000000000044407C0600000002000000690300000001000000040000000000000000003E40000000000000344000000000000024400000000000004440000000000080464000000000000044400000000000003E400000000000003440690300000001000000050000000000000000002E4000000000000014400000000000004440000000000000244000000000000024400000000000003440000000000000144000000000000024400000000000002E400000000000001440FE |
Changes to test/sql_stmt_tests/fromWkb23.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
fromWkb - MULTIPOLYGON :memory: #use in-memory database SELECT Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))")), 4326)) 1 # rows (not including the header row) 1 # columns Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))")), 4326)) 0001E610000000000000000014400000000000001440000000000080464000000000000044407C0600000002000000690300000001000000040000000000000000003E40000000000000344000000000000024400000000000004440000000000080464000000000000044400000000000003E400000000000003440690300000001000000050000000000000000002E4000000000000014400000000000004440000000000000244000000000000024400000000000003440000000000000144000000000000024400000000000002E400000000000001440FE |
| | |
1 2 3 4 5 6 7 8 9 10 11 |
fromWkb - MULTIPOLYGON :memory: #use in-memory database SELECT Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))')), 4326)) 1 # rows (not including the header row) 1 # columns Hex(MultiPolygonFromWkb(AsBinary(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))')), 4326)) 0001E610000000000000000014400000000000001440000000000080464000000000000044407C0600000002000000690300000001000000040000000000000000003E40000000000000344000000000000024400000000000004440000000000080464000000000000044400000000000003E400000000000003440690300000001000000050000000000000000002E4000000000000014400000000000004440000000000000244000000000000024400000000000003440000000000000144000000000000024400000000000002E400000000000001440FE |
Changes to test/sql_stmt_tests/fromWkb5.testcase.
1 2 3 4 5 6 7 |
fromWkb - mandatory POINT :memory: #use in-memory database SELECT AsText(PointFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)))) 1 # rows (not including the header row) 1 # columns AsText(PointFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326)))) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
fromWkb - mandatory POINT :memory: #use in-memory database SELECT AsText(PointFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)))) 1 # rows (not including the header row) 1 # columns AsText(PointFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326)))) POINT(1 2) |
Changes to test/sql_stmt_tests/fromWkb6.testcase.
1 2 3 4 5 6 7 |
fromWkb - mandatory LINESTRING, but POINT type :memory: #use in-memory database SELECT LinestringFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326))) 1 # rows (not including the header row) 1 # columns LinestringFromWkb(AsBinary(GeomFromText("Point(1 2)", 4326))) (NULL) |
| | |
1 2 3 4 5 6 7 |
fromWkb - mandatory LINESTRING, but POINT type :memory: #use in-memory database SELECT LinestringFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326))) 1 # rows (not including the header row) 1 # columns LinestringFromWkb(AsBinary(GeomFromText('Point(1 2)', 4326))) (NULL) |
Changes to test/sql_stmt_tests/fromWkb7.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - mandatory LINESTRING :memory: #use in-memory database SELECT Hex(LinestringFromWkb(AsBinary(GeomFromText("LINESTRING(1 2, 3 1)", 4326)))) 1 # rows (not including the header row) 1 # columns Hex(LinestringFromWkb(AsBinary(GeomFromText("LINESTRING(1 2, 3 1)", 4326)))) 000100000000000000000000F03F000000000000F03F000000000000084000000000000000407C0200000002000000000000000000F03F00000000000000400000000000000840000000000000F03FFE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - mandatory LINESTRING :memory: #use in-memory database SELECT Hex(LinestringFromWkb(AsBinary(GeomFromText('LINESTRING(1 2, 3 1)', 4326)))) 1 # rows (not including the header row) 1 # columns Hex(LinestringFromWkb(AsBinary(GeomFromText('LINESTRING(1 2, 3 1)', 4326)))) 000100000000000000000000F03F000000000000F03F000000000000084000000000000000407C0200000002000000000000000000F03F00000000000000400000000000000840000000000000F03FFE |
Changes to test/sql_stmt_tests/fromWkb8.testcase.
1 2 3 4 5 6 7 |
fromWkb - mandatory LINESTRING, but POLYGON arg :memory: #use in-memory database SELECT LinestringFromWkb(AsBinary(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))", 4326))) 1 # rows (not including the header row) 1 # columns LinestringFromWkb(AsBinary(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))", 4326))) (NULL) |
| | |
1 2 3 4 5 6 7 |
fromWkb - mandatory LINESTRING, but POLYGON arg :memory: #use in-memory database SELECT LinestringFromWkb(AsBinary(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))', 4326))) 1 # rows (not including the header row) 1 # columns LinestringFromWkb(AsBinary(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))', 4326))) (NULL) |
Changes to test/sql_stmt_tests/fromWkb9.testcase.
1 2 3 4 5 6 7 8 |
fromWkb - mandatory POLYGON :memory: #use in-memory database SELECT Hex(PolygonFromWkb(AsBinary(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))")))) 1 # rows (not including the header row) 1 # columns Hex(PolygonFromWkb(AsBinary(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))")))) 000100000000000000000000F03F000000000000F03F000000000000104000000000000010407C030000000100000004000000000000000000F03F00000000000000400000000000000840000000000000F03F00000000000010400000000000001040000000000000F03F0000000000000040FE |
| | |
1 2 3 4 5 6 7 8 |
fromWkb - mandatory POLYGON :memory: #use in-memory database SELECT Hex(PolygonFromWkb(AsBinary(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))')))) 1 # rows (not including the header row) 1 # columns Hex(PolygonFromWkb(AsBinary(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))')))) 000100000000000000000000F03F000000000000F03F000000000000104000000000000010407C030000000100000004000000000000000000F03F00000000000000400000000000000840000000000000F03F00000000000010400000000000001040000000000000F03F0000000000000040FE |
Changes to test/sql_stmt_tests/fromewkt1.testcase.
1 2 3 4 5 6 7 |
From EWKT - Point :memory: SELECT AsText(GeomFromEwkt("SRID=4326;POINT(1 2)")) 1 # rows 1 # column AsText(GeomFromEwkt("SRID=4326;POINT(1 2)")) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
From EWKT - Point :memory: SELECT AsText(GeomFromEwkt('SRID=4326;POINT(1 2)')) 1 # rows 1 # column AsText(GeomFromEwkt('SRID=4326;POINT(1 2)')) POINT(1 2) |
Changes to test/sql_stmt_tests/fromewkt2.testcase.
1 2 3 4 5 6 7 |
From EWKT - bad text :memory: SELECT GeomFromEwkt("g'day") 1 # rows 1 # column GeomFromEwkt("g'day") (NULL) |
| | |
1 2 3 4 5 6 7 |
From EWKT - bad text :memory: SELECT GeomFromEwkt('g"day') 1 # rows 1 # column GeomFromEwkt('g"day') (NULL) |
Changes to test/sql_stmt_tests/fromgeojson3.testcase.
1 2 3 4 5 6 7 |
FromGeoJSON - bad text :memory: #use in-memory database SELECT AsText(GeomFromGeoJSON("not json")); 1 # rows (not including the header row) 1 # columns AsText(GeomFromGeoJSON("not json")) (NULL) |
| | |
1 2 3 4 5 6 7 |
FromGeoJSON - bad text :memory: #use in-memory database SELECT AsText(GeomFromGeoJSON('not json')); 1 # rows (not including the header row) 1 # columns AsText(GeomFromGeoJSON('not json')) (NULL) |
Changes to test/sql_stmt_tests/fromgeojson31.testcase.
1 2 3 4 5 6 7 8 |
FromGeoJSON - multipoint, default SRID :memory: #use in-memory database SELECT AsEWkt(GeomFromGeoJSON('{"type":"MultiPoint","bbox":[1,2,4,6],"coordinates":[[1,2],[4,6]]}')) 1 # rows (not including the header row) 1 # columns AsEWkt(GeomFromGeoJSON('{"type":"MultiPoint","bbox":[1,2,4,6],"coordinates":[[1,2],[4,6]]}')):0 SRID=0;MULTIPOINT(1 2,4 6) |
| |
1 2 3 4 5 6 7 8 |
FromGeoJSON - multipoint, default SRID
:memory: #use in-memory database
SELECT AsEWkt(GeomFromGeoJSON('{"type":"MultiPoint","bbox":[1,2,4,6],"coordinates":[[1,2],[4,6]]}'));
1 # rows (not including the header row)
1 # columns
AsEWkt(GeomFromGeoJSON('{"type":"MultiPoint","bbox":[1,2,4,6],"coordinates":[[1,2],[4,6]]}')):0
SRID=0;MULTIPOINT(1 2,4 6)
|
Changes to test/sql_stmt_tests/garsmbr1.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 001AB :memory: #use in-memory database SELECT AsText(GARSMbr("001AB")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001AB")) POLYGON((-180 -89.5, -179.5 -89.5, -179.5 -89, -180 -89, -180 -89.5)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 001AB :memory: #use in-memory database SELECT AsText(GARSMbr('001AB')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001AB')) POLYGON((-180 -89.5, -179.5 -89.5, -179.5 -89, -180 -89, -180 -89.5)) |
Changes to test/sql_stmt_tests/garsmbr10.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 001AB2 :memory: #use in-memory database SELECT AsText(GARSMbr("001AB2")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001AB2")) POLYGON((-179.75 -89.25, -179.5 -89.25, -179.5 -89, -179.75 -89, -179.75 -89.25)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 001AB2 :memory: #use in-memory database SELECT AsText(GARSMbr('001AB2')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001AB2')) POLYGON((-179.75 -89.25, -179.5 -89.25, -179.5 -89, -179.75 -89, -179.75 -89.25)) |
Changes to test/sql_stmt_tests/garsmbr11.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad coords :memory: #use in-memory database SELECT GARSMbr("AA123") 1 # rows (not including the header row) 1 # columns GARSMbr("AA123") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad coords :memory: #use in-memory database SELECT GARSMbr('AA123') 1 # rows (not including the header row) 1 # columns GARSMbr('AA123') (NULL) |
Changes to test/sql_stmt_tests/garsmbr12.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad coords :memory: #use in-memory database SELECT GARSMbr("AA123A") 1 # rows (not including the header row) 1 # columns GARSMbr("AA123A") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad coords :memory: #use in-memory database SELECT GARSMbr('AA123A') 1 # rows (not including the header row) 1 # columns GARSMbr('AA123A') (NULL) |
Changes to test/sql_stmt_tests/garsmbr13.testcase.
1 2 3 4 5 6 7 |
garsmbr - short text :memory: #use in-memory database SELECT GARSMbr("erin") 1 # rows (not including the header row) 1 # columns GARSMbr("erin") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - short text :memory: #use in-memory database SELECT GARSMbr('erin') 1 # rows (not including the header row) 1 # columns GARSMbr('erin') (NULL) |
Changes to test/sql_stmt_tests/garsmbr14.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad latitude :memory: #use in-memory database SELECT AsText(GARSMbr("001--")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001--")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad latitude :memory: #use in-memory database SELECT AsText(GARSMbr('001--')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001--')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr15.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude :memory: #use in-memory database SELECT AsText(GARSMbr("-01AB")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("-01AB")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude :memory: #use in-memory database SELECT AsText(GARSMbr('-01AB')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('-01AB')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr16.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude :memory: #use in-memory database SELECT AsText(GARSMbr("001TZ")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001TZ")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude :memory: #use in-memory database SELECT AsText(GARSMbr('001TZ')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001TZ')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr17.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude :memory: #use in-memory database SELECT AsText(GARSMbr("001TZ4")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001TZ4")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude :memory: #use in-memory database SELECT AsText(GARSMbr('001TZ4')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001TZ4')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr18.testcase.
1 2 3 4 5 6 7 |
garsmbr - out of bounds longitude :memory: #use in-memory database SELECT GARSMbr("721AA11") 1 # rows (not including the header row) 1 # columns GARSMbr("721AA11") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - out of bounds longitude :memory: #use in-memory database SELECT GARSMbr('721AA11') 1 # rows (not including the header row) 1 # columns GARSMbr('721AA11') (NULL) |
Changes to test/sql_stmt_tests/garsmbr2.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad text :memory: #use in-memory database SELECT GARSMbr("buzzys country store") 1 # rows (not including the header row) 1 # columns GARSMbr("buzzys country store") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad text :memory: #use in-memory database SELECT GARSMbr('buzzys country store') 1 # rows (not including the header row) 1 # columns GARSMbr('buzzys country store') (NULL) |
Changes to test/sql_stmt_tests/garsmbr20.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad coords :memory: #use in-memory database SELECT GARSMbr("AA123A1") 1 # rows (not including the header row) 1 # columns GARSMbr("AA123A1") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad coords :memory: #use in-memory database SELECT GARSMbr('AA123A1') 1 # rows (not including the header row) 1 # columns GARSMbr('AA123A1') (NULL) |
Changes to test/sql_stmt_tests/garsmbr21.testcase.
1 2 3 4 5 6 7 |
garsmbr - out of bounds lat :memory: #use in-memory database SELECT GARSMbr("001RA11") 1 # rows (not including the header row) 1 # columns GARSMbr("001RA11") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - out of bounds lat :memory: #use in-memory database SELECT GARSMbr('001RA11') 1 # rows (not including the header row) 1 # columns GARSMbr('001RA11') (NULL) |
Changes to test/sql_stmt_tests/garsmbr22.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 001AB27 :memory: #use in-memory database SELECT AsText(GARSMbr("001AB27")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001AB27")) POLYGON((-179.75 -89.25, -179.666667 -89.25, -179.666667 -89.166667, -179.75 -89.166667, -179.75 -89.25)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 001AB27 :memory: #use in-memory database SELECT AsText(GARSMbr('001AB27')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001AB27')) POLYGON((-179.75 -89.25, -179.666667 -89.25, -179.666667 -89.166667, -179.75 -89.166667, -179.75 -89.25)) |
Changes to test/sql_stmt_tests/garsmbr23.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude - 6 :memory: #use in-memory database SELECT AsText(GARSMbr("-01AB1")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("-01AB1")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude - 6 :memory: #use in-memory database SELECT AsText(GARSMbr('-01AB1')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('-01AB1')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr24.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude - 7 :memory: #use in-memory database SELECT AsText(GARSMbr("-01AB14")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("-01AB14")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad longitude - 7 :memory: #use in-memory database SELECT AsText(GARSMbr('-01AB14')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('-01AB14')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr25.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad latitude - 6 :memory: #use in-memory database SELECT AsText(GARSMbr("001--1")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001--1")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad latitude - 6 :memory: #use in-memory database SELECT AsText(GARSMbr('001--1')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001--1')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr26.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - bad latitude - 7 :memory: #use in-memory database SELECT AsText(GARSMbr("001--14")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001--14")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - bad latitude - 7 :memory: #use in-memory database SELECT AsText(GARSMbr('001--14')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001--14')) (NULL) |
Changes to test/sql_stmt_tests/garsmbr27.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 361HN37 :memory: #use in-memory database SELECT AsText(GARSMbr("361HN37")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("361HN37")) POLYGON((0 0, 0.083333 0, 0.083333 0.083333, 0 0.083333, 0 0)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 361HN37 :memory: #use in-memory database SELECT AsText(GARSMbr('361HN37')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('361HN37')) POLYGON((0 0, 0.083333 0, 0.083333 0.083333, 0 0.083333, 0 0)) |
Changes to test/sql_stmt_tests/garsmbr28.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 361HN38 :memory: #use in-memory database SELECT AsText(GARSMbr("361HN38")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("361HN38")) POLYGON((0.083333 0, 0.166667 0, 0.166667 0.083333, 0.083333 0.083333, 0.083333 0)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 361HN38 :memory: #use in-memory database SELECT AsText(GARSMbr('361HN38')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('361HN38')) POLYGON((0.083333 0, 0.166667 0, 0.166667 0.083333, 0.083333 0.083333, 0.083333 0)) |
Changes to test/sql_stmt_tests/garsmbr29.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 361HN49 :memory: #use in-memory database SELECT AsText(GARSMbr("361HN49")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("361HN49")) POLYGON((0.416667 0, 0.5 0, 0.5 0.083333, 0.416667 0.083333, 0.416667 0)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 361HN49 :memory: #use in-memory database SELECT AsText(GARSMbr('361HN49')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('361HN49')) POLYGON((0.416667 0, 0.5 0, 0.5 0.083333, 0.416667 0.083333, 0.416667 0)) |
Changes to test/sql_stmt_tests/garsmbr30.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad segment number 0 :memory: #use in-memory database SELECT GARSMbr("001AA01") 1 # rows (not including the header row) 1 # columns GARSMbr("001AA01") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad segment number 0 :memory: #use in-memory database SELECT GARSMbr('001AA01') 1 # rows (not including the header row) 1 # columns GARSMbr('001AA01') (NULL) |
Changes to test/sql_stmt_tests/garsmbr31.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad segment number 5 :memory: #use in-memory database SELECT GARSMbr("001AA51") 1 # rows (not including the header row) 1 # columns GARSMbr("001AA51") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad segment number 5 :memory: #use in-memory database SELECT GARSMbr('001AA51') 1 # rows (not including the header row) 1 # columns GARSMbr('001AA51') (NULL) |
Changes to test/sql_stmt_tests/garsmbr32.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad keypad number :memory: #use in-memory database SELECT GARSMbr("001AA20") 1 # rows (not including the header row) 1 # columns GARSMbr("001AA20") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad keypad number :memory: #use in-memory database SELECT GARSMbr('001AA20') 1 # rows (not including the header row) 1 # columns GARSMbr('001AA20') (NULL) |
Changes to test/sql_stmt_tests/garsmbr33.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 361HN32 :memory: #use in-memory database SELECT AsText(GARSMbr("361HN32")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("361HN32")) POLYGON((0.083333 0.166667, 0.166667 0.166667, 0.166667 0.25, 0.083333 0.25, 0.083333 0.166667)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 361HN32 :memory: #use in-memory database SELECT AsText(GARSMbr('361HN32')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('361HN32')) POLYGON((0.083333 0.166667, 0.166667 0.166667, 0.166667 0.25, 0.083333 0.25, 0.083333 0.166667)) |
Changes to test/sql_stmt_tests/garsmbr34.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 361HN33 :memory: #use in-memory database SELECT AsText(GARSMbr("361HN33")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("361HN33")) POLYGON((0.166667 0.166667, 0.25 0.166667, 0.25 0.25, 0.166667 0.25, 0.166667 0.166667)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 361HN33 :memory: #use in-memory database SELECT AsText(GARSMbr('361HN33')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('361HN33')) POLYGON((0.166667 0.166667, 0.25 0.166667, 0.25 0.25, 0.166667 0.25, 0.166667 0.166667)) |
Changes to test/sql_stmt_tests/garsmbr35.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 361HN36 :memory: #use in-memory database SELECT AsText(GARSMbr("361HN36")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("361HN36")) POLYGON((0.166667 0.083333, 0.25 0.083333, 0.25 0.166667, 0.166667 0.166667, 0.166667 0.083333)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 361HN36 :memory: #use in-memory database SELECT AsText(GARSMbr('361HN36')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('361HN36')) POLYGON((0.166667 0.083333, 0.25 0.083333, 0.25 0.166667, 0.166667 0.166667, 0.166667 0.083333)) |
Changes to test/sql_stmt_tests/garsmbr36.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 361HN35 :memory: #use in-memory database SELECT AsText(GARSMbr("361HN35")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("361HN35")) POLYGON((0.083333 0.083333, 0.166667 0.083333, 0.166667 0.166667, 0.083333 0.166667, 0.083333 0.083333)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 361HN35 :memory: #use in-memory database SELECT AsText(GARSMbr('361HN35')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('361HN35')) POLYGON((0.083333 0.083333, 0.166667 0.083333, 0.166667 0.166667, 0.083333 0.166667, 0.083333 0.083333)) |
Changes to test/sql_stmt_tests/garsmbr4.testcase.
1 2 3 4 5 6 7 |
garsmbr - out of bounds lat :memory: #use in-memory database SELECT GARSMbr("001RA") 1 # rows (not including the header row) 1 # columns GARSMbr("001RA") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - out of bounds lat :memory: #use in-memory database SELECT GARSMbr('001RA') 1 # rows (not including the header row) 1 # columns GARSMbr('001RA') (NULL) |
Changes to test/sql_stmt_tests/garsmbr5.testcase.
1 2 3 4 5 6 7 |
garsmbr - out of bounds longitude :memory: #use in-memory database SELECT GARSMbr("721AA") 1 # rows (not including the header row) 1 # columns GARSMbr("721AA") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - out of bounds longitude :memory: #use in-memory database SELECT GARSMbr('721AA') 1 # rows (not including the header row) 1 # columns GARSMbr('721AA') (NULL) |
Changes to test/sql_stmt_tests/garsmbr6.testcase.
1 2 3 4 5 6 7 |
garsmbr - out of bounds longitude :memory: #use in-memory database SELECT GARSMbr("721AA1") 1 # rows (not including the header row) 1 # columns GARSMbr("721AA1") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - out of bounds longitude :memory: #use in-memory database SELECT GARSMbr('721AA1') 1 # rows (not including the header row) 1 # columns GARSMbr('721AA1') (NULL) |
Changes to test/sql_stmt_tests/garsmbr7.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad segment number 0 :memory: #use in-memory database SELECT GARSMbr("001AA0") 1 # rows (not including the header row) 1 # columns GARSMbr("001AA0") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad segment number 0 :memory: #use in-memory database SELECT GARSMbr('001AA0') 1 # rows (not including the header row) 1 # columns GARSMbr('001AA0') (NULL) |
Changes to test/sql_stmt_tests/garsmbr8.testcase.
1 2 3 4 5 6 7 |
garsmbr - bad segment number 5 :memory: #use in-memory database SELECT GARSMbr("001AA5") 1 # rows (not including the header row) 1 # columns GARSMbr("001AA5") (NULL) |
| | |
1 2 3 4 5 6 7 |
garsmbr - bad segment number 5 :memory: #use in-memory database SELECT GARSMbr('001AA5') 1 # rows (not including the header row) 1 # columns GARSMbr('001AA5') (NULL) |
Changes to test/sql_stmt_tests/garsmbr9.testcase.
1 2 3 4 5 6 7 8 |
garsmbr - 001AB3 :memory: #use in-memory database SELECT AsText(GARSMbr("001AB3")) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr("001AB3")) POLYGON((-180 -89.5, -179.75 -89.5, -179.75 -89.25, -180 -89.25, -180 -89.5)) |
| | |
1 2 3 4 5 6 7 8 |
garsmbr - 001AB3 :memory: #use in-memory database SELECT AsText(GARSMbr('001AB3')) 1 # rows (not including the header row) 1 # columns AsText(GARSMbr('001AB3')) POLYGON((-180 -89.5, -179.75 -89.5, -179.75 -89.25, -180 -89.25, -180 -89.5)) |
Changes to test/sql_stmt_tests/geodesic-len1.testcase.
1 2 3 4 5 6 7 |
geodesic length polygon :memory: SELECT GeodesicLength(GeomFromText("POLYGON((0 0, 1 0, 0 0, 0 0))", 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText("POLYGON((0 0, 1 0, 0 0, 0 0))", 4326)) 222638.98:9 |
| | |
1 2 3 4 5 6 7 |
geodesic length polygon :memory: SELECT GeodesicLength(GeomFromText('POLYGON((0 0, 1 0, 0 0, 0 0))', 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText('POLYGON((0 0, 1 0, 0 0, 0 0))', 4326)) 222638.98:9 |
Changes to test/sql_stmt_tests/geodesic-len2.testcase.
1 2 3 4 5 6 7 |
geodesic length linestring :memory: SELECT GeodesicLength(GeomFromText("LINESTRING(0 0, 1 0, 0 0)", 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText("LINESTRING(0 0, 1 0, 0 0)", 4326)) 222638.98:9 |
| | |
1 2 3 4 5 6 7 |
geodesic length linestring :memory: SELECT GeodesicLength(GeomFromText('LINESTRING(0 0, 1 0, 0 0)', 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText('LINESTRING(0 0, 1 0, 0 0)', 4326)) 222638.98:9 |
Changes to test/sql_stmt_tests/geodesic-len3.testcase.
1 2 3 4 5 6 7 |
geodesic length linestringZ :memory: SELECT GeodesicLength(GeomFromText("LINESTRINGZ(0 0 4, 1 0 2, 0 0 1)", 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText("LINESTRINGZ(0 0 4, 1 0 2, 0 0 1)", 4326)) 222638.98:9 |
| | |
1 2 3 4 5 6 7 |
geodesic length linestringZ :memory: SELECT GeodesicLength(GeomFromText('LINESTRINGZ(0 0 4, 1 0 2, 0 0 1)', 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText('LINESTRINGZ(0 0 4, 1 0 2, 0 0 1)', 4326)) 222638.98:9 |
Changes to test/sql_stmt_tests/geodesic-len4.testcase.
1 2 3 4 5 6 7 |
geodesic length linestringM :memory: SELECT GeodesicLength(GeomFromText("LINESTRINGM(0 0 4, 1 0 2, 0 0 1)", 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText("LINESTRINGM(0 0 4, 1 0 2, 0 0 1)", 4326)) 222638.98:9 |
| | |
1 2 3 4 5 6 7 |
geodesic length linestringM :memory: SELECT GeodesicLength(GeomFromText('LINESTRINGM(0 0 4, 1 0 2, 0 0 1)', 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText('LINESTRINGM(0 0 4, 1 0 2, 0 0 1)', 4326)) 222638.98:9 |
Changes to test/sql_stmt_tests/geodesic-len5.testcase.
1 2 3 4 5 6 7 |
geodesic length linestring ZM :memory: SELECT GeodesicLength(GeomFromText("LINESTRINGZM(0 0 4 1, 1 0 2 6, 0 0 1 34)", 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText("LINESTRINGZM(0 0 4 1, 1 0 2 6, 0 0 1 34)", 4326)) 222638.98:9 |
| | |
1 2 3 4 5 6 7 |
geodesic length linestring ZM :memory: SELECT GeodesicLength(GeomFromText('LINESTRINGZM(0 0 4 1, 1 0 2 6, 0 0 1 34)', 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText('LINESTRINGZM(0 0 4 1, 1 0 2 6, 0 0 1 34)', 4326)) 222638.98:9 |
Changes to test/sql_stmt_tests/geodesic-len8.testcase.
1 2 3 4 5 6 7 |
geodesic length polygon with hole :memory: SELECT GeodesicLength(GeomFromText("POLYGON((11.5 43.5, 11.8 43.5, 11.8 43.8, 11.5 43.8, 11.5 43.5), (11.6 43.6, 11.7 43.6, 11.7 43.7, 11.6 32.7, 11.6 43.6))", 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText("POLYGON((11.5 43.5, 11.8 43.5, 11.8 43.8, 11.5 43.8, 11.5 43.5), (11.6 43.6, 11.7 43.6, 11.7 43.7, 11.6 32.7, 11.6 43.6))", 4326)) 2565198.35:10 |
| | |
1 2 3 4 5 6 7 |
geodesic length polygon with hole :memory: SELECT GeodesicLength(GeomFromText('POLYGON((11.5 43.5, 11.8 43.5, 11.8 43.8, 11.5 43.8, 11.5 43.5), (11.6 43.6, 11.7 43.6, 11.7 43.7, 11.6 32.7, 11.6 43.6))', 4326)); 1 # rows 1 # column GeodesicLength(GeomFromText('POLYGON((11.5 43.5, 11.8 43.5, 11.8 43.8, 11.5 43.8, 11.5 43.5), (11.6 43.6, 11.7 43.6, 11.7 43.7, 11.6 32.7, 11.6 43.6))', 4326)) 2565198.35:10 |
Changes to test/sql_stmt_tests/geojson1.testcase.
1 2 3 4 5 6 7 8 |
GeoJSON Point: excessive precision :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText("POINT(1 2)", 4326), 44, 2); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText("POINT(1 2)", 4326), 44, 2) {"type":"Point","crs":{"type":"name","properties":{"name":"EPSG:4326"}},"coordinates":[1,2]}:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GeoJSON Point: excessive precision :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText('POINT(1 2)', 4326), 44, 2); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText('POINT(1 2)', 4326), 44, 2) {"type":"Point","crs":{"type":"name","properties":{"name":"EPSG:4326"}},"coordinates":[1,2]}:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/geojson2.testcase.
1 2 3 4 5 6 7 8 |
GeoJSON Polygon :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText("POLYGON((5 5, 6 5, 6 6, 5 6, 5 5))", 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText("POLYGON((5 5, 6 5, 6 6, 5 6, 5 5))", 4326), 2, 5) {"type":"Polygon","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,6,6],"coordinates":[[[5,5],[6,5],[6,6],[5,6],[5,5]]]}:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GeoJSON Polygon :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText('POLYGON((5 5, 6 5, 6 6, 5 6, 5 5))', 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText('POLYGON((5 5, 6 5, 6 6, 5 6, 5 5))', 4326), 2, 5) {"type":"Polygon","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,6,6],"coordinates":[[[5,5],[6,5],[6,6],[5,6],[5,5]]]}:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/geojson3.testcase.
1 2 3 4 5 6 7 8 |
GeoJSON MultiPoint :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText("MULTIPOINT(5 5, 6 6)", 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText("MULTIPOINT(5 5, 6 6)", 4326), 2, 5) {"type":"MultiPoint","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,6,6],"coordinates":[[5,5],[6,6]]}:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GeoJSON MultiPoint :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText('MULTIPOINT(5 5, 6 6)', 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText('MULTIPOINT(5 5, 6 6)', 4326), 2, 5) {"type":"MultiPoint","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,6,6],"coordinates":[[5,5],[6,6]]}:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/geojson4.testcase.
1 2 3 4 5 6 7 8 |
GeoJSON MultiPolygon :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText("MULTIPOLYGON(((5 5, 6 5, 6 6, 5 6, 5 5)), ((3 3, 4 3, 4 4, 3 4, 4 4)))", 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText("MULTIPOLYGON(((5 5, 6 5, 6 6, 5 6, 5 5)), ((3 3, 4 3, 4 4, 3 4, 4 4)))", 4326), 2, 5) {"type":"MultiPolygon","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[3,3,6,6],"coordinates":[[[[5,5],[6,5],[6,6],[5,6],[5,5]]],[[[3,3],[4,3],[4,4],[3,4],[4,4]]]]}:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GeoJSON MultiPolygon :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText('MULTIPOLYGON(((5 5, 6 5, 6 6, 5 6, 5 5)), ((3 3, 4 3, 4 4, 3 4, 4 4)))', 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText('MULTIPOLYGON(((5 5, 6 5, 6 6, 5 6, 5 5)), ((3 3, 4 3, 4 4, 3 4, 4 4)))', 4326), 2, 5) {"type":"MultiPolygon","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[3,3,6,6],"coordinates":[[[[5,5],[6,5],[6,6],[5,6],[5,5]]],[[[3,3],[4,3],[4,4],[3,4],[4,4]]]]}:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/geojson5.testcase.
1 2 3 4 5 6 7 8 |
GeoJSON GeometryCollection (Polygon+Point) :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText("GEOMETRYCOLLECTION(POLYGON((5 5, 6 5, 6 6, 5 6, 5 5)), POINT(7 8))", 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText("GEOMETRYCOLLECTION(POLYGON((5 5, 6 5, 6 6, 5 6, 5 5)), POINT(7 8))", 4326), 2, 5) {"type":"GeometryCollection","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,7,8],"geometries":[{"type":"Point","coordinates":[7,8]},{"type":"Polygon","coordinates":[[[5,5],[6,5],[6,6],[5,6],[5,5]]]}]}:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GeoJSON GeometryCollection (Polygon+Point) :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText('GEOMETRYCOLLECTION(POLYGON((5 5, 6 5, 6 6, 5 6, 5 5)), POINT(7 8))', 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText('GEOMETRYCOLLECTION(POLYGON((5 5, 6 5, 6 6, 5 6, 5 5)), POINT(7 8))', 4326), 2, 5) {"type":"GeometryCollection","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,7,8],"geometries":[{"type":"Point","coordinates":[7,8]},{"type":"Polygon","coordinates":[[[5,5],[6,5],[6,6],[5,6],[5,5]]]}]}:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/geojson6.testcase.
1 2 3 4 5 6 7 8 |
GeoJSON GeometryCollection (Linestring + Linestring) :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(5 5, 6 6), LINESTRING(7 8, 8 7))", 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(5 5, 6 6), LINESTRING(7 8, 8 7))", 4326), 2, 5) {"type":"GeometryCollection","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,8,8],"geometries":[{"type":"LineString","coordinates":[[5,5],[6,6]]},{"type":"LineString","coordinates":[[7,8],[8,7]]}]}:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GeoJSON GeometryCollection (Linestring + Linestring) :memory: #use in-memory database SELECT AsGeoJSON(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(5 5, 6 6), LINESTRING(7 8, 8 7))', 4326), 2, 5); 1 # rows (not including the header row) 1 # columns AsGeoJSON(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(5 5, 6 6), LINESTRING(7 8, 8 7))', 4326), 2, 5) {"type":"GeometryCollection","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:4326"}},"bbox":[5,5,8,8],"geometries":[{"type":"LineString","coordinates":[[5,5],[6,6]]},{"type":"LineString","coordinates":[[7,8],[8,7]]}]}:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/geomcollfromtext1.testcase.
1 2 3 4 5 6 7 |
geometrycollectionfromtext1 :memory: #use in-memory database SELECT AsWkt(GeometryCollectionFromText("GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))", 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(GeometryCollectionFromText("GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))", 4326)) GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10)) |
| | |
1 2 3 4 5 6 7 |
geometrycollectionfromtext1 :memory: #use in-memory database SELECT AsWkt(GeometryCollectionFromText('GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))', 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(GeometryCollectionFromText('GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))', 4326)) GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10)) |
Changes to test/sql_stmt_tests/geomcollfromtext2.testcase.
1 2 3 4 5 6 7 |
geometrycollectionfromtext2 :memory: #use in-memory database SELECT AsWkt(GeometryCollectionFromText("GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))")) 1 # rows (not including the header row) 1 # columns AsWkt(GeometryCollectionFromText("GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))")) GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10)) |
| | |
1 2 3 4 5 6 7 |
geometrycollectionfromtext2 :memory: #use in-memory database SELECT AsWkt(GeometryCollectionFromText('GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))')) 1 # rows (not including the header row) 1 # columns AsWkt(GeometryCollectionFromText('GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))')) GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10)) |
Changes to test/sql_stmt_tests/geomconstraints1.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, null :memory: #use in-memory database SELECT GeometryConstraints(null, "POINT", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(null, "POINT", 4326) 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, null :memory: #use in-memory database SELECT GeometryConstraints(null, 'POINT', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(null, 'POINT', 4326) 1 |
Changes to test/sql_stmt_tests/geomconstraints10.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, zeroblob 4 :memory: #use in-memory database SELECT GeometryConstraints(zeroblob(4), "POINT", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(zeroblob(4), "POINT", 4326, "XYM") -1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, zeroblob 4 :memory: #use in-memory database SELECT GeometryConstraints(zeroblob(4), 'POINT', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(zeroblob(4), 'POINT', 4326, 'XYM') -1 |
Changes to test/sql_stmt_tests/geomconstraints11.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, zeroblob 20 :memory: #use in-memory database SELECT GeometryConstraints(zeroblob(20), "POINT", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(zeroblob(20), "POINT", 4326, "XYM") -1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, zeroblob 20 :memory: #use in-memory database SELECT GeometryConstraints(zeroblob(20), 'POINT', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(zeroblob(20), 'POINT', 4326, 'XYM') -1 |
Changes to test/sql_stmt_tests/geomconstraints12.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, zeroblob 50 :memory: #use in-memory database SELECT GeometryConstraints(zeroblob(50), "POINT", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(zeroblob(50), "POINT", 4326, "XYM") -1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, zeroblob 50 :memory: #use in-memory database SELECT GeometryConstraints(zeroblob(50), 'POINT', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(zeroblob(50), 'POINT', 4326, 'XYM') -1 |
Changes to test/sql_stmt_tests/geomconstraints13.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, int arg 2 :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("POINT(1 2)", 4326), 40, 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("POINT(1 2)", 4326), 40, 4326) -1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, int arg 2 :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('POINT(1 2)', 4326), 40, 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('POINT(1 2)', 4326), 40, 4326) -1 |
Changes to test/sql_stmt_tests/geomconstraints14.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, text arg 3 :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("POINT(1 2)", 4326), "POINT", "hello", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("POINT(1 2)", 4326), "POINT", "hello", 4326) -1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, text arg 3 :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('POINT(1 2)', 4326), 'POINT', 'hello', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('POINT(1 2)', 4326), 'POINT', 'hello', 4326) -1 |
Changes to test/sql_stmt_tests/geomconstraints15.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRING :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTILINESTRING((1 2, 4 3),(0 4, 1 9))", 4326), "MULTILINESTRING", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTILINESTRING((1 2, 4 3),(0 4, 1 9))", 4326), "MULTILINESTRING", 4326) 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRING :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTILINESTRING((1 2, 4 3),(0 4, 1 9))', 4326), 'MULTILINESTRING', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTILINESTRING((1 2, 4 3),(0 4, 1 9))', 4326), 'MULTILINESTRING', 4326) 1 |
Changes to test/sql_stmt_tests/geomconstraints16.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))", 4326), "MULTILINESTRING", 4326, "XYZ") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))", 4326), "MULTILINESTRING", 4326, "XYZ") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))', 4326), 'MULTILINESTRING', 4326, 'XYZ') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))', 4326), 'MULTILINESTRING', 4326, 'XYZ') 1 |
Changes to test/sql_stmt_tests/geomconstraints17.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))", 4326), "MULTILINESTRING", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))", 4326), "MULTILINESTRING", 4326, "XYM") 0 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))', 4326), 'MULTILINESTRING', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTILINESTRINGZ((1 2 3, 4 3 1),(0 4 4, 1 9 7))', 4326), 'MULTILINESTRING', 4326, 'XYM') 0 |
Changes to test/sql_stmt_tests/geomconstraints18.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTILINESTRINGM((1 2 3, 4 3 1),(0 4 4, 1 9 7))", 4326), "MULTILINESTRING", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTILINESTRINGM((1 2 3, 4 3 1),(0 4 4, 1 9 7))", 4326), "MULTILINESTRING", 4326, "XYM") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTILINESTRINGM((1 2 3, 4 3 1),(0 4 4, 1 9 7))', 4326), 'MULTILINESTRING', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTILINESTRINGM((1 2 3, 4 3 1),(0 4 4, 1 9 7))', 4326), 'MULTILINESTRING', 4326, 'XYM') 1 |
Changes to test/sql_stmt_tests/geomconstraints19.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGZM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTILINESTRINGZM((1 2 3 1, 4 3 1 2),(0 4 4 3, 1 9 7 4))", 4326), "MULTILINESTRING", 4326, "XYZM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTILINESTRINGZM((1 2 3 1, 4 3 1 2),(0 4 4 3, 1 9 7 4))", 4326), "MULTILINESTRING", 4326, "XYZM") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTILINESTRINGZM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTILINESTRINGZM((1 2 3 1, 4 3 1 2),(0 4 4 3, 1 9 7 4))', 4326), 'MULTILINESTRING', 4326, 'XYZM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTILINESTRINGZM((1 2 3 1, 4 3 1 2),(0 4 4 3, 1 9 7 4))', 4326), 'MULTILINESTRING', 4326, 'XYZM') 1 |
Changes to test/sql_stmt_tests/geomconstraints2.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, blob :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326) 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, blob :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326) 1 |
Changes to test/sql_stmt_tests/geomconstraints20.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONZM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))", 4326), "MULTILINESTRING", 4326, "XYZM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))", 4326), "MULTILINESTRING", 4326, "XYZM") 0 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONZM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))', 4326), 'MULTILINESTRING', 4326, 'XYZM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))', 4326), 'MULTILINESTRING', 4326, 'XYZM') 0 |
Changes to test/sql_stmt_tests/geomconstraints21.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONZM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))", 4326), "MULTIPOLYGON", 4326, "XYZM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))", 4326), "MULTIPOLYGON", 4326, "XYZM") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONZM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))', 4326), 'MULTIPOLYGON', 4326, 'XYZM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTIPOLYGONZM(((0 0 0 0, 1 0 0 0, 1 1 0 0, 0 0 0 0)),((0 0 0 0, -1 0 0 0, -1 -1 0 0, 0 0 0 0)))', 4326), 'MULTIPOLYGON', 4326, 'XYZM') 1 |
Changes to test/sql_stmt_tests/geomconstraints22.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))", 4326), "MULTIPOLYGON", 4326, "XYZ") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))", 4326), "MULTIPOLYGON", 4326, "XYZ") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))', 4326), 'MULTIPOLYGON', 4326, 'XYZ') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))', 4326), 'MULTIPOLYGON', 4326, 'XYZ') 1 |
Changes to test/sql_stmt_tests/geomconstraints23.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))", 4326), "MULTIPOLYGON", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))", 4326), "MULTIPOLYGON", 4326, "XYM") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - MULTIPOLYGONM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))', 4326), 'MULTIPOLYGON', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0)))', 4326), 'MULTIPOLYGON', 4326, 'XYM') 1 |
Changes to test/sql_stmt_tests/geomconstraints24.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("GEOMETRYCOLLECTION(MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("GEOMETRYCOLLECTION(MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XYM") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('GEOMETRYCOLLECTION(MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('GEOMETRYCOLLECTION(MULTIPOLYGONM(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XYM') 1 |
Changes to test/sql_stmt_tests/geomconstraints25.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("GEOMETRYCOLLECTIONZ(MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XYZ") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("GEOMETRYCOLLECTIONZ(MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XYZ") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('GEOMETRYCOLLECTIONZ(MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XYZ') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('GEOMETRYCOLLECTIONZ(MULTIPOLYGONZ(((0 0 0, 1 0 0, 1 1 0, 0 0 0)),((0 0 0, -1 0 0, -1 -1 0, 0 0 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XYZ') 1 |
Changes to test/sql_stmt_tests/geomconstraints26.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("GEOMETRYCOLLECTION(MULTIPOLYGON(((0 0, 1 0, 1 1, 0 0)),((0 0, -1 0, -1 -1, 0 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XY") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("GEOMETRYCOLLECTION(MULTIPOLYGON(((0 0, 1 0, 1 1, 0 0)),((0 0, -1 0, -1 -1, 0 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XY") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('GEOMETRYCOLLECTION(MULTIPOLYGON(((0 0, 1 0, 1 1, 0 0)),((0 0, -1 0, -1 -1, 0 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XY') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('GEOMETRYCOLLECTION(MULTIPOLYGON(((0 0, 1 0, 1 1, 0 0)),((0 0, -1 0, -1 -1, 0 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XY') 1 |
Changes to test/sql_stmt_tests/geomconstraints27.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XYZM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))", 4326), "GEOMETRYCOLLECTION", 4326, "XYZM") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XYZM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))', 4326), 'GEOMETRYCOLLECTION', 4326, 'XYZM') 1 |
Changes to test/sql_stmt_tests/geomconstraints28.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRY :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))", 4326), "GEOMETRY", 4326, "XYZM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))", 4326), "GEOMETRY", 4326, "XYZM") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - GEOMETRY :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))', 4326), 'GEOMETRY', 4326, 'XYZM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('GEOMETRYCOLLECTIONZM(MULTIPOLYGONZM(((0 0 4 0, 1 0 4 0, 1 1 4 0, 0 0 4 0)),((0 0 4 0, -1 0 4 0, -1 -1 4 0, 0 0 4 0))))', 4326), 'GEOMETRY', 4326, 'XYZM') 1 |
Changes to test/sql_stmt_tests/geomconstraints3.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, POINT / LINESTRING :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("Point(1 2)", 4326), "LINESTRING", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("Point(1 2)", 4326), "LINESTRING", 4326) 0 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, POINT / LINESTRING :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'LINESTRING', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'LINESTRING', 4326) 0 |
Changes to test/sql_stmt_tests/geomconstraints4.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, POINT / MULTIPOINT :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("Point(1 2)", 4326), "MULTIPOINT", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("Point(1 2)", 4326), "MULTIPOINT", 4326) 0 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, POINT / MULTIPOINT :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'MULTIPOINT', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'MULTIPOINT', 4326) 0 |
Changes to test/sql_stmt_tests/geomconstraints5.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, POINT bad SRID :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("Point(1 2)", 4386), "POINT", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("Point(1 2)", 4386), "POINT", 4326) 0 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, POINT bad SRID :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('Point(1 2)', 4386), 'POINT', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('Point(1 2)', 4386), 'POINT', 4326) 0 |
Changes to test/sql_stmt_tests/geomconstraints6.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, POINT :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326, "XY") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326, "XY") 1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, POINT :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326, 'XY') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326, 'XY') 1 |
Changes to test/sql_stmt_tests/geomconstraints7.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, POINT vs XYZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326, "XYZ") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326, "XYZ") 0 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, POINT vs XYZ :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326, 'XYZ') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326, 'XYZ') 0 |
Changes to test/sql_stmt_tests/geomconstraints8.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, text :memory: #use in-memory database SELECT GeometryConstraints("hello", "POINT", 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints("hello", "POINT", 4326) -1 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 3 arg, text :memory: #use in-memory database SELECT GeometryConstraints('hello', 'POINT', 4326) 1 # rows (not including the header row) 1 # columns GeometryConstraints('hello', 'POINT', 4326) -1 |
Changes to test/sql_stmt_tests/geomconstraints9.testcase.
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, POINT vs XYM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326, "XYM") 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText("Point(1 2)", 4326), "POINT", 4326, "XYM") 0 |
| | |
1 2 3 4 5 6 7 8 |
geometry constraints - 4 arg, POINT vs XYM :memory: #use in-memory database SELECT GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326, 'XYM') 1 # rows (not including the header row) 1 # columns GeometryConstraints(GeomFromText('Point(1 2)', 4326), 'POINT', 4326, 'XYM') 0 |
Changes to test/sql_stmt_tests/geometryn.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipoint :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 1)) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipoint :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 1)) POINT(1 2) |
Changes to test/sql_stmt_tests/geometryn1.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipoint - out of range 0 :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 0)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 0)) (NULL) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipoint - out of range 0 :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 0)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 0)) (NULL) |
Changes to test/sql_stmt_tests/geometryn10.testcase.
1 2 3 4 5 6 7 |
Geometry N - pointZM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("POINTZM(1 2 4 1.6)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("POINTZM(1 2 4 1.6)"), 1)) POINT ZM(1 2 4 1.6) |
| | |
1 2 3 4 5 6 7 |
Geometry N - pointZM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('POINTZM(1 2 4 1.6)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('POINTZM(1 2 4 1.6)'), 1)) POINT ZM(1 2 4 1.6) |
Changes to test/sql_stmt_tests/geometryn11.testcase.
1 2 3 4 5 6 7 |
Geometry N - multilinestringzm :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTILINESTRINGZM((1 2 4 1.6, 4 2.3 9 8.7, 1 2 3 1),(0 1 2 3, 8 1 1 4))"), 2)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTILINESTRINGZM((1 2 4 1.6, 4 2.3 9 8.7, 1 2 3 1),(0 1 2 3, 8 1 1 4))"), 2)) LINESTRING ZM(0 1 2 3, 8 1 1 4) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multilinestringzm :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTILINESTRINGZM((1 2 4 1.6, 4 2.3 9 8.7, 1 2 3 1),(0 1 2 3, 8 1 1 4))'), 2)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTILINESTRINGZM((1 2 4 1.6, 4 2.3 9 8.7, 1 2 3 1),(0 1 2 3, 8 1 1 4))'), 2)) LINESTRING ZM(0 1 2 3, 8 1 1 4) |
Changes to test/sql_stmt_tests/geometryn12.testcase.
1 2 3 4 5 6 7 |
Geometry N - multilinestringz :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTILINESTRINGZ((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))"), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTILINESTRINGZ((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))"), 2)) LINESTRING Z(0 1 2, 8 1 1) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multilinestringz :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTILINESTRINGZ((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))'), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTILINESTRINGZ((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))'), 2)) LINESTRING Z(0 1 2, 8 1 1) |
Changes to test/sql_stmt_tests/geometryn13.testcase.
1 2 3 4 5 6 7 |
Geometry N - multilinestringm :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTILINESTRINGM((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))"), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTILINESTRINGM((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))"), 2)) LINESTRING M(0 1 2, 8 1 1) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multilinestringm :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTILINESTRINGM((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))'), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTILINESTRINGM((1 2 1.6, 4 2.3 8.7, 1 2 1),(0 1 2, 8 1 1))'), 2)) LINESTRING M(0 1 2, 8 1 1) |
Changes to test/sql_stmt_tests/geometryn14.testcase.
1 2 3 4 5 6 7 |
Geometry N - multilinestring :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTILINESTRING((1 1.6, 2.3 8.7, 2 1),(1 2, 1 1))"), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTILINESTRING((1 1.6, 2.3 8.7, 2 1),(1 2, 1 1))"), 2)) LINESTRING(1 2, 1 1) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multilinestring :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTILINESTRING((1 1.6, 2.3 8.7, 2 1),(1 2, 1 1))'), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTILINESTRING((1 1.6, 2.3 8.7, 2 1),(1 2, 1 1))'), 2)) LINESTRING(1 2, 1 1) |
Changes to test/sql_stmt_tests/geometryn15.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipoint :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINT(1 1.6, 2.3 8.7, 2 1, 1 2, 1 1)"), 3)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINT(1 1.6, 2.3 8.7, 2 1, 1 2, 1 1)"), 3)) POINT(2 1) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipoint :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINT(1 1.6, 2.3 8.7, 2 1, 1 2, 1 1)'), 3)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINT(1 1.6, 2.3 8.7, 2 1, 1 2, 1 1)'), 3)) POINT(2 1) |
Changes to test/sql_stmt_tests/geometryn16.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipolygon :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOLYGON(((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 8 2, 8 8, 2 8, 2 2)),((0 0, -10 0, -10 -10, 0 -10, 0 0)))"), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOLYGON(((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 8 2, 8 8, 2 8, 2 2)),((0 0, -10 0, -10 -10, 0 -10, 0 0)))"), 1)) POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (2 2, 8 2, 8 8, 2 8, 2 2)) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipolygon :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOLYGON(((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 8 2, 8 8, 2 8, 2 2)),((0 0, -10 0, -10 -10, 0 -10, 0 0)))'), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOLYGON(((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 8 2, 8 8, 2 8, 2 2)),((0 0, -10 0, -10 -10, 0 -10, 0 0)))'), 1)) POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (2 2, 8 2, 8 8, 2 8, 2 2)) |
Changes to test/sql_stmt_tests/geometryn17.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipolygonM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOLYGONM(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))"), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOLYGONM(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))"), 1)) POLYGON M((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1), (2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipolygonM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOLYGONM(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))'), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOLYGONM(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))'), 1)) POLYGON M((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1), (2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)) |
Changes to test/sql_stmt_tests/geometryn18.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipolygonZ :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOLYGONZ(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))"), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOLYGONZ(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))"), 1)) POLYGON Z((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1), (2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipolygonZ :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOLYGONZ(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))'), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOLYGONZ(((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1),(2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)),((0 0 3, -10 0 3, -10 -10 3, 0 -10 3, 0 0 3)))'), 1)) POLYGON Z((0 0 1, 10 0 1, 10 10 1, 0 10 1, 0 0 1), (2 2 2, 8 2 2, 8 8 2, 2 8 2, 2 2 2)) |
Changes to test/sql_stmt_tests/geometryn19.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipolygonZM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))"), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))"), 1)) POLYGON ZM((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2), (2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipolygonZM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))'), 1)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))'), 1)) POLYGON ZM((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2), (2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)) |
Changes to test/sql_stmt_tests/geometryn2.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipoint - out of range 2 :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 2)) (NULL) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipoint - out of range 2 :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 2)) (NULL) |
Changes to test/sql_stmt_tests/geometryn20.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipolygonZM - second poly :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))"), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))"), 2)) POLYGON ZM((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipolygonZM - second poly :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))'), 2)) 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOLYGONZM(((0 0 1 2, 10 0 1 2, 10 10 1 2, 0 10 1 2, 0 0 1 2),(2 2 2 3, 8 2 2 3, 8 8 2 3, 2 8 2 3, 2 2 2 3)),((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)))'), 2)) POLYGON ZM((0 0 3 4, -10 0 3 4, -10 -10 3 4, 0 -10 3 4, 0 0 3 4)) |
Changes to test/sql_stmt_tests/geometryn3.testcase.
1 2 3 4 5 6 7 |
Geometry N - text input (error) :memory: #use in-memory database SELECT GeometryN("text", 2); 1 # rows (not including the header row) 1 # columns GeometryN("text", 2) (NULL) |
| | |
1 2 3 4 5 6 7 |
Geometry N - text input (error) :memory: #use in-memory database SELECT GeometryN('text', 2); 1 # rows (not including the header row) 1 # columns GeometryN('text', 2) (NULL) |
Changes to test/sql_stmt_tests/geometryn5.testcase.
1 2 3 4 5 6 7 8 |
Geometry N - toxic blob :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 1)) POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5)) |
| | |
1 2 3 4 5 6 7 8 |
Geometry N - toxic blob :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 1)) POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5)) |
Changes to test/sql_stmt_tests/geometryn6.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipoint - float index :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 0.2)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINT(1 2)"), 0.2)) (NULL) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipoint - float index :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 0.2)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINT(1 2)'), 0.2)) (NULL) |
Changes to test/sql_stmt_tests/geometryn7.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipointZ :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINTZ(1 2 4)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINTZ(1 2 4)"), 1)) POINT Z(1 2 4) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipointZ :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINTZ(1 2 4)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINTZ(1 2 4)'), 1)) POINT Z(1 2 4) |
Changes to test/sql_stmt_tests/geometryn8.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipointM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINTM(1 2 4)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINTM(1 2 4)"), 1)) POINT M(1 2 4) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipointM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINTM(1 2 4)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINTM(1 2 4)'), 1)) POINT M(1 2 4) |
Changes to test/sql_stmt_tests/geometryn9.testcase.
1 2 3 4 5 6 7 |
Geometry N - multipointZM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText("MULTIPOINTZM(1 2 4 1.6)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText("MULTIPOINTZM(1 2 4 1.6)"), 1)) POINT ZM(1 2 4 1.6) |
| | |
1 2 3 4 5 6 7 |
Geometry N - multipointZM :memory: #use in-memory database SELECT AsText(GeometryN(GeomFromText('MULTIPOINTZM(1 2 4 1.6)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(GeometryN(GeomFromText('MULTIPOINTZM(1 2 4 1.6)'), 1)) POINT ZM(1 2 4 1.6) |
Changes to test/sql_stmt_tests/geomfromewkb1.testcase.
1 2 3 4 5 6 7 |
From EWKB - bad text :memory: SELECT GeomFromEwkb("Hello!") 1 # rows 1 # column GeomFromEwkb("Hello!") (NULL) |
| | |
1 2 3 4 5 6 7 |
From EWKB - bad text :memory: SELECT GeomFromEwkb('Hello!') 1 # rows 1 # column GeomFromEwkb('Hello!') (NULL) |
Changes to test/sql_stmt_tests/geomfromkml10.testcase.
1 2 3 4 5 6 7 |
From KML - Multigeometry - Point :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point></MultiGeometry>")) MULTIPOINT Z(-122.082204 37.42229 0) |
| | |
1 2 3 4 5 6 7 |
From KML - Multigeometry - Point :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point></MultiGeometry>')) MULTIPOINT Z(-122.082204 37.42229 0) |
Changes to test/sql_stmt_tests/geomfromkml11.testcase.
1 2 3 4 5 6 7 |
From KML - Geometrycollection - POLYGON with interior, 2-D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521 -122.431564131101,37.8020327731402 -122.431499536494,37.801715236748 -122.43187136387,37.8016634915437 -122.43193945401,37.801983684521 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803 -122.431762847554,37.8019476932246 -122.431719843168,37.8017374462006 -122.431841863906,37.8017213314352 -122.431885303019,37.8019316061803 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044 -122.431592404659,37.8019694509363 -122.431548777661,37.8017591041777 -122.431671453253,37.8017428443014 -122.431714248439,37.8019544341044 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521 -122.431564131101,37.8020327731402 -122.431499536494,37.801715236748 -122.43187136387,37.8016634915437 -122.43193945401,37.801983684521 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803 -122.431762847554,37.8019476932246 -122.431719843168,37.8017374462006 -122.431841863906,37.8017213314352 -122.431885303019,37.8019316061803 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044 -122.431592404659,37.8019694509363 -122.431548777661,37.8017591041777 -122.431671453253,37.8017428443014 -122.431714248439,37.8019544341044 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>")) MULTIPOLYGON(((-122.431939 37.801984, -122.431564 37.802033, -122.4315 37.801715, -122.431871 37.801663, -122.431939 37.801984), (-122.431885 37.801932, -122.431763 37.801948, -122.43172 37.801737, -122.431842 37.801721, -122.431885 37.801932), (-122.431714 37.801954, -122.431592 37.801969, -122.431549 37.801759, -122.431671 37.801743, -122.431714 37.801954))) |
| | |
1 2 3 4 5 6 7 |
From KML - Geometrycollection - POLYGON with interior, 2-D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521 -122.431564131101,37.8020327731402 -122.431499536494,37.801715236748 -122.43187136387,37.8016634915437 -122.43193945401,37.801983684521 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803 -122.431762847554,37.8019476932246 -122.431719843168,37.8017374462006 -122.431841863906,37.8017213314352 -122.431885303019,37.8019316061803 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044 -122.431592404659,37.8019694509363 -122.431548777661,37.8017591041777 -122.431671453253,37.8017428443014 -122.431714248439,37.8019544341044 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521 -122.431564131101,37.8020327731402 -122.431499536494,37.801715236748 -122.43187136387,37.8016634915437 -122.43193945401,37.801983684521 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803 -122.431762847554,37.8019476932246 -122.431719843168,37.8017374462006 -122.431841863906,37.8017213314352 -122.431885303019,37.8019316061803 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044 -122.431592404659,37.8019694509363 -122.431548777661,37.8017591041777 -122.431671453253,37.8017428443014 -122.431714248439,37.8019544341044 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>')) MULTIPOLYGON(((-122.431939 37.801984, -122.431564 37.802033, -122.4315 37.801715, -122.431871 37.801663, -122.431939 37.801984), (-122.431885 37.801932, -122.431763 37.801948, -122.43172 37.801737, -122.431842 37.801721, -122.431885 37.801932), (-122.431714 37.801954, -122.431592 37.801969, -122.431549 37.801759, -122.431671 37.801743, -122.431714 37.801954))) |
Changes to test/sql_stmt_tests/geomfromkml12.testcase.
1 2 3 4 5 6 7 |
From KML - LINESTRING :memory: SELECT AsText(GeomFromKML("<LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString>")) 1 # rows 1 # column AsText(GeomFromKML("<LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString>")) LINESTRING(-112.255079 36.07955, -112.254928 36.081171, -112.255251 36.082608, -112.256454 36.083957, -112.258024 36.085114, -112.259522 36.085844, -112.262073 36.08626, -112.26332 36.086215, -112.264496 36.086279, -112.265697 36.086496) |
| | |
1 2 3 4 5 6 7 |
From KML - LINESTRING :memory: SELECT AsText(GeomFromKML('<LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString>')) 1 # rows 1 # column AsText(GeomFromKML('<LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString>')) LINESTRING(-112.255079 36.07955, -112.254928 36.081171, -112.255251 36.082608, -112.256454 36.083957, -112.258024 36.085114, -112.259522 36.085844, -112.262073 36.08626, -112.26332 36.086215, -112.264496 36.086279, -112.265697 36.086496) |
Changes to test/sql_stmt_tests/geomfromkml13.testcase.
1 2 3 4 5 6 7 |
From KML - Multigeometry - Point 2D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point></MultiGeometry>")) MULTIPOINT(-122.082204 37.42229) |
| | |
1 2 3 4 5 6 7 |
From KML - Multigeometry - Point 2D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point></MultiGeometry>')) MULTIPOINT(-122.082204 37.42229) |
Changes to test/sql_stmt_tests/geomfromkml14.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry LINESTRING :memory: SELECT AsText(GeomFromKML("<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString></MultiGeometry>")) MULTILINESTRING((-112.255079 36.07955, -112.254928 36.081171, -112.255251 36.082608, -112.256454 36.083957, -112.258024 36.085114, -112.259522 36.085844, -112.262073 36.08626, -112.26332 36.086215, -112.264496 36.086279, -112.265697 36.086496)) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry LINESTRING :memory: SELECT AsText(GeomFromKML('<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString></MultiGeometry>')) MULTILINESTRING((-112.255079 36.07955, -112.254928 36.081171, -112.255251 36.082608, -112.256454 36.083957, -112.258024 36.085114, -112.259522 36.085844, -112.262073 36.08626, -112.26332 36.086215, -112.264496 36.086279, -112.265697 36.086496)) |
Changes to test/sql_stmt_tests/geomfromkml15.testcase.
1 2 3 4 5 6 7 |
From KML - Point 2D :memory: SELECT AsText(GeomFromKML("<Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point>"))) POINT(-122.082204 37.42229) |
| | |
1 2 3 4 5 6 7 |
From KML - Point 2D :memory: SELECT AsText(GeomFromKML('<Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point>'))) POINT(-122.082204 37.42229) |
Changes to test/sql_stmt_tests/geomfromkml16.testcase.
1 2 3 4 5 6 7 |
From KML - Multigeometry - 2 x Point 2D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point><Point><coordinates>-122,37</coordinates></Point></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point><Point><coordinates>-122,37</coordinates></Point></MultiGeometry>")) MULTIPOINT(-122.082204 37.42229, -122 37) |
| | |
1 2 3 4 5 6 7 |
From KML - Multigeometry - 2 x Point 2D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point><Point><coordinates>-122,37</coordinates></Point></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251</coordinates></Point><Point><coordinates>-122,37</coordinates></Point></MultiGeometry>')) MULTIPOINT(-122.082204 37.42229, -122 37) |
Changes to test/sql_stmt_tests/geomfromkml17.testcase.
1 2 3 4 5 6 7 |
From KML - Multigeometry - 2 x Point :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,6</coordinates></Point><Point><coordinates>-122,37,1.3</coordinates></Point></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,6</coordinates></Point><Point><coordinates>-122,37,1.3</coordinates></Point></MultiGeometry>")) MULTIPOINT Z(-122.082204 37.42229 6, -122 37 1.3) |
| | |
1 2 3 4 5 6 7 |
From KML - Multigeometry - 2 x Point :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,6</coordinates></Point><Point><coordinates>-122,37,1.3</coordinates></Point></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Point><coordinates>-122.0822035425683,37.42228990140251,6</coordinates></Point><Point><coordinates>-122,37,1.3</coordinates></Point></MultiGeometry>')) MULTIPOINT Z(-122.082204 37.42229 6, -122 37 1.3) |
Changes to test/sql_stmt_tests/geomfromkml18.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry LINESTRING x 2 :memory: SELECT AsText(GeomFromKML("<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString><LineString><coordinates>1,2 3,4</coordinates></LineString></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString><LineString><coordinates>1,2 3,4</coordinates></LineString></MultiGeometry>")) MULTILINESTRING((-112.255079 36.07955, -112.254928 36.081171, -112.255251 36.082608, -112.256454 36.083957, -112.258024 36.085114, -112.259522 36.085844, -112.262073 36.08626, -112.26332 36.086215, -112.264496 36.086279, -112.265697 36.086496), (1 2, 3 4)) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry LINESTRING x 2 :memory: SELECT AsText(GeomFromKML('<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString><LineString><coordinates>1,2 3,4</coordinates></LineString></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647 -112.2549277039738,36.08117083492122 -112.2552505069063,36.08260761307279 -112.2564540158376,36.08395660588506 -112.2580238976449,36.08511401044813 -112.2595218489022,36.08584355239394 -112.262073428656,36.08626019085147 -112.2633204928495,36.08621519860091 -112.2644963846444,36.08627897945274 -112.2656969554589,36.08649599090644 </coordinates></LineString><LineString><coordinates>1,2 3,4</coordinates></LineString></MultiGeometry>')) MULTILINESTRING((-112.255079 36.07955, -112.254928 36.081171, -112.255251 36.082608, -112.256454 36.083957, -112.258024 36.085114, -112.259522 36.085844, -112.262073 36.08626, -112.26332 36.086215, -112.264496 36.086279, -112.265697 36.086496), (1 2, 3 4)) |
Changes to test/sql_stmt_tests/geomfromkml19.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry LINESTRING x 2 - 3D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString><LineString><coordinates>1,2,4 3,5,7</coordinates></LineString></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString><LineString><coordinates>1,2,4 3,5,7</coordinates></LineString></MultiGeometry>")) MULTILINESTRING Z((-112.255079 36.07955 2357, -112.254928 36.081171 2357, -112.255251 36.082608 2357, -112.256454 36.083957 2357, -112.258024 36.085114 2357, -112.259522 36.085844 2357, -112.262073 36.08626 2357, -112.26332 36.086215 2357, -112.264496 36.086279 2357, -112.265697 36.086496 2357), (1 2 4, 3 5 7)) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry LINESTRING x 2 - 3D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString><LineString><coordinates>1,2,4 3,5,7</coordinates></LineString></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString><LineString><coordinates>1,2,4 3,5,7</coordinates></LineString></MultiGeometry>')) MULTILINESTRING Z((-112.255079 36.07955 2357, -112.254928 36.081171 2357, -112.255251 36.082608 2357, -112.256454 36.083957 2357, -112.258024 36.085114 2357, -112.259522 36.085844 2357, -112.262073 36.08626 2357, -112.26332 36.086215 2357, -112.264496 36.086279 2357, -112.265697 36.086496 2357), (1 2 4, 3 5 7)) |
Changes to test/sql_stmt_tests/geomfromkml2.testcase.
1 2 3 4 5 6 7 |
From KML - bad text :memory: SELECT GeomFromKML("Hell0!") 1 # rows 1 # column GeomFromKML("Hell0!") (NULL) |
| | |
1 2 3 4 5 6 7 |
From KML - bad text :memory: SELECT GeomFromKML('Hell0!') 1 # rows 1 # column GeomFromKML('Hell0!') (NULL) |
Changes to test/sql_stmt_tests/geomfromkml20.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry POLYGON [hole] x 2 - 2D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10 15,10 15,15 10,15 10,10</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11 12,11 12,12 11,12 11,11</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16 17,16 17,17 16,17 16,16</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10 15,10 15,15 10,15 10,10</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11 12,11 12,12 11,12 11,11</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16 17,16 17,17 16,17 16,16</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>")) MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)), ((16 16, 17 16, 17 17, 16 17, 16 16))) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry POLYGON [hole] x 2 - 2D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10 15,10 15,15 10,15 10,10</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11 12,11 12,12 11,12 11,11</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16 17,16 17,17 16,17 16,16</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10 15,10 15,15 10,15 10,10</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11 12,11 12,12 11,12 11,11</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16 17,16 17,17 16,17 16,16</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>')) MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)), ((16 16, 17 16, 17 17, 16 17, 16 16))) |
Changes to test/sql_stmt_tests/geomfromkml21.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry POLYGON [hole] x 2 - 3D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10,100 15,10,101 15,15,102 10,15,103 10,10,100</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11,100 12,11,101 12,12,102 11,12,103 11,11,100</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16,100 17,16,101 17,17,102 16,17,103 16,16,100</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10,100 15,10,101 15,15,102 10,15,103 10,10,100</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11,100 12,11,101 12,12,102 11,12,103 11,11,100</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16,100 17,16,101 17,17,102 16,17,103 16,16,100</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>")) MULTIPOLYGON Z(((10 10 100, 15 10 101, 15 15 102, 10 15 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)), ((16 16 100, 17 16 101, 17 17 102, 16 17 103, 16 16 100))) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry POLYGON [hole] x 2 - 3D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10,100 15,10,101 15,15,102 10,15,103 10,10,100</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11,100 12,11,101 12,12,102 11,12,103 11,11,100</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16,100 17,16,101 17,17,102 16,17,103 16,16,100</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>10,10,100 15,10,101 15,15,102 10,15,103 10,10,100</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>11,11,100 12,11,101 12,12,102 11,12,103 11,11,100</coordinates></LinearRing></innerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>16,16,100 17,16,101 17,17,102 16,17,103 16,16,100</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>')) MULTIPOLYGON Z(((10 10 100, 15 10 101, 15 15 102, 10 15 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)), ((16 16 100, 17 16 101, 17 17 102, 16 17 103, 16 16 100))) |
Changes to test/sql_stmt_tests/geomfromkml22.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry [Point, Line, Polygon] - 2D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Point><coordinates>1,1</coordinates></Point><LineString><coordinates>2,2 3,3</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4 10,4 10,10 4,10 4,4</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5 6,5 6,6 5,6 5,5</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Point><coordinates>1,1</coordinates></Point><LineString><coordinates>2,2 3,3</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4 10,4 10,10 4,10 4,4</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5 6,5 6,6 5,6 5,5</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>")) GEOMETRYCOLLECTION(POINT(1 1), LINESTRING(2 2, 3 3), POLYGON((4 4, 10 4, 10 10, 4 10, 4 4), (5 5, 6 5, 6 6, 5 6, 5 5))) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry [Point, Line, Polygon] - 2D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Point><coordinates>1,1</coordinates></Point><LineString><coordinates>2,2 3,3</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4 10,4 10,10 4,10 4,4</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5 6,5 6,6 5,6 5,5</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Point><coordinates>1,1</coordinates></Point><LineString><coordinates>2,2 3,3</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4 10,4 10,10 4,10 4,4</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5 6,5 6,6 5,6 5,5</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>')) GEOMETRYCOLLECTION(POINT(1 1), LINESTRING(2 2, 3 3), POLYGON((4 4, 10 4, 10 10, 4 10, 4 4), (5 5, 6 5, 6 6, 5 6, 5 5))) |
Changes to test/sql_stmt_tests/geomfromkml23.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry [Point, Line, Polygon] - 3D :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Point><coordinates>1,1,100</coordinates></Point><LineString><coordinates>2,2,100 3,3,101</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4,101 10,4,102 10,10,103 4,10,104 4,4,101</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5,100 6,5,101 6,6,102 5,6,103 5,5,100</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Point><coordinates>1,1,100</coordinates></Point><LineString><coordinates>2,2,100 3,3,101</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4,101 10,4,102 10,10,103 4,10,104 4,4,101</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5,100 6,5,101 6,6,102 5,6,103 5,5,100</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>")) GEOMETRYCOLLECTION Z(POINT Z(1 1 100), LINESTRING Z(2 2 100, 3 3 101), POLYGON Z((4 4 101, 10 4 102, 10 10 103, 4 10 104, 4 4 101), (5 5 100, 6 5 101, 6 6 102, 5 6 103, 5 5 100))) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry [Point, Line, Polygon] - 3D :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Point><coordinates>1,1,100</coordinates></Point><LineString><coordinates>2,2,100 3,3,101</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4,101 10,4,102 10,10,103 4,10,104 4,4,101</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5,100 6,5,101 6,6,102 5,6,103 5,5,100</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Point><coordinates>1,1,100</coordinates></Point><LineString><coordinates>2,2,100 3,3,101</coordinates></LineString><Polygon><outerBoundaryIs><LinearRing><coordinates>4,4,101 10,4,102 10,10,103 4,10,104 4,4,101</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>5,5,100 6,5,101 6,6,102 5,6,103 5,5,100</coordinates></LinearRing></innerBoundaryIs></Polygon></MultiGeometry>')) GEOMETRYCOLLECTION Z(POINT Z(1 1 100), LINESTRING Z(2 2 100, 3 3 101), POLYGON Z((4 4 101, 10 4 102, 10 10 103, 4 10 104, 4 4 101), (5 5 100, 6 5 101, 6 6 102, 5 6 103, 5 5 100))) |
Changes to test/sql_stmt_tests/geomfromkml3.testcase.
1 2 3 4 5 6 7 |
From KML - Point :memory: SELECT AsText(GeomFromKML("<Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point>"))) POINT Z(-122.082204 37.42229 0) |
| | |
1 2 3 4 5 6 7 |
From KML - Point :memory: SELECT AsText(GeomFromKML('<Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>-122.0822035425683,37.42228990140251,0</coordinates></Point>'))) POINT Z(-122.082204 37.42229 0) |
Changes to test/sql_stmt_tests/geomfromkml4.testcase.
1 2 3 4 5 6 7 |
From KML - LINESTRING Z :memory: SELECT AsText(GeomFromKML("<LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString>")) 1 # rows 1 # column AsText(GeomFromKML("<LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString>")) LINESTRING Z(-112.255079 36.07955 2357, -112.254928 36.081171 2357, -112.255251 36.082608 2357, -112.256454 36.083957 2357, -112.258024 36.085114 2357, -112.259522 36.085844 2357, -112.262073 36.08626 2357, -112.26332 36.086215 2357, -112.264496 36.086279 2357, -112.265697 36.086496 2357) |
| | |
1 2 3 4 5 6 7 |
From KML - LINESTRING Z :memory: SELECT AsText(GeomFromKML('<LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString>')) 1 # rows 1 # column AsText(GeomFromKML('<LineString><coordinates> -112.2550785337791,36.07954952145647,2357 -112.2549277039738,36.08117083492122,2357 -112.2552505069063,36.08260761307279,2357 -112.2564540158376,36.08395660588506,2357 -112.2580238976449,36.08511401044813,2357 -112.2595218489022,36.08584355239394,2357 -112.262073428656,36.08626019085147,2357 -112.2633204928495,36.08621519860091,2357 -112.2644963846444,36.08627897945274,2357 -112.2656969554589,36.08649599090644,2357 </coordinates></LineString>')) LINESTRING Z(-112.255079 36.07955 2357, -112.254928 36.081171 2357, -112.255251 36.082608 2357, -112.256454 36.083957 2357, -112.258024 36.085114 2357, -112.259522 36.085844 2357, -112.262073 36.08626 2357, -112.26332 36.086215 2357, -112.264496 36.086279 2357, -112.265697 36.086496 2357) |
Changes to test/sql_stmt_tests/geomfromkml5.testcase.
1 2 3 4 5 6 7 |
From KML - POLYGON Z :memory: SELECT AsText(GeomFromKML("<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317,1784 -112.3356128688403,36.14781540589019,1784 -112.3368169371048,36.14658677734382,1784 -112.3384408457543,36.14762778914076,1784 -112.3372510731295,36.14888505105317,1784</coordinates></LinearRing></outerBoundaryIs></Polygon>")) 1 # rows 1 # column AsText(GeomFromKML("<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317,1784 -112.3356128688403,36.14781540589019,1784 -112.3368169371048,36.14658677734382,1784 -112.3384408457543,36.14762778914076,1784 -112.3372510731295,36.14888505105317,1784</coordinates></LinearRing></outerBoundaryIs></Polygon>")) POLYGON Z((-112.337251 36.148885 1784, -112.335613 36.147815 1784, -112.336817 36.146587 1784, -112.338441 36.147628 1784, -112.337251 36.148885 1784)) |
| | |
1 2 3 4 5 6 7 |
From KML - POLYGON Z :memory: SELECT AsText(GeomFromKML('<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317,1784 -112.3356128688403,36.14781540589019,1784 -112.3368169371048,36.14658677734382,1784 -112.3384408457543,36.14762778914076,1784 -112.3372510731295,36.14888505105317,1784</coordinates></LinearRing></outerBoundaryIs></Polygon>')) 1 # rows 1 # column AsText(GeomFromKML('<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317,1784 -112.3356128688403,36.14781540589019,1784 -112.3368169371048,36.14658677734382,1784 -112.3384408457543,36.14762778914076,1784 -112.3372510731295,36.14888505105317,1784</coordinates></LinearRing></outerBoundaryIs></Polygon>')) POLYGON Z((-112.337251 36.148885 1784, -112.335613 36.147815 1784, -112.336817 36.146587 1784, -112.338441 36.147628 1784, -112.337251 36.148885 1784)) |
Changes to test/sql_stmt_tests/geomfromkml6.testcase.
1 2 3 4 5 6 7 |
From KML - POLYGON :memory: SELECT AsText(GeomFromKML("<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317 -112.3356128688403,36.14781540589019 -112.3368169371048,36.14658677734382 -112.3384408457543,36.14762778914076 -112.3372510731295,36.14888505105317</coordinates></LinearRing></outerBoundaryIs></Polygon>")) 1 # rows 1 # column AsText(GeomFromKML("<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317 -112.3356128688403,36.14781540589019 -112.3368169371048,36.14658677734382 -112.3384408457543,36.14762778914076 -112.3372510731295,36.14888505105317</coordinates></LinearRing></outerBoundaryIs></Polygon>")) POLYGON((-112.337251 36.148885, -112.335613 36.147815, -112.336817 36.146587, -112.338441 36.147628, -112.337251 36.148885)) |
| | |
1 2 3 4 5 6 7 |
From KML - POLYGON :memory: SELECT AsText(GeomFromKML('<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317 -112.3356128688403,36.14781540589019 -112.3368169371048,36.14658677734382 -112.3384408457543,36.14762778914076 -112.3372510731295,36.14888505105317</coordinates></LinearRing></outerBoundaryIs></Polygon>')) 1 # rows 1 # column AsText(GeomFromKML('<Polygon><outerBoundaryIs><LinearRing><coordinates>-112.3372510731295,36.14888505105317 -112.3356128688403,36.14781540589019 -112.3368169371048,36.14658677734382 -112.3384408457543,36.14762778914076 -112.3372510731295,36.14888505105317</coordinates></LinearRing></outerBoundaryIs></Polygon>')) POLYGON((-112.337251 36.148885, -112.335613 36.147815, -112.336817 36.146587, -112.338441 36.147628, -112.337251 36.148885)) |
Changes to test/sql_stmt_tests/geomfromkml7.testcase.
1 2 3 4 5 6 7 |
From KML - POLYGON with interior :memory: SELECT AsText(GeomFromKML("<Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon>")) 1 # rows 1 # column AsText(GeomFromKML("<Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon>")) POLYGON Z((-122.431939 37.801984 0, -122.431564 37.802033 0, -122.4315 37.801715 0, -122.431871 37.801663 0, -122.431939 37.801984 0), (-122.431885 37.801932 0, -122.431763 37.801948 0, -122.43172 37.801737 0, -122.431842 37.801721 0, -122.431885 37.801932 0), (-122.431714 37.801954 0, -122.431592 37.801969 0, -122.431549 37.801759 0, -122.431671 37.801743 0, -122.431714 37.801954 0)) |
| | |
1 2 3 4 5 6 7 |
From KML - POLYGON with interior :memory: SELECT AsText(GeomFromKML('<Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon>')) 1 # rows 1 # column AsText(GeomFromKML('<Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon>')) POLYGON Z((-122.431939 37.801984 0, -122.431564 37.802033 0, -122.4315 37.801715 0, -122.431871 37.801663 0, -122.431939 37.801984 0), (-122.431885 37.801932 0, -122.431763 37.801948 0, -122.43172 37.801737 0, -122.431842 37.801721 0, -122.431885 37.801932 0), (-122.431714 37.801954 0, -122.431592 37.801969 0, -122.431549 37.801759 0, -122.431671 37.801743 0, -122.431714 37.801954 0)) |
Changes to test/sql_stmt_tests/geomfromkml8.testcase.
1 2 3 4 5 6 7 |
From KML - MultiGeometry :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></outerBoundaryIs></Polygon><Polygon> <outerBoundaryIs> <LinearRing><coordinates>-122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></outerBoundaryIs></Polygon><Polygon> <outerBoundaryIs> <LinearRing><coordinates>-122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>")) MULTIPOLYGON Z(((-122.431885 37.801932 0, -122.431763 37.801948 0, -122.43172 37.801737 0, -122.431842 37.801721 0, -122.431885 37.801932 0)), ((-122.431714 37.801954 0, -122.431592 37.801969 0, -122.431549 37.801759 0, -122.431671 37.801743 0, -122.431714 37.801954 0))) |
| | |
1 2 3 4 5 6 7 |
From KML - MultiGeometry :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></outerBoundaryIs></Polygon><Polygon> <outerBoundaryIs> <LinearRing><coordinates>-122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></outerBoundaryIs></Polygon><Polygon> <outerBoundaryIs> <LinearRing><coordinates>-122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>')) MULTIPOLYGON Z(((-122.431885 37.801932 0, -122.431763 37.801948 0, -122.43172 37.801737 0, -122.431842 37.801721 0, -122.431885 37.801932 0)), ((-122.431714 37.801954 0, -122.431592 37.801969 0, -122.431549 37.801759 0, -122.431671 37.801743 0, -122.431714 37.801954 0))) |
Changes to test/sql_stmt_tests/geomfromkml9.testcase.
1 2 3 4 5 6 7 |
From KML - Geometrycollection - POLYGON with interior :memory: SELECT AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>")) 1 # rows 1 # column AsText(GeomFromKML("<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>")) MULTIPOLYGON Z(((-122.431939 37.801984 0, -122.431564 37.802033 0, -122.4315 37.801715 0, -122.431871 37.801663 0, -122.431939 37.801984 0), (-122.431885 37.801932 0, -122.431763 37.801948 0, -122.43172 37.801737 0, -122.431842 37.801721 0, -122.431885 37.801932 0), (-122.431714 37.801954 0, -122.431592 37.801969 0, -122.431549 37.801759 0, -122.431671 37.801743 0, -122.431714 37.801954 0))) |
| | |
1 2 3 4 5 6 7 |
From KML - Geometrycollection - POLYGON with interior :memory: SELECT AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>')) 1 # rows 1 # column AsText(GeomFromKML('<MultiGeometry><Polygon><outerBoundaryIs> <LinearRing> <coordinates>-122.43193945401,37.801983684521,0 -122.431564131101,37.8020327731402,0 -122.431499536494,37.801715236748,0 -122.43187136387,37.8016634915437,0 -122.43193945401,37.801983684521,0 </coordinates></LinearRing> </outerBoundaryIs><innerBoundaryIs> <LinearRing> <coordinates> -122.431885303019,37.8019316061803,0 -122.431762847554,37.8019476932246,0 -122.431719843168,37.8017374462006,0 -122.431841863906,37.8017213314352,0 -122.431885303019,37.8019316061803,0 </coordinates></LinearRing></innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> -122.431714248439,37.8019544341044,0 -122.431592404659,37.8019694509363,0 -122.431548777661,37.8017591041777,0 -122.431671453253,37.8017428443014,0 -122.431714248439,37.8019544341044,0 </coordinates> </LinearRing> </innerBoundaryIs></Polygon></MultiGeometry>')) MULTIPOLYGON Z(((-122.431939 37.801984 0, -122.431564 37.802033 0, -122.4315 37.801715 0, -122.431871 37.801663 0, -122.431939 37.801984 0), (-122.431885 37.801932 0, -122.431763 37.801948 0, -122.43172 37.801737 0, -122.431842 37.801721 0, -122.431885 37.801932 0), (-122.431714 37.801954 0, -122.431592 37.801969 0, -122.431549 37.801759 0, -122.431671 37.801743 0, -122.431714 37.801954 0))) |
Changes to test/sql_stmt_tests/geomfromkmlexp1.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-1 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>.1,.2,.3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>.1,.2,.3</coordinates></Point>"))) POINT Z(0.1 0.2 0.3) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-1 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>.1,.2,.3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>.1,.2,.3</coordinates></Point>'))) POINT Z(0.1 0.2 0.3) |
Changes to test/sql_stmt_tests/geomfromkmlexp2.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-2 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>.1,-.2,+.3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>.1,-.2,+.3</coordinates></Point>"))) POINT Z(0.1 -0.2 0.3) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-2 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>.1,-.2,+.3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>.1,-.2,+.3</coordinates></Point>'))) POINT Z(0.1 -0.2 0.3) |
Changes to test/sql_stmt_tests/geomfromkmlexp3.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-3 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>.1e1,.2e2,.3E3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>.1e1,.2e2,.3E3</coordinates></Point>"))) POINT Z(1 20 300) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-3 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>.1e1,.2e2,.3E3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>.1e1,.2e2,.3E3</coordinates></Point>'))) POINT Z(1 20 300) |
Changes to test/sql_stmt_tests/geomfromkmlexp4.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-4 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>.1e1,.2e-2,.3E+3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>.1e1,.2e-2,.3E+3</coordinates></Point>"))) POINT Z(1 0.002 300) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-4 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>.1e1,.2e-2,.3E+3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>.1e1,.2e-2,.3E+3</coordinates></Point>'))) POINT Z(1 0.002 300) |
Changes to test/sql_stmt_tests/geomfromkmlexp5.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-5 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>.1e1,+.2e-2,-.3E+3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>.1e1,+.2e-2,-.3E+3</coordinates></Point>"))) POINT Z(1 0.002 -300) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-5 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>.1e1,+.2e-2,-.3E+3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>.1e1,+.2e-2,-.3E+3</coordinates></Point>'))) POINT Z(1 0.002 -300) |
Changes to test/sql_stmt_tests/geomfromkmlexp6.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-6 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>.1e1,+.2e2,-.3E3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>.1e1,+.2e2,-.3E3</coordinates></Point>"))) POINT Z(1 20 -300) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-6 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>.1e1,+.2e2,-.3E3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>.1e1,+.2e2,-.3E3</coordinates></Point>'))) POINT Z(1 20 -300) |
Changes to test/sql_stmt_tests/geomfromkmlexp7.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-7 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>1.1e1,2.2e2,4.4E3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>1.1e1,2.2e2,4.4E3</coordinates></Point>"))) POINT Z(11 220 4400) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-7 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>1.1e1,2.2e2,4.4E3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>1.1e1,2.2e2,4.4E3</coordinates></Point>'))) POINT Z(11 220 4400) |
Changes to test/sql_stmt_tests/geomfromkmlexp8.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-8 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>1.1e1,2.2e-2,4.4E+3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>1.1e1,2.2e-2,4.4E+3</coordinates></Point>"))) POINT Z(11 0.022 4400) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-8 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>1.1e1,2.2e-2,4.4E+3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>1.1e1,2.2e-2,4.4E+3</coordinates></Point>'))) POINT Z(11 0.022 4400) |
Changes to test/sql_stmt_tests/geomfromkmlexp9.testcase.
1 2 3 4 5 6 7 |
From KML - Point Exp-9 :memory: SELECT AsText(GeomFromKML("<Point><coordinates>1.1e1,+2.2e-2,-4.4E+3</coordinates></Point>")) 1 # rows 1 # column AsText(GeomFromKML("<Point><coordinates>1.1e1,+2.2e-2,-4.4E+3</coordinates></Point>"))) POINT Z(11 0.022 -4400) |
| | |
1 2 3 4 5 6 7 |
From KML - Point Exp-9 :memory: SELECT AsText(GeomFromKML('<Point><coordinates>1.1e1,+2.2e-2,-4.4E+3</coordinates></Point>')) 1 # rows 1 # column AsText(GeomFromKML('<Point><coordinates>1.1e1,+2.2e-2,-4.4E+3</coordinates></Point>'))) POINT Z(11 0.022 -4400) |
Changes to test/sql_stmt_tests/geomfromtext1.testcase.
1 2 3 4 5 6 7 |
geomfromtext1 :memory: #use in-memory database SELECT AsWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900)"), 4); 1 # rows (not including the header row) 1 # columns AsWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900)"), 4) POINT(-71.1043 42.3151) |
| | |
1 2 3 4 5 6 7 |
geomfromtext1 :memory: #use in-memory database SELECT AsWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900)'), 4); 1 # rows (not including the header row) 1 # columns AsWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900)'), 4) POINT(-71.1043 42.3151) |
Changes to test/sql_stmt_tests/geomfromtext3.testcase.
1 2 3 4 5 6 7 |
geomfromtext3 :memory: #use in-memory database SELECT AsWkt(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 4); 1 # rows (not including the header row) 1 # columns AsWkt(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 4) LINESTRING(4 0,4 4,8 4) |
| | |
1 2 3 4 5 6 7 |
geomfromtext3 :memory: #use in-memory database SELECT AsWkt(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 4); 1 # rows (not including the header row) 1 # columns AsWkt(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 4) LINESTRING(4 0,4 4,8 4) |
Changes to test/sql_stmt_tests/geomfromtext4.testcase.
1 2 3 4 5 6 7 |
geomfromtext4 :memory: #use in-memory database SELECT GeomFromText("POINT(0 1 2 3)"); 1 # rows (not including the header row) 1 # columns GeomFromText("POINT(0 1 2 3)") (NULL) |
| | |
1 2 3 4 5 6 7 |
geomfromtext4 :memory: #use in-memory database SELECT GeomFromText('POINT(0 1 2 3)'); 1 # rows (not including the header row) 1 # columns GeomFromText('POINT(0 1 2 3)') (NULL) |
Changes to test/sql_stmt_tests/geomfromtext5.testcase.
1 2 3 4 5 6 7 |
geomfromtext5 :memory: #use in-memory database SELECT AsWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900)", 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900)", 4326), 4) POINT(-71.1043 42.3151) |
| | |
1 2 3 4 5 6 7 |
geomfromtext5 :memory: #use in-memory database SELECT AsWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900)', 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900)', 4326), 4) POINT(-71.1043 42.3151) |
Changes to test/sql_stmt_tests/geomfromtext6.testcase.
1 2 3 4 5 6 7 |
geomfromtext6 :memory: #use in-memory database SELECT AsEWkt(GeomFromText("POINT(-72 42)", 4326)); 1 # rows (not including the header row) 1 # columns AsEWkt(GeomFromText("POINT(-72 42)", 4326)) SRID=4326;POINT(-72 42) |
| | |
1 2 3 4 5 6 7 |
geomfromtext6 :memory: #use in-memory database SELECT AsEWkt(GeomFromText('POINT(-72 42)', 4326)); 1 # rows (not including the header row) 1 # columns AsEWkt(GeomFromText('POINT(-72 42)', 4326)) SRID=4326;POINT(-72 42) |
Changes to test/sql_stmt_tests/geomfromtext7.testcase.
1 2 3 4 5 6 7 |
geomfromtext7 :memory: #use in-memory database SELECT AsEWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900)", "WGS-84")); 1 # rows (not including the header row) 1 # columns AsEWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900)", "WGS-84")) (NULL) |
| | |
1 2 3 4 5 6 7 |
geomfromtext7 :memory: #use in-memory database SELECT AsEWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900)', 'WGS-84')); 1 # rows (not including the header row) 1 # columns AsEWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900)', 'WGS-84')) (NULL) |
Changes to test/sql_stmt_tests/geomfromtext9.testcase.
1 2 3 4 5 6 7 |
geomfromtext9 :memory: #use in-memory database SELECT AsEWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900 45)", 4326)); 1 # rows (not including the header row) 1 # columns AsEWkt(GeomFromText("POINT(-71.1043443253471 42.315067601582900 45)", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
geomfromtext9 :memory: #use in-memory database SELECT AsEWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900 45)', 4326)); 1 # rows (not including the header row) 1 # columns AsEWkt(GeomFromText('POINT(-71.1043443253471 42.315067601582900 45)', 4326)) (NULL) |
Changes to test/sql_stmt_tests/geomtype1.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype1 - POINT :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("POINT(-71.1043443253471 42.315067601582900)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT XY |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype1 - POINT :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('POINT(-71.1043443253471 42.315067601582900)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT XY |
Changes to test/sql_stmt_tests/geomtype10.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - LINESTRING ZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("LINESTRINGZM(4 0 4 1, 4 4 4 2, 8 4 2 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING ZM XYZM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - LINESTRING ZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('LINESTRINGZM(4 0 4 1, 4 4 4 2, 8 4 2 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING ZM XYZM |
Changes to test/sql_stmt_tests/geomtype11.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION XY |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTION :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION XY |
Changes to test/sql_stmt_tests/geomtype12.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINT :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOINT (10 40, 40 30, 20 20, 30 10)") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT XY MULTIPOINT |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINT :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOINT (10 40, 40 30, 20 20, 30 10)') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT XY MULTIPOINT |
Changes to test/sql_stmt_tests/geomtype13.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGON :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON XY MULTIPOLYGON |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGON :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON XY MULTIPOLYGON |
Changes to test/sql_stmt_tests/geomtype14.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOLYGONZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTIPOLYGONZ(((30 20 1, 10 40 1, 45 40 1, 30 20 1)),((15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2)))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOLYGON Z XYZ |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOLYGONZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTIPOLYGONZ(((30 20 1, 10 40 1, 45 40 1, 30 20 1)),((15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2)))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOLYGON Z XYZ |
Changes to test/sql_stmt_tests/geomtype15.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOLYGONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTIPOLYGONM(((30 20 1, 10 40 1, 45 40 1, 30 20 1)),((15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2)))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOLYGON M XYM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOLYGONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTIPOLYGONM(((30 20 1, 10 40 1, 45 40 1, 30 20 1)),((15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2)))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOLYGON M XYM |
Changes to test/sql_stmt_tests/geomtype16.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOLYGONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTIPOLYGONZM(((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2)),((15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3)))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOLYGON ZM XYZM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOLYGONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTIPOLYGONZM(((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2)),((15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3)))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOLYGON ZM XYZM |
Changes to test/sql_stmt_tests/geomtype17.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTILINESTRING :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTILINESTRING ((30 20, 10 40, 45 40, 30 20),(15 5, 40 10, 10 20, 5 10, 15 5))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTILINESTRING XY |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTILINESTRING :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTILINESTRING ((30 20, 10 40, 45 40, 30 20),(15 5, 40 10, 10 20, 5 10, 15 5))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTILINESTRING XY |
Changes to test/sql_stmt_tests/geomtype18.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTILINESTRINGZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTILINESTRINGZ((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTILINESTRING Z XYZ |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTILINESTRINGZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTILINESTRINGZ((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTILINESTRING Z XYZ |
Changes to test/sql_stmt_tests/geomtype19.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTILINESTRINGZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTILINESTRINGZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2),(15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTILINESTRING ZM XYZM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTILINESTRINGZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTILINESTRINGZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2),(15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTILINESTRING ZM XYZM |
Changes to test/sql_stmt_tests/geomtype2.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype2 - POINTZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("POINTZ(-71.1043443253471 42.315067601582900 26.2)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT Z XYZ |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype2 - POINTZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('POINTZ(-71.1043443253471 42.315067601582900 26.2)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT Z XYZ |
Changes to test/sql_stmt_tests/geomtype20.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTILINESTRINGM((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING M XYM MULTILINESTRING |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTILINESTRINGM((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING M XYM MULTILINESTRING |
Changes to test/sql_stmt_tests/geomtype21.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - POLYGON :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("POLYGON ((30 20, 10 40, 45 40, 30 20),(15 5, 40 10, 10 20, 5 10, 15 5))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) POLYGON XY POLYGON |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - POLYGON :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('POLYGON ((30 20, 10 40, 45 40, 30 20),(15 5, 40 10, 10 20, 5 10, 15 5))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) POLYGON XY POLYGON |
Changes to test/sql_stmt_tests/geomtype22.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - POLYGONZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("POLYGONZ((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POLYGON Z XYZ |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - POLYGONZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('POLYGONZ((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POLYGON Z XYZ |
Changes to test/sql_stmt_tests/geomtype23.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - POLYGONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("POLYGONM((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) POLYGON M XYM POLYGON |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - POLYGONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('POLYGONM((30 20 1, 10 40 1, 45 40 1, 30 20 1),(15 5 2, 40 10 2, 10 20 2, 5 10 2, 15 5 2))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) POLYGON M XYM POLYGON |
Changes to test/sql_stmt_tests/geomtype24.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - POLYGONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("POLYGONZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2),(15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POLYGON ZM XYZM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - POLYGONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('POLYGONZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2),(15 5 2 3, 40 10 2 3, 10 20 2 3, 5 10 2 3, 15 5 2 3))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POLYGON ZM XYZM |
Changes to test/sql_stmt_tests/geomtype25.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOINTZM(-71 42 26.2 3)") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT ZM XYZM MULTIPOINT |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOINTZM(-71 42 26.2 3)') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT ZM XYZM MULTIPOINT |
Changes to test/sql_stmt_tests/geomtype26.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINTZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTIPOINTZ(-71 42 26.2)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT Z XYZ |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINTZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTIPOINTZ(-71 42 26.2)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT Z XYZ |
Changes to test/sql_stmt_tests/geomtype27.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINTM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTIPOINTM(-71 42 26.2)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT M XYM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINTM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTIPOINTM(-71 42 26.2)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT M XYM |
Changes to test/sql_stmt_tests/geomtype28.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINT :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTIPOINT(-71 42, 4 22)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT XY |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINT :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTIPOINT(-71 42, 4 22)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT XY |
Changes to test/sql_stmt_tests/geomtype29.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTIONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(4 6 4 1), POINTZM(3 3 29 1), LINESTRINGZM(4 6 0 0,7 10 0 0))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION ZM XYZM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTIONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(4 6 4 1), POINTZM(3 3 29 1), LINESTRINGZM(4 6 0 0,7 10 0 0))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION ZM XYZM |
Changes to test/sql_stmt_tests/geomtype3.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype3 - POINTZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("POINTZM(-71.1043443253471 42.315067601582900 26.2 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT ZM XYZM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype3 - POINTZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('POINTZM(-71.1043443253471 42.315067601582900 26.2 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT ZM XYZM |
Changes to test/sql_stmt_tests/geomtype30.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(4 6 4), POINTZ(3 3 29), LINESTRINGZ(4 6 0,7 10 0))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(4 6 4), POINTZ(3 3 29), LINESTRINGZ(4 6 0,7 10 0))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype31.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(POINTM(4 6 4), POINTM(3 3 29), LINESTRINGM(4 6 0,7 0 0))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(POINTM(4 6 4), POINTM(3 3 29), LINESTRINGM(4 6 0,7 0 0))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype32.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTIONM only linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(4 6 0,7 10 0))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION M XYM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTIONM only linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(4 6 0,7 10 0))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION M XYM |
Changes to test/sql_stmt_tests/geomtype33.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ only linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(4 6 0, 10 0 0))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ only linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(4 6 0, 10 0 0))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype34.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTIONZM only Linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(4 6 0 0,7 10 0 0))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION ZM XYZM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTIONZM only Linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(4 6 0 0,7 10 0 0))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION ZM XYZM |
Changes to test/sql_stmt_tests/geomtype35.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTION only linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 6, 10 0))") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION XY |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - GEOMETRYCOLLECTION only linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 6, 10 0))') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) GEOMETRYCOLLECTION XY |
Changes to test/sql_stmt_tests/geomtype36.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(4 6 0, 10 0 0), LINESTRINGZ(2 3 0, 5 1 0))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(4 6 0, 10 0 0), LINESTRINGZ(2 3 0, 5 1 0))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype37.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(4 6 0, 10 0 0), LINESTRINGM(2 3 0, 5 1 0))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(4 6 0, 10 0 0), LINESTRINGM(2 3 0, 5 1 0))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype38.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(POINTM(4 6 4), POINTM(3 3 29))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(POINTM(4 6 4), POINTM(3 3 29))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype39.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(POINTM(3 3 29))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(POINTM(3 3 29))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype4.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype4 - POINTM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("POINTM(-71.1043443253471 42.315067601582900 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT M XYM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype4 - POINTM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('POINTM(-71.1043443253471 42.315067601582900 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) POINT M XYM |
Changes to test/sql_stmt_tests/geomtype40.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((4 6 0,7 10 0, 12 3 1, 4 6 0)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((4 6 0,7 10 0, 12 3 1, 4 6 0)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype41.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((4 6 0,7 10 0, 12 3 1, 4 6 0)),POLYGONZ((4 6 1,7 10 1, 12 3 2, 4 6 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((4 6 0,7 10 0, 12 3 1, 4 6 0)),POLYGONZ((4 6 1,7 10 1, 12 3 2, 4 6 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype42.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGM - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTILINESTRINGM((30 20 1, 10 40 1, 45 40 1, 30 20 1))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING M XYM MULTILINESTRING |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGM - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTILINESTRINGM((30 20 1, 10 40 1, 45 40 1, 30 20 1))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING M XYM MULTILINESTRING |
Changes to test/sql_stmt_tests/geomtype43.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGONZM - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOLYGONZM(((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON ZM XYZM MULTIPOLYGON |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGONZM - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOLYGONZM(((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON ZM XYZM MULTIPOLYGON |
Changes to test/sql_stmt_tests/geomtype44.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - linestring and polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(4 6 0,7 10 0, 12 3 1),POLYGONZ((4 6 1,7 10 1, 12 3 2, 4 6 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - linestring and polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(4 6 0,7 10 0, 12 3 1),POLYGONZ((4 6 1,7 10 1, 12 3 2, 4 6 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype45.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - point and polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(4 6 0),POLYGONZ((4 6 1,7 10 1, 12 3 2, 4 6 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - point and polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(4 6 0),POLYGONZ((4 6 1,7 10 1, 12 3 2, 4 6 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype46.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - point and polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(POINTM(4 6 0),POLYGONM((4 6 1,7 10 1, 12 3 2, 4 6 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - point and polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(POINTM(4 6 0),POLYGONM((4 6 1,7 10 1, 12 3 2, 4 6 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype47.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGONZ - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOLYGONZ(((30 20 1, 10 40 1, 45 40 1, 30 20 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON Z XYZ MULTIPOLYGON |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGONZ - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOLYGONZ(((30 20 1, 10 40 1, 45 40 1, 30 20 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON Z XYZ MULTIPOLYGON |
Changes to test/sql_stmt_tests/geomtype48.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGONM - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOLYGONM(((30 20 1, 10 40 1, 45 40 1, 30 20 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON M XYM MULTIPOLYGON |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOLYGONM - one polygon :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOLYGONM(((30 20 1, 10 40 1, 45 40 1, 30 20 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOLYGON M XYM MULTIPOLYGON |
Changes to test/sql_stmt_tests/geomtype49.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - one POLYGONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((30 20 1, 10 40 1, 45 40 1, 30 20 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - one POLYGONM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((30 20 1, 10 40 1, 45 40 1, 30 20 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype50.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - one POLYGONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - one POLYGONZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype51.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - one POLYGON :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTION(POLYGON((30 20, 10 40, 45 40, 30 20)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - one POLYGON :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTION(POLYGON((30 20, 10 40, 45 40, 30 20)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype52.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(4 6 0 1,7 10 0 1, 12 3 1 1),LINESTRINGZM(1 2 3 4,5 4 3 4, 12 3 2 1))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(4 6 0 1,7 10 0 1, 12 3 1 1),LINESTRINGZM(1 2 3 4,5 4 3 4, 12 3 2 1))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype53.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTION(LINESTRING(4 6,7 10, 12 3),LINESTRING(1 2, 3 4))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - two linestring :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTION(LINESTRING(4 6,7 10, 12 3),LINESTRING(1 2, 3 4))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype54.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((4 6 0,7 10 0, 12 3 1, 4 6 0)),POLYGONM((4 6 1,7 10 1, 12 3 2, 4 6 1)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONM - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((4 6 0,7 10 0, 12 3 1, 4 6 0)),POLYGONM((4 6 1,7 10 1, 12 3 2, 4 6 1)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION M XYM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype55.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION ZM - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((4 6 0 1,7 10 0 1, 12 3 1 1, 4 6 0 1)),POLYGONZM((4 6 1 2,7 10 1 2, 12 3 2 2, 4 6 1 2)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION ZM - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((4 6 0 1,7 10 0 1, 12 3 1 1, 4 6 0 1)),POLYGONZM((4 6 1 2,7 10 1 2, 12 3 2 2, 4 6 1 2)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype56.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTION(POLYGON((4 6,7 10, 12 3, 4 6)),POLYGON((4 6,7 10, 12 3, 4 6)))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - two polygons :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTION(POLYGON((4 6,7 10, 12 3, 4 6)),POLYGON((4 6,7 10, 12 3, 4 6)))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype57.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(4 6 4), POINTZ(3 3 29))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(4 6 4), POINTZ(3 3 29))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype58.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(4 6 4 1), POINTZM(3 3 29 2))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(4 6 4 1), POINTZM(3 3 29 2))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype59.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINT - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("MULTIPOINT(-71 42)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT XY |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - MULTIPOINT - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('MULTIPOINT(-71 42)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) MULTIPOINT XY |
Changes to test/sql_stmt_tests/geomtype6.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype6 - LINESTRING :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("LINESTRING(4 0, 4 4, 8 4)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING XY |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype6 - LINESTRING :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('LINESTRING(4 0, 4 4, 8 4)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING XY |
Changes to test/sql_stmt_tests/geomtype60.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(3 3 29))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZ - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(3 3 29))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION Z XYZ GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype61.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(3 3 29 2))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTIONZM - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(3 3 29 2))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION ZM XYZM GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype62.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTION(POINT(3 2))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - one point :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTION(POINT(3 2))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype63.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("GEOMETRYCOLLECTION(POINT(3 2), POINT(1 4))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - GEOMETRYCOLLECTION - two points :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('GEOMETRYCOLLECTION(POINT(3 2), POINT(1 4))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) GEOMETRYCOLLECTION XY GEOMETRYCOLLECTION |
Changes to test/sql_stmt_tests/geomtype64.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOINTZ (10 40 10, 40 30 15, 20 20 20, 30 10 9)") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT Z XYZ MULTIPOINT |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOINTZ (10 40 10, 40 30 15, 20 20 20, 30 10 9)') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT Z XYZ MULTIPOINT |
Changes to test/sql_stmt_tests/geomtype65.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOINTM (10 40 10, 40 30 15, 20 20 20, 30 10 9)") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT M XYM MULTIPOINT |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOINTM (10 40 10, 40 30 15, 20 20 20, 30 10 9)') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT M XYM MULTIPOINT |
Changes to test/sql_stmt_tests/geomtype66.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTIPOINTZM (10 40 10 1, 40 30 15 2, 20 20 20 2, 30 10 9 1)") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT ZM XYZM MULTIPOINT |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTIPOINTZM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTIPOINTZM (10 40 10 1, 40 30 15 2, 20 20 20 2, 30 10 9 1)') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTIPOINT ZM XYZM MULTIPOINT |
Changes to test/sql_stmt_tests/geomtype67.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGZ - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTILINESTRINGZ((30 20 1, 10 40 1, 45 40 1, 30 20 1))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING Z XYZ MULTILINESTRING |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGZ - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTILINESTRINGZ((30 20 1, 10 40 1, 45 40 1, 30 20 1))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING Z XYZ MULTILINESTRING |
Changes to test/sql_stmt_tests/geomtype68.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGZM - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTILINESTRINGZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING ZM XYZM MULTILINESTRING |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRINGZM - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTILINESTRINGZM((30 20 1 2, 10 40 1 2, 45 40 1 2, 30 20 1 2))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING ZM XYZM MULTILINESTRING |
Changes to test/sql_stmt_tests/geomtype69.testcase.
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRING - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText("MULTILINESTRING((30 20, 10 40, 45 40, 30 20))") as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING XY MULTILINESTRING |
| |
1 2 3 4 5 6 7 8 9 10 11 |
geometrytype - MULTILINESTRING - one line :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom), GeometryAliasType(geom) from (SELECT GeomFromText('MULTILINESTRING((30 20, 10 40, 45 40, 30 20))') as geom) dummy; 1 # rows (not including the header row) 3 # columns GeometryType(geom) CoordDimension(geom) GeometryAliasType(geom) MULTILINESTRING XY MULTILINESTRING |
Changes to test/sql_stmt_tests/geomtype8.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - LINESTRINGZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("LINESTRINGZ(4 0 1, 4 4 2, 8 4 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING Z XYZ |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - LINESTRINGZ :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('LINESTRINGZ(4 0 1, 4 4 2, 8 4 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING Z XYZ |
Changes to test/sql_stmt_tests/geomtype9.testcase.
1 2 3 4 5 6 7 8 9 |
geometrytype - LINESTRINGM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText("LINESTRINGM(4 0 1, 4 4 2, 8 4 3)") as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING M XYM |
| |
1 2 3 4 5 6 7 8 9 |
geometrytype - LINESTRINGM :memory: #use in-memory database SELECT GeometryType(geom), CoordDimension(geom) from (SELECT GeomFromText('LINESTRINGM(4 0 1, 4 4 2, 8 4 3)') as geom) dummy; 1 # rows (not including the header row) 2 # columns GeometryType(geom) CoordDimension(geom) LINESTRING M XYM |
Changes to test/sql_stmt_tests/gml1.testcase.
1 2 3 4 5 6 7 8 |
GML MultiPoint Z: excessive precision :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTIPOINTZ(1 2 100, 3 4 100)", 4326), 44); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTIPOINTZ(1 2 100, 3 4 100)", 4326), 44) <gml:MultiPoint srsName="EPSG:4326"><gml:pointMember><gml:Point><gml:pos srsDimension="3">1 2 100</gml:pos></gml:Point></gml:pointMember><gml:pointMember><gml:Point><gml:pos srsDimension="3">3 4 100</gml:pos></gml:Point></gml:pointMember></gml:MultiPoint>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiPoint Z: excessive precision :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTIPOINTZ(1 2 100, 3 4 100)', 4326), 44); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTIPOINTZ(1 2 100, 3 4 100)', 4326), 44) <gml:MultiPoint srsName="EPSG:4326"><gml:pointMember><gml:Point><gml:pos srsDimension="3">1 2 100</gml:pos></gml:Point></gml:pointMember><gml:pointMember><gml:Point><gml:pos srsDimension="3">3 4 100</gml:pos></gml:Point></gml:pointMember></gml:MultiPoint>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml10.testcase.
1 2 3 4 5 6 7 8 |
GML Polygon Z: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (15 15 80, 16 15 90, 16 16 95, 15 16 90, 15 15 80))")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (15 15 80, 16 15 90, 16 16 95, 15 16 90, 15 15 80))")) <gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">10 10 100 20 10 101 20 20 102 10 20 103 10 10 100</gml:posList></gml:LinearRing></gml:exterior><gml:interior><gml:LinearRing><gml:posList srsDimension="3">15 15 80 16 15 90 16 16 95 15 16 90 15 15 80</gml:posList></gml:LinearRing></gml:interior></gml:Polygon>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML Polygon Z: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (15 15 80, 16 15 90, 16 16 95, 15 16 90, 15 15 80))')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (15 15 80, 16 15 90, 16 16 95, 15 16 90, 15 15 80))')) <gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">10 10 100 20 10 101 20 20 102 10 20 103 10 10 100</gml:posList></gml:LinearRing></gml:exterior><gml:interior><gml:LinearRing><gml:posList srsDimension="3">15 15 80 16 15 90 16 16 95 15 16 90 15 15 80</gml:posList></gml:LinearRing></gml:interior></gml:Polygon>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml11.testcase.
1 2 3 4 5 6 7 8 |
GML Polygon: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (15 15, 16 15, 16 16, 15 16, 15 15))")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (15 15, 16 15, 16 16, 15 16, 15 15))")) <gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">10 10 20 10 20 20 10 20 10 10</gml:posList></gml:LinearRing></gml:exterior><gml:interior><gml:LinearRing><gml:posList srsDimension="2">15 15 16 15 16 16 15 16 15 15</gml:posList></gml:LinearRing></gml:interior></gml:Polygon>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML Polygon: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (15 15, 16 15, 16 16, 15 16, 15 15))')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (15 15, 16 15, 16 16, 15 16, 15 15))')) <gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">10 10 20 10 20 20 10 20 10 10</gml:posList></gml:LinearRing></gml:exterior><gml:interior><gml:LinearRing><gml:posList srsDimension="2">15 15 16 15 16 16 15 16 15 15</gml:posList></gml:LinearRing></gml:interior></gml:Polygon>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml12.testcase.
1 2 3 4 5 6 7 8 |
GML MultiPolygon Z: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))")) <gml:MultiSurface><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">10 10 100 20 10 101 20 20 102 10 20 103 10 10 100</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">85 85 80 90 85 90 90 90 95 85 90 90 85 85 80</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiPolygon Z: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))')) <gml:MultiSurface><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">10 10 100 20 10 101 20 20 102 10 20 103 10 10 100</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">85 85 80 90 85 90 90 90 95 85 90 90 85 85 80</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml13.testcase.
1 2 3 4 5 6 7 8 |
GML MultiPolygon Z :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))", 4326)); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))", 4326)) <gml:MultiSurface srsName="EPSG:4326"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">10 10 100 20 10 101 20 20 102 10 20 103 10 10 100</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">85 85 80 90 85 90 90 90 95 85 90 90 85 85 80</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiPolygon Z :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))', 4326)); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTIPOLYGONZ(((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100)), ((85 85 80, 90 85 90, 90 90 95, 85 90 90, 85 85 80)))', 4326)) <gml:MultiSurface srsName="EPSG:4326"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">10 10 100 20 10 101 20 20 102 10 20 103 10 10 100</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="3">85 85 80 90 85 90 90 90 95 85 90 90 85 85 80</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml14.testcase.
1 2 3 4 5 6 7 8 |
GML MultiPolygon: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))")) <gml:MultiSurface><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">10 10 20 10 20 20 10 20 10 10</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">85 85 90 85 90 90 85 90 85 85</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiPolygon: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))')) <gml:MultiSurface><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">10 10 20 10 20 20 10 20 10 10</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">85 85 90 85 90 90 85 90 85 85</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml15.testcase.
1 2 3 4 5 6 7 8 |
GMLv2 MultiPolygon: no SRID :memory: #use in-memory database SELECT AsGML(GeomFromText("MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))")); 1 # rows (not including the header row) 1 # columns AsGML(GeomFromText("MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))")) <gml:MultiPolygon><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>10,10 20,10 20,20 10,20 10,10</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>85,85 90,85 90,90 85,90 85,85</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GMLv2 MultiPolygon: no SRID :memory: #use in-memory database SELECT AsGML(GeomFromText('MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))')); 1 # rows (not including the header row) 1 # columns AsGML(GeomFromText('MULTIPOLYGON(((10 10, 20 10, 20 20, 10 20, 10 10)), ((85 85, 90 85, 90 90, 85 90, 85 85)))')) <gml:MultiPolygon><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>10,10 20,10 20,20 10,20 10,10</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>85,85 90,85 90,90 85,90 85,85</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml16.testcase.
1 2 3 4 5 6 7 8 |
GML GeometryCollection (Point, Polygon): no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("GEOMETRYCOLLECTION(POINT(4 8), POLYGON((10 10, 20 10, 20 20, 10 20, 10 10)))")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("GEOMETRYCOLLECTION(POINT(4 8), POLYGON((10 10, 20 10, 20 20, 10 20, 10 10)))")) <gml:MultiGeometry><gml:geometryMember><gml:Point><gml:pos srsDimension="2">4 8</gml:pos></gml:Point></gml:geometryMember><gml:geometryMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">10 10 20 10 20 20 10 20 10 10</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:geometryMember></gml:MultiGeometry>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML GeometryCollection (Point, Polygon): no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('GEOMETRYCOLLECTION(POINT(4 8), POLYGON((10 10, 20 10, 20 20, 10 20, 10 10)))')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('GEOMETRYCOLLECTION(POINT(4 8), POLYGON((10 10, 20 10, 20 20, 10 20, 10 10)))')) <gml:MultiGeometry><gml:geometryMember><gml:Point><gml:pos srsDimension="2">4 8</gml:pos></gml:Point></gml:geometryMember><gml:geometryMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList srsDimension="2">10 10 20 10 20 20 10 20 10 10</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:geometryMember></gml:MultiGeometry>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml2.testcase.
1 2 3 4 5 6 7 8 |
GML MultiPoint Z: no Srid :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTIPOINTZ(1 2 100, 3 4 101)")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTIPOINTZ(1 2 100, 3 4 101)")) <gml:MultiPoint><gml:pointMember><gml:Point><gml:pos srsDimension="3">1 2 100</gml:pos></gml:Point></gml:pointMember><gml:pointMember><gml:Point><gml:pos srsDimension="3">3 4 101</gml:pos></gml:Point></gml:pointMember></gml:MultiPoint>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiPoint Z: no Srid :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTIPOINTZ(1 2 100, 3 4 101)')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTIPOINTZ(1 2 100, 3 4 101)')) <gml:MultiPoint><gml:pointMember><gml:Point><gml:pos srsDimension="3">1 2 100</gml:pos></gml:Point></gml:pointMember><gml:pointMember><gml:Point><gml:pos srsDimension="3">3 4 101</gml:pos></gml:Point></gml:pointMember></gml:MultiPoint>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml3.testcase.
1 2 3 4 5 6 7 8 |
GML MultiPoint: excessive precision :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTIPOINT(1 2, 3 4)", 4326), 44); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTIPOINT(1 2, 3 4)", 4326), 44) <gml:MultiPoint srsName="EPSG:4326"><gml:pointMember><gml:Point><gml:pos srsDimension="2">1 2</gml:pos></gml:Point></gml:pointMember><gml:pointMember><gml:Point><gml:pos srsDimension="2">3 4</gml:pos></gml:Point></gml:pointMember></gml:MultiPoint>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiPoint: excessive precision :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTIPOINT(1 2, 3 4)', 4326), 44); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTIPOINT(1 2, 3 4)', 4326), 44) <gml:MultiPoint srsName="EPSG:4326"><gml:pointMember><gml:Point><gml:pos srsDimension="2">1 2</gml:pos></gml:Point></gml:pointMember><gml:pointMember><gml:Point><gml:pos srsDimension="2">3 4</gml:pos></gml:Point></gml:pointMember></gml:MultiPoint>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml4.testcase.
1 2 3 4 5 6 7 8 |
GML Linestring Z: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("LINESTRINGZ(1 2 100, 3 4 101)")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("LINESTRINGZ(1 2 100, 3 4 101)")) <gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">1 2 100 3 4 101</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML Linestring Z: no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('LINESTRINGZ(1 2 100, 3 4 101)')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('LINESTRINGZ(1 2 100, 3 4 101)')) <gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">1 2 100 3 4 101</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml5.testcase.
1 2 3 4 5 6 7 8 |
GMLv2 Linestring Z: no SRID :memory: #use in-memory database SELECT AsGML(GeomFromText("LINESTRINGZ(1 2 100, 3 4 101)")); 1 # rows (not including the header row) 1 # columns AsGML(GeomFromText("LINESTRINGZ(1 2 100, 3 4 101)")) <gml:LineString><gml:coordinates>1,2,100 3,4,101</gml:coordinates></gml:LineString>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GMLv2 Linestring Z: no SRID :memory: #use in-memory database SELECT AsGML(GeomFromText('LINESTRINGZ(1 2 100, 3 4 101)')); 1 # rows (not including the header row) 1 # columns AsGML(GeomFromText('LINESTRINGZ(1 2 100, 3 4 101)')) <gml:LineString><gml:coordinates>1,2,100 3,4,101</gml:coordinates></gml:LineString>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml6.testcase.
1 2 3 4 5 6 7 8 |
GML MultiLinestring Z :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))", 4326)); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))", 4326)) <gml:MultiCurve srsName="EPSG:4326"><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">1 2 100 3 4 101</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">5 5 88 6 6 99</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember></gml:MultiCurve>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiLinestring Z :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))', 4326)); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))', 4326)) <gml:MultiCurve srsName="EPSG:4326"><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">1 2 100 3 4 101</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">5 5 88 6 6 99</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember></gml:MultiCurve>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml7.testcase.
1 2 3 4 5 6 7 8 |
GMLv2 MultiLinestring Z - no SRID :memory: #use in-memory database SELECT AsGML(GeomFromText("MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))")); 1 # rows (not including the header row) 1 # columns AsGML(GeomFromText("MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))")) <gml:MultiLineString><gml:lineStringMember><gml:LineString><gml:coordinates>1,2,100 3,4,101</gml:coordinates></gml:LineString></gml:lineStringMember><gml:lineStringMember><gml:LineString><gml:coordinates>5,5,88 6,6,99</gml:coordinates></gml:LineString></gml:lineStringMember></gml:MultiLineString>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GMLv2 MultiLinestring Z - no SRID :memory: #use in-memory database SELECT AsGML(GeomFromText('MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))')); 1 # rows (not including the header row) 1 # columns AsGML(GeomFromText('MULTILINESTRINGZ((1 2 100, 3 4 101), (5 5 88, 6 6 99))')) <gml:MultiLineString><gml:lineStringMember><gml:LineString><gml:coordinates>1,2,100 3,4,101</gml:coordinates></gml:LineString></gml:lineStringMember><gml:lineStringMember><gml:LineString><gml:coordinates>5,5,88 6,6,99</gml:coordinates></gml:LineString></gml:lineStringMember></gml:MultiLineString>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml8.testcase.
1 2 3 4 5 6 7 8 |
GML MultiLinestring - no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("MULTILINESTRING((1 2, 3 4), (5 5, 6 6))")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("MULTILINESTRING((1 2, 3 4), (5 5, 6 6))")) <gml:MultiCurve><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="2">1 2 3 4</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="2">5 5 6 6</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember></gml:MultiCurve>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML MultiLinestring - no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('MULTILINESTRING((1 2, 3 4), (5 5, 6 6))')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('MULTILINESTRING((1 2, 3 4), (5 5, 6 6))')) <gml:MultiCurve><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="2">1 2 3 4</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="2">5 5 6 6</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:curveMember></gml:MultiCurve>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/gml9.testcase.
1 2 3 4 5 6 7 8 |
GML GeometryCollection Z (Point, Linestring) - no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(3 8 100), LINESTRINGZ(1 2 100, 3 4 101))")); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(3 8 100), LINESTRINGZ(1 2 100, 3 4 101))")) <gml:MultiGeometry><gml:geometryMember><gml:Point><gml:pos srsDimension="3">3 8 100</gml:pos></gml:Point></gml:geometryMember><gml:geometryMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">1 2 100 3 4 101</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:geometryMember></gml:MultiGeometry>:0 # trailing ":0" required to avoid truncation !!! |
| | |
1 2 3 4 5 6 7 8 |
GML GeometryCollection Z (Point, Linestring) - no SRID :memory: #use in-memory database SELECT AsGML(3, GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(3 8 100), LINESTRINGZ(1 2 100, 3 4 101))')); 1 # rows (not including the header row) 1 # columns AsGML(3, GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(3 8 100), LINESTRINGZ(1 2 100, 3 4 101))')) <gml:MultiGeometry><gml:geometryMember><gml:Point><gml:pos srsDimension="3">3 8 100</gml:pos></gml:Point></gml:geometryMember><gml:geometryMember><gml:Curve><gml:segments><gml:LineStringSegment><gml:posList srsDimension="3">1 2 100 3 4 101</gml:posList></gml:LineStringSegment></gml:segments></gml:Curve></gml:geometryMember></gml:MultiGeometry>:0 # trailing ":0" required to avoid truncation !!! |
Changes to test/sql_stmt_tests/greatcircle-poly.testcase.
1 2 3 4 5 6 7 |
great circle length polygon :memory: SELECT GreatCircleLength(GeomFromText("POLYGON((0 0, 1 0, 0 0, 0 0))", 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText("POLYGON((0 0, 1 0, 0 0, 0 0))", 4326)) 222390.15:9 |
| | |
1 2 3 4 5 6 7 |
great circle length polygon :memory: SELECT GreatCircleLength(GeomFromText('POLYGON((0 0, 1 0, 0 0, 0 0))', 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText('POLYGON((0 0, 1 0, 0 0, 0 0))', 4326)) 222390.15:9 |
Changes to test/sql_stmt_tests/greatcircle-poly2.testcase.
1 2 3 4 5 6 7 |
great circle length polygon :memory: SELECT GreatCircleLength(GeomFromText("POLYGON((0 0, 1 0, 0 0, 0 0),(0 0, 0 0, 0 0, 0 0))", 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText("POLYGON((0 0, 1 0, 0 0, 0 0),(0 0, 0 0, 0 0, 0 0))", 4326)) 222390.15:9 |
| | |
1 2 3 4 5 6 7 |
great circle length polygon :memory: SELECT GreatCircleLength(GeomFromText('POLYGON((0 0, 1 0, 0 0, 0 0),(0 0, 0 0, 0 0, 0 0))', 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText('POLYGON((0 0, 1 0, 0 0, 0 0),(0 0, 0 0, 0 0, 0 0))', 4326)) 222390.15:9 |
Changes to test/sql_stmt_tests/greatcircle-poly3.testcase.
1 2 3 4 5 6 7 |
great circle length polygonZ :memory: SELECT GreatCircleLength(GeomFromText("POLYGONZ((0 0 2, 1 0 3, 0 0 2, 0 0 2))", 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText("POLYGONZ((0 0 2, 1 0 3, 0 0 2, 0 0 2))", 4326)) 222390.15:9 |
| | |
1 2 3 4 5 6 7 |
great circle length polygonZ :memory: SELECT GreatCircleLength(GeomFromText('POLYGONZ((0 0 2, 1 0 3, 0 0 2, 0 0 2))', 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText('POLYGONZ((0 0 2, 1 0 3, 0 0 2, 0 0 2))', 4326)) 222390.15:9 |
Changes to test/sql_stmt_tests/greatcircle-poly4.testcase.
1 2 3 4 5 6 7 |
great circle length polygonM :memory: SELECT GreatCircleLength(GeomFromText("POLYGONM((0 0 2, 1 0 3, 0 0 2, 0 0 2))", 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText("POLYGONM((0 0 2, 1 0 3, 0 0 2, 0 0 2))", 4326)) 222390.15:9 |
| | |
1 2 3 4 5 6 7 |
great circle length polygonM :memory: SELECT GreatCircleLength(GeomFromText('POLYGONM((0 0 2, 1 0 3, 0 0 2, 0 0 2))', 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText('POLYGONM((0 0 2, 1 0 3, 0 0 2, 0 0 2))', 4326)) 222390.15:9 |
Changes to test/sql_stmt_tests/greatcircle-poly5.testcase.
1 2 3 4 5 6 7 |
great circle length polygonZM :memory: SELECT GreatCircleLength(GeomFromText("POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))", 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText("POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))", 4326)) 222390.15:9 |
| | |
1 2 3 4 5 6 7 |
great circle length polygonZM :memory: SELECT GreatCircleLength(GeomFromText('POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))', 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText('POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))', 4326)) 222390.15:9 |
Changes to test/sql_stmt_tests/greatcircle-poly6.testcase.
1 2 3 4 5 6 7 |
great circle length linestringzm :memory: SELECT GreatCircleLength(GeomFromText("LINESTRINGZM(0 0 2 3, 0 1 3 4, 0 0 2 3)", 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText("LINESTRINGZM(0 0 2 3, 0 1 3 4, 0 0 2 3)", 4326)) 222390.15:9 |
| | |
1 2 3 4 5 6 7 |
great circle length linestringzm :memory: SELECT GreatCircleLength(GeomFromText('LINESTRINGZM(0 0 2 3, 0 1 3 4, 0 0 2 3)', 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText('LINESTRINGZM(0 0 2 3, 0 1 3 4, 0 0 2 3)', 4326)) 222390.15:9 |
Changes to test/sql_stmt_tests/greatcircle-poly7.testcase.
1 2 3 4 5 6 7 |
great circle length polygonZM, invalid srid :memory: SELECT GreatCircleLength(GeomFromText("POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))", 12345)); 1 # rows 1 # column GreatCircleLength(GeomFromText("POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))", 12345)) (NULL) |
| | |
1 2 3 4 5 6 7 |
great circle length polygonZM, invalid srid :memory: SELECT GreatCircleLength(GeomFromText('POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))', 12345)); 1 # rows 1 # column GreatCircleLength(GeomFromText('POLYGONZM((0 0 2 3, 1 0 3 4, 0 0 2 3, 0 0 2 3))', 12345)) (NULL) |
Changes to test/sql_stmt_tests/greatcircle-text.testcase.
1 2 3 4 5 6 7 |
great circle length - text :memory: SELECT GreatCircleLength("Hello"); 1 # rows 1 # column GreatCircleLength("Hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
great circle length - text :memory: SELECT GreatCircleLength('Hello'); 1 # rows 1 # column GreatCircleLength('Hello') (NULL) |
Changes to test/sql_stmt_tests/greatcircle.testcase.
1 2 3 4 5 6 7 |
great circle length :memory: SELECT GreatCircleLength(GeomFromText("LINESTRING(0 0, 1 0)", 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText("LINESTRING(0 0, 1 0)", 4326)) 111195.07:9 |
| | |
1 2 3 4 5 6 7 |
great circle length :memory: SELECT GreatCircleLength(GeomFromText('LINESTRING(0 0, 1 0)', 4326)); 1 # rows 1 # column GreatCircleLength(GeomFromText('LINESTRING(0 0, 1 0)', 4326)) 111195.07:9 |
Changes to test/sql_stmt_tests/isempty.testcase.
1 2 3 4 5 6 7 |
isempty :memory: #use in-memory database SELECT IsEmpty(GeomFromText("Point(1 2)", 4326)) 1 # rows (not including the header row) 1 # columns IsEmpty(GeomFromText("Point(1 2)", 4326)) 0 |
| | |
1 2 3 4 5 6 7 |
isempty :memory: #use in-memory database SELECT IsEmpty(GeomFromText('Point(1 2)', 4326)) 1 # rows (not including the header row) 1 # columns IsEmpty(GeomFromText('Point(1 2)', 4326)) 0 |
Changes to test/sql_stmt_tests/isempty4.testcase.
1 2 3 4 5 6 7 |
isempty - text :memory: #use in-memory database SELECT IsEmpty("hello") 1 # rows (not including the header row) 1 # columns IsEmpty("hello") -1 |
| | |
1 2 3 4 5 6 7 |
isempty - text :memory: #use in-memory database SELECT IsEmpty('hello') 1 # rows (not including the header row) 1 # columns IsEmpty('hello') -1 |
Changes to test/sql_stmt_tests/lhr2.testcase.
1 2 3 4 5 6 7 |
forceLHR - invalid :memory: #use in-memory database SELECT ST_ForceLHR("alpha"); 1 # rows (not including the header row) 1 # columns ST_ForceLHR("alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
forceLHR - invalid :memory: #use in-memory database SELECT ST_ForceLHR('alpha'); 1 # rows (not including the header row) 1 # columns ST_ForceLHR('alpha') (NULL) |
Changes to test/sql_stmt_tests/lhr3.testcase.
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))"))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))"))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(3 4,5 6,7 8,9 9),POLYGON((10 10,13 13,15 10,10 10),(11 10.5,13 10.5,13 11.3,11 10.5)),POLYGON((20 20,24.1 20,22 18,20 20),(21 19.5,22 18.5,23.1 19.5,21 19.5))) |
| | |
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))'))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))'))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(3 4,5 6,7 8,9 9),POLYGON((10 10,13 13,15 10,10 10),(11 10.5,13 10.5,13 11.3,11 10.5)),POLYGON((20 20,24.1 20,22 18,20 20),(21 19.5,22 18.5,23.1 19.5,21 19.5))) |
Changes to test/sql_stmt_tests/lhr4.testcase.
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(3 4 101,5 6 102,7 8 103,9 9 19),POLYGON((10 10 101,13 13 103,15 10 102,10 10 101),(11 10.5 100,13 10.5 101,13 11.3 102,11 10.5 100)),POLYGON((20 20 100,24.1 20 101,22 18 102,20 20 100),(21 19.5 101,22 18.5 103,23.1 19.5 102,21 19.5 101))) |
| | |
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(3 4 101,5 6 102,7 8 103,9 9 19),POLYGON((10 10 101,13 13 103,15 10 102,10 10 101),(11 10.5 100,13 10.5 101,13 11.3 102,11 10.5 100)),POLYGON((20 20 100,24.1 20 101,22 18 102,20 20 100),(21 19.5 101,22 18.5 103,23.1 19.5 102,21 19.5 101))) |
Changes to test/sql_stmt_tests/lhr5.testcase.
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(3 4 10,5 6 11,7 8 13,9 9 13),POLYGONM((10 10 11,13 13 13,15 10 13,10 10 11),(11 10.5 10,13 10.5 11,13 11.3 13,11 10.5 10)),POLYGONM((20 20 10,24.1 20 11,22 18 13,20 20 10),(21 19.5 11,22 18.5 13,23.1 19.5 13,21 19.5 11))) |
| | |
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(3 4 10,5 6 11,7 8 13,9 9 13),POLYGONM((10 10 11,13 13 13,15 10 13,10 10 11),(11 10.5 10,13 10.5 11,13 11.3 13,11 10.5 10)),POLYGONM((20 20 10,24.1 20 11,22 18 13,20 20 10),(21 19.5 11,22 18.5 13,23.1 19.5 13,21 19.5 11))) |
Changes to test/sql_stmt_tests/lhr6.testcase.
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON((10 10 101 11,13 13 103 13,15 10 102 13,10 10 101 11),(11 10.5 100 10,13 10.5 101 11,13 11.3 102 13,11 10.5 100 10)),POLYGON((20 20 100 10,24.1 20 101 11,22 18 102 13,20 20 100 10),(21 19.5 101 11,22 18.5 103 13,23.1 19.5 102 13,21 19.5 101 11))) |
| | |
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForceLHR(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON((10 10 101 11,13 13 103 13,15 10 102 13,10 10 101 11),(11 10.5 100 10,13 10.5 101 11,13 11.3 102 13,11 10.5 100 10)),POLYGON((20 20 100 10,24.1 20 101 11,22 18 102 13,20 20 100 10),(21 19.5 101 11,22 18.5 103 13,23.1 19.5 102 13,21 19.5 101 11))) |
Changes to test/sql_stmt_tests/linefromtext1.testcase.
1 2 3 4 5 6 7 |
linefromtext1 :memory: #use in-memory database SELECT AsWkt(LineFromText("LINESTRING(-71.1043443253471 42.315067601582900, -71 42)"), 4); 1 # rows (not including the header row) 1 # columns AsWkt(LineFromText("LINESTRING(-71.1043443253471 42.315067601582900, -71 42)"), 4) LINESTRING(-71.1043 42.3151,-71 42) |
| | |
1 2 3 4 5 6 7 |
linefromtext1 :memory: #use in-memory database SELECT AsWkt(LineFromText('LINESTRING(-71.1043443253471 42.315067601582900, -71 42)'), 4); 1 # rows (not including the header row) 1 # columns AsWkt(LineFromText('LINESTRING(-71.1043443253471 42.315067601582900, -71 42)'), 4) LINESTRING(-71.1043 42.3151,-71 42) |
Changes to test/sql_stmt_tests/linefromtext2.testcase.
1 2 3 4 5 6 7 |
linefromtext2 :memory: #use in-memory database SELECT AsWkt(LineFromText("LINESTRING(-71.1043443253471 42.315067601582900, -71 42)", 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(LineFromText("LINESTRING(-71.1043443253471 42.315067601582900, -71 42)", 4326), 4) LINESTRING(-71.1043 42.3151,-71 42) |
| | |
1 2 3 4 5 6 7 |
linefromtext2 :memory: #use in-memory database SELECT AsWkt(LineFromText('LINESTRING(-71.1043443253471 42.315067601582900, -71 42)', 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(LineFromText('LINESTRING(-71.1043443253471 42.315067601582900, -71 42)', 4326), 4) LINESTRING(-71.1043 42.3151,-71 42) |
Changes to test/sql_stmt_tests/linesfromrings1.testcase.
1 2 3 4 5 6 7 8 |
LinesFromRings - Simple polygon, no multi :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"), 0)); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"), 0)) LINESTRING(0 0, 1 1, 0 2, -1 1, 0 0) |
| | |
1 2 3 4 5 6 7 8 |
LinesFromRings - Simple polygon, no multi :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'), 0)); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'), 0)) LINESTRING(0 0, 1 1, 0 2, -1 1, 0 0) |
Changes to test/sql_stmt_tests/linesfromrings2.testcase.
1 2 3 4 5 6 7 8 9 |
LinesFromRings - Simple polygon, default :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"))); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"))) LINESTRING(0 0, 1 1, 0 2, -1 1, 0 0) |
| | |
1 2 3 4 5 6 7 8 9 |
LinesFromRings - Simple polygon, default :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'))); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'))) LINESTRING(0 0, 1 1, 0 2, -1 1, 0 0) |
Changes to test/sql_stmt_tests/linesfromrings3.testcase.
1 2 3 4 5 6 7 8 9 |
LinesFromRings - Simple polygon, explicit multi :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"), 1)); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"), 1)) MULTILINESTRING((0 0, 1 1, 0 2, -1 1, 0 0)) |
| | |
1 2 3 4 5 6 7 8 9 |
LinesFromRings - Simple polygon, explicit multi :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'), 1)); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'), 1)) MULTILINESTRING((0 0, 1 1, 0 2, -1 1, 0 0)) |
Changes to test/sql_stmt_tests/linesfromrings5.testcase.
1 2 3 4 5 6 7 8 9 |
LinesFromRings - text input :memory: #use in-memory database SELECT LinesFromRings("hello", 1); 1 # rows (not including the header row) 1 # columns LinesFromRings("hello", 1) (NULL) |
| | |
1 2 3 4 5 6 7 8 9 |
LinesFromRings - text input :memory: #use in-memory database SELECT LinesFromRings('hello', 1); 1 # rows (not including the header row) 1 # columns LinesFromRings('hello', 1) (NULL) |
Changes to test/sql_stmt_tests/linesfromrings6.testcase.
1 2 3 4 5 6 7 8 |
LinesFromRings - Simple polygon, non-int select :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"), "hello")); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText("POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))"), "hello")) LINESTRING(0 0, 1 1, 0 2, -1 1, 0 0) |
| | |
1 2 3 4 5 6 7 8 |
LinesFromRings - Simple polygon, non-int select :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'), 'hello')); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText('POLYGON((0 0, 1 1, 0 2, -1 1, 0 0))'), 'hello')) LINESTRING(0 0, 1 1, 0 2, -1 1, 0 0) |
Changes to test/sql_stmt_tests/linesfromrings7.testcase.
1 2 3 4 5 6 7 8 |
LinesFromRings - Toxic polygon :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 1)); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 1)) MULTILINESTRING((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5)) |
| | |
1 2 3 4 5 6 7 8 |
LinesFromRings - Toxic polygon :memory: #use in-memory database SELECT AsText(LinesFromRings(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 1)); 1 # rows (not including the header row) 1 # columns AsText(LinesFromRings(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 1)) MULTILINESTRING((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5)) |
Changes to test/sql_stmt_tests/locatemeasure1.testcase.
1 2 3 4 5 6 7 |
ST_Locate_Between_Measures - bad arg #1 :memory: #use in-memory database SELECT ST_Locate_Between_Measures("alpha", 2, 3) 1 # rows (not including the header row) 1 # columns ST_Locate_Between_Measures("alpha", 2, 3) (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_Locate_Between_Measures - bad arg #1 :memory: #use in-memory database SELECT ST_Locate_Between_Measures('alpha', 2, 3) 1 # rows (not including the header row) 1 # columns ST_Locate_Between_Measures('alpha', 2, 3) (NULL) |
Changes to test/sql_stmt_tests/locatemeasure2.testcase.
1 2 3 4 5 6 7 |
ST_Locate_Between_Measures - bad arg #2 :memory: #use in-memory database SELECT ST_Locate_Between_Measures(zeroblob(99), "alpha", 3) 1 # rows (not including the header row) 1 # columns ST_Locate_Between_Measures(zeroblob(99), "alpha", 3) (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_Locate_Between_Measures - bad arg #2 :memory: #use in-memory database SELECT ST_Locate_Between_Measures(zeroblob(99), 'alpha', 3) 1 # rows (not including the header row) 1 # columns ST_Locate_Between_Measures(zeroblob(99), 'alpha', 3) (NULL) |
Changes to test/sql_stmt_tests/locatemeasure3.testcase.
1 2 3 4 5 6 7 |
ST_Locate_Between_Measures - bad arg #3 :memory: #use in-memory database SELECT ST_Locate_Between_Measures(zeroblob(99), 2, "alpha") 1 # rows (not including the header row) 1 # columns ST_Locate_Between_Measures(zeroblob(99), 2, "alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_Locate_Between_Measures - bad arg #3 :memory: #use in-memory database SELECT ST_Locate_Between_Measures(zeroblob(99), 2, 'alpha') 1 # rows (not including the header row) 1 # columns ST_Locate_Between_Measures(zeroblob(99), 2, 'alpha') (NULL) |
Changes to test/sql_stmt_tests/m_ft-text.testcase.
1 2 3 4 5 6 7 |
metres to feet text :memory: #use in-memory database SELECT CvtToFt("one"); 1 # rows (not including the header row) 1 # columns CvtToFt("one"); (NULL) |
| | |
1 2 3 4 5 6 7 |
metres to feet text :memory: #use in-memory database SELECT CvtToFt('one'); 1 # rows (not including the header row) 1 # columns CvtToFt('one'); (NULL) |
Changes to test/sql_stmt_tests/makeline.testcase.
1 2 3 4 5 6 7 8 |
makeline1 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINT(1 2)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINT(1 2)"))) LINESTRING(0 0, 1 2) |
| | |
1 2 3 4 5 6 7 8 |
makeline1 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINT(1 2)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINT(1 2)'))) LINESTRING(0 0, 1 2) |
Changes to test/sql_stmt_tests/makeline10.testcase.
1 2 3 4 5 6 7 8 |
makeline10 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTM(0 0 38.5)"), GeomFromText("POINTM(1 2 38.64)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTM(0 0 38.5)"), GeomFromText("POINTM(1 2 38.64)"))) LINESTRING M(0 0 38.5, 1 2 38.64) |
| | |
1 2 3 4 5 6 7 8 |
makeline10 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTM(0 0 38.5)'), GeomFromText('POINTM(1 2 38.64)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTM(0 0 38.5)'), GeomFromText('POINTM(1 2 38.64)'))) LINESTRING M(0 0 38.5, 1 2 38.64) |
Changes to test/sql_stmt_tests/makeline11.testcase.
1 2 3 4 5 6 7 8 |
makeline11 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTZM(0 0 1.3 38.5)"), GeomFromText("POINTM(1 2 38.64)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTZM(0 0 1.3 38.5)"), GeomFromText("POINTM(1 2 38.64)"))) LINESTRING ZM(0 0 1.3 38.5, 1 2 0 38.64) |
| | |
1 2 3 4 5 6 7 8 |
makeline11 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTZM(0 0 1.3 38.5)'), GeomFromText('POINTM(1 2 38.64)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTZM(0 0 1.3 38.5)'), GeomFromText('POINTM(1 2 38.64)'))) LINESTRING ZM(0 0 1.3 38.5, 1 2 0 38.64) |
Changes to test/sql_stmt_tests/makeline12.testcase.
1 2 3 4 5 6 7 8 |
makeline12 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTM(1 2 38.64)"), GeomFromText("POINTZM(0 0 1.3 38.5)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTM(1 2 38.64)"), GeomFromText("POINTZM(0 0 1.3 38.5)"))) LINESTRING ZM(1 2 0 38.64, 0 0 1.3 38.5) |
| | |
1 2 3 4 5 6 7 8 |
makeline12 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTM(1 2 38.64)'), GeomFromText('POINTZM(0 0 1.3 38.5)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTM(1 2 38.64)'), GeomFromText('POINTZM(0 0 1.3 38.5)'))) LINESTRING ZM(1 2 0 38.64, 0 0 1.3 38.5) |
Changes to test/sql_stmt_tests/makeline13.testcase.
1 2 3 4 5 6 7 8 |
makeline13 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINT(1 2)"), GeomFromText("POINTZM(0 0 1.3 38.5)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINT(1 2)"), GeomFromText("POINTZM(0 0 1.3 38.5)"))) LINESTRING ZM(1 2 0 0, 0 0 1.3 38.5) |
| | |
1 2 3 4 5 6 7 8 |
makeline13 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINT(1 2)'), GeomFromText('POINTZM(0 0 1.3 38.5)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINT(1 2)'), GeomFromText('POINTZM(0 0 1.3 38.5)'))) LINESTRING ZM(1 2 0 0, 0 0 1.3 38.5) |
Changes to test/sql_stmt_tests/makeline14.testcase.
1 2 3 4 5 6 7 8 |
makeline14 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINT M(1 2 0)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINT M(1 2 0)"))) LINESTRING M(0 0 0, 1 2 0) |
| | |
1 2 3 4 5 6 7 8 |
makeline14 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINT M(1 2 0)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINT M(1 2 0)'))) LINESTRING M(0 0 0, 1 2 0) |
Changes to test/sql_stmt_tests/makeline15.testcase.
1 2 3 4 5 6 7 8 |
makeline15 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTZ(0 0 4)"), GeomFromText("POINTM(1 2 0.4)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTZ(0 0 4)"), GeomFromText("POINTM(1 2 0.4)"))) LINESTRING ZM(0 0 4 0, 1 2 0 0.4) |
| | |
1 2 3 4 5 6 7 8 |
makeline15 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTZ(0 0 4)'), GeomFromText('POINTM(1 2 0.4)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTZ(0 0 4)'), GeomFromText('POINTM(1 2 0.4)'))) LINESTRING ZM(0 0 4 0, 1 2 0 0.4) |
Changes to test/sql_stmt_tests/makeline16.testcase.
1 2 3 4 5 6 7 8 |
makeline16 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTM(0 0 4.1)"), GeomFromText("POINTZ(1 2 2.4)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTM(0 0 4.1)"), GeomFromText("POINTZ(1 2 2.4)"))) LINESTRING ZM(0 0 0 4.1, 1 2 2.4 0) |
| | |
1 2 3 4 5 6 7 8 |
makeline16 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTM(0 0 4.1)'), GeomFromText('POINTZ(1 2 2.4)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTM(0 0 4.1)'), GeomFromText('POINTZ(1 2 2.4)'))) LINESTRING ZM(0 0 0 4.1, 1 2 2.4 0) |
Changes to test/sql_stmt_tests/makeline17.testcase.
1 2 3 4 5 6 7 8 |
makeline17 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINTZ(1 2 2.4)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINTZ(1 2 2.4)"))) LINESTRING Z(0 0 0, 1 2 2.4) |
| | |
1 2 3 4 5 6 7 8 |
makeline17 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINTZ(1 2 2.4)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINTZ(1 2 2.4)'))) LINESTRING Z(0 0 0, 1 2 2.4) |
Changes to test/sql_stmt_tests/makeline18.testcase.
1 2 3 4 5 6 7 8 |
makeline18 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINTM(1 2 12.4)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINT(0 0)"), GeomFromText("POINTM(1 2 12.4)"))) LINESTRING M(0 0 0, 1 2 12.4) |
| | |
1 2 3 4 5 6 7 8 |
makeline18 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINTM(1 2 12.4)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINT(0 0)'), GeomFromText('POINTM(1 2 12.4)'))) LINESTRING M(0 0 0, 1 2 12.4) |
Changes to test/sql_stmt_tests/makeline19.testcase.
1 2 3 4 5 6 7 8 |
makeline - POINTZ :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTZ(1 2 3)"))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTZ(1 2 3)"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline - POINTZ :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTZ(1 2 3)'))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTZ(1 2 3)'))) (NULL) |
Changes to test/sql_stmt_tests/makeline2.testcase.
1 2 3 4 5 6 7 8 |
makeline2 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINT(0 0)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINT(0 0)"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline2 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINT(0 0)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINT(0 0)'))) (NULL) |
Changes to test/sql_stmt_tests/makeline20.testcase.
1 2 3 4 5 6 7 8 |
makeline - POINTM :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTM(1 2 3)"))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTM(1 2 3)"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline - POINTM :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTM(1 2 3)'))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTM(1 2 3)'))) (NULL) |
Changes to test/sql_stmt_tests/makeline21.testcase.
1 2 3 4 5 6 7 8 |
makeline - POINTZM :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTZM(1 2 3 4)"))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTZM(1 2 3 4)"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline - POINTZM :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTZM(1 2 3 4)'))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTZM(1 2 3 4)'))) (NULL) |
Changes to test/sql_stmt_tests/makeline22.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT - invalid :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINT(1 2,3 4)"))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINT(1 2,3 4)"))) (NULL) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT - invalid :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINT(1 2,3 4)'))) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINT(1 2,3 4)'))) (NULL) |
Changes to test/sql_stmt_tests/makeline23.testcase.
1 2 3 4 5 6 7 8 |
makeline - GEOMETRYCOLLECTION (error) :memory: #use in-memory database SELECT MakeLine(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 2 6))")) 1 # rows (not including the header row) 1 # columns MakeLine(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 2 6))")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline - GEOMETRYCOLLECTION (error) :memory: #use in-memory database SELECT MakeLine(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 2 6))')) 1 # rows (not including the header row) 1 # columns MakeLine(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(4 1, 2 6))')) (NULL) |
Changes to test/sql_stmt_tests/makeline24.testcase.
1 2 3 4 5 6 7 8 |
makeline - GEOMETRYCOLLECTION with polygon (error) :memory: #use in-memory database SELECT MakeLine(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),POLYGON((0 0, 2 2, 0 2, 0 0)))")) 1 # rows (not including the header row) 1 # columns MakeLine(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2),POLYGON((0 0, 2 2, 0 2, 0 0)))")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline - GEOMETRYCOLLECTION with polygon (error) :memory: #use in-memory database SELECT MakeLine(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),POLYGON((0 0, 2 2, 0 2, 0 0)))')) 1 # rows (not including the header row) 1 # columns MakeLine(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2),POLYGON((0 0, 2 2, 0 2, 0 0)))')) (NULL) |
Changes to test/sql_stmt_tests/makeline25.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XY valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINT(1 2,3 4)"), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINT(1 2,3 4)"), 1)) LINESTRING(1 2, 3 4) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XY valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINT(1 2,3 4)'), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINT(1 2,3 4)'), 1)) LINESTRING(1 2, 3 4) |
Changes to test/sql_stmt_tests/makeline26.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZM valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINTZM(1 2 10 100,3 4 11 111)"), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINTZM(1 2 10 100,3 4 11 111)"), 0)) LINESTRING ZM(3 4 11 111, 1 2 10 100) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZM valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINTZM(1 2 10 100,3 4 11 111)'), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINTZM(1 2 10 100,3 4 11 111)'), 0)) LINESTRING ZM(3 4 11 111, 1 2 10 100) |
Changes to test/sql_stmt_tests/makeline27.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZ valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINTZ(1 2 10,3 4 11)"), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINTZ(1 2 10,3 4 11)"), 0)) LINESTRING Z(3 4 11, 1 2 10) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZ valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINTZ(1 2 10,3 4 11)'), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINTZ(1 2 10,3 4 11)'), 0)) LINESTRING Z(3 4 11, 1 2 10) |
Changes to test/sql_stmt_tests/makeline28.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XY valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINT(1 2,3 4)"), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINT(1 2,3 4)"), 0)) LINESTRING(3 4, 1 2) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XY valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINT(1 2,3 4)'), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINT(1 2,3 4)'), 0)) LINESTRING(3 4, 1 2) |
Changes to test/sql_stmt_tests/makeline29.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYM valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINTM(1 2 10,3 4 11)"), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINTM(1 2 10,3 4 11)"), 0)) LINESTRING M(3 4 11, 1 2 10) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYM valid - reverse order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINTM(1 2 10,3 4 11)'), 0)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINTM(1 2 10,3 4 11)'), 0)) LINESTRING M(3 4 11, 1 2 10) |
Changes to test/sql_stmt_tests/makeline3.testcase.
1 2 3 4 5 6 7 8 |
makeline3 :memory: #use in-memory database SELECT MakeLine("text"); 1 # rows (not including the header row) 1 # columns MakeLine("text") (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline3 :memory: #use in-memory database SELECT MakeLine('text'); 1 # rows (not including the header row) 1 # columns MakeLine('text') (NULL) |
Changes to test/sql_stmt_tests/makeline30.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZM valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINTZM(1 2 10 100,3 4 11 111)"), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINTZM(1 2 10 100,3 4 11 111)"), 1)) LINESTRING ZM(1 2 10 100, 3 4 11 111) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZM valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINTZM(1 2 10 100,3 4 11 111)'), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINTZM(1 2 10 100,3 4 11 111)'), 1)) LINESTRING ZM(1 2 10 100, 3 4 11 111) |
Changes to test/sql_stmt_tests/makeline31.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZ valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINTZ(1 2 10,3 4 11)"), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINTZ(1 2 10,3 4 11)"), 1)) LINESTRING Z(1 2 10, 3 4 11) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYZ valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINTZ(1 2 10,3 4 11)'), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINTZ(1 2 10,3 4 11)'), 1)) LINESTRING Z(1 2 10, 3 4 11) |
Changes to test/sql_stmt_tests/makeline32.testcase.
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYM valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("MULTIPOINTM(1 2 10,3 4 11)"), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("MULTIPOINTM(1 2 10,3 4 11)"), 1)) LINESTRING M(1 2 10, 3 4 11) |
| | |
1 2 3 4 5 6 7 |
makeline - MULTIPOINT (XYM valid - direct order) :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('MULTIPOINTM(1 2 10,3 4 11)'), 1)) 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('MULTIPOINTM(1 2 10,3 4 11)'), 1)) LINESTRING M(1 2 10, 3 4 11) |
Changes to test/sql_stmt_tests/makeline4.testcase.
1 2 3 4 5 6 7 8 |
makeline4 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINT(0 0)"), zeroblob(10))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINT(0 0)"), zeroblob(10))) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline4 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINT(0 0)'), zeroblob(10))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINT(0 0)'), zeroblob(10))) (NULL) |
Changes to test/sql_stmt_tests/makeline5.testcase.
1 2 3 4 5 6 7 8 |
makeline5 :memory: #use in-memory database SELECT AsText(MakeLine(zeroblob(10), GeomFromText("POINT(1 2)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(zeroblob(10), GeomFromText("POINT(1 2)"))) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline5 :memory: #use in-memory database SELECT AsText(MakeLine(zeroblob(10), GeomFromText('POINT(1 2)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(zeroblob(10), GeomFromText('POINT(1 2)'))) (NULL) |
Changes to test/sql_stmt_tests/makeline6.testcase.
1 2 3 4 5 6 7 8 |
makeline6 :memory: #use in-memory database SELECT MakeLine("hello", GeomFromText("POINT(1 2)")); 1 # rows (not including the header row) 1 # columns MakeLine("hello", GeomFromText("POINT(1 2)")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline6 :memory: #use in-memory database SELECT MakeLine('hello', GeomFromText('POINT(1 2)')); 1 # rows (not including the header row) 1 # columns MakeLine('hello', GeomFromText('POINT(1 2)')) (NULL) |
Changes to test/sql_stmt_tests/makeline7.testcase.
1 2 3 4 5 6 7 8 |
makeline7 :memory: #use in-memory database SELECT MakeLine(GeomFromText("POINT(0 0)"), "world"); 1 # rows (not including the header row) 1 # columns MakeLine(GeomFromText("POINT(0 0)"), "world") (NULL) |
| | |
1 2 3 4 5 6 7 8 |
makeline7 :memory: #use in-memory database SELECT MakeLine(GeomFromText('POINT(0 0)'), 'world'); 1 # rows (not including the header row) 1 # columns MakeLine(GeomFromText('POINT(0 0)'), 'world') (NULL) |
Changes to test/sql_stmt_tests/makeline8.testcase.
1 2 3 4 5 6 7 8 |
makeline8 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTZ(0 0 0)"), GeomFromText("POINTZ(1 2 0.2)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTZ(0 0 0)"), GeomFromText("POINTZ(1 2 0.2)"))) LINESTRING Z(0 0 0, 1 2 0.2) |
| | |
1 2 3 4 5 6 7 8 |
makeline8 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTZ(0 0 0)'), GeomFromText('POINTZ(1 2 0.2)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTZ(0 0 0)'), GeomFromText('POINTZ(1 2 0.2)'))) LINESTRING Z(0 0 0, 1 2 0.2) |
Changes to test/sql_stmt_tests/makeline9.testcase.
1 2 3 4 5 6 7 8 |
makeline9 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText("POINTZ(0 0 0.2)"), GeomFromText("POINT(1 2)"))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText("POINTZ(0 0 0.2)"), GeomFromText("POINT(1 2)"))) LINESTRING Z(0 0 0.2, 1 2 0) |
| | |
1 2 3 4 5 6 7 8 |
makeline9 :memory: #use in-memory database SELECT AsText(MakeLine(GeomFromText('POINTZ(0 0 0.2)'), GeomFromText('POINT(1 2)'))); 1 # rows (not including the header row) 1 # columns AsText(MakeLine(GeomFromText('POINTZ(0 0 0.2)'), GeomFromText('POINT(1 2)'))) LINESTRING Z(0 0 0.2, 1 2 0) |
Changes to test/sql_stmt_tests/makepoint-null1.testcase.
1 2 3 4 5 6 7 |
makepoint-null1 :memory: #use in-memory database SELECT AsText(MakePoint("hello", 42.3150676015829)); 1 # rows (not including the header row) 1 # columns AsText(MakePoint("hello", 42.3150676015829)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint-null1 :memory: #use in-memory database SELECT AsText(MakePoint('hello', 42.3150676015829)); 1 # rows (not including the header row) 1 # columns AsText(MakePoint('hello', 42.3150676015829)) (NULL) |
Changes to test/sql_stmt_tests/makepoint-null2.testcase.
1 2 3 4 5 6 7 |
makepoint-null2 :memory: #use in-memory database SELECT AsText(MakePoint(26.0, "world")); 1 # rows (not including the header row) 1 # columns AsText(MakePoint(26.0, "world")) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint-null2 :memory: #use in-memory database SELECT AsText(MakePoint(26.0, 'world')); 1 # rows (not including the header row) 1 # columns AsText(MakePoint(26.0, 'world')) (NULL) |
Changes to test/sql_stmt_tests/makepoint-null3.testcase.
1 2 3 4 5 6 7 |
makepoint-null3 :memory: #use in-memory database SELECT AsText(MakePoint(26.0, "world", 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePoint(26.0, "world", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint-null3 :memory: #use in-memory database SELECT AsText(MakePoint(26.0, 'world', 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePoint(26.0, 'world', 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepoint-null4.testcase.
1 2 3 4 5 6 7 |
makepoint-null4 :memory: #use in-memory database SELECT AsText(MakePoint("hello", 42.3150676015829, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePoint("hello", 42.3150676015829, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint-null4 :memory: #use in-memory database SELECT AsText(MakePoint('hello', 42.3150676015829, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePoint('hello', 42.3150676015829, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepoint-null6.testcase.
1 2 3 4 5 6 7 |
makepoint-null6 :memory: #use in-memory database SELECT AsText(MakePoint(-26.0, 42.3150676015829, "WGS84")); 1 # rows (not including the header row) 1 # columns AsText(MakePoint(-26.0, 42.3150676015829, "WGS84")) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint-null6 :memory: #use in-memory database SELECT AsText(MakePoint(-26.0, 42.3150676015829, 'WGS84')); 1 # rows (not including the header row) 1 # columns AsText(MakePoint(-26.0, 42.3150676015829, 'WGS84')) (NULL) |
Changes to test/sql_stmt_tests/makepoint10.testcase.
1 2 3 4 5 6 7 |
makepoint - MakepointM, non-number M, SRID :memory: #use in-memory database SELECT AsText(MakePointM(-71, 42, "hello", 4326)) 1 # rows (not including the header row) 1 # columns AsText(MakePointM(-71, 42, "hello", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint - MakepointM, non-number M, SRID :memory: #use in-memory database SELECT AsText(MakePointM(-71, 42, 'hello', 4326)) 1 # rows (not including the header row) 1 # columns AsText(MakePointM(-71, 42, 'hello', 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepoint13.testcase.
1 2 3 4 5 6 7 |
makepoint - MakepointZM, bad Z arg, SRID :memory: #use in-memory database SELECT AsText(MakePointZM(-71, 42, "hello", 4, 4326)) 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-71, 42, "hello", 4, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint - MakepointZM, bad Z arg, SRID :memory: #use in-memory database SELECT AsText(MakePointZM(-71, 42, 'hello', 4, 4326)) 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-71, 42, 'hello', 4, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepoint14.testcase.
1 2 3 4 5 6 7 |
makepoint - MakepointZM, bad M arg, SRID :memory: #use in-memory database SELECT AsText(MakePointZM(-71, 42, 3, "hello", 4326)) 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-71, 42, 3, "hello", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint - MakepointZM, bad M arg, SRID :memory: #use in-memory database SELECT AsText(MakePointZM(-71, 42, 3, 'hello', 4326)) 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-71, 42, 3, 'hello', 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepoint15.testcase.
1 2 3 4 5 6 7 |
makepoint - MakepointZM, bad SRID arg :memory: #use in-memory database SELECT AsText(MakePointZM(-71, 42, 3, 4, "hello")) 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-71, 42, 3, 4, "hello")) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepoint - MakepointZM, bad SRID arg :memory: #use in-memory database SELECT AsText(MakePointZM(-71, 42, 3, 4, 'hello')) 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-71, 42, 3, 4, 'hello')) (NULL) |
Changes to test/sql_stmt_tests/makepointm-null1.testcase.
1 2 3 4 5 6 7 |
makepointm-null1 :memory: #use in-memory database SELECT AsText(MakePointM("hello", 42.3150676015829, 12.6389)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM("hello", 42.3150676015829, 12.6389)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointm-null1 :memory: #use in-memory database SELECT AsText(MakePointM('hello', 42.3150676015829, 12.6389)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM('hello', 42.3150676015829, 12.6389)) (NULL) |
Changes to test/sql_stmt_tests/makepointm-null2.testcase.
1 2 3 4 5 6 7 |
makepointm-null2 :memory: #use in-memory database SELECT AsText(MakePointM(26.0, "world", 18.63)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM(26.0, "world", 18.63)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointm-null2 :memory: #use in-memory database SELECT AsText(MakePointM(26.0, 'world', 18.63)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM(26.0, 'world', 18.63)) (NULL) |
Changes to test/sql_stmt_tests/makepointm-null3.testcase.
1 2 3 4 5 6 7 |
makepointm-null3 :memory: #use in-memory database SELECT AsText(MakePointM(26.0, "world", 18.63, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM(26.0, "world", 18.63, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointm-null3 :memory: #use in-memory database SELECT AsText(MakePointM(26.0, 'world', 18.63, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM(26.0, 'world', 18.63, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepointm-null4.testcase.
1 2 3 4 5 6 7 |
makepointm-null4 :memory: #use in-memory database SELECT AsText(MakePointM("hello", 42.3150676015829, 12.6389, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM("hello", 42.3150676015829, 12.6389, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointm-null4 :memory: #use in-memory database SELECT AsText(MakePointM('hello', 42.3150676015829, 12.6389, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointM('hello', 42.3150676015829, 12.6389, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepointm-null6.testcase.
1 2 3 4 5 6 7 |
makepointm-null6 :memory: #use in-memory database SELECT AsText(MakePointM(-26.0, 42.3150676015829, 12.6389, "WGS84")); 1 # rows (not including the header row) 1 # columns AsText(MakePointM(-26.0, 42.3150676015829, 12.6389, "WGS84")) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointm-null6 :memory: #use in-memory database SELECT AsText(MakePointM(-26.0, 42.3150676015829, 12.6389, 'WGS84')); 1 # rows (not including the header row) 1 # columns AsText(MakePointM(-26.0, 42.3150676015829, 12.6389, 'WGS84')) (NULL) |
Changes to test/sql_stmt_tests/makepointz-null1.testcase.
1 2 3 4 5 6 7 |
makepointz-null1 :memory: #use in-memory database SELECT AsText(MakePointZ("hello", 42.3150676015829, 0.0038723129645)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ("hello", 42.3150676015829, 0.0038723129645)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointz-null1 :memory: #use in-memory database SELECT AsText(MakePointZ('hello', 42.3150676015829, 0.0038723129645)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ('hello', 42.3150676015829, 0.0038723129645)) (NULL) |
Changes to test/sql_stmt_tests/makepointz-null2.testcase.
1 2 3 4 5 6 7 |
makepointz-null2 :memory: #use in-memory database SELECT AsText(MakePointZ(26.0, "world", 0.54)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ(26.0, "world", 0.54)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointz-null2 :memory: #use in-memory database SELECT AsText(MakePointZ(26.0, 'world', 0.54)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ(26.0, 'world', 0.54)) (NULL) |
Changes to test/sql_stmt_tests/makepointz-null3.testcase.
1 2 3 4 5 6 7 |
makepointz-null3 :memory: #use in-memory database SELECT AsText(MakePointZ(26.0, "world", 0.54, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ(26.0, "world", 0.54, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointz-null3 :memory: #use in-memory database SELECT AsText(MakePointZ(26.0, 'world', 0.54, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ(26.0, 'world', 0.54, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepointz-null4.testcase.
1 2 3 4 5 6 7 |
makepointz-null4 :memory: #use in-memory database SELECT AsText(MakePointZ("hello", 42.3150676015829, 0.0038723129645, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ("hello", 42.3150676015829, 0.0038723129645, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointz-null4 :memory: #use in-memory database SELECT AsText(MakePointZ('hello', 42.3150676015829, 0.0038723129645, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ('hello', 42.3150676015829, 0.0038723129645, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepointz-null6.testcase.
1 2 3 4 5 6 7 |
makepointz-null6 :memory: #use in-memory database SELECT AsText(MakePointZ(-26.0, 42.3150676015829, 0.0038723129645, "WGS84")); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ(-26.0, 42.3150676015829, 0.0038723129645, "WGS84")) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointz-null6 :memory: #use in-memory database SELECT AsText(MakePointZ(-26.0, 42.3150676015829, 0.0038723129645, 'WGS84')); 1 # rows (not including the header row) 1 # columns AsText(MakePointZ(-26.0, 42.3150676015829, 0.0038723129645, 'WGS84')) (NULL) |
Changes to test/sql_stmt_tests/makepointzm-null1.testcase.
1 2 3 4 5 6 7 |
makepointzm-null1 :memory: #use in-memory database SELECT AsText(MakePointZM("hello", 42.3150676015829, 0.0038723129645, 12.6389)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM("hello", 42.3150676015829, 0.0038723129645, 12.6389)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointzm-null1 :memory: #use in-memory database SELECT AsText(MakePointZM('hello', 42.3150676015829, 0.0038723129645, 12.6389)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM('hello', 42.3150676015829, 0.0038723129645, 12.6389)) (NULL) |
Changes to test/sql_stmt_tests/makepointzm-null2.testcase.
1 2 3 4 5 6 7 |
makepointzm-null2 :memory: #use in-memory database SELECT AsText(MakePointZM(26.0, "world", 0.54, 18.63)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(26.0, "world", 0.54, 18.63)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointzm-null2 :memory: #use in-memory database SELECT AsText(MakePointZM(26.0, 'world', 0.54, 18.63)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(26.0, 'world', 0.54, 18.63)) (NULL) |
Changes to test/sql_stmt_tests/makepointzm-null3.testcase.
1 2 3 4 5 6 7 |
makepointzm-null3 :memory: #use in-memory database SELECT AsText(MakePointZM(26.0, "world", 0.54, 18.63, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(26.0, "world", 0.54, 18.63, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointzm-null3 :memory: #use in-memory database SELECT AsText(MakePointZM(26.0, 'world', 0.54, 18.63, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(26.0, 'world', 0.54, 18.63, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepointzm-null4.testcase.
1 2 3 4 5 6 7 |
makepointzm-null4 :memory: #use in-memory database SELECT AsText(MakePointZM("hello", 42.3150676015829, 0.0038723129645, 12.6389, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM("hello", 42.3150676015829, 0.0038723129645, 12.6389, 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointzm-null4 :memory: #use in-memory database SELECT AsText(MakePointZM('hello', 42.3150676015829, 0.0038723129645, 12.6389, 4326)); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM('hello', 42.3150676015829, 0.0038723129645, 12.6389, 4326)) (NULL) |
Changes to test/sql_stmt_tests/makepointzm-null6.testcase.
1 2 3 4 5 6 7 |
makepointzm-null6 :memory: #use in-memory database SELECT AsText(MakePointZM(-26.0, 42.3150676015829, 0.0038723129645, 12.6389, "WGS84")); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-26.0, 42.3150676015829, 0.0038723129645, 12.6389, "WGS84")) (NULL) |
| | |
1 2 3 4 5 6 7 |
makepointzm-null6 :memory: #use in-memory database SELECT AsText(MakePointZM(-26.0, 42.3150676015829, 0.0038723129645, 12.6389, 'WGS84')); 1 # rows (not including the header row) 1 # columns AsText(MakePointZM(-26.0, 42.3150676015829, 0.0038723129645, 12.6389, 'WGS84')) (NULL) |
Changes to test/sql_stmt_tests/mbr1.testcase.
1 2 3 4 5 6 7 |
MbrContains - Line + Point :memory: #use in-memory database SELECT MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrContains - Line + Point :memory: #use in-memory database SELECT MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr10.testcase.
1 2 3 4 5 6 7 |
MbrIntersects - Line + Point inside :memory: #use in-memory database SELECT MbrIntersects(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 1)")); 1 # rows (not including the header row) 1 # columns MbrIntersects(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 1)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrIntersects - Line + Point inside :memory: #use in-memory database SELECT MbrIntersects(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 1)')); 1 # rows (not including the header row) 1 # columns MbrIntersects(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 1)')) # header 1 |
Changes to test/sql_stmt_tests/mbr11.testcase.
1 2 3 4 5 6 7 |
MbrIntersects - Line + Point outside :memory: #use in-memory database SELECT MbrIntersects(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")); 1 # rows (not including the header row) 1 # columns MbrIntersects(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")) # header 0 |
| | |
1 2 3 4 5 6 7 |
MbrIntersects - Line + Point outside :memory: #use in-memory database SELECT MbrIntersects(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')); 1 # rows (not including the header row) 1 # columns MbrIntersects(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')) # header 0 |
Changes to test/sql_stmt_tests/mbr12.testcase.
1 2 3 4 5 6 7 |
MbrEqual - Line + Point on :memory: #use in-memory database SELECT MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")) # header 0 |
| | |
1 2 3 4 5 6 7 |
MbrEqual - Line + Point on :memory: #use in-memory database SELECT MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')) # header 0 |
Changes to test/sql_stmt_tests/mbr13.testcase.
1 2 3 4 5 6 7 |
MbrEqual - Line + Line :memory: #use in-memory database SELECT MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(1 0, 0 2)")); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(1 0, 0 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrEqual - Line + Line :memory: #use in-memory database SELECT MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(1 0, 0 2)')); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(1 0, 0 2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr14.testcase.
1 2 3 4 5 6 7 |
MbrEqual - Line + same Line :memory: #use in-memory database SELECT MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(0 0, 1 2)")); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(0 0, 1 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrEqual - Line + same Line :memory: #use in-memory database SELECT MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(0 0, 1 2)')); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(0 0, 1 2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr15.testcase.
1 2 3 4 5 6 7 |
MbrEqual - Line + Polygon :memory: #use in-memory database SELECT MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))")); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))")) 1 |
| | |
1 2 3 4 5 6 7 |
MbrEqual - Line + Polygon :memory: #use in-memory database SELECT MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))')); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))')) 1 |
Changes to test/sql_stmt_tests/mbr16.testcase.
1 2 3 4 5 6 7 |
MbrEqual - Line + Different Polygon :memory: #use in-memory database SELECT MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((0 0, 0 -2, 1 -2, 1 0, 0 0))")); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((0 0, 0 -2, 1 -2, 1 0, 0 0))")) 0 |
| | |
1 2 3 4 5 6 7 |
MbrEqual - Line + Different Polygon :memory: #use in-memory database SELECT MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((0 0, 0 -2, 1 -2, 1 0, 0 0))')); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((0 0, 0 -2, 1 -2, 1 0, 0 0))')) 0 |
Changes to test/sql_stmt_tests/mbr17.testcase.
1 2 3 4 5 6 7 |
MbrEqual - Line + Toxic Polygon :memory: #use in-memory database SELECT MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))")); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))")) 0 |
| | |
1 2 3 4 5 6 7 |
MbrEqual - Line + Toxic Polygon :memory: #use in-memory database SELECT MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))')); 1 # rows (not including the header row) 1 # columns MbrEqual(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))')) 0 |
Changes to test/sql_stmt_tests/mbr18.testcase.
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Polygon :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))")); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))")) 1 |
| | |
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Polygon :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))')); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POLYGON((0 0, 0 2, 1 2, 1 0, 0 0))')) 1 |
Changes to test/sql_stmt_tests/mbr19.testcase.
1 2 3 4 5 6 7 |
MbrOverlaps - Line + same Line :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(0 0, 1 2)")); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(0 0, 1 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrOverlaps - Line + same Line :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(0 0, 1 2)')); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(0 0, 1 2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr2.testcase.
1 2 3 4 5 6 7 |
MbrContains - Line + Point :memory: #use in-memory database SELECT MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 1)")); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 1)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrContains - Line + Point :memory: #use in-memory database SELECT MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 1)')); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 1)')) # header 1 |
Changes to test/sql_stmt_tests/mbr20.testcase.
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Point outside :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")) # header 0 |
| | |
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Point outside :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')) # header 0 |
Changes to test/sql_stmt_tests/mbr21.testcase.
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Point outside :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")) # header 0 |
| | |
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Point outside :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')) # header 0 |
Changes to test/sql_stmt_tests/mbr22.testcase.
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Point on :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrOverlaps - Line + Point on :memory: #use in-memory database SELECT MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')); 1 # rows (not including the header row) 1 # columns MbrOverlaps(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr23.testcase.
1 2 3 4 5 6 7 |
MbrTouches - Line + Point on :memory: #use in-memory database SELECT MbrTouches(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")); 1 # rows (not including the header row) 1 # columns MbrTouches(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrTouches - Line + Point on :memory: #use in-memory database SELECT MbrTouches(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')); 1 # rows (not including the header row) 1 # columns MbrTouches(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr24.testcase.
1 2 3 4 5 6 7 |
MbrTouches - Line + Point inside :memory: #use in-memory database SELECT MbrTouches(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 1)")); 1 # rows (not including the header row) 1 # columns MbrTouches(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 1)")) # header 0 |
| | |
1 2 3 4 5 6 7 |
MbrTouches - Line + Point inside :memory: #use in-memory database SELECT MbrTouches(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 1)')); 1 # rows (not including the header row) 1 # columns MbrTouches(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 1)')) # header 0 |
Changes to test/sql_stmt_tests/mbr25.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point inside :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 1)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 1)")) # header 0 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point inside :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 1)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 1)')) # header 0 |
Changes to test/sql_stmt_tests/mbr26.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point outside :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point outside :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr27.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point up :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 6)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 6)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point up :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 6)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 6)')) # header 1 |
Changes to test/sql_stmt_tests/mbr28.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point down :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(-0.5 -2)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(-0.5 -2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point down :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(-0.5 -2)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(-0.5 -2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr29.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point down :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 -2)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(0.5 -2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point down :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 -2)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(0.5 -2)')) # header 1 |
Changes to test/sql_stmt_tests/mbr3.testcase.
1 2 3 4 5 6 7 |
MbrContains - Line + Point :memory: #use in-memory database SELECT MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 1)")); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(2 1)")) # header 0 |
| | |
1 2 3 4 5 6 7 |
MbrContains - Line + Point :memory: #use in-memory database SELECT MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 1)')); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(2 1)')) # header 0 |
Changes to test/sql_stmt_tests/mbr30.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point left :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(-0.5 1)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(-0.5 1)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point left :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(-0.5 1)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(-0.5 1)')) # header 1 |
Changes to test/sql_stmt_tests/mbr31.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point right :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(3 1)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(3 1)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Point right :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(3 1)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(3 1)')) # header 1 |
Changes to test/sql_stmt_tests/mbr32.testcase.
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Line right :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(3 1, 4 0)")); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("LINESTRING(3 1, 4 0)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrDisjoint - Line + Line right :memory: #use in-memory database SELECT MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(3 1, 4 0)')); 1 # rows (not including the header row) 1 # columns MbrDisjoint(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('LINESTRING(3 1, 4 0)')) # header 1 |
Changes to test/sql_stmt_tests/mbr4.testcase.
1 2 3 4 5 6 7 |
MbrContains - Text + Point (error) :memory: #use in-memory database SELECT MbrContains("hello", GeomFromText("POINT(2 1)")); 1 # rows (not including the header row) 1 # columns MbrContains("hello", GeomFromText("POINT(2 1)")) # header -1 |
| | |
1 2 3 4 5 6 7 |
MbrContains - Text + Point (error) :memory: #use in-memory database SELECT MbrContains('hello', GeomFromText('POINT(2 1)')); 1 # rows (not including the header row) 1 # columns MbrContains('hello', GeomFromText('POINT(2 1)')) # header -1 |
Changes to test/sql_stmt_tests/mbr5.testcase.
1 2 3 4 5 6 7 |
MbrContains - Point + Text (error) :memory: #use in-memory database SELECT MbrContains(GeomFromText("POINT(2 1)"), "hello"); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText("POINT(2 1)"), "hello") -1 |
| | |
1 2 3 4 5 6 7 |
MbrContains - Point + Text (error) :memory: #use in-memory database SELECT MbrContains(GeomFromText('POINT(2 1)'), 'hello'); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText('POINT(2 1)'), 'hello') -1 |
Changes to test/sql_stmt_tests/mbr6.testcase.
1 2 3 4 5 6 7 |
MbrContains - Point + bad blob (error) :memory: #use in-memory database SELECT MbrContains(GeomFromText("POINT(2 1)"), zeroblob(49)); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText("POINT(2 1)"), zeroblob(49)) -1 |
| | |
1 2 3 4 5 6 7 |
MbrContains - Point + bad blob (error) :memory: #use in-memory database SELECT MbrContains(GeomFromText('POINT(2 1)'), zeroblob(49)); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText('POINT(2 1)'), zeroblob(49)) -1 |
Changes to test/sql_stmt_tests/mbr7.testcase.
1 2 3 4 5 6 7 |
MbrContains - bad blob (error) + Point :memory: #use in-memory database SELECT MbrContains(zeroblob(49), GeomFromText("POINT(2 1)")); 1 # rows (not including the header row) 1 # columns MbrContains(zeroblob(49), GeomFromText("POINT(2 1)")) -1 |
| | |
1 2 3 4 5 6 7 |
MbrContains - bad blob (error) + Point :memory: #use in-memory database SELECT MbrContains(zeroblob(49), GeomFromText('POINT(2 1)')); 1 # rows (not including the header row) 1 # columns MbrContains(zeroblob(49), GeomFromText('POINT(2 1)')) -1 |
Changes to test/sql_stmt_tests/mbr8.testcase.
1 2 3 4 5 6 7 |
MbrContains - Line + PointZ :memory: #use in-memory database SELECT MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINTZ(1 2 1)")); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINTZ(1 2 1)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrContains - Line + PointZ :memory: #use in-memory database SELECT MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINTZ(1 2 1)')); 1 # rows (not including the header row) 1 # columns MbrContains(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINTZ(1 2 1)')) # header 1 |
Changes to test/sql_stmt_tests/mbr9.testcase.
1 2 3 4 5 6 7 |
MbrIntersects - Line + Point on :memory: #use in-memory database SELECT MbrIntersects(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")); 1 # rows (not including the header row) 1 # columns MbrIntersects(GeomFromText("LINESTRING(0 0, 1 2)"), GeomFromText("POINT(1 2)")) # header 1 |
| | |
1 2 3 4 5 6 7 |
MbrIntersects - Line + Point on :memory: #use in-memory database SELECT MbrIntersects(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')); 1 # rows (not including the header row) 1 # columns MbrIntersects(GeomFromText('LINESTRING(0 0, 1 2)'), GeomFromText('POINT(1 2)')) # header 1 |
Changes to test/sql_stmt_tests/mlinefromtext1.testcase.
1 2 3 4 5 6 7 |
multilinefromtext1 :memory: #use in-memory database SELECT AsWkt(MLineFromText("MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))", 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(MLineFromText("MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))", 4326)) MULTILINESTRING((10 10,20 20,10 40),(40 40,30 30,40 20,30 10)) |
| | |
1 2 3 4 5 6 7 |
multilinefromtext1 :memory: #use in-memory database SELECT AsWkt(MLineFromText('MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))', 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(MLineFromText('MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))', 4326)) MULTILINESTRING((10 10,20 20,10 40),(40 40,30 30,40 20,30 10)) |
Changes to test/sql_stmt_tests/mlinefromtext2.testcase.
1 2 3 4 5 6 7 |
multilinefromtext2 :memory: #use in-memory database SELECT AsWkt(MLineFromText("MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))")) 1 # rows (not including the header row) 1 # columns AsWkt(MLineFromText("MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))")) MULTILINESTRING((10 10,20 20,10 40),(40 40,30 30,40 20,30 10)) |
| | |
1 2 3 4 5 6 7 |
multilinefromtext2 :memory: #use in-memory database SELECT AsWkt(MLineFromText('MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))')) 1 # rows (not including the header row) 1 # columns AsWkt(MLineFromText('MULTILINESTRING ((10 10, 20 20, 10 40),(40 40, 30 30, 40 20, 30 10))')) MULTILINESTRING((10 10,20 20,10 40),(40 40,30 30,40 20,30 10)) |
Changes to test/sql_stmt_tests/mpointfromtext1.testcase.
1 2 3 4 5 6 7 |
multipointfromtext1 :memory: #use in-memory database SELECT AsWkt(MPointFromText("MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)")) 1 # rows (not including the header row) 1 # columns AsWkt(MPointFromText("MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)")) MULTIPOINT(-75 42,-70 45,-70 42,-70 42,-75 42) |
| | |
1 2 3 4 5 6 7 |
multipointfromtext1 :memory: #use in-memory database SELECT AsWkt(MPointFromText('MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)')) 1 # rows (not including the header row) 1 # columns AsWkt(MPointFromText('MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)')) MULTIPOINT(-75 42,-70 45,-70 42,-70 42,-75 42) |
Changes to test/sql_stmt_tests/mpointfromtext2.testcase.
1 2 3 4 5 6 7 |
multipointfromtext2 :memory: #use in-memory database SELECT AsWkt(MPointFromText("MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)", 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(MPointFromText("MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)", 4326)) MULTIPOINT(-75 42,-70 45,-70 42,-70 42,-75 42) |
| | |
1 2 3 4 5 6 7 |
multipointfromtext2 :memory: #use in-memory database SELECT AsWkt(MPointFromText('MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)', 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(MPointFromText('MULTIPOINT(-75 42, -70 45, -70 42, -70 42, -75 42)', 4326)) MULTIPOINT(-75 42,-70 45,-70 42,-70 42,-75 42) |
Changes to test/sql_stmt_tests/mpolygonfromtext1.testcase.
1 2 3 4 5 6 7 |
multipolygonfromtext1 :memory: #use in-memory database SELECT AsWkt(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))")) 1 # rows (not including the header row) 1 # columns AsWkt(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))")) MULTIPOLYGON(((30 20,10 40,45 40,30 20)),((15 5,40 10,10 20,5 10,15 5))) |
| | |
1 2 3 4 5 6 7 |
multipolygonfromtext1 :memory: #use in-memory database SELECT AsWkt(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))')) 1 # rows (not including the header row) 1 # columns AsWkt(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))')) MULTIPOLYGON(((30 20,10 40,45 40,30 20)),((15 5,40 10,10 20,5 10,15 5))) |
Changes to test/sql_stmt_tests/mpolygonfromtext2.testcase.
1 2 3 4 5 6 7 |
multipolygonfromtext2 :memory: #use in-memory database SELECT AsWkt(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))", 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(MPolyFromText("MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))", 4326)) MULTIPOLYGON(((30 20,10 40,45 40,30 20)),((15 5,40 10,10 20,5 10,15 5))) |
| | |
1 2 3 4 5 6 7 |
multipolygonfromtext2 :memory: #use in-memory database SELECT AsWkt(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))', 4326)) 1 # rows (not including the header row) 1 # columns AsWkt(MPolyFromText('MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5)))', 4326)) MULTIPOLYGON(((30 20,10 40,45 40,30 20)),((15 5,40 10,10 20,5 10,15 5))) |
Changes to test/sql_stmt_tests/normalizelonlat1.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- normal range :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(1 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(1 2)", 4326))) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- normal range :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(1 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(1 2)', 4326))) POINT(1 2) |
Changes to test/sql_stmt_tests/normalizelonlat10.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat huge :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 -390)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 -390)", 4326))) POINT(4 -30) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat huge :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 -390)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 -390)', 4326))) POINT(4 -30) |
Changes to test/sql_stmt_tests/normalizelonlat11.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- in range -30 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 -30)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 -30)", 4326))) POINT(4 -30) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- in range -30 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 -30)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 -30)', 4326))) POINT(4 -30) |
Changes to test/sql_stmt_tests/normalizelonlat12.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- in range -190 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 -190)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 -190)", 4326))) POINT(4 10) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- in range -190 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 -190)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 -190)', 4326))) POINT(4 10) |
Changes to test/sql_stmt_tests/normalizelonlat13.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- in range -290 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 -290)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 -290)", 4326))) POINT(4 70) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- in range -290 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 -290)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 -290)', 4326))) POINT(4 70) |
Changes to test/sql_stmt_tests/normalizelonlat14.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- in range 290 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 290)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 290)", 4326))) POINT(4 -70) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- in range 290 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 290)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 290)', 4326))) POINT(4 -70) |
Changes to test/sql_stmt_tests/normalizelonlat15.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- in range 200 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 200)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 200)", 4326))) POINT(4 -20) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- in range 200 :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 200)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 200)', 4326))) POINT(4 -20) |
Changes to test/sql_stmt_tests/normalizelonlat17.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- non-blob :memory: #use in-memory database SELECT NormalizeLonLat("htl") 1 # rows (not including the header row) 1 # columns NormalizeLonLat("htl") (NULL) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- non-blob :memory: #use in-memory database SELECT NormalizeLonLat('htl') 1 # rows (not including the header row) 1 # columns NormalizeLonLat('htl') (NULL) |
Changes to test/sql_stmt_tests/normalizelonlat18.testcase.
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range positive lat linestring :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("LINESTRING(120 140, 130 150)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("LINESTRING(120 140, 130 150)", 4326))) LINESTRING(120 40, 130 30) |
| | |
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range positive lat linestring :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('LINESTRING(120 140, 130 150)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('LINESTRING(120 140, 130 150)', 4326))) LINESTRING(120 40, 130 30) |
Changes to test/sql_stmt_tests/normalizelonlat19.testcase.
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat linestringz :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("LINESTRINGZ(120 -140 5, 130 -150 20)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("LINESTRINGZ(120 -140 5, 130 -150 20)", 4326))) LINESTRING Z(120 -40 5, 130 -30 20) |
| | |
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat linestringz :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('LINESTRINGZ(120 -140 5, 130 -150 20)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('LINESTRINGZ(120 -140 5, 130 -150 20)', 4326))) LINESTRING Z(120 -40 5, 130 -30 20) |
Changes to test/sql_stmt_tests/normalizelonlat2.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive long :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(361 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(361 2)", 4326))) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive long :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(361 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(361 2)', 4326))) POINT(1 2) |
Changes to test/sql_stmt_tests/normalizelonlat20.testcase.
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat linestringm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("LINESTRINGM(120 -140 5, 130 -150 20)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("LINESTRINGM(120 -140 5, 130 -150 20)", 4326))) LINESTRING M(120 -40 5, 130 -30 20) |
| | |
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat linestringm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('LINESTRINGM(120 -140 5, 130 -150 20)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('LINESTRINGM(120 -140 5, 130 -150 20)', 4326))) LINESTRING M(120 -40 5, 130 -30 20) |
Changes to test/sql_stmt_tests/normalizelonlat21.testcase.
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat linestringzm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("LINESTRINGZM(120 -140 5 20, 130 -150 20 30)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("LINESTRINGZM(120 -140 5 20, 130 -150 20 30)", 4326))) LINESTRING ZM(120 -40 5 20, 130 -30 20 30) |
| | |
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat linestringzm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('LINESTRINGZM(120 -140 5 20, 130 -150 20 30)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('LINESTRINGZM(120 -140 5 20, 130 -150 20 30)', 4326))) LINESTRING ZM(120 -40 5 20, 130 -30 20 30) |
Changes to test/sql_stmt_tests/normalizelonlat22.testcase.
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat polygonzm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20))", 4326))) POLYGON ZM((120 -40 5 20, 120 -30 20 30, 130 -30 20 1, 130 -40 2 8, 120 -40 5 20)) |
| | |
1 2 3 4 5 6 7 8 |
normalizelonlat- out of range negative lat polygonzm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20))', 4326))) POLYGON ZM((120 -40 5 20, 120 -30 20 30, 130 -30 20 1, 130 -40 2 8, 120 -40 5 20)) |
Changes to test/sql_stmt_tests/normalizelonlat23.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonz :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))", 4326))) POLYGON Z((120 -40 5, 120 -30 20, 130 -30 20, 130 -40 2, 120 -40 5), (122 -38 0, 124 -38 1, 124 -36 2, 122 -36 3, 122 -38 0)) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonz :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))', 4326))) POLYGON Z((120 -40 5, 120 -30 20, 130 -30 20, 130 -40 2, 120 -40 5), (122 -38 0, 124 -38 1, 124 -36 2, 122 -36 3, 122 -38 0)) |
Changes to test/sql_stmt_tests/normalizelonlat24.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonz :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))", 4326))) POLYGON Z((120 -40 5, 120 -30 20, 130 -30 20, 130 -40 2, 120 -40 5), (122 -38 0, 124 -38 1, 124 -36 2, 122 -36 3, 122 -38 0)) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonz :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POLYGONZ((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))', 4326))) POLYGON Z((120 -40 5, 120 -30 20, 130 -30 20, 130 -40 2, 120 -40 5), (122 -38 0, 124 -38 1, 124 -36 2, 122 -36 3, 122 -38 0)) |
Changes to test/sql_stmt_tests/normalizelonlat25.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonzm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20), (122 -142 0 0, 124 -142 1 2, 124 -144 2 4, 122 -144 3 6, 122 -142 0 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20), (122 -142 0 0, 124 -142 1 2, 124 -144 2 4, 122 -144 3 6, 122 -142 0 0))", 4326))) POLYGON ZM((120 -40 5 20, 120 -30 20 30, 130 -30 20 1, 130 -40 2 8, 120 -40 5 20), (122 -38 0 0, 124 -38 1 2, 124 -36 2 4, 122 -36 3 6, 122 -38 0 0)) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonzm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20), (122 -142 0 0, 124 -142 1 2, 124 -144 2 4, 122 -144 3 6, 122 -142 0 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POLYGONZM((120 -140 5 20, 120 -150 20 30, 130 -150 20 1, 130 -140 2 8, 120 -140 5 20), (122 -142 0 0, 124 -142 1 2, 124 -144 2 4, 122 -144 3 6, 122 -142 0 0))', 4326))) POLYGON ZM((120 -40 5 20, 120 -30 20 30, 130 -30 20 1, 130 -40 2 8, 120 -40 5 20), (122 -38 0 0, 124 -38 1 2, 124 -36 2 4, 122 -36 3 6, 122 -38 0 0)) |
Changes to test/sql_stmt_tests/normalizelonlat26.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POLYGONM((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POLYGONM((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))", 4326))) POLYGON M((120 -40 5, 120 -30 20, 130 -30 20, 130 -40 2, 120 -40 5), (122 -38 0, 124 -38 1, 124 -36 2, 122 -36 3, 122 -38 0)) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygonm :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POLYGONM((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POLYGONM((120 -140 5, 120 -150 20, 130 -150 20, 130 -140 2, 120 -140 5), (122 -142 0, 124 -142 1, 124 -144 2, 122 -144 3, 122 -142 0))', 4326))) POLYGON M((120 -40 5, 120 -30 20, 130 -30 20, 130 -40 2, 120 -40 5), (122 -38 0, 124 -38 1, 124 -36 2, 122 -36 3, 122 -38 0)) |
Changes to test/sql_stmt_tests/normalizelonlat27.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygon :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POLYGON((120 -140, 120 -150, 130 -150, 130 -140, 120 -140), (122 -142, 124 -142, 124 -144, 122 -144, 122 -142))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POLYGON((120 -140, 120 -150, 130 -150, 130 -140, 120 -140), (122 -142, 124 -142, 124 -144, 122 -144, 122 -142))", 4326)))42 0))", 4326))) POLYGON((120 -40, 120 -30, 130 -30, 130 -40, 120 -40), (122 -38, 124 -38, 124 -36, 122 -36, 122 -38)) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative lat polygon :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POLYGON((120 -140, 120 -150, 130 -150, 130 -140, 120 -140), (122 -142, 124 -142, 124 -144, 122 -144, 122 -142))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POLYGON((120 -140, 120 -150, 130 -150, 130 -140, 120 -140), (122 -142, 124 -142, 124 -144, 122 -144, 122 -142))', 4326)))42 0))', 4326))) POLYGON((120 -40, 120 -30, 130 -30, 130 -40, 120 -40), (122 -38, 124 -38, 124 -36, 122 -36, 122 -38)) |
Changes to test/sql_stmt_tests/normalizelonlat3.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive long :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(721 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(721 2)", 4326))) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive long :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(721 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(721 2)', 4326))) POINT(1 2) |
Changes to test/sql_stmt_tests/normalizelonlat4.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative longitude :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(-721 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(-721 2)", 4326))) POINT(-1 2) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative longitude :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(-721 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(-721 2)', 4326))) POINT(-1 2) |
Changes to test/sql_stmt_tests/normalizelonlat5.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive longitude to negative longitude :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(181 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(181 2)", 4326))) POINT(-179 2) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive longitude to negative longitude :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(181 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(181 2)', 4326))) POINT(-179 2) |
Changes to test/sql_stmt_tests/normalizelonlat6.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive lat :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(10 120)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(10 120)", 4326))) POINT(10 60) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive lat :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(10 120)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(10 120)', 4326))) POINT(10 60) |
Changes to test/sql_stmt_tests/normalizelonlat7.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive lat :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 180)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 180)", 4326))) POINT(4 0) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive lat :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 180)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 180)', 4326))) POINT(4 0) |
Changes to test/sql_stmt_tests/normalizelonlat8.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative latitude :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(150 -95)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(150 -95)", 4326))) POINT(150 -85) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range negative latitude :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(150 -95)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(150 -95)', 4326))) POINT(150 -85) |
Changes to test/sql_stmt_tests/normalizelonlat9.testcase.
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive lat huge :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText("POINT(4 390)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText("POINT(4 390)", 4326))) POINT(4 30) |
| | |
1 2 3 4 5 6 7 |
normalizelonlat- out of range positive lat huge :memory: #use in-memory database SELECT AsText(NormalizeLonLat(GeomFromText('POINT(4 390)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(NormalizeLonLat(GeomFromText('POINT(4 390)', 4326))) POINT(4 30) |
Changes to test/sql_stmt_tests/npoints2.testcase.
1 2 3 4 5 6 7 |
npoints - non-blob :memory: #use in-memory database SELECT ST_NPoints("hello") 1 # rows (not including the header row) 1 # columns ST_NPoints("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
npoints - non-blob :memory: #use in-memory database SELECT ST_NPoints('hello') 1 # rows (not including the header row) 1 # columns ST_NPoints('hello') (NULL) |
Changes to test/sql_stmt_tests/npoints4.testcase.
1 2 3 4 5 6 7 |
npoints - Point plus linestring :memory: #use in-memory database SELECT ST_NPoints(GeomFromText("GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))")) 1 # rows (not including the header row) 1 # columns ST_NPoints(GeomFromText("GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))")) 4 |
| | |
1 2 3 4 5 6 7 |
npoints - Point plus linestring :memory: #use in-memory database SELECT ST_NPoints(GeomFromText('GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))')) 1 # rows (not including the header row) 1 # columns ST_NPoints(GeomFromText('GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))')) 4 |
Changes to test/sql_stmt_tests/npoints5.testcase.
1 2 3 4 5 6 7 |
npoints - Polygon plus linestring :memory: #use in-memory database SELECT ST_NPoints(GeomFromText("GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))")) 1 # rows (not including the header row) 1 # columns ST_NPoints(GeomFromText("GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))")) 11 |
| | |
1 2 3 4 5 6 7 |
npoints - Polygon plus linestring :memory: #use in-memory database SELECT ST_NPoints(GeomFromText('GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))')) 1 # rows (not including the header row) 1 # columns ST_NPoints(GeomFromText('GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))')) 11 |
Changes to test/sql_stmt_tests/npoints6.testcase.
1 2 3 4 5 6 7 |
npoints - multipolygon :memory: #use in-memory database SELECT ST_NPoints(GeomFromText("MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))")) 1 # rows (not including the header row) 1 # columns ST_NPoints(GeomFromText("MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))")) 14 |
| | |
1 2 3 4 5 6 7 |
npoints - multipolygon :memory: #use in-memory database SELECT ST_NPoints(GeomFromText('MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))')) 1 # rows (not including the header row) 1 # columns ST_NPoints(GeomFromText('MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))')) 14 |
Changes to test/sql_stmt_tests/nrings2.testcase.
1 2 3 4 5 6 7 |
nrings - non-blob :memory: #use in-memory database SELECT ST_NRings("hello") 1 # rows (not including the header row) 1 # columns ST_NRings("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
nrings - non-blob :memory: #use in-memory database SELECT ST_NRings('hello') 1 # rows (not including the header row) 1 # columns ST_NRings('hello') (NULL) |
Changes to test/sql_stmt_tests/nrings4.testcase.
1 2 3 4 5 6 7 |
nrings - Point plus linestring :memory: #use in-memory database SELECT ST_NRings(GeomFromText("GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))")) 1 # rows (not including the header row) 1 # columns ST_NRings(GeomFromText("GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))")) 0 |
| | |
1 2 3 4 5 6 7 |
nrings - Point plus linestring :memory: #use in-memory database SELECT ST_NRings(GeomFromText('GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))')) 1 # rows (not including the header row) 1 # columns ST_NRings(GeomFromText('GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6, 7 9))')) 0 |
Changes to test/sql_stmt_tests/nrings5.testcase.
1 2 3 4 5 6 7 |
nrings - Polygon plus linestring :memory: #use in-memory database SELECT ST_NRings(GeomFromText("GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))")) 1 # rows (not including the header row) 1 # columns ST_NRings(GeomFromText("GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))")) 2 |
| | |
1 2 3 4 5 6 7 |
nrings - Polygon plus linestring :memory: #use in-memory database SELECT ST_NRings(GeomFromText('GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))')) 1 # rows (not including the header row) 1 # columns ST_NRings(GeomFromText('GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2), (1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)), LINESTRING(1 3, 4 6))')) 2 |
Changes to test/sql_stmt_tests/nrings6.testcase.
1 2 3 4 5 6 7 |
nrings - multipolygon :memory: #use in-memory database SELECT ST_NRings(GeomFromText("MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))")) 1 # rows (not including the header row) 1 # columns ST_NRings(GeomFromText("MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))")) 3 |
| | |
1 2 3 4 5 6 7 |
nrings - multipolygon :memory: #use in-memory database SELECT ST_NRings(GeomFromText('MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))')) 1 # rows (not including the header row) 1 # columns ST_NRings(GeomFromText('MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2),(1.6 2.1, 1.7 2.1, 1.7 2.2, 1.6 2.2, 1.6 2.1)),((0 0, 1 0, 1 1, 0 1, 0 0)))')) 3 |
Changes to test/sql_stmt_tests/numgeometries2.testcase.
1 2 3 4 5 6 7 |
numgeometries - non-blob :memory: #use in-memory database SELECT NumGeometries("hello") 1 # rows (not including the header row) 1 # columns NumGeometries("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
numgeometries - non-blob :memory: #use in-memory database SELECT NumGeometries('hello') 1 # rows (not including the header row) 1 # columns NumGeometries('hello') (NULL) |
Changes to test/sql_stmt_tests/numgeometries4.testcase.
1 2 3 4 5 6 7 |
numgeometries - Point plus linestring :memory: #use in-memory database SELECT NumGeometries(GeomFromText("GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6))")) 1 # rows (not including the header row) 1 # columns NumGeometries(GeomFromText("GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6))")) 2 |
| | |
1 2 3 4 5 6 7 |
numgeometries - Point plus linestring :memory: #use in-memory database SELECT NumGeometries(GeomFromText('GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6))')) 1 # rows (not including the header row) 1 # columns NumGeometries(GeomFromText('GeometryCollection(POINT(1 2), LINESTRING(1 3, 4 6))')) 2 |
Changes to test/sql_stmt_tests/numgeometries5.testcase.
1 2 3 4 5 6 7 |
numgeometries - Polygon plus linestring :memory: #use in-memory database SELECT NumGeometries(GeomFromText("GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2)), LINESTRING(1 3, 4 6))")) 1 # rows (not including the header row) 1 # columns NumGeometries(GeomFromText("GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2)), LINESTRING(1 3, 4 6))")) 2 |
| | |
1 2 3 4 5 6 7 |
numgeometries - Polygon plus linestring :memory: #use in-memory database SELECT NumGeometries(GeomFromText('GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2)), LINESTRING(1 3, 4 6))')) 1 # rows (not including the header row) 1 # columns NumGeometries(GeomFromText('GeometryCollection(POLYGON((1 2, 3 4, 5 0, 1 2)), LINESTRING(1 3, 4 6))')) 2 |
Changes to test/sql_stmt_tests/numgeometries6.testcase.
1 2 3 4 5 6 7 |
numgeometries - multipolygon :memory: #use in-memory database SELECT NumGeometries(GeomFromText("MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2)),((0 0, 1 0, 1 1, 0 1, 0 0)))")) 1 # rows (not including the header row) 1 # columns NumGeometries(GeomFromText("MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2)),((0 0, 1 0, 1 1, 0 1, 0 0)))")) 2 |
| | |
1 2 3 4 5 6 7 |
numgeometries - multipolygon :memory: #use in-memory database SELECT NumGeometries(GeomFromText('MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2)),((0 0, 1 0, 1 1, 0 1, 0 0)))')) 1 # rows (not including the header row) 1 # columns NumGeometries(GeomFromText('MULTIPOLYGON(((1 2, 3 4, 5 0, 1 2)),((0 0, 1 0, 1 1, 0 1, 0 0)))')) 2 |
Changes to test/sql_stmt_tests/pointfromtext1.testcase.
1 2 3 4 5 6 7 |
pointfromtext1 :memory: #use in-memory database SELECT AsWkt(PointFromText("POINT(-71.1043443253471 42.315067601582900)"), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PointFromText("POINT(-71.1043443253471 42.315067601582900)"), 4) POINT(-71.1043 42.3151) |
| | |
1 2 3 4 5 6 7 |
pointfromtext1 :memory: #use in-memory database SELECT AsWkt(PointFromText('POINT(-71.1043443253471 42.315067601582900)'), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PointFromText('POINT(-71.1043443253471 42.315067601582900)'), 4) POINT(-71.1043 42.3151) |
Changes to test/sql_stmt_tests/pointfromtext2.testcase.
1 2 3 4 5 6 7 |
pointfromtext2 :memory: #use in-memory database SELECT AsWkt(PointFromText("POINT(-71.1043443253471 42.315067601582900)", 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PointFromText("POINT(-71.1043443253471 42.315067601582900)", 4326), 4) POINT(-71.1043 42.3151) |
| | |
1 2 3 4 5 6 7 |
pointfromtext2 :memory: #use in-memory database SELECT AsWkt(PointFromText('POINT(-71.1043443253471 42.315067601582900)', 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PointFromText('POINT(-71.1043443253471 42.315067601582900)', 4326), 4) POINT(-71.1043 42.3151) |
Changes to test/sql_stmt_tests/pointn1.testcase.
1 2 3 4 5 6 7 |
pointn - text input (error) :memory: #use in-memory database SELECT PointN("hello world", 0); 1 # rows (not including the header row) 1 # columns PointN("hello world", 0) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointn - text input (error) :memory: #use in-memory database SELECT PointN('hello world', 0); 1 # rows (not including the header row) 1 # columns PointN('hello world', 0) (NULL) |
Changes to test/sql_stmt_tests/pointn10.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGM (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRINGM(4 0 9, 4 4 8, 8 4 7)"), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRINGM(4 0 9, 4 4 8, 8 4 7)"), -1)) POINT M(8 4 7) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGM (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRINGM(4 0 9, 4 4 8, 8 4 7)'), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRINGM(4 0 9, 4 4 8, 8 4 7)'), -1)) POINT M(8 4 7) |
Changes to test/sql_stmt_tests/pointn11.testcase.
1 2 3 4 5 6 7 |
pointN - nasty geometry :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 1)) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointN - nasty geometry :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 1)) (NULL) |
Changes to test/sql_stmt_tests/pointn12.testcase.
1 2 3 4 5 6 7 |
pointN - point input :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("POINT(136 -35)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("POINT(136 -35)"), 1)) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointN - point input :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('POINT(136 -35)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('POINT(136 -35)'), 1)) (NULL) |
Changes to test/sql_stmt_tests/pointn13.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGZ out of range (error) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)"), 4)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)"), 4)) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGZ out of range (error) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)'), 4)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)'), 4)) (NULL) |
Changes to test/sql_stmt_tests/pointn14.testcase.
1 2 3 4 5 6 7 |
pointN - empty LINESTRINGZ (error) :memory: #use in-memory database SELECT PointN(GeomFromText("LINESTRINGZ()"), 0); 1 # rows (not including the header row) 1 # columns PointN(GeomFromText("LINESTRINGZ()"), 0) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointN - empty LINESTRINGZ (error) :memory: #use in-memory database SELECT PointN(GeomFromText('LINESTRINGZ()'), 0); 1 # rows (not including the header row) 1 # columns PointN(GeomFromText('LINESTRINGZ()'), 0) (NULL) |
Changes to test/sql_stmt_tests/pointn15.testcase.
1 2 3 4 5 6 7 |
pointN - point input, out of range :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("POINT(136 -35)"), -2)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("POINT(136 -35)"), -2)) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointN - point input, out of range :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('POINT(136 -35)'), -2)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('POINT(136 -35)'), -2)) (NULL) |
Changes to test/sql_stmt_tests/pointn2.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (first point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 1)) POINT(4 0) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (first point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 1)) POINT(4 0) |
Changes to test/sql_stmt_tests/pointn3.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (second point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 2)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 2)) POINT(4 4) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (second point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 2)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 2)) POINT(4 4) |
Changes to test/sql_stmt_tests/pointn4.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (third point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 3)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), 3)) POINT(8 4) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (third point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 3)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 3)) POINT(8 4) |
Changes to test/sql_stmt_tests/pointn5.testcase.
1 2 3 4 5 6 7 |
pointN - text index (error) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), "three")); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), "three")) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointN - text index (error) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 'three')); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), 'three')) (NULL) |
Changes to test/sql_stmt_tests/pointn6.testcase.
1 2 3 4 5 6 7 |
pointN - text arg (error) :memory: #use in-memory database SELECT PointN("hello", 1); 1 # rows (not including the header row) 1 # columns PointN("hello", 1) (NULL) |
| | |
1 2 3 4 5 6 7 |
pointN - text arg (error) :memory: #use in-memory database SELECT PointN('hello', 1); 1 # rows (not including the header row) 1 # columns PointN('hello', 1) (NULL) |
Changes to test/sql_stmt_tests/pointn7.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"), -1)) POINT(8 4) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRING (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'), -1)) POINT(8 4) |
Changes to test/sql_stmt_tests/pointn8.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGZ (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)"), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)"), -1)) POINT Z(8 4 3.3) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGZ (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)'), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRINGZ(4 0 4.4, 4 4 2.2, 8 4 3.3)'), -1)) POINT Z(8 4 3.3) |
Changes to test/sql_stmt_tests/pointn9.testcase.
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGZM (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText("LINESTRINGZM(4 0 4.4 9, 4 4 2.2 8, 8 4 3.3 7)"), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText("LINESTRINGZM(4 0 4.4 9, 4 4 2.2 8, 8 4 3.3 7)"), -1)) POINT ZM(8 4 3.3 7) |
| | |
1 2 3 4 5 6 7 |
pointN - regular LINESTRINGZM (last point) :memory: #use in-memory database SELECT AsText(PointN(GeomFromText('LINESTRINGZM(4 0 4.4 9, 4 4 2.2 8, 8 4 3.3 7)'), -1)); 1 # rows (not including the header row) 1 # columns AsText(PointN(GeomFromText('LINESTRINGZM(4 0 4.4 9, 4 4 2.2 8, 8 4 3.3 7)'), -1)) POINT ZM(8 4 3.3 7) |
Changes to test/sql_stmt_tests/polygccw2.testcase.
1 2 3 4 5 6 7 |
forcePolygonCCW - invalid :memory: #use in-memory database SELECT ST_ForcePolygonCCW("alpha"); 1 # rows (not including the header row) 1 # columns ST_ForcePolygonCCW("alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCCW - invalid :memory: #use in-memory database SELECT ST_ForcePolygonCCW('alpha'); 1 # rows (not including the header row) 1 # columns ST_ForcePolygonCCW('alpha') (NULL) |
Changes to test/sql_stmt_tests/polygccw3.testcase.
1 2 3 4 5 6 7 |
forcePolygonCCW - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))"))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))"))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(3 4,5 6,7 8,9 9),POLYGON((10 10,15 10,13 13,10 10),(11 10.5,13 11.3,13 10.5,11 10.5)),POLYGON((20 20,22 18,24.1 20,20 20),(21 19.5,23.1 19.5,22 18.5,21 19.5))) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCCW - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))'))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))'))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(3 4,5 6,7 8,9 9),POLYGON((10 10,15 10,13 13,10 10),(11 10.5,13 11.3,13 10.5,11 10.5)),POLYGON((20 20,22 18,24.1 20,20 20),(21 19.5,23.1 19.5,22 18.5,21 19.5))) |
Changes to test/sql_stmt_tests/polygccw4.testcase.
1 2 3 4 5 6 7 |
forcePolygonCCW - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(3 4 101,5 6 102,7 8 103,9 9 19),POLYGON((10 10 101,15 10 102,13 13 103,10 10 101),(11 10.5 100,13 11.3 102,13 10.5 101,11 10.5 100)),POLYGON((20 20 100,22 18 102,24.1 20 101,20 20 100),(21 19.5 101,23.1 19.5 102,22 18.5 103,21 19.5 101))) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCCW - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(3 4 101,5 6 102,7 8 103,9 9 19),POLYGON((10 10 101,15 10 102,13 13 103,10 10 101),(11 10.5 100,13 11.3 102,13 10.5 101,11 10.5 100)),POLYGON((20 20 100,22 18 102,24.1 20 101,20 20 100),(21 19.5 101,23.1 19.5 102,22 18.5 103,21 19.5 101))) |
Changes to test/sql_stmt_tests/polygccw5.testcase.
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(3 4 10,5 6 11,7 8 13,9 9 13),POLYGONM((10 10 11,15 10 13,13 13 13,10 10 11),(11 10.5 10,13 11.3 13,13 10.5 11,11 10.5 10)),POLYGONM((20 20 10,22 18 13,24.1 20 11,20 20 10),(21 19.5 11,23.1 19.5 13,22 18.5 13,21 19.5 11))) |
| | |
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(3 4 10,5 6 11,7 8 13,9 9 13),POLYGONM((10 10 11,15 10 13,13 13 13,10 10 11),(11 10.5 10,13 11.3 13,13 10.5 11,11 10.5 10)),POLYGONM((20 20 10,22 18 13,24.1 20 11,20 20 10),(21 19.5 11,23.1 19.5 13,22 18.5 13,21 19.5 11))) |
Changes to test/sql_stmt_tests/polygccw6.testcase.
1 2 3 4 5 6 7 |
forcePolygonCCW - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON((10 10 101 11,15 10 102 13,13 13 103 13,10 10 101 11),(11 10.5 100 10,13 11.3 102 13,13 10.5 101 11,11 10.5 100 10)),POLYGON((20 20 100 10,22 18 102 13,24.1 20 101 11,20 20 100 10),(21 19.5 101 11,23.1 19.5 102 13,22 18.5 103 13,21 19.5 101 11))) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCCW - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCCW(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON((10 10 101 11,15 10 102 13,13 13 103 13,10 10 101 11),(11 10.5 100 10,13 11.3 102 13,13 10.5 101 11,11 10.5 100 10)),POLYGON((20 20 100 10,22 18 102 13,24.1 20 101 11,20 20 100 10),(21 19.5 101 11,23.1 19.5 102 13,22 18.5 103 13,21 19.5 101 11))) |
Changes to test/sql_stmt_tests/polygcw2.testcase.
1 2 3 4 5 6 7 |
forcePolygonCW - invalid :memory: #use in-memory database SELECT ST_ForcePolygonCW("alpha"); 1 # rows (not including the header row) 1 # columns ST_ForcePolygonCW("alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCW - invalid :memory: #use in-memory database SELECT ST_ForcePolygonCW('alpha'); 1 # rows (not including the header row) 1 # columns ST_ForcePolygonCW('alpha') (NULL) |
Changes to test/sql_stmt_tests/polygcw3.testcase.
1 2 3 4 5 6 7 |
forcePolygonCW - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))"))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))"))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(3 4,5 6,7 8,9 9),POLYGON((10 10,13 13,15 10,10 10),(11 10.5,13 10.5,13 11.3,11 10.5)),POLYGON((20 20,24.1 20,22 18,20 20),(21 19.5,22 18.5,23.1 19.5,21 19.5))) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCW - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))'))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 24.1 20, 22 18, 20 20), (21 19.5, 23.1 19.5, 22 18.5, 21 19.5)))'))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(3 4,5 6,7 8,9 9),POLYGON((10 10,13 13,15 10,10 10),(11 10.5,13 10.5,13 11.3,11 10.5)),POLYGON((20 20,24.1 20,22 18,20 20),(21 19.5,22 18.5,23.1 19.5,21 19.5))) |
Changes to test/sql_stmt_tests/polygcw4.testcase.
1 2 3 4 5 6 7 |
forcePolygonCW - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(3 4 101,5 6 102,7 8 103,9 9 19),POLYGON((10 10 101,13 13 103,15 10 102,10 10 101),(11 10.5 100,13 10.5 101,13 11.3 102,11 10.5 100)),POLYGON((20 20 100,24.1 20 101,22 18 102,20 20 100),(21 19.5 101,22 18.5 103,23.1 19.5 102,21 19.5 101))) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCW - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 24.1 20 101, 22 18 102, 20 20 100), (21 19.5 101, 23.1 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(3 4 101,5 6 102,7 8 103,9 9 19),POLYGON((10 10 101,13 13 103,15 10 102,10 10 101),(11 10.5 100,13 10.5 101,13 11.3 102,11 10.5 100)),POLYGON((20 20 100,24.1 20 101,22 18 102,20 20 100),(21 19.5 101,22 18.5 103,23.1 19.5 102,21 19.5 101))) |
Changes to test/sql_stmt_tests/polygcw5.testcase.
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(3 4 10,5 6 11,7 8 13,9 9 13),POLYGONM((10 10 11,13 13 13,15 10 13,10 10 11),(11 10.5 10,13 10.5 11,13 11.3 13,11 10.5 10)),POLYGONM((20 20 10,24.1 20 11,22 18 13,20 20 10),(21 19.5 11,22 18.5 13,23.1 19.5 13,21 19.5 11))) |
| | |
1 2 3 4 5 6 7 |
forceLHR - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 24.1 20 11, 22 18 13, 20 20 10), (21 19.5 11, 23.1 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(3 4 10,5 6 11,7 8 13,9 9 13),POLYGONM((10 10 11,13 13 13,15 10 13,10 10 11),(11 10.5 10,13 10.5 11,13 11.3 13,11 10.5 10)),POLYGONM((20 20 10,24.1 20 11,22 18 13,20 20 10),(21 19.5 11,22 18.5 13,23.1 19.5 13,21 19.5 11))) |
Changes to test/sql_stmt_tests/polygcw6.testcase.
1 2 3 4 5 6 7 |
forcePolygonCW - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON((10 10 101 11,13 13 103 13,15 10 102 13,10 10 101 11),(11 10.5 100 10,13 10.5 101 11,13 11.3 102 13,11 10.5 100 10)),POLYGON((20 20 100 10,24.1 20 101 11,22 18 102 13,20 20 100 10),(21 19.5 101 11,22 18.5 103 13,23.1 19.5 102 13,21 19.5 101 11))) |
| | |
1 2 3 4 5 6 7 |
forcePolygonCW - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_ForcePolygonCW(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 24.1 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 23.1 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(3 4 101 10,5 6 102 11,7 8 103 13,9 9 19 13),POLYGON((10 10 101 11,13 13 103 13,15 10 102 13,10 10 101 11),(11 10.5 100 10,13 10.5 101 11,13 11.3 102 13,11 10.5 100 10)),POLYGON((20 20 100 10,24.1 20 101 11,22 18 102 13,20 20 100 10),(21 19.5 101 11,22 18.5 103 13,23.1 19.5 102 13,21 19.5 101 11))) |
Changes to test/sql_stmt_tests/polygonfromtext1.testcase.
1 2 3 4 5 6 7 |
polygonfromtext1 :memory: #use in-memory database SELECT AsWkt(PolygonFromText("POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))"), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PolygonFromText("POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))"), 4) POLYGON((-71 42,-70 41,-70 42,-70 42,-71 42)) |
| | |
1 2 3 4 5 6 7 |
polygonfromtext1 :memory: #use in-memory database SELECT AsWkt(PolygonFromText('POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))'), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PolygonFromText('POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))'), 4) POLYGON((-71 42,-70 41,-70 42,-70 42,-71 42)) |
Changes to test/sql_stmt_tests/polygonfromtext2.testcase.
1 2 3 4 5 6 7 |
polygonfromtext2 :memory: #use in-memory database SELECT AsWkt(PolygonFromText("POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))", 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PolygonFromText("POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))", 4326), 4) POLYGON((-71 42,-70 41,-70 42,-70 42,-71 42)) |
| | |
1 2 3 4 5 6 7 |
polygonfromtext2 :memory: #use in-memory database SELECT AsWkt(PolygonFromText('POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))', 4326), 4); 1 # rows (not including the header row) 1 # columns AsWkt(PolygonFromText('POLYGON((-71 42, -70 41, -70 42, -70 42, -71 42))', 4326), 4) POLYGON((-71 42,-70 41,-70 42,-70 42,-71 42)) |
Changes to test/sql_stmt_tests/reflectcoords1.testcase.
1 2 3 4 5 6 7 |
reflectcoords1 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1, 0)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1, 0)) POINT(-1 2) |
| | |
1 2 3 4 5 6 7 |
reflectcoords1 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1, 0)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1, 0)) POINT(-1 2) |
Changes to test/sql_stmt_tests/reflectcoords10.testcase.
1 2 3 4 5 6 7 |
reflectcoords10 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("LINESTRINGM(-1 -1 1, 1 0 2, 0 1 3)"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("LINESTRINGM(-1 -1 1, 1 0 2, 0 1 3)"), 1, 1)) LINESTRING M(1 1 1, -1 0 2, 0 -1 3) |
| | |
1 2 3 4 5 6 7 |
reflectcoords10 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('LINESTRINGM(-1 -1 1, 1 0 2, 0 1 3)'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('LINESTRINGM(-1 -1 1, 1 0 2, 0 1 3)'), 1, 1)) LINESTRING M(1 1 1, -1 0 2, 0 -1 3) |
Changes to test/sql_stmt_tests/reflectcoords11.testcase.
1 2 3 4 5 6 7 |
reflectcoords10 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("LINESTRINGZM(-1 -1 10 1, 1 0 11 2, 0 1 12 3)"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("LINESTRINGZM(-1 -1 10 1, 1 0 11 2, 0 1 12 3)"), 1, 1)) LINESTRING ZM(1 1 10 1, -1 0 11 2, 0 -1 12 3) |
| | |
1 2 3 4 5 6 7 |
reflectcoords10 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('LINESTRINGZM(-1 -1 10 1, 1 0 11 2, 0 1 12 3)'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('LINESTRINGZM(-1 -1 10 1, 1 0 11 2, 0 1 12 3)'), 1, 1)) LINESTRING ZM(1 1 10 1, -1 0 11 2, 0 -1 12 3) |
Changes to test/sql_stmt_tests/reflectcoords12.testcase.
1 2 3 4 5 6 7 |
reflectcoords12 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POLYGON((-10 -10, -20 -10, -20 -20, -20 -11, -10 -10), (-11 -11, -12 -11, -12 -12, -11 -12, -11 -11))"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POLYGON((-10 -10, -20 -10, -20 -20, -20 -11, -10 -10), (-11 -11, -12 -11, -12 -12, -11 -12, -11 -11))"), 1, 1)) POLYGON((10 10, 20 10, 20 20, 20 11, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)) |
| | |
1 2 3 4 5 6 7 |
reflectcoords12 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POLYGON((-10 -10, -20 -10, -20 -20, -20 -11, -10 -10), (-11 -11, -12 -11, -12 -12, -11 -12, -11 -11))'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POLYGON((-10 -10, -20 -10, -20 -20, -20 -11, -10 -10), (-11 -11, -12 -11, -12 -12, -11 -12, -11 -11))'), 1, 1)) POLYGON((10 10, 20 10, 20 20, 20 11, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)) |
Changes to test/sql_stmt_tests/reflectcoords13.testcase.
1 2 3 4 5 6 7 |
reflectcoords13 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POLYGONZ((-10 -10 100, -20 -10 101, -20 -20 102, -20 -11 103, -10 -10 100), (-11 -11 100, -12 -11 101, -12 -12 102, -11 -12 103, -11 -11 100))"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POLYGONZ((-10 -10 100, -20 -10 101, -20 -20 102, -20 -11 103, -10 -10 100), (-11 -11 100, -12 -11 101, -12 -12 102, -11 -12 103, -11 -11 100))"), 1, 1)) POLYGON Z((10 10 100, 20 10 101, 20 20 102, 20 11 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)) |
| | |
1 2 3 4 5 6 7 |
reflectcoords13 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POLYGONZ((-10 -10 100, -20 -10 101, -20 -20 102, -20 -11 103, -10 -10 100), (-11 -11 100, -12 -11 101, -12 -12 102, -11 -12 103, -11 -11 100))'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POLYGONZ((-10 -10 100, -20 -10 101, -20 -20 102, -20 -11 103, -10 -10 100), (-11 -11 100, -12 -11 101, -12 -12 102, -11 -12 103, -11 -11 100))'), 1, 1)) POLYGON Z((10 10 100, 20 10 101, 20 20 102, 20 11 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)) |
Changes to test/sql_stmt_tests/reflectcoords14.testcase.
1 2 3 4 5 6 7 |
reflectcoords14 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))"), 1, 1)) POLYGON M((10 10 1, 20 10 2, 20 20 3, 20 11 4, 10 10 1), (11 11 1, 12 11 2, 12 12 3, 11 12 4, 11 11 1)) |
| | |
1 2 3 4 5 6 7 |
reflectcoords14 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))'), 1, 1)) POLYGON M((10 10 1, 20 10 2, 20 20 3, 20 11 4, 10 10 1), (11 11 1, 12 11 2, 12 12 3, 11 12 4, 11 11 1)) |
Changes to test/sql_stmt_tests/reflectcoords15.testcase.
1 2 3 4 5 6 7 |
reflectcoords15 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POLYGONZM((-10 -10 100 1, -20 -10 101 2, -20 -20 102 3, -20 -11 103 4, -10 -10 100 1), (-11 -11 100 1, -12 -11 101 2, -12 -12 102 3, -11 -12 103 4, -11 -11 100 1))"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POLYGONZM((-10 -10 100 1, -20 -10 101 2, -20 -20 102 3, -20 -11 103 4, -10 -10 100 1), (-11 -11 100 1, -12 -11 101 2, -12 -12 102 3, -11 -12 103 4, -11 -11 100 1))"), 1, 1)) POLYGON ZM((10 10 100 1, 20 10 101 2, 20 20 102 3, 20 11 103 4, 10 10 100 1), (11 11 100 1, 12 11 101 2, 12 12 102 3, 11 12 103 4, 11 11 100 1)) |
| | |
1 2 3 4 5 6 7 |
reflectcoords15 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POLYGONZM((-10 -10 100 1, -20 -10 101 2, -20 -20 102 3, -20 -11 103 4, -10 -10 100 1), (-11 -11 100 1, -12 -11 101 2, -12 -12 102 3, -11 -12 103 4, -11 -11 100 1))'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POLYGONZM((-10 -10 100 1, -20 -10 101 2, -20 -20 102 3, -20 -11 103 4, -10 -10 100 1), (-11 -11 100 1, -12 -11 101 2, -12 -12 102 3, -11 -12 103 4, -11 -11 100 1))'), 1, 1)) POLYGON ZM((10 10 100 1, 20 10 101 2, 20 20 102 3, 20 11 103 4, 10 10 100 1), (11 11 100 1, 12 11 101 2, 12 12 102 3, 11 12 103 4, 11 11 100 1)) |
Changes to test/sql_stmt_tests/reflectcoords16.testcase.
1 2 3 4 5 6 7 |
reflectcoords - no reflection :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("LINESTRING(-1 -1, 1 0, 0 1)"), 0, 0)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("LINESTRING(-1 -1, 1 0, 0 1)"), 0, 0)) LINESTRING(-1 -1, 1 0, 0 1) |
| | |
1 2 3 4 5 6 7 |
reflectcoords - no reflection :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('LINESTRING(-1 -1, 1 0, 0 1)'), 0, 0)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('LINESTRING(-1 -1, 1 0, 0 1)'), 0, 0)) LINESTRING(-1 -1, 1 0, 0 1) |
Changes to test/sql_stmt_tests/reflectcoords17.testcase.
1 2 3 4 5 6 7 |
reflectcoords - polygon no reflection :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))"), 0, 0)) 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))"), 0, 0)) POLYGON M((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1)) |
| | |
1 2 3 4 5 6 7 |
reflectcoords - polygon no reflection :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))'), 0, 0)) 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POLYGONM((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1))'), 0, 0)) POLYGON M((-10 -10 1, -20 -10 2, -20 -20 3, -20 -11 4, -10 -10 1), (-11 -11 1, -12 -11 2, -12 -12 3, -11 -12 4, -11 -11 1)) |
Changes to test/sql_stmt_tests/reflectcoords2.testcase.
1 2 3 4 5 6 7 |
reflectcoords2 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1, 1)) POINT(-1 -2) |
| | |
1 2 3 4 5 6 7 |
reflectcoords2 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1, 1)) POINT(-1 -2) |
Changes to test/sql_stmt_tests/reflectcoords3.testcase.
1 2 3 4 5 6 7 |
reflectcoords3 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 0, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 0, 1)) POINT(1 -2) |
| | |
1 2 3 4 5 6 7 |
reflectcoords3 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 0, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 0, 1)) POINT(1 -2) |
Changes to test/sql_stmt_tests/reflectcoords5.testcase.
1 2 3 4 5 6 7 |
reflectcoords5 :memory: #use in-memory database SELECT AsText(ReflectCoords("hello", 0, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords("hello", 0, 1)) (NULL) |
| | |
1 2 3 4 5 6 7 |
reflectcoords5 :memory: #use in-memory database SELECT AsText(ReflectCoords('hello', 0, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords('hello', 0, 1)) (NULL) |
Changes to test/sql_stmt_tests/reflectcoords6.testcase.
1 2 3 4 5 6 7 |
reflectcoords6 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1.0, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1.0, 1)) (NULL) |
| | |
1 2 3 4 5 6 7 |
reflectcoords6 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1.0, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1.0, 1)) (NULL) |
Changes to test/sql_stmt_tests/reflectcoords7.testcase.
1 2 3 4 5 6 7 |
reflectcoords7 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1, -23.3)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("POINT(1 2)"), 1, -23.3)) (NULL) |
| | |
1 2 3 4 5 6 7 |
reflectcoords7 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1, -23.3)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('POINT(1 2)'), 1, -23.3)) (NULL) |
Changes to test/sql_stmt_tests/reflectcoords8.testcase.
1 2 3 4 5 6 7 |
reflectcoords8 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("LINESTRING(-1 -1, 1 0, 0 1)"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("LINESTRING(-1 -1, 1 0, 0 1)"), 1, 1)) LINESTRING(1 1, -1 0, 0 -1) |
| | |
1 2 3 4 5 6 7 |
reflectcoords8 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('LINESTRING(-1 -1, 1 0, 0 1)'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('LINESTRING(-1 -1, 1 0, 0 1)'), 1, 1)) LINESTRING(1 1, -1 0, 0 -1) |
Changes to test/sql_stmt_tests/reflectcoords9.testcase.
1 2 3 4 5 6 7 |
reflectcoords9 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText("LINESTRINGZ(-1 -1 10, 1 0 11, 0 1 12)"), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText("LINESTRINGZ(-1 -1 10, 1 0 11, 0 1 12)"), 1, 1)) LINESTRING Z(1 1 10, -1 0 11, 0 -1 12) |
| | |
1 2 3 4 5 6 7 |
reflectcoords9 :memory: #use in-memory database SELECT AsText(ReflectCoords(GeomFromText('LINESTRINGZ(-1 -1 10, 1 0 11, 0 1 12)'), 1, 1)); 1 # rows (not including the header row) 1 # columns AsText(ReflectCoords(GeomFromText('LINESTRINGZ(-1 -1 10, 1 0 11, 0 1 12)'), 1, 1)) LINESTRING Z(1 1 10, -1 0 11, 0 -1 12) |
Changes to test/sql_stmt_tests/reverse2.testcase.
1 2 3 4 5 6 7 |
reverse - invalid :memory: #use in-memory database SELECT ST_Reverse("alpha"); 1 # rows (not including the header row) 1 # columns ST_Reverse("alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
reverse - invalid :memory: #use in-memory database SELECT ST_Reverse('alpha'); 1 # rows (not including the header row) 1 # columns ST_Reverse('alpha') (NULL) |
Changes to test/sql_stmt_tests/reverse3.testcase.
1 2 3 4 5 6 7 |
reverse - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 27 20, 22 18, 20 20), (21 19.5, 27 19.5, 22 18.5, 21 19.5)))"))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 27 20, 22 18, 20 20), (21 19.5, 27 19.5, 22 18.5, 21 19.5)))"))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(9 9,7 8,5 6,3 4),POLYGON((10 10,13 13,15 10,10 10),(11 10.5,13 11.3,13 10.5,11 10.5)),POLYGON((20 20,22 18,27 20,20 20),(21 19.5,22 18.5,27 19.5,21 19.5))) |
| | |
1 2 3 4 5 6 7 |
reverse - GeometryCollection XY :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 27 20, 22 18, 20 20), (21 19.5, 27 19.5, 22 18.5, 21 19.5)))'))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), LINESTRING(3 4, 5 6, 7 8, 9 9), POLYGON((10 10, 15 10, 13 13, 10 10), (11 10.5, 13 10.5, 13 11.3, 11 10.5)), POLYGON((20 20, 27 20, 22 18, 20 20), (21 19.5, 27 19.5, 22 18.5, 21 19.5)))'))) SRID=0;GEOMETRYCOLLECTION(POINT(1 2),LINESTRING(9 9,7 8,5 6,3 4),POLYGON((10 10,13 13,15 10,10 10),(11 10.5,13 11.3,13 10.5,11 10.5)),POLYGON((20 20,22 18,27 20,20 20),(21 19.5,22 18.5,27 19.5,21 19.5))) |
Changes to test/sql_stmt_tests/reverse4.testcase.
1 2 3 4 5 6 7 |
reverse - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 27 20 101, 22 18 102, 20 20 100), (21 19.5 101, 27 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 27 20 101, 22 18 102, 20 20 100), (21 19.5 101, 27 19.5 102, 22 18.5 103, 21 19.5 101)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(9 9 19,7 8 103,5 6 102,3 4 101),POLYGON((10 10 101,13 13 103,15 10 102,10 10 101),(11 10.5 100,13 11.3 102,13 10.5 101,11 10.5 100)),POLYGON((20 20 100,22 18 102,27 20 101,20 20 100),(21 19.5 101,22 18.5 103,27 19.5 102,21 19.5 101))) |
| | |
1 2 3 4 5 6 7 |
reverse - GeometryCollection XYZ :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 27 20 101, 22 18 102, 20 20 100), (21 19.5 101, 27 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), LINESTRINGZ(3 4 101, 5 6 102, 7 8 103, 9 9 19), POLYGONZ((10 10 101, 15 10 102, 13 13 103, 10 10 101), (11 10.5 100, 13 10.5 101, 13 11.3 102, 11 10.5 100)), POLYGONZ((20 20 100, 27 20 101, 22 18 102, 20 20 100), (21 19.5 101, 27 19.5 102, 22 18.5 103, 21 19.5 101)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100),LINESTRING(9 9 19,7 8 103,5 6 102,3 4 101),POLYGON((10 10 101,13 13 103,15 10 102,10 10 101),(11 10.5 100,13 11.3 102,13 10.5 101,11 10.5 100)),POLYGON((20 20 100,22 18 102,27 20 101,20 20 100),(21 19.5 101,22 18.5 103,27 19.5 102,21 19.5 101))) |
Changes to test/sql_stmt_tests/reverse5.testcase.
1 2 3 4 5 6 7 |
reverse - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 27 20 11, 22 18 13, 20 20 10), (21 19.5 11, 27 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 27 20 11, 22 18 13, 20 20 10), (21 19.5 11, 27 19.5 13, 22 18.5 13, 21 19.5 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(9 9 13,7 8 13,5 6 11,3 4 10),POLYGONM((10 10 11,13 13 13,15 10 13,10 10 11),(11 10.5 10,13 11.3 13,13 10.5 11,11 10.5 10)),POLYGONM((20 20 10,22 18 13,27 20 11,20 20 10),(21 19.5 11,22 18.5 13,27 19.5 13,21 19.5 11))) |
| | |
1 2 3 4 5 6 7 |
reverse - GeometryCollection XYM :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 27 20 11, 22 18 13, 20 20 10), (21 19.5 11, 27 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 10), LINESTRINGM(3 4 10, 5 6 11, 7 8 13, 9 9 13), POLYGONM((10 10 11, 15 10 13, 13 13 13, 10 10 11), (11 10.5 10, 13 10.5 11, 13 11.3 13, 11 10.5 10)), POLYGONM((20 20 10, 27 20 11, 22 18 13, 20 20 10), (21 19.5 11, 27 19.5 13, 22 18.5 13, 21 19.5 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTIONM(POINTM(1 2 10),LINESTRINGM(9 9 13,7 8 13,5 6 11,3 4 10),POLYGONM((10 10 11,13 13 13,15 10 13,10 10 11),(11 10.5 10,13 11.3 13,13 10.5 11,11 10.5 10)),POLYGONM((20 20 10,22 18 13,27 20 11,20 20 10),(21 19.5 11,22 18.5 13,27 19.5 13,21 19.5 11))) |
Changes to test/sql_stmt_tests/reverse6.testcase.
1 2 3 4 5 6 7 |
reverse - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 27 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 27 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 27 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 27 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))", 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(9 9 19 13,7 8 103 13,5 6 102 11,3 4 101 10),POLYGON((10 10 101 11,13 13 103 13,15 10 102 13,10 10 101 11),(11 10.5 100 10,13 11.3 102 13,13 10.5 101 11,11 10.5 100 10)),POLYGON((20 20 100 10,22 18 102 13,27 20 101 11,20 20 100 10),(21 19.5 101 11,22 18.5 103 13,27 19.5 102 13,21 19.5 101 11))) |
| | |
1 2 3 4 5 6 7 |
reverse - GeometryCollection XYZM :memory: #use in-memory database SELECT AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 27 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 27 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))); 1 # rows (not including the header row) 1 # columns AsEWKT(ST_Reverse(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 10), LINESTRINGZM(3 4 101 10, 5 6 102 11, 7 8 103 13, 9 9 19 13), POLYGONZM((10 10 101 11, 15 10 102 13, 13 13 103 13, 10 10 101 11), (11 10.5 100 10, 13 10.5 101 11, 13 11.3 102 13, 11 10.5 100 10)), POLYGONZM((20 20 100 10, 27 20 101 11, 22 18 102 13, 20 20 100 10), (21 19.5 101 11, 27 19.5 102 13, 22 18.5 103 13, 21 19.5 101 11)))', 4326))) SRID=4326;GEOMETRYCOLLECTION(POINT(1 2 100 10),LINESTRING(9 9 19 13,7 8 103 13,5 6 102 11,3 4 101 10),POLYGON((10 10 101 11,13 13 103 13,15 10 102 13,10 10 101 11),(11 10.5 100 10,13 11.3 102 13,13 10.5 101 11,11 10.5 100 10)),POLYGON((20 20 100 10,22 18 102 13,27 20 101 11,20 20 100 10),(21 19.5 101 11,22 18.5 103 13,27 19.5 102 13,21 19.5 101 11))) |
Changes to test/sql_stmt_tests/ring1.testcase.
1 2 3 4 5 6 7 |
ExteriorRing - Linestring (error) :memory: #use in-memory database SELECT ExteriorRing(GeomFromText("LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35)")); 1 # rows (not including the header row) 1 # columns ExteriorRing(GeomFromText("LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35)")) (NULL) |
| | |
1 2 3 4 5 6 7 |
ExteriorRing - Linestring (error) :memory: #use in-memory database SELECT ExteriorRing(GeomFromText('LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35)')); 1 # rows (not including the header row) 1 # columns ExteriorRing(GeomFromText('LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35)')) (NULL) |
Changes to test/sql_stmt_tests/ring10.testcase.
1 2 3 4 5 6 7 |
NumInteriorRings - Simple Polygon :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))")); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))")) 0 |
| | |
1 2 3 4 5 6 7 |
NumInteriorRings - Simple Polygon :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))')); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))')) 0 |
Changes to test/sql_stmt_tests/ring11.testcase.
1 2 3 4 5 6 7 |
NumInteriorRings - Polygon with 1 interior :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1))")); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1))")) 1 |
| | |
1 2 3 4 5 6 7 |
NumInteriorRings - Polygon with 1 interior :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1))')); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1))')) 1 |
Changes to test/sql_stmt_tests/ring12.testcase.
1 2 3 4 5 6 7 |
NumInteriorRings - Polygon with 2 interior :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))")); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))")) 2 |
| | |
1 2 3 4 5 6 7 |
NumInteriorRings - Polygon with 2 interior :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))')); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))')) 2 |
Changes to test/sql_stmt_tests/ring16.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - text input (error) :memory: #use in-memory database SELECT InteriorRingN("hello", 1); 1 # rows (not including the header row) 1 # column InteriorRingN("hello", 1) (NULL) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - text input (error) :memory: #use in-memory database SELECT InteriorRingN('hello', 1); 1 # rows (not including the header row) 1 # column InteriorRingN('hello', 1) (NULL) |
Changes to test/sql_stmt_tests/ring17.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 2)) LINESTRING(2 2, 2 3, 3 3, 3 2, 2 2) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 2)) LINESTRING(2 2, 2 3, 3 3, 3 2, 2 2) |
Changes to test/sql_stmt_tests/ring18.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - first interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 1)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 1)) LINESTRING(1 1, 1 3, 3 3, 3 1, 1 1) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - first interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 1)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 1)) LINESTRING(1 1, 1 3, 3 3, 3 1, 1 1) |
Changes to test/sql_stmt_tests/ring19.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - out-of-range interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 3); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 3) (NULL) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - out-of-range interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 3); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 3) (NULL) |
Changes to test/sql_stmt_tests/ring2.testcase.
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))"))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))"))) LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35) |
| | |
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))'))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35))'))) LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35) |
Changes to test/sql_stmt_tests/ring20.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - float interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 2.3); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))"), 2.3) (NULL) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - float interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 2.3); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 1, 1 3, 3 3, 3 1, 1 1),(2 2, 2 3, 3 3, 3 2, 2 2))'), 2.3) (NULL) |
Changes to test/sql_stmt_tests/ring21.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - POINT (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText("POINT(1 2)"), 1); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText("POINT(1 2)"), 1) (NULL) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - POINT (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText('POINT(1 2)'), 1); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText('POINT(1 2)'), 1) (NULL) |
Changes to test/sql_stmt_tests/ring22.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - POLGON Z second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 2)) LINESTRING Z(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - POLGON Z second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 2)) LINESTRING Z(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1) |
Changes to test/sql_stmt_tests/ring23.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - POLGON M second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText("POLYGONM((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText("POLYGONM((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 2)) LINESTRING M(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - POLGON M second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText('POLYGONM((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText('POLYGONM((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 2)) LINESTRING M(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1) |
Changes to test/sql_stmt_tests/ring24.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - POLGON ZM second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText("POLYGONZM((0 0 0 1, 0 4 1 1, 4 4 2 1, 4 0 3 1, 0 0 0 1),(1 1 2 2, 1 3 2 2, 3 3 2 2, 3 1 2 2, 1 1 2 2),(2 2 1 3, 2 3 1 3, 3 3 1 3, 3 2 1 3, 2 2 1 3))"), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText("POLYGONZM((0 0 0 1, 0 4 1 1, 4 4 2 1, 4 0 3 1, 0 0 0 1),(1 1 2 2, 1 3 2 2, 3 3 2 2, 3 1 2 2, 1 1 2 2),(2 2 1 3, 2 3 1 3, 3 3 1 3, 3 2 1 3, 2 2 1 3))"), 2)) LINESTRING ZM(2 2 1 3, 2 3 1 3, 3 3 1 3, 3 2 1 3, 2 2 1 3) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - POLGON ZM second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText('POLYGONZM((0 0 0 1, 0 4 1 1, 4 4 2 1, 4 0 3 1, 0 0 0 1),(1 1 2 2, 1 3 2 2, 3 3 2 2, 3 1 2 2, 1 1 2 2),(2 2 1 3, 2 3 1 3, 3 3 1 3, 3 2 1 3, 2 2 1 3))'), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText('POLYGONZM((0 0 0 1, 0 4 1 1, 4 4 2 1, 4 0 3 1, 0 0 0 1),(1 1 2 2, 1 3 2 2, 3 3 2 2, 3 1 2 2, 1 1 2 2),(2 2 1 3, 2 3 1 3, 3 3 1 3, 3 2 1 3, 2 2 1 3))'), 2)) LINESTRING ZM(2 2 1 3, 2 3 1 3, 3 3 1 3, 3 2 1 3, 2 2 1 3) |
Changes to test/sql_stmt_tests/ring25.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - POLGON Z third interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 3); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 3) (NULL) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - POLGON Z third interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 3); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 3) (NULL) |
Changes to test/sql_stmt_tests/ring26.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - POLGON Z zeroth interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 0); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))"), 0) (NULL) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - POLGON Z zeroth interior (error) :memory: #use in-memory database SELECT InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 0); 1 # rows (not including the header row) 1 # columns InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 1))'), 0) (NULL) |
Changes to test/sql_stmt_tests/ring27.testcase.
1 2 3 4 5 6 7 |
InteriorRingN - broken second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 2))"), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText("POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 2))"), 2)) LINESTRING Z(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 2) |
| | |
1 2 3 4 5 6 7 |
InteriorRingN - broken second interior :memory: #use in-memory database SELECT AsText(InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 2))'), 2)); 1 # rows (not including the header row) 1 # columns AsText(InteriorRingN(GeomFromText('POLYGONZ((0 0 0, 0 4 1, 4 4 2, 4 0 3, 0 0 0),(1 1 2, 1 3 2, 3 3 2, 3 1 2, 1 1 2),(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 2))'), 2)) LINESTRING Z(2 2 1, 2 3 1, 3 3 1, 3 2 1, 2 2 2) |
Changes to test/sql_stmt_tests/ring28.testcase.
1 2 3 4 5 6 7 |
NumInteriorRings - non-Polygon :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText("LINESTRING(136 -35, 135.2 -34.5, 136 -35.2)")) 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText("LINESTRING(136 -35, 135.2 -34.5, 136 -35.2)")) (NULL) |
| | |
1 2 3 4 5 6 7 |
NumInteriorRings - non-Polygon :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText('LINESTRING(136 -35, 135.2 -34.5, 136 -35.2)')) 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText('LINESTRING(136 -35, 135.2 -34.5, 136 -35.2)')) (NULL) |
Changes to test/sql_stmt_tests/ring3.testcase.
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon Z :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText("POLYGONZ((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))"))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText("POLYGONZ((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))"))); LINESTRING Z(136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4) |
| | |
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon Z :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText('POLYGONZ((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))'))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText('POLYGONZ((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))'))); LINESTRING Z(136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4) |
Changes to test/sql_stmt_tests/ring4.testcase.
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon M :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText("POLYGONM((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))"))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText("POLYGONM((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))"))); LINESTRING M(136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4) |
| | |
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon M :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText('POLYGONM((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))'))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText('POLYGONM((136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4))'))); LINESTRING M(136 -35 4, 135.2 -34.5 6.5, 136 -35.2 9.4, 136 -35 4) |
Changes to test/sql_stmt_tests/ring7.testcase.
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon ZM :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText("POLYGONZM((136 -35 4 0, 135.2 -34.5 6.5 1, 136 -35.2 9.4 2, 136 -35 4 0))"))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText("POLYGONZM((136 -35 4 0, 135.2 -34.5 6.5 1, 136 -35.2 9.4 2, 136 -35 4 0))"))) LINESTRING ZM(136 -35 4 0, 135.2 -34.5 6.5 1, 136 -35.2 9.4 2, 136 -35 4 0) |
| | |
1 2 3 4 5 6 7 |
ExteriorRing - Simple Polygon ZM :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText('POLYGONZM((136 -35 4 0, 135.2 -34.5 6.5 1, 136 -35.2 9.4 2, 136 -35 4 0))'))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText('POLYGONZM((136 -35 4 0, 135.2 -34.5 6.5 1, 136 -35.2 9.4 2, 136 -35 4 0))'))) LINESTRING ZM(136 -35 4 0, 135.2 -34.5 6.5 1, 136 -35.2 9.4 2, 136 -35 4 0) |
Changes to test/sql_stmt_tests/ring8.testcase.
1 2 3 4 5 6 7 |
ExteriorRing - Toxic polygon :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"))) LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5) |
| | |
1 2 3 4 5 6 7 |
ExteriorRing - Toxic polygon :memory: #use in-memory database SELECT AsText(ExteriorRing(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))); 1 # rows (not including the header row) 1 # columns AsText(ExteriorRing(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'))) LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5) |
Changes to test/sql_stmt_tests/ring9.testcase.
1 2 3 4 5 6 7 |
NumInteriorRings - Toxic polygon :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))")); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))")) 0 |
| | |
1 2 3 4 5 6 7 |
NumInteriorRings - Toxic polygon :memory: #use in-memory database SELECT NumInteriorRings(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))')); 1 # rows (not including the header row) 1 # columns NumInteriorRings(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))')) 0 |
Changes to test/sql_stmt_tests/rotatecoords1.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Point :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POINT(1 2)") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POINT(1 2) POINT(2 -1) POINT(-1 -2) POINT(-2 1) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Point :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POINT(1 2)') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POINT(1 2) POINT(2 -1) POINT(-1 -2) POINT(-2 1) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords10.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygonzm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGONZM((0 0 1 5, 1 1 2 6, 1 2 3 7, -1 1 4 8, 0 0 1 5))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON ZM((0 0 1 5, 1 1 2 6, 1 2 3 7, -1 1 4 8, 0 0 1 5)) POLYGON ZM((0 0 1 5, 1 -1 2 6, 2 -1 3 7, 1 1 4 8, 0 0 1 5)) POLYGON ZM((0 0 1 5, -1 -1 2 6, -1 -2 3 7, 1 -1 4 8, 0 0 1 5)) POLYGON ZM((0 0 1 5, -1 1 2 6, -2 1 3 7, -1 -1 4 8, 0 0 1 5)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygonzm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGONZM((0 0 1 5, 1 1 2 6, 1 2 3 7, -1 1 4 8, 0 0 1 5))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON ZM((0 0 1 5, 1 1 2 6, 1 2 3 7, -1 1 4 8, 0 0 1 5)) POLYGON ZM((0 0 1 5, 1 -1 2 6, 2 -1 3 7, 1 1 4 8, 0 0 1 5)) POLYGON ZM((0 0 1 5, -1 -1 2 6, -1 -2 3 7, 1 -1 4 8, 0 0 1 5)) POLYGON ZM((0 0 1 5, -1 1 2 6, -2 1 3 7, -1 -1 4 8, 0 0 1 5)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords11.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygon :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGON((0 0, 2 2, 2 4, -2 2, 0 0),(0 0, 1 1, 1 2, -1 1, 0 0))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON((0 0, 2 2, 2 4, -2 2, 0 0), (0 0, 1 1, 1 2, -1 1, 0 0)) POLYGON((0 0, 2 -2, 4 -2, 2 2, 0 0), (0 0, 1 -1, 2 -1, 1 1, 0 0)) POLYGON((0 0, -2 -2, -2 -4, 2 -2, 0 0), (0 0, -1 -1, -1 -2, 1 -1, 0 0)) POLYGON((0 0, -2 2, -4 2, -2 -2, 0 0), (0 0, -1 1, -2 1, -1 -1, 0 0)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygon :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGON((0 0, 2 2, 2 4, -2 2, 0 0),(0 0, 1 1, 1 2, -1 1, 0 0))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON((0 0, 2 2, 2 4, -2 2, 0 0), (0 0, 1 1, 1 2, -1 1, 0 0)) POLYGON((0 0, 2 -2, 4 -2, 2 2, 0 0), (0 0, 1 -1, 2 -1, 1 1, 0 0)) POLYGON((0 0, -2 -2, -2 -4, 2 -2, 0 0), (0 0, -1 -1, -1 -2, 1 -1, 0 0)) POLYGON((0 0, -2 2, -4 2, -2 -2, 0 0), (0 0, -1 1, -2 1, -1 -1, 0 0)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords12.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygonz :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGONZ((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1),(0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON Z((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1), (0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5)) POLYGON Z((0 0 1, 2 -2 2, 4 -2 3, 2 2 4, 0 0 1), (0 0 5, 1 -1 6, 2 -1 7, 1 1 8, 0 0 5)) POLYGON Z((0 0 1, -2 -2 2, -2 -4 3, 2 -2 4, 0 0 1), (0 0 5, -1 -1 6, -1 -2 7, 1 -1 8, 0 0 5)) POLYGON Z((0 0 1, -2 2 2, -4 2 3, -2 -2 4, 0 0 1), (0 0 5, -1 1 6, -2 1 7, -1 -1 8, 0 0 5)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygonz :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGONZ((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1),(0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON Z((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1), (0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5)) POLYGON Z((0 0 1, 2 -2 2, 4 -2 3, 2 2 4, 0 0 1), (0 0 5, 1 -1 6, 2 -1 7, 1 1 8, 0 0 5)) POLYGON Z((0 0 1, -2 -2 2, -2 -4 3, 2 -2 4, 0 0 1), (0 0 5, -1 -1 6, -1 -2 7, 1 -1 8, 0 0 5)) POLYGON Z((0 0 1, -2 2 2, -4 2 3, -2 -2 4, 0 0 1), (0 0 5, -1 1 6, -2 1 7, -1 -1 8, 0 0 5)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords13.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygonm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGONM((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1),(0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON M((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1), (0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5)) POLYGON M((0 0 1, 2 -2 2, 4 -2 3, 2 2 4, 0 0 1), (0 0 5, 1 -1 6, 2 -1 7, 1 1 8, 0 0 5)) POLYGON M((0 0 1, -2 -2 2, -2 -4 3, 2 -2 4, 0 0 1), (0 0 5, -1 -1 6, -1 -2 7, 1 -1 8, 0 0 5)) POLYGON M((0 0 1, -2 2 2, -4 2 3, -2 -2 4, 0 0 1), (0 0 5, -1 1 6, -2 1 7, -1 -1 8, 0 0 5)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygonm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGONM((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1),(0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON M((0 0 1, 2 2 2, 2 4 3, -2 2 4, 0 0 1), (0 0 5, 1 1 6, 1 2 7, -1 1 8, 0 0 5)) POLYGON M((0 0 1, 2 -2 2, 4 -2 3, 2 2 4, 0 0 1), (0 0 5, 1 -1 6, 2 -1 7, 1 1 8, 0 0 5)) POLYGON M((0 0 1, -2 -2 2, -2 -4 3, 2 -2 4, 0 0 1), (0 0 5, -1 -1 6, -1 -2 7, 1 -1 8, 0 0 5)) POLYGON M((0 0 1, -2 2 2, -4 2 3, -2 -2 4, 0 0 1), (0 0 5, -1 1 6, -2 1 7, -1 -1 8, 0 0 5)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords14.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygonzm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGONZM((0 0 1 1, 2 2 2 2, 2 4 3 3, -2 2 4 4, 0 0 1 1),(0 0 5 0, 1 1 6 1, 1 2 7 2, -1 1 8 3, 0 0 5 0))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON ZM((0 0 1 1, 2 2 2 2, 2 4 3 3, -2 2 4 4, 0 0 1 1), (0 0 5 0, 1 1 6 1, 1 2 7 2, -1 1 8 3, 0 0 5 0)) POLYGON ZM((0 0 1 1, 2 -2 2 2, 4 -2 3 3, 2 2 4 4, 0 0 1 1), (0 0 5 0, 1 -1 6 1, 2 -1 7 2, 1 1 8 3, 0 0 5 0)) POLYGON ZM((0 0 1 1, -2 -2 2 2, -2 -4 3 3, 2 -2 4 4, 0 0 1 1), (0 0 5 0, -1 -1 6 1, -1 -2 7 2, 1 -1 8 3, 0 0 5 0)) POLYGON ZM((0 0 1 1, -2 2 2 2, -4 2 3 3, -2 -2 4 4, 0 0 1 1), (0 0 5 0, -1 1 6 1, -2 1 7 2, -1 -1 8 3, 0 0 5 0)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Two ring polygonzm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGONZM((0 0 1 1, 2 2 2 2, 2 4 3 3, -2 2 4 4, 0 0 1 1),(0 0 5 0, 1 1 6 1, 1 2 7 2, -1 1 8 3, 0 0 5 0))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON ZM((0 0 1 1, 2 2 2 2, 2 4 3 3, -2 2 4 4, 0 0 1 1), (0 0 5 0, 1 1 6 1, 1 2 7 2, -1 1 8 3, 0 0 5 0)) POLYGON ZM((0 0 1 1, 2 -2 2 2, 4 -2 3 3, 2 2 4 4, 0 0 1 1), (0 0 5 0, 1 -1 6 1, 2 -1 7 2, 1 1 8 3, 0 0 5 0)) POLYGON ZM((0 0 1 1, -2 -2 2 2, -2 -4 3 3, 2 -2 4 4, 0 0 1 1), (0 0 5 0, -1 -1 6 1, -1 -2 7 2, 1 -1 8 3, 0 0 5 0)) POLYGON ZM((0 0 1 1, -2 2 2 2, -4 2 3 3, -2 -2 4 4, 0 0 1 1), (0 0 5 0, -1 1 6 1, -2 1 7 2, -1 -1 8 3, 0 0 5 0)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords2.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - PointZ :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POINTZ(1 2 1.5)") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POINT Z(1 2 1.5) POINT Z(2 -1 1.5) POINT Z(-1 -2 1.5) POINT Z(-2 1 1.5) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - PointZ :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POINTZ(1 2 1.5)') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POINT Z(1 2 1.5) POINT Z(2 -1 1.5) POINT Z(-1 -2 1.5) POINT Z(-2 1 1.5) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords3.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("LINESTRING(0 0, 1 1)") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) LINESTRING(0 0, 1 1) LINESTRING(0 0, 1 -1) LINESTRING(0 0, -1 -1) LINESTRING(0 0, -1 1) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('LINESTRING(0 0, 1 1)') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) LINESTRING(0 0, 1 1) LINESTRING(0 0, 1 -1) LINESTRING(0 0, -1 -1) LINESTRING(0 0, -1 1) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords4.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING Z :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("LINESTRINGZ(0 0 2, 1 1 3)") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) LINESTRING Z(0 0 2, 1 1 3) LINESTRING Z(0 0 2, 1 -1 3) LINESTRING Z(0 0 2, -1 -1 3) LINESTRING Z(0 0 2, -1 1 3) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING Z :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('LINESTRINGZ(0 0 2, 1 1 3)') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) LINESTRING Z(0 0 2, 1 1 3) LINESTRING Z(0 0 2, 1 -1 3) LINESTRING Z(0 0 2, -1 -1 3) LINESTRING Z(0 0 2, -1 1 3) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords5.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING M :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("LINESTRINGM(0 0 2, 1 1 3)") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) LINESTRING M(0 0 2, 1 1 3) LINESTRING M(0 0 2, 1 -1 3) LINESTRING M(0 0 2, -1 -1 3) LINESTRING M(0 0 2, -1 1 3) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING M :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('LINESTRINGM(0 0 2, 1 1 3)') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) LINESTRING M(0 0 2, 1 1 3) LINESTRING M(0 0 2, 1 -1 3) LINESTRING M(0 0 2, -1 -1 3) LINESTRING M(0 0 2, -1 1 3) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords6.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING ZM :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("LINESTRINGZM(0 0 2 4, 1 1 3 5)") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) LINESTRING ZM(0 0 2 4, 1 1 3 5) LINESTRING ZM(0 0 2 4, 1 -1 3 5) LINESTRING ZM(0 0 2 4, -1 -1 3 5) LINESTRING ZM(0 0 2 4, -1 1 3 5) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - LINESTRING ZM :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('LINESTRINGZM(0 0 2 4, 1 1 3 5)') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) LINESTRING ZM(0 0 2 4, 1 1 3 5) LINESTRING ZM(0 0 2 4, 1 -1 3 5) LINESTRING ZM(0 0 2 4, -1 -1 3 5) LINESTRING ZM(0 0 2 4, -1 1 3 5) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords7.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygon :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGON((0 0, 1 1, 1 2, -1 1, 0 0))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON((0 0, 1 1, 1 2, -1 1, 0 0)) POLYGON((0 0, 1 -1, 2 -1, 1 1, 0 0)) POLYGON((0 0, -1 -1, -1 -2, 1 -1, 0 0)) POLYGON((0 0, -1 1, -2 1, -1 -1, 0 0)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygon :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGON((0 0, 1 1, 1 2, -1 1, 0 0))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON((0 0, 1 1, 1 2, -1 1, 0 0)) POLYGON((0 0, 1 -1, 2 -1, 1 1, 0 0)) POLYGON((0 0, -1 -1, -1 -2, 1 -1, 0 0)) POLYGON((0 0, -1 1, -2 1, -1 -1, 0 0)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords8.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygonz :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGONZ((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON Z((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1)) POLYGON Z((0 0 1, 1 -1 2, 2 -1 3, 1 1 4, 0 0 1)) POLYGON Z((0 0 1, -1 -1 2, -1 -2 3, 1 -1 4, 0 0 1)) POLYGON Z((0 0 1, -1 1 2, -2 1 3, -1 -1 4, 0 0 1)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygonz :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGONZ((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON Z((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1)) POLYGON Z((0 0 1, 1 -1 2, 2 -1 3, 1 1 4, 0 0 1)) POLYGON Z((0 0 1, -1 -1 2, -1 -2 3, 1 -1 4, 0 0 1)) POLYGON Z((0 0 1, -1 1 2, -2 1 3, -1 -1 4, 0 0 1)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rotatecoords9.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygonm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, "hello"), RotateCoords("foo", 30) FROM (SELECT GeomFromText("POLYGONM((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1))") as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, "hello") RotateCoords("foo", 30) POLYGON M((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1)) POLYGON M((0 0 1, 1 -1 2, 2 -1 3, 1 1 4, 0 0 1)) POLYGON M((0 0 1, -1 -1 2, -1 -2 3, 1 -1 4, 0 0 1)) POLYGON M((0 0 1, -1 1 2, -2 1 3, -1 -1 4, 0 0 1)) (NULL) (NULL) (NULL) |
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rotate coords - Simple polygonm :memory: #use in-memory database SELECT AsText(RotateCoords(geom, 0)), AsText(RotateCoords(geom, 90.0)), AsText(RotateCoords(geom, 180.0)), AsText(RotateCoords(geom, -90)), RotateCoords(zeroblob(20), 10), RotateCoords(geom, 'hello'), RotateCoords('foo', 30) FROM (SELECT GeomFromText('POLYGONM((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1))') as geom) dummy; 1 # rows (not including the header row) 7 # columns AsText(RotateCoords(geom, 0)) AsText(RotateCoords(geom, 90.0)) AsText(RotateCoords(geom, 180.0)) AsText(RotateCoords(geom, -90)) RotateCoords(zeroblob(20), 10) RotateCoords(geom, 'hello') RotateCoords('foo', 30) POLYGON M((0 0 1, 1 1 2, 1 2 3, -1 1 4, 0 0 1)) POLYGON M((0 0 1, 1 -1 2, 2 -1 3, 1 1 4, 0 0 1)) POLYGON M((0 0 1, -1 -1 2, -1 -2 3, 1 -1 4, 0 0 1)) POLYGON M((0 0 1, -1 1 2, -2 1 3, -1 -1 4, 0 0 1)) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/rtreealign2.testcase.
1 2 3 4 5 6 7 |
rtreealign - non-int second arg :memory: #use in-memory database SELECT RTreeAlign("notreal", "non-int", 2) 1 # rows (not including the header row) 1 # columns RTreeAlign("notreal", "non-int", 2) -1 |
| | |
1 2 3 4 5 6 7 |
rtreealign - non-int second arg :memory: #use in-memory database SELECT RTreeAlign('notreal', 'non-int', 2) 1 # rows (not including the header row) 1 # columns RTreeAlign('notreal', 'non-int', 2) -1 |
Changes to test/sql_stmt_tests/rtreealign3.testcase.
1 2 3 4 5 6 7 |
rtreealign - non-blob third arg :memory: #use in-memory database SELECT RTreeAlign("notreal", 2, 2) 1 # rows (not including the header row) 1 # columns RTreeAlign("notreal", 2, 2) -1 |
| | |
1 2 3 4 5 6 7 |
rtreealign - non-blob third arg :memory: #use in-memory database SELECT RTreeAlign('notreal', 2, 2) 1 # rows (not including the header row) 1 # columns RTreeAlign('notreal', 2, 2) -1 |
Changes to test/sql_stmt_tests/rtreealign4.testcase.
1 2 3 4 5 6 7 |
rtreealign - null geometry :memory: #use in-memory database SELECT RTreeAlign("notreal", 2, zeroblob(100)) 1 # rows (not including the header row) 1 # columns RTreeAlign("notreal", 2, zeroblob(100)) 1 |
| | |
1 2 3 4 5 6 7 |
rtreealign - null geometry :memory: #use in-memory database SELECT RTreeAlign('notreal', 2, zeroblob(100)) 1 # rows (not including the header row) 1 # columns RTreeAlign('notreal', 2, zeroblob(100)) 1 |
Changes to test/sql_stmt_tests/sanitizeGeometry10.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON Z :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText("POLYGON Z((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))", 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText("POLYGON Z((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))", 4326))) SRID=4326;POLYGON((-75 42 2,-70 39 2,-70 42 3,-70 42 4,-75 42 2)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON Z :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText('POLYGON Z((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))', 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText('POLYGON Z((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))', 4326))) SRID=4326;POLYGON((-75 42 2,-70 39 2,-70 42 3,-70 42 4,-75 42 2)) |
Changes to test/sql_stmt_tests/sanitizeGeometry11.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON M :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText("POLYGON M((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))", 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText("POLYGON M((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))", 4326))) SRID=4326;POLYGONM((-75 42 2,-70 39 2,-70 42 3,-75 42 2)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON M :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText('POLYGON M((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))', 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText('POLYGON M((-75 42 2, -70 39 2, -70 42 3, -70 42 4, -75 42 2))', 4326))) SRID=4326;POLYGONM((-75 42 2,-70 39 2,-70 42 3,-75 42 2)) |
Changes to test/sql_stmt_tests/sanitizeGeometry12.testcase.
1 2 3 4 5 6 7 8 9 10 |
Sanitize Geometry - POLYGON M - point combinations :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText("POLYGON M((-70 42 2, -75 42 2, -70 39 2, -70 42 3, -70 42 3, -70 42 4, -75 42 2, -70 42 2))", 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText("POLYGON M((-70 42 2, -75 42 2, -70 39 2, -70 42 3, -70 42 3, -70 42 4, -75 42 2, -70 42 2))", 4326))) SRID=4326;POLYGONM((-70 42 2,-75 42 2,-70 39 2,-70 42 3,-75 42 2,-70 42 2)) |
| | |
1 2 3 4 5 6 7 8 9 10 |
Sanitize Geometry - POLYGON M - point combinations :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText('POLYGON M((-70 42 2, -75 42 2, -70 39 2, -70 42 3, -70 42 3, -70 42 4, -75 42 2, -70 42 2))', 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText('POLYGON M((-70 42 2, -75 42 2, -70 39 2, -70 42 3, -70 42 3, -70 42 4, -75 42 2, -70 42 2))', 4326))) SRID=4326;POLYGONM((-70 42 2,-75 42 2,-70 39 2,-70 42 3,-75 42 2,-70 42 2)) |
Changes to test/sql_stmt_tests/sanitizeGeometry13.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText("POLYGON((-10 -10, -10 -10, 10 -10, 10 10, -10 10, -10 -10, -10 -10),(-6 -6, -6 -5, -5 -5, -5 -5, -5 -5, -5 -6, -6 -6),(6 6, 5 6, 5 6, 5 5, 6 5, 6 6))"))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText("POLYGON((-10 -10, -10 -10, 10 -10, 10 10, -10 10, -10 -10, -10 -10),(-6 -6, -6 -5, -5 -5, -5 -5, -5 -5, -5 -6, -6 -6),(6 6, 5 6, 5 6, 5 5, 6 5, 6 6))"))) POLYGON((-10 -10, 10 -10, 10 10, -10 10, -10 -10), (-6 -6, -6 -5, -5 -5, -5 -6, -6 -6), (6 6, 5 6, 5 5, 6 5, 6 6)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText('POLYGON((-10 -10, -10 -10, 10 -10, 10 10, -10 10, -10 -10, -10 -10),(-6 -6, -6 -5, -5 -5, -5 -5, -5 -5, -5 -6, -6 -6),(6 6, 5 6, 5 6, 5 5, 6 5, 6 6))'))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText('POLYGON((-10 -10, -10 -10, 10 -10, 10 10, -10 10, -10 -10, -10 -10),(-6 -6, -6 -5, -5 -5, -5 -5, -5 -5, -5 -6, -6 -6),(6 6, 5 6, 5 6, 5 5, 6 5, 6 6))'))) POLYGON((-10 -10, 10 -10, 10 10, -10 10, -10 -10), (-6 -6, -6 -5, -5 -5, -5 -6, -6 -6), (6 6, 5 6, 5 5, 6 5, 6 6)) |
Changes to test/sql_stmt_tests/sanitizeGeometry14.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGONZ with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText("POLYGONZ((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))"))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText("POLYGONZ((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))"))) POLYGON Z((-10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1), (-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -6 9, -6 -6 2), (6 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGONZ with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText('POLYGONZ((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))'))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText('POLYGONZ((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))'))) POLYGON Z((-10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1), (-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -6 9, -6 -6 2), (6 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0)) |
Changes to test/sql_stmt_tests/sanitizeGeometry15.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGONM with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText("POLYGONM((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))"))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText("POLYGONM((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))"))) POLYGON M((-10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1), (-6 -6 2, -6 -5 3, -5 -5 3, -5 -6 9, -6 -6 2), (6 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGONM with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText('POLYGONM((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))'))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText('POLYGONM((-10 -10 1, -10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1, -10 -10 1),(-6 -6 2, -6 -5 3, -5 -5 3, -5 -5 4, -5 -5 4, -5 -6 9, -6 -6 2),(6 6 0, 5 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0))'))) POLYGON M((-10 -10 1, 10 -10 2, 10 10 3, -10 10 4, -10 -10 1), (-6 -6 2, -6 -5 3, -5 -5 3, -5 -6 9, -6 -6 2), (6 6 0, 5 6 0, 5 5 0, 6 5 0, 6 6 0)) |
Changes to test/sql_stmt_tests/sanitizeGeometry16.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON ZM with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText("POLYGONZM((-10 -10 1 0, -10 -10 1 0, 10 -10 2 2, 10 10 3 2, -10 10 4 2, -10 -10 1 2, -10 -10 1 0),(-6 -6 2 1, -6 -5 3 1, -5 -5 3 1, -5 -5 4 1, -5 -5 4 1, -5 -6 9 1, -6 -6 2 1),(6 6 0 1, 5 6 0 2, 5 6 0 1, 5 5 0 2, 6 5 0 1, 6 6 0 1))"))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText("POLYGONZM((-10 -10 1 0, -10 -10 1 0, 10 -10 2 2, 10 10 3 2, -10 10 4 2, -10 -10 1 2, -10 -10 1 0),(-6 -6 2 1, -6 -5 3 1, -5 -5 3 1, -5 -5 4 1, -5 -5 4 1, -5 -6 9 1, -6 -6 2 1),(6 6 0 1, 5 6 0 2, 5 6 0 1, 5 5 0 2, 6 5 0 1, 6 6 0 1))"))) POLYGON ZM((-10 -10 1 0, 10 -10 2 2, 10 10 3 2, -10 10 4 2, -10 -10 1 0), (-6 -6 2 1, -6 -5 3 1, -5 -5 3 1, -5 -5 4 1, -5 -6 9 1, -6 -6 2 1), (6 6 0 1, 5 6 0 2, 5 5 0 2, 6 5 0 1, 6 6 0 1)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON ZM with interior :memory: #use in-memory database SELECT AsText(SanitizeGeometry(GeomFromText('POLYGONZM((-10 -10 1 0, -10 -10 1 0, 10 -10 2 2, 10 10 3 2, -10 10 4 2, -10 -10 1 2, -10 -10 1 0),(-6 -6 2 1, -6 -5 3 1, -5 -5 3 1, -5 -5 4 1, -5 -5 4 1, -5 -6 9 1, -6 -6 2 1),(6 6 0 1, 5 6 0 2, 5 6 0 1, 5 5 0 2, 6 5 0 1, 6 6 0 1))'))) 1 # rows (not including the header row) 1 # columns AsText(SanitizeGeometry(GeomFromText('POLYGONZM((-10 -10 1 0, -10 -10 1 0, 10 -10 2 2, 10 10 3 2, -10 10 4 2, -10 -10 1 2, -10 -10 1 0),(-6 -6 2 1, -6 -5 3 1, -5 -5 3 1, -5 -5 4 1, -5 -5 4 1, -5 -6 9 1, -6 -6 2 1),(6 6 0 1, 5 6 0 2, 5 6 0 1, 5 5 0 2, 6 5 0 1, 6 6 0 1))'))) POLYGON ZM((-10 -10 1 0, 10 -10 2 2, 10 10 3 2, -10 10 4 2, -10 -10 1 0), (-6 -6 2 1, -6 -5 3 1, -5 -5 3 1, -5 -5 4 1, -5 -6 9 1, -6 -6 2 1), (6 6 0 1, 5 6 0 2, 5 5 0 2, 6 5 0 1, 6 6 0 1)) |
Changes to test/sql_stmt_tests/sanitizeGeometry3.testcase.
1 2 3 4 5 6 7 8 9 10 |
Sanitize Geometry - non-blob :memory: #use in-memory database SELECT SanitizeGeometry("hell0o"); 1 # rows (not including the header row) 1 # columns SanitizeGeometry("hell0o") (NULL) |
| | |
1 2 3 4 5 6 7 8 9 10 |
Sanitize Geometry - non-blob :memory: #use in-memory database SELECT SanitizeGeometry('hell0o'); 1 # rows (not including the header row) 1 # columns SanitizeGeometry('hell0o') (NULL) |
Changes to test/sql_stmt_tests/sanitizeGeometry6.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText("POLYGON((-75 42, -70 39, -70 42, -70 42, -75 42))", 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText("POLYGON((-75 42, -70 39, -70 42, -70 42, -75 42))", 4326))) SRID=4326;POLYGON((-75 42,-70 39,-70 42,-75 42)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText('POLYGON((-75 42, -70 39, -70 42, -70 42, -75 42))', 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText('POLYGON((-75 42, -70 39, -70 42, -70 42, -75 42))', 4326))) SRID=4326;POLYGON((-75 42,-70 39,-70 42,-75 42)) |
Changes to test/sql_stmt_tests/sanitizeGeometry7.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON ZM :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText("POLYGON ZM((-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText("POLYGON ZM((-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0))", 4326))) SRID=4326;POLYGON((-75 42 2 0,-70 39 2 0,-70 42 3 0,-70 42 4 0,-75 42 2 0)) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - POLYGON ZM :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText('POLYGON ZM((-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText('POLYGON ZM((-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0))', 4326))) SRID=4326;POLYGON((-75 42 2 0,-70 39 2 0,-70 42 3 0,-70 42 4 0,-75 42 2 0)) |
Changes to test/sql_stmt_tests/sanitizeGeometry8.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - MULTIPOINT ZM :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText("MULTIPOINTZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)", 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText("MULTIPOINTZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)", 4326))) SRID=4326;MULTIPOINT(-75 42 2 0,-70 39 2 0,-70 42 3 0,-70 42 4 0,-75 42 2 0) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - MULTIPOINT ZM :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText('MULTIPOINTZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)', 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText('MULTIPOINTZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)', 4326))) SRID=4326;MULTIPOINT(-75 42 2 0,-70 39 2 0,-70 42 3 0,-70 42 4 0,-75 42 2 0) |
Changes to test/sql_stmt_tests/sanitizeGeometry9.testcase.
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - LINESTRING ZM :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText("LINESTRING ZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)", 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText("LINESTRING ZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)", 4326))) SRID=4326;LINESTRING(-75 42 2 0,-70 39 2 0,-70 42 3 0,-70 42 4 0,-75 42 2 0) |
| | |
1 2 3 4 5 6 7 8 9 |
Sanitize Geometry - LINESTRING ZM :memory: #use in-memory database SELECT AsEWkt(SanitizeGeometry(GeomFromText('LINESTRING ZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)', 4326))) 1 # rows (not including the header row) 1 # columns AsEWkt(SanitizeGeometry(GeomFromText('LINESTRING ZM(-75 42 2 0, -70 39 2 0, -70 42 3 0, -70 42 4 0, -75 42 2 0)', 4326))) SRID=4326;LINESTRING(-75 42 2 0,-70 39 2 0,-70 42 3 0,-70 42 4 0,-75 42 2 0) |
Changes to test/sql_stmt_tests/scalecoords1.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - Point :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POINT(1 2)") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POINT(0 0) POINT(0 0) POINT(2 6) POINT(1 -2) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - Point :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POINT(1 2)') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POINT(0 0) POINT(0 0) POINT(2 6) POINT(1 -2) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords10.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGON with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 2, 1 3, 2 3, 2 2, 1 2))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0), (0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0), (0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((0 0, 0 12, 8 12, 8 0, 0 0), (2 6, 2 9, 4 9, 4 6, 2 6)) POLYGON((0 0, 0 -4, 4 -4, 4 0, 0 0), (1 -2, 1 -3, 2 -3, 2 -2, 1 -2)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGON with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0),(1 2, 1 3, 2 3, 2 2, 1 2))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0), (0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0), (0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((0 0, 0 12, 8 12, 8 0, 0 0), (2 6, 2 9, 4 9, 4 6, 2 6)) POLYGON((0 0, 0 -4, 4 -4, 4 0, 0 0), (1 -2, 1 -3, 2 -3, 2 -2, 1 -2)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords11.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZ with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGONZ((0 0 1, 0 4 1, 4 4 1, 4 0 1, 0 0 1),(1 2 1, 1 3 1, 2 3 1, 2 2 1, 1 2 1))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON Z((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON Z((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON Z((0 0 1, 0 12 1, 8 12 1, 8 0 1, 0 0 1), (2 6 1, 2 9 1, 4 9 1, 4 6 1, 2 6 1)) POLYGON Z((0 0 1, 0 -4 1, 4 -4 1, 4 0 1, 0 0 1), (1 -2 1, 1 -3 1, 2 -3 1, 2 -2 1, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZ with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGONZ((0 0 1, 0 4 1, 4 4 1, 4 0 1, 0 0 1),(1 2 1, 1 3 1, 2 3 1, 2 2 1, 1 2 1))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON Z((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON Z((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON Z((0 0 1, 0 12 1, 8 12 1, 8 0 1, 0 0 1), (2 6 1, 2 9 1, 4 9 1, 4 6 1, 2 6 1)) POLYGON Z((0 0 1, 0 -4 1, 4 -4 1, 4 0 1, 0 0 1), (1 -2 1, 1 -3 1, 2 -3 1, 2 -2 1, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords12.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONM with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGONM((0 0 1, 0 4 1, 4 4 1, 4 0 1, 0 0 1),(1 2 1, 1 3 1, 2 3 1, 2 2 1, 1 2 1))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON M((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON M((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON M((0 0 1, 0 12 1, 8 12 1, 8 0 1, 0 0 1), (2 6 1, 2 9 1, 4 9 1, 4 6 1, 2 6 1)) POLYGON M((0 0 1, 0 -4 1, 4 -4 1, 4 0 1, 0 0 1), (1 -2 1, 1 -3 1, 2 -3 1, 2 -2 1, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONM with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGONM((0 0 1, 0 4 1, 4 4 1, 4 0 1, 0 0 1),(1 2 1, 1 3 1, 2 3 1, 2 2 1, 1 2 1))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON M((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON M((0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1), (0 0 1, 0 0 1, 0 0 1, 0 0 1, 0 0 1)) POLYGON M((0 0 1, 0 12 1, 8 12 1, 8 0 1, 0 0 1), (2 6 1, 2 9 1, 4 9 1, 4 6 1, 2 6 1)) POLYGON M((0 0 1, 0 -4 1, 4 -4 1, 4 0 1, 0 0 1), (1 -2 1, 1 -3 1, 2 -3 1, 2 -2 1, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords13.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZM with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGONZM((0 0 1 2, 0 4 1 2, 4 4 1 2, 4 0 1 2, 0 0 1 2),(1 2 1 2, 1 3 1 2, 2 3 1 2, 2 2 1 2, 1 2 1 2))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON ZM((0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2), (0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2)) POLYGON ZM((0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2), (0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2)) POLYGON ZM((0 0 1 2, 0 12 1 2, 8 12 1 2, 8 0 1 2, 0 0 1 2), (2 6 1 2, 2 9 1 2, 4 9 1 2, 4 6 1 2, 2 6 1 2)) POLYGON ZM((0 0 1 2, 0 -4 1 2, 4 -4 1 2, 4 0 1 2, 0 0 1 2), (1 -2 1 2, 1 -3 1 2, 2 -3 1 2, 2 -2 1 2, 1 -2 1 2)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZM with inner ring :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGONZM((0 0 1 2, 0 4 1 2, 4 4 1 2, 4 0 1 2, 0 0 1 2),(1 2 1 2, 1 3 1 2, 2 3 1 2, 2 2 1 2, 1 2 1 2))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON ZM((0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2), (0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2)) POLYGON ZM((0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2), (0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2, 0 0 1 2)) POLYGON ZM((0 0 1 2, 0 12 1 2, 8 12 1 2, 8 0 1 2, 0 0 1 2), (2 6 1 2, 2 9 1 2, 4 9 1 2, 4 6 1 2, 2 6 1 2)) POLYGON ZM((0 0 1 2, 0 -4 1 2, 4 -4 1 2, 4 0 1 2, 0 0 1 2), (1 -2 1 2, 1 -3 1 2, 2 -3 1 2, 2 -2 1 2, 1 -2 1 2)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords2.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRING :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("LINESTRING(1 2, 4 5)") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) LINESTRING(0 0, 0 0) LINESTRING(0 0, 0 0) LINESTRING(2 6, 8 15) LINESTRING(1 -2, 4 -5) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRING :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('LINESTRING(1 2, 4 5)') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) LINESTRING(0 0, 0 0) LINESTRING(0 0, 0 0) LINESTRING(2 6, 8 15) LINESTRING(1 -2, 4 -5) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords3.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRINGZ :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("LINESTRINGZ(1 2 1, 4 5 2)") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) LINESTRING Z(0 0 1, 0 0 2) LINESTRING Z(0 0 1, 0 0 2) LINESTRING Z(2 6 1, 8 15 2) LINESTRING Z(1 -2 1, 4 -5 2) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRINGZ :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('LINESTRINGZ(1 2 1, 4 5 2)') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) LINESTRING Z(0 0 1, 0 0 2) LINESTRING Z(0 0 1, 0 0 2) LINESTRING Z(2 6 1, 8 15 2) LINESTRING Z(1 -2 1, 4 -5 2) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords4.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRINGM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("LINESTRINGM(1 2 1, 4 5 2)") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) LINESTRING M(0 0 1, 0 0 2) LINESTRING M(0 0 1, 0 0 2) LINESTRING M(2 6 1, 8 15 2) LINESTRING M(1 -2 1, 4 -5 2) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRINGM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('LINESTRINGM(1 2 1, 4 5 2)') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) LINESTRING M(0 0 1, 0 0 2) LINESTRING M(0 0 1, 0 0 2) LINESTRING M(2 6 1, 8 15 2) LINESTRING M(1 -2 1, 4 -5 2) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords5.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRINGZM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("LINESTRINGZM(1 2 1 3, 4 5 2 4)") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) LINESTRING ZM(0 0 1 3, 0 0 2 4) LINESTRING ZM(0 0 1 3, 0 0 2 4) LINESTRING ZM(2 6 1 3, 8 15 2 4) LINESTRING ZM(1 -2 1 3, 4 -5 2 4) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - LINESTRINGZM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('LINESTRINGZM(1 2 1 3, 4 5 2 4)') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) LINESTRING ZM(0 0 1 3, 0 0 2 4) LINESTRING ZM(0 0 1 3, 0 0 2 4) LINESTRING ZM(2 6 1 3, 8 15 2 4) LINESTRING ZM(1 -2 1 3, 4 -5 2 4) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords6.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGON :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGON((1 2, 1 3, 2 3, 2 2, 1 2))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((2 6, 2 9, 4 9, 4 6, 2 6)) POLYGON((1 -2, 1 -3, 2 -3, 2 -2, 1 -2)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGON :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGON((1 2, 1 3, 2 3, 2 2, 1 2))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((0 0, 0 0, 0 0, 0 0, 0 0)) POLYGON((2 6, 2 9, 4 9, 4 6, 2 6)) POLYGON((1 -2, 1 -3, 2 -3, 2 -2, 1 -2)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords7.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZ :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGONZ((1 2 1, 1 3 1, 2 3 2, 2 2 2, 1 2 1))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON Z((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON Z((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON Z((2 6 1, 2 9 1, 4 9 2, 4 6 2, 2 6 1)) POLYGON Z((1 -2 1, 1 -3 1, 2 -3 2, 2 -2 2, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZ :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGONZ((1 2 1, 1 3 1, 2 3 2, 2 2 2, 1 2 1))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON Z((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON Z((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON Z((2 6 1, 2 9 1, 4 9 2, 4 6 2, 2 6 1)) POLYGON Z((1 -2 1, 1 -3 1, 2 -3 2, 2 -2 2, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords8.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGONM((1 2 1, 1 3 1, 2 3 2, 2 2 2, 1 2 1))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON M((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON M((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON M((2 6 1, 2 9 1, 4 9 2, 4 6 2, 2 6 1)) POLYGON M((1 -2 1, 1 -3 1, 2 -3 2, 2 -2 2, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGONM((1 2 1, 1 3 1, 2 3 2, 2 2 2, 1 2 1))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON M((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON M((0 0 1, 0 0 1, 0 0 2, 0 0 2, 0 0 1)) POLYGON M((2 6 1, 2 9 1, 4 9 2, 4 6 2, 2 6 1)) POLYGON M((1 -2 1, 1 -3 1, 2 -3 2, 2 -2 2, 1 -2 1)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/scalecoords9.testcase.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, "hello"), ScaleCoords(geom, 1, "hello"), ScaleCoords("foo", 2) FROM (SELECT GeomFromText("POLYGONZM((1 2 1 0 , 1 3 1 2, 2 3 2 4, 2 2 2 6, 1 2 1 0))") as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, "hello") ScaleCoords(geom, 1, "hello") ScaleCoords("foo", 2) POLYGON ZM((0 0 1 0, 0 0 1 2, 0 0 2 4, 0 0 2 6, 0 0 1 0)) POLYGON ZM((0 0 1 0, 0 0 1 2, 0 0 2 4, 0 0 2 6, 0 0 1 0)) POLYGON ZM((2 6 1 0, 2 9 1 2, 4 9 2 4, 4 6 2 6, 2 6 1 0)) POLYGON ZM((1 -2 1 0, 1 -3 1 2, 2 -3 2 4, 2 -2 2 6, 1 -2 1 0)) (NULL) (NULL) (NULL) (NULL) |
| | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
scale coords - POLYGONZM :memory: #use in-memory database SELECT AsText(ScaleCoords(geom, 0)), AsText(ScaleCoords(geom, 0.0)), AsText(ScaleCoords(geom, 2, 3.0)), AsText(ScaleCoords(geom, 1.0, -1)), ScaleCoords(zeroblob(20), 10), ScaleCoords(geom, 'hello'), ScaleCoords(geom, 1, 'hello'), ScaleCoords('foo', 2) FROM (SELECT GeomFromText('POLYGONZM((1 2 1 0 , 1 3 1 2, 2 3 2 4, 2 2 2 6, 1 2 1 0))') as geom) dummy; 1 # rows (not including the header row) 8 # columns AsText(ScaleCoords(geom, 0)) AsText(ScaleCoords(geom, 0.0)) AsText(ScaleCoords(geom, 2, 3.0)) AsText(ScaleCoords(geom, 1.0, -1)) ScaleCoords(zeroblob(20), 10) ScaleCoords(geom, 'hello') ScaleCoords(geom, 1, 'hello') ScaleCoords('foo', 2) POLYGON ZM((0 0 1 0, 0 0 1 2, 0 0 2 4, 0 0 2 6, 0 0 1 0)) POLYGON ZM((0 0 1 0, 0 0 1 2, 0 0 2 4, 0 0 2 6, 0 0 1 0)) POLYGON ZM((2 6 1 0, 2 9 1 2, 4 9 2 4, 4 6 2 6, 2 6 1 0)) POLYGON ZM((1 -2 1 0, 1 -3 1 2, 2 -3 2 4, 2 -2 2 6, 1 -2 1 0)) (NULL) (NULL) (NULL) (NULL) |
Changes to test/sql_stmt_tests/shiftcoords1.testcase.
1 2 3 4 5 6 7 |
shiftcoords1 :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("POINT(1 2)"), 1, 3)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("POINT(1 2)"), 1, 3)) POINT(2 5) |
| | |
1 2 3 4 5 6 7 |
shiftcoords1 :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('POINT(1 2)'), 1, 3)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('POINT(1 2)'), 1, 3)) POINT(2 5) |
Changes to test/sql_stmt_tests/shiftcoords10.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Linestring XYM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("LINESTRINGM(1 2 20, 3 4 20)"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("LINESTRINGM(1 2 20, 3 4 20)"), 1.4, 3.9)) LINESTRING M(2.4 5.9 20, 4.4 7.9 20) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Linestring XYM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('LINESTRINGM(1 2 20, 3 4 20)'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('LINESTRINGM(1 2 20, 3 4 20)'), 1.4, 3.9)) LINESTRING M(2.4 5.9 20, 4.4 7.9 20) |
Changes to test/sql_stmt_tests/shiftcoords11.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Linestring XYZM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("LINESTRINGZM(1 2 10 20, 3 4 10 20)"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("LINESTRINGZM(1 2 10 20, 3 4 10 20)"), 1.4, 3.9)) LINESTRING ZM(2.4 5.9 10 20, 4.4 7.9 10 20) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Linestring XYZM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('LINESTRINGZM(1 2 10 20, 3 4 10 20)'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('LINESTRINGZM(1 2 10 20, 3 4 10 20)'), 1.4, 3.9)) LINESTRING ZM(2.4 5.9 10 20, 4.4 7.9 10 20) |
Changes to test/sql_stmt_tests/shiftcoords12.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Polygon XY :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))"), 1.4, 3.9)) POLYGON((1.4 3.9, 11.4 3.9, 11.4 13.9, 1.4 13.9, 1.4 3.9), (6.4 8.9, 7.4 8.9, 7.4 9.9, 6.4 9.9, 6.4 8.9)) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Polygon XY :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))'), 1.4, 3.9)) POLYGON((1.4 3.9, 11.4 3.9, 11.4 13.9, 1.4 13.9, 1.4 3.9), (6.4 8.9, 7.4 8.9, 7.4 9.9, 6.4 9.9, 6.4 8.9)) |
Changes to test/sql_stmt_tests/shiftcoords13.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Polygon XYZ :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))"), 1.4, 3.9)) POLYGON Z((1.4 3.9 10, 11.4 3.9 10, 11.4 13.9 11, 1.4 13.9 11, 1.4 3.9 10), (6.4 8.9 12, 7.4 8.9 12, 7.4 9.9 13, 6.4 9.9 13, 6.4 8.9 12)) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Polygon XYZ :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))'), 1.4, 3.9)) POLYGON Z((1.4 3.9 10, 11.4 3.9 10, 11.4 13.9 11, 1.4 13.9 11, 1.4 3.9 10), (6.4 8.9 12, 7.4 8.9 12, 7.4 9.9 13, 6.4 9.9 13, 6.4 8.9 12)) |
Changes to test/sql_stmt_tests/shiftcoords14.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Polygon XYM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))"), 1.4, 3.9)) POLYGON M((1.4 3.9 1, 11.4 3.9 2, 11.4 13.9 3, 1.4 13.9 4, 1.4 3.9 1), (6.4 8.9 1, 7.4 8.9 2, 7.4 9.9 3, 6.4 9.9 3, 6.4 8.9 1)) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Polygon XYM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))'), 1.4, 3.9)) POLYGON M((1.4 3.9 1, 11.4 3.9 2, 11.4 13.9 3, 1.4 13.9 4, 1.4 3.9 1), (6.4 8.9 1, 7.4 8.9 2, 7.4 9.9 3, 6.4 9.9 3, 6.4 8.9 1)) |
Changes to test/sql_stmt_tests/shiftcoords15.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Polygon XYZM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))"), 1.4, 3.9)) POLYGON ZM((1.4 3.9 10 1, 11.4 3.9 10 2, 11.4 13.9 11 3, 1.4 13.9 11 4, 1.4 3.9 10 1), (6.4 8.9 12 1, 7.4 8.9 12 2, 7.4 9.9 13 3, 6.4 9.9 13 4, 6.4 8.9 12 1)) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Polygon XYZM :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))'), 1.4, 3.9)) POLYGON ZM((1.4 3.9 10 1, 11.4 3.9 10 2, 11.4 13.9 11 3, 1.4 13.9 11 4, 1.4 3.9 10 1), (6.4 8.9 12 1, 7.4 8.9 12 2, 7.4 9.9 13 3, 6.4 9.9 13 4, 6.4 8.9 12 1)) |
Changes to test/sql_stmt_tests/shiftcoords2.testcase.
1 2 3 4 5 6 7 |
shiftcoords2 :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("POINT(1 2)"), -1, -3)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("POINT(1 2)"), -1, -3)) POINT(0 -1) |
| | |
1 2 3 4 5 6 7 |
shiftcoords2 :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('POINT(1 2)'), -1, -3)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('POINT(1 2)'), -1, -3)) POINT(0 -1) |
Changes to test/sql_stmt_tests/shiftcoords4.testcase.
1 2 3 4 5 6 7 |
shiftcoords - text input (null) :memory: #use in-memory database SELECT ShiftCoords("shift", -1, -3); 1 # rows (not including the header row) 1 # columns ShiftCoords("shift", -1, -3) (NULL) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - text input (null) :memory: #use in-memory database SELECT ShiftCoords('shift', -1, -3); 1 # rows (not including the header row) 1 # columns ShiftCoords('shift', -1, -3) (NULL) |
Changes to test/sql_stmt_tests/shiftcoords5.testcase.
1 2 3 4 5 6 7 8 9 10 |
shiftcoords - text shift (error) :memory: #use in-memory database SELECT ShiftCoords(GeomFromText("POINT(1 2)"), 1, "three"); 1 # rows (not including the header row) 1 # columns ShiftCoords(GeomFromText("POINT(1 2)"), 1, "three") (NULL) |
| | |
1 2 3 4 5 6 7 8 9 10 |
shiftcoords - text shift (error) :memory: #use in-memory database SELECT ShiftCoords(GeomFromText('POINT(1 2)'), 1, 'three'); 1 # rows (not including the header row) 1 # columns ShiftCoords(GeomFromText('POINT(1 2)'), 1, 'three') (NULL) |
Changes to test/sql_stmt_tests/shiftcoords6.testcase.
1 2 3 4 5 6 7 |
shiftcoords - text shift both (error) :memory: #use in-memory database SELECT ShiftCoords(GeomFromText("POINT(1 2)"), "text", "three"); 1 # rows (not including the header row) 1 # columns ShiftCoords(GeomFromText("POINT(1 2)"), "text", "three") (NULL) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - text shift both (error) :memory: #use in-memory database SELECT ShiftCoords(GeomFromText('POINT(1 2)'), 'text', 'three'); 1 # rows (not including the header row) 1 # columns ShiftCoords(GeomFromText('POINT(1 2)'), 'text', 'three') (NULL) |
Changes to test/sql_stmt_tests/shiftcoords7.testcase.
1 2 3 4 5 6 7 |
shiftcoords - float shift :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("POINT(1 2)"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("POINT(1 2)"), 1.4, 3.9)) POINT(2.4 5.9) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - float shift :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('POINT(1 2)'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('POINT(1 2)'), 1.4, 3.9)) POINT(2.4 5.9) |
Changes to test/sql_stmt_tests/shiftcoords8.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Linestring XY :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("LINESTRING(1 2, 3 4)"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("LINESTRING(1 2, 3 4)"), 1.4, 3.9)) LINESTRING(2.4 5.9, 4.4 7.9) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Linestring XY :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('LINESTRING(1 2, 3 4)'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('LINESTRING(1 2, 3 4)'), 1.4, 3.9)) LINESTRING(2.4 5.9, 4.4 7.9) |
Changes to test/sql_stmt_tests/shiftcoords9.testcase.
1 2 3 4 5 6 7 |
shiftcoords - Linestring XYZ :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText("LINESTRINGZ(1 2 10, 3 4 10)"), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText("LINESTRINGZ(1 2 10, 3 4 10)"), 1.4, 3.9)) LINESTRING Z(2.4 5.9 10, 4.4 7.9 10) |
| | |
1 2 3 4 5 6 7 |
shiftcoords - Linestring XYZ :memory: #use in-memory database SELECT AsText(ShiftCoords(GeomFromText('LINESTRINGZ(1 2 10, 3 4 10)'), 1.4, 3.9)); 1 # rows (not including the header row) 1 # columns AsText(ShiftCoords(GeomFromText('LINESTRINGZ(1 2 10, 3 4 10)'), 1.4, 3.9)) LINESTRING Z(2.4 5.9 10, 4.4 7.9 10) |
Changes to test/sql_stmt_tests/shiftlongitude1.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive long :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POINT(1 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POINT(1 2)", 4326))) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive long :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POINT(1 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POINT(1 2)', 4326))) POINT(1 2) |
Changes to test/sql_stmt_tests/shiftlongitude10.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude linestringzm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGZM(-170 0 1 -2, -175 2 2.4 -4, -179 4 3.2 -5, 175.3 5 4.7 -9)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGZM(-170 0 1 -2, -175 2 2.4 -4, -179 4 3.2 -5, 175.3 5 4.7 -9)", 4326))) LINESTRING ZM(190 0 1 -2, 185 2 2.4 -4, 181 4 3.2 -5, 175.3 5 4.7 -9) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude linestringzm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGZM(-170 0 1 -2, -175 2 2.4 -4, -179 4 3.2 -5, 175.3 5 4.7 -9)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGZM(-170 0 1 -2, -175 2 2.4 -4, -179 4 3.2 -5, 175.3 5 4.7 -9)', 4326))) LINESTRING ZM(190 0 1 -2, 185 2 2.4 -4, 181 4 3.2 -5, 175.3 5 4.7 -9) |
Changes to test/sql_stmt_tests/shiftlongitude11.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - negative longitude polygonz :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONZ((-170 0 1, -175 2 2.4, -179 4 3.2, -170 0 1))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONZ((-170 0 1, -175 2 2.4, -179 4 3.2, -170 0 1))", 4326))) POLYGON Z((190 0 1, 185 2 2.4, 181 4 3.2, 190 0 1)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - negative longitude polygonz :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONZ((-170 0 1, -175 2 2.4, -179 4 3.2, -170 0 1))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONZ((-170 0 1, -175 2 2.4, -179 4 3.2, -170 0 1))', 4326))) POLYGON Z((190 0 1, 185 2 2.4, 181 4 3.2, 190 0 1)) |
Changes to test/sql_stmt_tests/shiftlongitude12.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONM((-175 0 1, -176 10 2, 175 10 3, 176 0 4, -175 0 1))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONM((-175 0 1, -176 10 2, 175 10 3, 176 0 4, -175 0 1))", 4326))) POLYGON M((185 0 1, 184 10 2, 175 10 3, 176 0 4, 185 0 1)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONM((-175 0 1, -176 10 2, 175 10 3, 176 0 4, -175 0 1))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONM((-175 0 1, -176 10 2, 175 10 3, 176 0 4, -175 0 1))', 4326))) POLYGON M((185 0 1, 184 10 2, 175 10 3, 176 0 4, 185 0 1)) |
Changes to test/sql_stmt_tests/shiftlongitude13.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygon :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0))", 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygon :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0))', 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0)) |
Changes to test/sql_stmt_tests/shiftlongitude14.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonzm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2))", 4326))) POLYGON ZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonzm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2))', 4326))) POLYGON ZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2)) |
Changes to test/sql_stmt_tests/shiftlongitude15.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonzm, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))", 4326))) POLYGON ZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2), (183 1 4 2, 183 2 5 3, 182 2 6 4, 182 1 9 2, 183 1 4 2), (181 4 0 0, 179 4 0 0, 179 5 0 0, 181 5 0 0, 181 4 0 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonzm, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONZM((-175 0 4 2, -176 10 5 3, 175 10 5 4, 176 0 5 1, -175 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))', 4326))) POLYGON ZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2), (183 1 4 2, 183 2 5 3, 182 2 6 4, 182 1 9 2, 183 1 4 2), (181 4 0 0, 179 4 0 0, 179 5 0 0, 181 5 0 0, 181 4 0 0)) |
Changes to test/sql_stmt_tests/shiftlongitude16.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonz, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONZ((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONZ((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonz, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONZ((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONZ((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
Changes to test/sql_stmt_tests/shiftlongitude17.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonm, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONM((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONM((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygonm, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONM((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONM((-175 0 4, -176 10 5, 175 10 5, 176 0 5, -175 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
Changes to test/sql_stmt_tests/shiftlongitude18.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygon, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))", 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0), (183 1, 183 2, 182 2, 182 1, 183 1), (181 4, 179 4, 179 5, 181 5, 181 4)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude polygon, interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGON((-175 0, -176 10, 175 10, 176 0, -175 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))', 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0), (183 1, 183 2, 182 2, 182 1, 183 1), (181 4, 179 4, 179 5, 181 5, 181 4)) |
Changes to test/sql_stmt_tests/shiftlongitude19.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - negative long interior :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))", 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0), (183 1, 183 2, 182 2, 182 1, 183 1), (181 4, 179 4, 179 5, 181 5, 181 4)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - negative long interior :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(-177 1, -177 2, -178 2, -178 1, -177 1),(-179 4, 179 4, 179 5, -179 5, -179 4))', 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0), (183 1, 183 2, 182 2, 182 1, 183 1), (181 4, 179 4, 179 5, 181 5, 181 4)) |
Changes to test/sql_stmt_tests/shiftlongitude2.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - negative long :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POINT(-90 2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POINT(-90 2)", 4326))) POINT(270 2) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - negative long :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POINT(-90 2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POINT(-90 2)', 4326))) POINT(270 2) |
Changes to test/sql_stmt_tests/shiftlongitude20.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - polygonm, negative interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONM((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONM((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - polygonm, negative interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONM((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONM((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
Changes to test/sql_stmt_tests/shiftlongitude21.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - polygonz, negative interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONZ((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONZ((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))", 4326))) POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - polygonz, negative interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONZ((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONZ((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4),(-177 1 4, -177 2 5, -178 2 6, -178 1 9, -177 1 4),(-179 4 0, 179 4 0, 179 5 0, -179 5 0, -179 4 0))', 4326))) POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4), (183 1 4, 183 2 5, 182 2 6, 182 1 9, 183 1 4), (181 4 0, 179 4 0, 179 5 0, 181 5 0, 181 4 0)) |
Changes to test/sql_stmt_tests/shiftlongitude22.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - polygonzm, negative interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGONZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGONZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))", 4326))) POLYGON ZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2), (183 1 4 2, 183 2 5 3, 182 2 6 4, 182 1 9 2, 183 1 4 2), (181 4 0 0, 179 4 0 0, 179 5 0 0, 181 5 0 0, 181 4 0 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - polygonzm, negative interior rings :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGONZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGONZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2),(-177 1 4 2, -177 2 5 3, -178 2 6 4, -178 1 9 2, -177 1 4 2),(-179 4 0 0, 179 4 0 0, 179 5 0 0, -179 5 0 0, -179 4 0 0))', 4326))) POLYGON ZM((185 0 4 2, 184 10 5 3, 175 10 5 4, 176 0 5 1, 185 0 4 2), (183 1 4 2, 183 2 5 3, 182 2 6 4, 182 1 9 2, 183 1 4 2), (181 4 0 0, 179 4 0 0, 179 5 0 0, 181 5 0 0, 181 4 0 0)) |
Changes to test/sql_stmt_tests/shiftlongitude23.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - simple polygonz, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))", 4326))) POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - simple polygonz, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))', 4326))) POLYGON Z((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4)) |
Changes to test/sql_stmt_tests/shiftlongitude24.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - simple polygonm, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))", 4326))) POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - simple polygonm, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4))', 4326))) POLYGON M((185 0 4, 184 10 5, 175 10 5, 176 0 5, 185 0 4)) |
Changes to test/sql_stmt_tests/shiftlongitude25.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - simple polygon, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGON((185 0, 184 10, 175 10, 176 0, 185 0))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGON((185 0, 184 10, 175 10, 176 0, 185 0))", 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - simple polygon, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGON((185 0, 184 10, 175 10, 176 0, 185 0))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGON((185 0, 184 10, 175 10, 176 0, 185 0))', 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0)) |
Changes to test/sql_stmt_tests/shiftlongitude26.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - polygon with interior, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(176 2, 181 2, 181 4, 176 4, 176 2))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(176 2, 181 2, 181 4, 176 4, 176 2))", 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0), (176 2, 181 2, 181 4, 176 4, 176 2)) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - polygon with interior, all positive :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(176 2, 181 2, 181 4, 176 4, 176 2))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('POLYGON((185 0, 184 10, 175 10, 176 0, 185 0),(176 2, 181 2, 181 4, 176 4, 176 2))', 4326))) POLYGON((185 0, 184 10, 175 10, 176 0, 185 0), (176 2, 181 2, 181 4, 176 4, 176 2)) |
Changes to test/sql_stmt_tests/shiftlongitude4.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - non blob :memory: #use in-memory database SELECT ST_Shift_Longitude("hello") 1 # rows (not including the header row) 1 # columns ST_Shift_Longitude("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - non blob :memory: #use in-memory database SELECT ST_Shift_Longitude('hello') 1 # rows (not including the header row) 1 # columns ST_Shift_Longitude('hello') (NULL) |
Changes to test/sql_stmt_tests/shiftlongitude5.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive longitude linestring :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("LINESTRING(0 0, 1 2, 100 4)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("LINESTRING(0 0, 1 2, 100 4)", 4326))) LINESTRING(0 0, 1 2, 100 4) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive longitude linestring :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('LINESTRING(0 0, 1 2, 100 4)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('LINESTRING(0 0, 1 2, 100 4)', 4326))) LINESTRING(0 0, 1 2, 100 4) |
Changes to test/sql_stmt_tests/shiftlongitude6.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - negative longitude linestring :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("LINESTRING(-170 0, -175 2, -179 4)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("LINESTRING(-170 0, -175 2, -179 4)", 4326))) LINESTRING(190 0, 185 2, 181 4) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - negative longitude linestring :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('LINESTRING(-170 0, -175 2, -179 4)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('LINESTRING(-170 0, -175 2, -179 4)', 4326))) LINESTRING(190 0, 185 2, 181 4) |
Changes to test/sql_stmt_tests/shiftlongitude7.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - negative longitude linestringz :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2)", 4326))) LINESTRING Z(190 0 1, 185 2 2.4, 181 4 3.2) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - negative longitude linestringz :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2)', 4326))) LINESTRING Z(190 0 1, 185 2 2.4, 181 4 3.2) |
Changes to test/sql_stmt_tests/shiftlongitude8.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude linestringz :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)", 4326))) LINESTRING Z(190 0 1, 185 2 2.4, 181 4 3.2, 175.3 5 4.7) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude linestringz :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGZ(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)', 4326))) LINESTRING Z(190 0 1, 185 2 2.4, 181 4 3.2, 175.3 5 4.7) |
Changes to test/sql_stmt_tests/shiftlongitude9.testcase.
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude linestringm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGM(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)", 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText("LINESTRINGM(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)", 4326))) LINESTRING M(190 0 1, 185 2 2.4, 181 4 3.2, 175.3 5 4.7) |
| | |
1 2 3 4 5 6 7 |
shiftlongitude - positive and negative longitude linestringm :memory: #use in-memory database SELECT AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGM(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)', 4326))) 1 # rows (not including the header row) 1 # columns AsText(ST_Shift_Longitude(GeomFromText('LINESTRINGM(-170 0 1, -175 2 2.4, -179 4 3.2, 175.3 5 4.7)', 4326))) LINESTRING M(190 0 1, 185 2 2.4, 181 4 3.2, 175.3 5 4.7) |
Changes to test/sql_stmt_tests/srid1.testcase.
1 2 3 4 5 6 7 |
SRID :memory: #use in-memory database SELECT SRID(GeomFromText("Point(1 2)", 4326)) 1 # rows (not including the header row) 1 # columns SRID(GeomFromText("Point(1 2)", 4326)) 4326 |
| | |
1 2 3 4 5 6 7 |
SRID :memory: #use in-memory database SELECT SRID(GeomFromText('Point(1 2)', 4326)) 1 # rows (not including the header row) 1 # columns SRID(GeomFromText('Point(1 2)', 4326)) 4326 |
Changes to test/sql_stmt_tests/srid2.testcase.
1 2 3 4 5 6 7 |
SRID :memory: #use in-memory database SELECT SRID(GeomFromText("Point(1 2)")) 1 # rows (not including the header row) 1 # columns SRID(GeomFromText("Point(1 2)")) 0 |
| | |
1 2 3 4 5 6 7 |
SRID :memory: #use in-memory database SELECT SRID(GeomFromText('Point(1 2)')) 1 # rows (not including the header row) 1 # columns SRID(GeomFromText('Point(1 2)')) 0 |
Changes to test/sql_stmt_tests/srid3.testcase.
1 2 3 4 5 6 7 |
SRID - set SRID :memory: #use in-memory database SELECT SRID(SetSRID(GeomFromText("Point(1 2)"), 4326)) 1 # rows (not including the header row) 1 # columns SRID(SetSRID(GeomFromText("Point(1 2)"), 4326)) 4326 |
| | |
1 2 3 4 5 6 7 |
SRID - set SRID :memory: #use in-memory database SELECT SRID(SetSRID(GeomFromText('Point(1 2)'), 4326)) 1 # rows (not including the header row) 1 # columns SRID(SetSRID(GeomFromText('Point(1 2)'), 4326)) 4326 |
Changes to test/sql_stmt_tests/srid6.testcase.
1 2 3 4 5 6 7 |
SetSRID - toxic :memory: #use in-memory database SELECT AsText(SetSRID(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 4326)) 1 # rows (not including the header row) 1 # columns AsText(SetSRID(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))"), 4326)) POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5)) |
| | |
1 2 3 4 5 6 7 |
SetSRID - toxic :memory: #use in-memory database SELECT AsText(SetSRID(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 4326)) 1 # rows (not including the header row) 1 # columns AsText(SetSRID(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))'), 4326)) POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5)) |
Changes to test/sql_stmt_tests/srid8.testcase.
1 2 3 4 5 6 7 |
SetSRID - invalid srid :memory: #use in-memory database SELECT SetSRID(GeomFromText("Point(1 2)"), "four") 1 # rows (not including the header row) 1 # columns SetSRID(GeomFromText("Point(1 2)"), "four") (NULL) |
| | |
1 2 3 4 5 6 7 |
SetSRID - invalid srid :memory: #use in-memory database SELECT SetSRID(GeomFromText('Point(1 2)'), 'four') 1 # rows (not including the header row) 1 # columns SetSRID(GeomFromText('Point(1 2)'), 'four') (NULL) |
Changes to test/sql_stmt_tests/srid9.testcase.
1 2 3 4 5 6 7 |
SRID - toxic :memory: #use in-memory database SELECT SRID(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))", 4326)) 1 # rows (not including the header row) 1 # columns SRID(GeomFromText("POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))", 4326)) 4326 |
| | |
1 2 3 4 5 6 7 |
SRID - toxic :memory: #use in-memory database SELECT SRID(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))', 4326)) 1 # rows (not including the header row) 1 # columns SRID(GeomFromText('POLYGON((136 -35, 135.2 -34.5, 136 -35.2, 136 -35, 135.2 -34.5))', 4326)) 4326 |
Changes to test/sql_stmt_tests/st_m3.testcase.
1 2 3 4 5 6 7 |
ST_M3 :memory: #use in-memory database SELECT ST_M(GeomFromText("POINTM(136 -35 -8.6)")); 1 # rows (not including the header row) 1 # columns ST_M(GeomFromText("POINTM(136 -35 -8.6)")) -8.6 |
| | |
1 2 3 4 5 6 7 |
ST_M3 :memory: #use in-memory database SELECT ST_M(GeomFromText('POINTM(136 -35 -8.6)')); 1 # rows (not including the header row) 1 # columns ST_M(GeomFromText('POINTM(136 -35 -8.6)')) -8.6 |
Changes to test/sql_stmt_tests/st_m4.testcase.
1 2 3 4 5 6 7 |
ST_M - text :memory: #use in-memory database SELECT M("hello world"); 1 # rows (not including the header row) 1 # columns M("hello world") (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_M - text :memory: #use in-memory database SELECT M('hello world'); 1 # rows (not including the header row) 1 # columns M('hello world') (NULL) |
Changes to test/sql_stmt_tests/st_m5.testcase.
1 2 3 4 5 6 7 8 |
ST_M5 :memory: #use in-memory database SELECT ST_M(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")); 1 # rows (not including the header row) 1 # columns ST_M(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
ST_M5 :memory: #use in-memory database SELECT ST_M(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')); 1 # rows (not including the header row) 1 # columns ST_M(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')) (NULL) |
Changes to test/sql_stmt_tests/st_x3.testcase.
1 2 3 4 5 6 7 |
ST_X - text :memory: #use in-memory database SELECT X("hello world"); 1 # rows (not including the header row) 1 # columns X("hello world") (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_X - text :memory: #use in-memory database SELECT X('hello world'); 1 # rows (not including the header row) 1 # columns X('hello world') (NULL) |
Changes to test/sql_stmt_tests/st_x4.testcase.
1 2 3 4 5 6 7 |
ST_X4 :memory: #use in-memory database SELECT ST_X(GeomFromText("POINTM(136 -35 -8.6)")); 1 # rows (not including the header row) 1 # columns ST_X(GeomFromText("POINTM(136 -35 -8.6)")) 136.0 |
| | |
1 2 3 4 5 6 7 |
ST_X4 :memory: #use in-memory database SELECT ST_X(GeomFromText('POINTM(136 -35 -8.6)')); 1 # rows (not including the header row) 1 # columns ST_X(GeomFromText('POINTM(136 -35 -8.6)')) 136.0 |
Changes to test/sql_stmt_tests/st_x5.testcase.
1 2 3 4 5 6 7 8 |
ST_X5 :memory: #use in-memory database SELECT ST_X(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")); 1 # rows (not including the header row) 1 # columns ST_X(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
ST_X5 :memory: #use in-memory database SELECT ST_X(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')); 1 # rows (not including the header row) 1 # columns ST_X(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')) (NULL) |
Changes to test/sql_stmt_tests/st_y3.testcase.
1 2 3 4 5 6 7 |
ST_Y - text :memory: #use in-memory database SELECT Y("hello world"); 1 # rows (not including the header row) 1 # columns Y("hello world") (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_Y - text :memory: #use in-memory database SELECT Y('hello world'); 1 # rows (not including the header row) 1 # columns Y('hello world') (NULL) |
Changes to test/sql_stmt_tests/st_y4.testcase.
1 2 3 4 5 6 7 8 |
ST_Y4 :memory: #use in-memory database SELECT ST_Y(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")); 1 # rows (not including the header row) 1 # columns ST_Y(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
ST_Y4 :memory: #use in-memory database SELECT ST_Y(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')); 1 # rows (not including the header row) 1 # columns ST_Y(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')) (NULL) |
Changes to test/sql_stmt_tests/st_z3.testcase.
1 2 3 4 5 6 7 |
ST_Z - text :memory: #use in-memory database SELECT Z("hello world"); 1 # rows (not including the header row) 1 # columns Z("hello world") (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_Z - text :memory: #use in-memory database SELECT Z('hello world'); 1 # rows (not including the header row) 1 # columns Z('hello world') (NULL) |
Changes to test/sql_stmt_tests/st_z4.testcase.
1 2 3 4 5 6 7 |
ST_Z4 :memory: #use in-memory database SELECT ST_Z(GeomFromText("POINTZM(136 -35 635.2 10.2)")); 1 # rows (not including the header row) 1 # columns ST_Z(GeomFromText("POINTZM(136 -35 635.2 10.2)")) 635.2 |
| | |
1 2 3 4 5 6 7 |
ST_Z4 :memory: #use in-memory database SELECT ST_Z(GeomFromText('POINTZM(136 -35 635.2 10.2)')); 1 # rows (not including the header row) 1 # columns ST_Z(GeomFromText('POINTZM(136 -35 635.2 10.2)')) 635.2 |
Changes to test/sql_stmt_tests/st_z5.testcase.
1 2 3 4 5 6 7 8 |
ST_Z5 :memory: #use in-memory database SELECT ST_Z(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")); 1 # rows (not including the header row) 1 # columns ST_Z(GeomFromText("LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)")) (NULL) |
| | |
1 2 3 4 5 6 7 8 |
ST_Z5 :memory: #use in-memory database SELECT ST_Z(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')); 1 # rows (not including the header row) 1 # columns ST_Z(GeomFromText('LINESTRINGZ(136 -35 635.2, 135.2 -34.5 675.1)')) (NULL) |
Changes to test/sql_stmt_tests/startpoint1.testcase.
1 2 3 4 5 6 7 |
startpoint - regular LINESTRING :memory: #use in-memory database SELECT AsText(StartPoint(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"))); 1 # rows (not including the header row) 1 # columns AsText(StartPoint(GeomFromText("LINESTRING(4 0, 4 4, 8 4)"))) POINT(4 0) |
| | |
1 2 3 4 5 6 7 |
startpoint - regular LINESTRING :memory: #use in-memory database SELECT AsText(StartPoint(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'))); 1 # rows (not including the header row) 1 # columns AsText(StartPoint(GeomFromText('LINESTRING(4 0, 4 4, 8 4)'))) POINT(4 0) |
Changes to test/sql_stmt_tests/startpoint3.testcase.
1 2 3 4 5 6 7 |
startpoint - text input (error) :memory: #use in-memory database SELECT StartPoint("hello world"); 1 # rows (not including the header row) 1 # columns StartPoint("hello world") (NULL) |
| | |
1 2 3 4 5 6 7 |
startpoint - text input (error) :memory: #use in-memory database SELECT StartPoint('hello world'); 1 # rows (not including the header row) 1 # columns StartPoint('hello world') (NULL) |
Changes to test/sql_stmt_tests/swapcoords1.testcase.
1 2 3 4 5 6 7 |
swapcoords1 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("POINT(1 2)"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("POINT(1 2)"))) POINT(2 1) |
| | |
1 2 3 4 5 6 7 |
swapcoords1 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('POINT(1 2)'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('POINT(1 2)'))) POINT(2 1) |
Changes to test/sql_stmt_tests/swapcoords10.testcase.
1 2 3 4 5 6 7 |
swapcoords10 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("POLYGONM((10 10 1, 20 10 2, 20 20 3, 10 20 4, 10 10 1), (14 14 1, 16 14 2, 16 16 3, 14 16 4, 14 14 1))"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("POLYGONM((10 10 1, 20 10 2, 20 20 3, 10 20 4, 10 10 1), (14 14 1, 16 14 2, 16 16 3, 14 16 4, 14 14 1))"))); POLYGON M((10 10 1, 10 20 2, 20 20 3, 20 10 4, 10 10 1), (14 14 1, 14 16 2, 16 16 3, 16 14 4, 14 14 1)) |
| | |
1 2 3 4 5 6 7 |
swapcoords10 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('POLYGONM((10 10 1, 20 10 2, 20 20 3, 10 20 4, 10 10 1), (14 14 1, 16 14 2, 16 16 3, 14 16 4, 14 14 1))'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('POLYGONM((10 10 1, 20 10 2, 20 20 3, 10 20 4, 10 10 1), (14 14 1, 16 14 2, 16 16 3, 14 16 4, 14 14 1))'))); POLYGON M((10 10 1, 10 20 2, 20 20 3, 20 10 4, 10 10 1), (14 14 1, 14 16 2, 16 16 3, 16 14 4, 14 14 1)) |
Changes to test/sql_stmt_tests/swapcoords11.testcase.
1 2 3 4 5 6 7 |
swapcoords11 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("POLYGONZM((10 10 100 1, 20 10 101 2, 20 20 102 3, 10 20 103 4, 10 10 100 1), (14 14 100 1, 16 14 101 2, 16 16 102 3, 14 16 103 4, 14 14 100 1))"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("POLYGONZM((10 10 100 1, 20 10 101 2, 20 20 102 3, 10 20 103 4, 10 10 100 1), (14 14 100 1, 16 14 101 2, 16 16 102 3, 14 16 103 4, 14 14 100 1))"))); POLYGON ZM((10 10 100 1, 10 20 101 2, 20 20 102 3, 20 10 103 4, 10 10 100 1), (14 14 100 1, 14 16 101 2, 16 16 102 3, 16 14 103 4, 14 14 100 1)) |
| | |
1 2 3 4 5 6 7 |
swapcoords11 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('POLYGONZM((10 10 100 1, 20 10 101 2, 20 20 102 3, 10 20 103 4, 10 10 100 1), (14 14 100 1, 16 14 101 2, 16 16 102 3, 14 16 103 4, 14 14 100 1))'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('POLYGONZM((10 10 100 1, 20 10 101 2, 20 20 102 3, 10 20 103 4, 10 10 100 1), (14 14 100 1, 16 14 101 2, 16 16 102 3, 14 16 103 4, 14 14 100 1))'))); POLYGON ZM((10 10 100 1, 10 20 101 2, 20 20 102 3, 20 10 103 4, 10 10 100 1), (14 14 100 1, 14 16 101 2, 16 16 102 3, 16 14 103 4, 14 14 100 1)) |
Changes to test/sql_stmt_tests/swapcoords2.testcase.
1 2 3 4 5 6 7 |
swapcoords2 :memory: #use in-memory database SELECT SwapCoords("hello"); 1 # rows (not including the header row) 1 # columns SwapCoords("hello"); (NULL) |
| | |
1 2 3 4 5 6 7 |
swapcoords2 :memory: #use in-memory database SELECT SwapCoords('hello'); 1 # rows (not including the header row) 1 # columns SwapCoords('hello'); (NULL) |
Changes to test/sql_stmt_tests/swapcoords4.testcase.
1 2 3 4 5 6 7 |
swapcoords4 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -36)"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -36)"))); LINESTRING(-35 136, -34.5 135.2, -35.2 136, -36 136) |
| | |
1 2 3 4 5 6 7 |
swapcoords4 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -36)'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('LINESTRING(136 -35, 135.2 -34.5, 136 -35.2, 136 -36)'))); LINESTRING(-35 136, -34.5 135.2, -35.2 136, -36 136) |
Changes to test/sql_stmt_tests/swapcoords5.testcase.
1 2 3 4 5 6 7 |
swapcoords5 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("LINESTRINGZ(136 -35 100, 135.2 -34.5 101, 136 -35.2 102, 136 -36 103)"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("LINESTRINGZ(136 -35 100, 135.2 -34.5 101, 136 -35.2 102, 136 -36 103)"))); LINESTRING Z(-35 136 100, -34.5 135.2 101, -35.2 136 102, -36 136 103) |
| | |
1 2 3 4 5 6 7 |
swapcoords5 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('LINESTRINGZ(136 -35 100, 135.2 -34.5 101, 136 -35.2 102, 136 -36 103)'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('LINESTRINGZ(136 -35 100, 135.2 -34.5 101, 136 -35.2 102, 136 -36 103)'))); LINESTRING Z(-35 136 100, -34.5 135.2 101, -35.2 136 102, -36 136 103) |
Changes to test/sql_stmt_tests/swapcoords6.testcase.
1 2 3 4 5 6 7 |
swapcoords6 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("LINESTRINGM(136 -35 1, 135.2 -34.5 2, 136 -35.2 3, 136 -36 4)"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("LINESTRINGM(136 -35 1, 135.2 -34.5 2, 136 -35.2 3, 136 -36 4)"))); LINESTRING M(-35 136 1, -34.5 135.2 2, -35.2 136 3, -36 136 4) |
| | |
1 2 3 4 5 6 7 |
swapcoords6 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('LINESTRINGM(136 -35 1, 135.2 -34.5 2, 136 -35.2 3, 136 -36 4)'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('LINESTRINGM(136 -35 1, 135.2 -34.5 2, 136 -35.2 3, 136 -36 4)'))); LINESTRING M(-35 136 1, -34.5 135.2 2, -35.2 136 3, -36 136 4) |
Changes to test/sql_stmt_tests/swapcoords7.testcase.
1 2 3 4 5 6 7 |
swapcoords7 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("LINESTRINGZM(136 -35 100 1, 135.2 -34.5 101 2, 136 -35.2 102 3, 136 -36 103 4)"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("LINESTRINGZM(136 -35 100 1, 135.2 -34.5 101 2, 136 -35.2 102 3, 136 -36 103 4)"))); LINESTRING ZM(-35 136 100 1, -34.5 135.2 101 2, -35.2 136 102 3, -36 136 103 4) |
| | |
1 2 3 4 5 6 7 |
swapcoords7 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('LINESTRINGZM(136 -35 100 1, 135.2 -34.5 101 2, 136 -35.2 102 3, 136 -36 103 4)'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('LINESTRINGZM(136 -35 100 1, 135.2 -34.5 101 2, 136 -35.2 102 3, 136 -36 103 4)'))); LINESTRING ZM(-35 136 100 1, -34.5 135.2 101 2, -35.2 136 102 3, -36 136 103 4) |
Changes to test/sql_stmt_tests/swapcoords8.testcase.
1 2 3 4 5 6 7 |
swapcoords8 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (14 14, 16 14, 16 16, 14 16, 14 14))"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (14 14, 16 14, 16 16, 14 16, 14 14))"))); POLYGON((10 10, 10 20, 20 20, 20 10, 10 10), (14 14, 14 16, 16 16, 16 14, 14 14)) |
| | |
1 2 3 4 5 6 7 |
swapcoords8 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (14 14, 16 14, 16 16, 14 16, 14 14))'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('POLYGON((10 10, 20 10, 20 20, 10 20, 10 10), (14 14, 16 14, 16 16, 14 16, 14 14))'))); POLYGON((10 10, 10 20, 20 20, 20 10, 10 10), (14 14, 14 16, 16 16, 16 14, 14 14)) |
Changes to test/sql_stmt_tests/swapcoords9.testcase.
1 2 3 4 5 6 7 |
swapcoords9 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText("POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (14 14 100, 16 14 101, 16 16 102, 14 16 103, 14 14 100))"))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText("POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (14 14 100, 16 14 101, 16 16 102, 14 16 103, 14 14 100))"))); POLYGON Z((10 10 100, 10 20 101, 20 20 102, 20 10 103, 10 10 100), (14 14 100, 14 16 101, 16 16 102, 16 14 103, 14 14 100)) |
| | |
1 2 3 4 5 6 7 |
swapcoords9 :memory: #use in-memory database SELECT AsText(SwapCoords(GeomFromText('POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (14 14 100, 16 14 101, 16 16 102, 14 16 103, 14 14 100))'))); 1 # rows (not including the header row) 1 # columns AsText(SwapCoords(GeomFromText('POLYGONZ((10 10 100, 20 10 101, 20 20 102, 10 20 103, 10 10 100), (14 14 100, 16 14 101, 16 16 102, 14 16 103, 14 14 100))'))); POLYGON Z((10 10 100, 10 20 101, 20 20 102, 20 10 103, 10 10 100), (14 14 100, 14 16 101, 16 16 102, 16 14 103, 14 14 100)) |
Changes to test/sql_stmt_tests/togars1.testcase.
1 2 3 4 5 6 7 |
togars - southwest :memory: #use in-memory database SELECT ToGARS(GeomFromText("Point(-179.999 -89.999)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("Point(-179.999 -89.999)", 4326)) 001AA37 |
| | |
1 2 3 4 5 6 7 |
togars - southwest :memory: #use in-memory database SELECT ToGARS(GeomFromText('Point(-179.999 -89.999)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('Point(-179.999 -89.999)', 4326)) 001AA37 |
Changes to test/sql_stmt_tests/togars10.testcase.
1 2 3 4 5 6 7 |
togars - GeometryCollection, single Point :memory: #use in-memory database SELECT ToGARS(GeomFromText("GEOMETRYCOLLECTION(POINT(11.876910 43.461390))", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("GEOMETRYCOLLECTION(POINT(11.876910 43.461390))", 4326)) 384MC22 |
| | |
1 2 3 4 5 6 7 |
togars - GeometryCollection, single Point :memory: #use in-memory database SELECT ToGARS(GeomFromText('GEOMETRYCOLLECTION(POINT(11.876910 43.461390))', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('GEOMETRYCOLLECTION(POINT(11.876910 43.461390))', 4326)) 384MC22 |
Changes to test/sql_stmt_tests/togars11.testcase.
1 2 3 4 5 6 7 |
togars - MultiPoint (two Points) :memory: #use in-memory database SELECT ToGARS(GeomFromText("MULTIPOINT(11.876910 43.461390, 12 43)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("MULTIPOINT(11.876910 43.461390, 12 43)", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
togars - MultiPoint (two Points) :memory: #use in-memory database SELECT ToGARS(GeomFromText('MULTIPOINT(11.876910 43.461390, 12 43)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('MULTIPOINT(11.876910 43.461390, 12 43)', 4326)) (NULL) |
Changes to test/sql_stmt_tests/togars12.testcase.
1 2 3 4 5 6 7 |
togars - GeometryCollection: Point + Linestring :memory: #use in-memory database SELECT ToGARS(GeomFromText("GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43))", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43))", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
togars - GeometryCollection: Point + Linestring :memory: #use in-memory database SELECT ToGARS(GeomFromText('GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43))', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43))', 4326)) (NULL) |
Changes to test/sql_stmt_tests/togars13.testcase.
1 2 3 4 5 6 7 |
togars - GeometryCollection: Point + Linestring + Polygon :memory: #use in-memory database SELECT ToGARS(GeomFromText("GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43), POLYGON((11 43, 11.05 43, 11.05 43.05, 11 43.05, 11 43)))", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43), POLYGON((11 43, 11.05 43, 11.05 43.05, 11 43.05, 11 43)))", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
togars - GeometryCollection: Point + Linestring + Polygon :memory: #use in-memory database SELECT ToGARS(GeomFromText('GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43), POLYGON((11 43, 11.05 43, 11.05 43.05, 11 43.05, 11 43)))', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('GEOMETRYCOLLECTION(POINT(11.876910 43.461390), LINESTRING(11 43, 12 43), POLYGON((11 43, 11.05 43, 11.05 43.05, 11 43.05, 11 43)))', 4326)) (NULL) |
Changes to test/sql_stmt_tests/togars2.testcase.
1 2 3 4 5 6 7 |
togars - northeast :memory: #use in-memory database SELECT ToGARS(GeomFromText("Point(179.999 89.999)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("Point(179.999 89.999)", 4326)) 720QZ23 |
| | |
1 2 3 4 5 6 7 |
togars - northeast :memory: #use in-memory database SELECT ToGARS(GeomFromText('Point(179.999 89.999)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('Point(179.999 89.999)', 4326)) 720QZ23 |
Changes to test/sql_stmt_tests/togars3.testcase.
1 2 3 4 5 6 7 |
togars - southeast :memory: #use in-memory database SELECT ToGARS(GeomFromText("Point(179.999 -89.999)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("Point(179.999 -89.999)", 4326)) 720AA49 |
| | |
1 2 3 4 5 6 7 |
togars - southeast :memory: #use in-memory database SELECT ToGARS(GeomFromText('Point(179.999 -89.999)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('Point(179.999 -89.999)', 4326)) 720AA49 |
Changes to test/sql_stmt_tests/togars4.testcase.
1 2 3 4 5 6 7 |
togars - northwest :memory: #use in-memory database SELECT ToGARS(GeomFromText("Point(-179.999 89.999)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("Point(-179.999 89.999)", 4326)) 001QZ11 |
| | |
1 2 3 4 5 6 7 |
togars - northwest :memory: #use in-memory database SELECT ToGARS(GeomFromText('Point(-179.999 89.999)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('Point(-179.999 89.999)', 4326)) 001QZ11 |
Changes to test/sql_stmt_tests/togars5.testcase.
1 2 3 4 5 6 7 |
togars - non-blob :memory: #use in-memory database SELECT ToGARS("hello") 1 # rows (not including the header row) 1 # columns ToGARS("hello") (NULL) |
| | |
1 2 3 4 5 6 7 |
togars - non-blob :memory: #use in-memory database SELECT ToGARS('hello') 1 # rows (not including the header row) 1 # columns ToGARS('hello') (NULL) |
Changes to test/sql_stmt_tests/togars7.testcase.
1 2 3 4 5 6 7 |
togars - southwest, plus a bit :memory: #use in-memory database SELECT ToGARS(GeomFromText("Point(-179.85 -89.85)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("Point(-179.85 -89.85)", 4326)) 001AA35 |
| | |
1 2 3 4 5 6 7 |
togars - southwest, plus a bit :memory: #use in-memory database SELECT ToGARS(GeomFromText('Point(-179.85 -89.85)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('Point(-179.85 -89.85)', 4326)) 001AA35 |
Changes to test/sql_stmt_tests/togars8.testcase.
1 2 3 4 5 6 7 |
togars - southwest, plus a bit :memory: #use in-memory database SELECT ToGARS(GeomFromText("LINESTRING(0 0, 4 3)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("LINESTRING(0 0, 4 3)", 4326)) (NULL) |
| | |
1 2 3 4 5 6 7 |
togars - southwest, plus a bit :memory: #use in-memory database SELECT ToGARS(GeomFromText('LINESTRING(0 0, 4 3)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('LINESTRING(0 0, 4 3)', 4326)) (NULL) |
Changes to test/sql_stmt_tests/togars9.testcase.
1 2 3 4 5 6 7 |
togars - MultiPoint (only a single Point) :memory: #use in-memory database SELECT ToGARS(GeomFromText("MULTIPOINT(11.876910 43.461390)", 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText("MULTIPOINT(11.876910 43.461390)", 4326)) 384MC22 |
| | |
1 2 3 4 5 6 7 |
togars - MultiPoint (only a single Point) :memory: #use in-memory database SELECT ToGARS(GeomFromText('MULTIPOINT(11.876910 43.461390)', 4326)) 1 # rows (not including the header row) 1 # columns ToGARS(GeomFromText('MULTIPOINT(11.876910 43.461390)', 4326)) 384MC22 |
Changes to test/sql_stmt_tests/translate1.testcase.
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POINT(1 2)"), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POINT(1 2)"), 1, 3, 4)) POINT(2 5) |
| | |
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POINT(1 2)'), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POINT(1 2)'), 1, 3, 4)) POINT(2 5) |
Changes to test/sql_stmt_tests/translate10.testcase.
1 2 3 4 5 6 7 |
translate - Linestring XYM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("LINESTRINGM(1 2 20, 3 4 20)"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("LINESTRINGM(1 2 20, 3 4 20)"), 1.4, 3.9, 5.3)) LINESTRING M(2.4 5.9 20, 4.4 7.9 20) |
| | |
1 2 3 4 5 6 7 |
translate - Linestring XYM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('LINESTRINGM(1 2 20, 3 4 20)'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('LINESTRINGM(1 2 20, 3 4 20)'), 1.4, 3.9, 5.3)) LINESTRING M(2.4 5.9 20, 4.4 7.9 20) |
Changes to test/sql_stmt_tests/translate11.testcase.
1 2 3 4 5 6 7 |
translate - Linestring XYZM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("LINESTRINGZM(1 2 10 20, 3 4 10 20)"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("LINESTRINGZM(1 2 10 20, 3 4 10 20)"), 1.4, 3.9, 5.3)) LINESTRING ZM(2.4 5.9 15.3 20, 4.4 7.9 15.3 20) |
| | |
1 2 3 4 5 6 7 |
translate - Linestring XYZM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('LINESTRINGZM(1 2 10 20, 3 4 10 20)'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('LINESTRINGZM(1 2 10 20, 3 4 10 20)'), 1.4, 3.9, 5.3)) LINESTRING ZM(2.4 5.9 15.3 20, 4.4 7.9 15.3 20) |
Changes to test/sql_stmt_tests/translate12.testcase.
1 2 3 4 5 6 7 |
translate - Polygon XY :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))"), 1.4, 3.9, 5.3)) POLYGON((1.4 3.9, 11.4 3.9, 11.4 13.9, 1.4 13.9, 1.4 3.9), (6.4 8.9, 7.4 8.9, 7.4 9.9, 6.4 9.9, 6.4 8.9)) |
| | |
1 2 3 4 5 6 7 |
translate - Polygon XY :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 6 5, 6 6, 5 6, 5 5))'), 1.4, 3.9, 5.3)) POLYGON((1.4 3.9, 11.4 3.9, 11.4 13.9, 1.4 13.9, 1.4 3.9), (6.4 8.9, 7.4 8.9, 7.4 9.9, 6.4 9.9, 6.4 8.9)) |
Changes to test/sql_stmt_tests/translate13.testcase.
1 2 3 4 5 6 7 |
translate - Polygon XYZ :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))"), 1.4, 3.9, 5.3)) POLYGON Z((1.4 3.9 15.3, 11.4 3.9 15.3, 11.4 13.9 16.3, 1.4 13.9 16.3, 1.4 3.9 15.3), (6.4 8.9 17.3, 7.4 8.9 17.3, 7.4 9.9 18.3, 6.4 9.9 18.3, 6.4 8.9 17.3)) |
| | |
1 2 3 4 5 6 7 |
translate - Polygon XYZ :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POLYGONZ((0 0 10, 10 0 10, 10 10 11, 0 10 11, 0 0 10), (5 5 12, 6 5 12, 6 6 13, 5 6 13, 5 5 12))'), 1.4, 3.9, 5.3)) POLYGON Z((1.4 3.9 15.3, 11.4 3.9 15.3, 11.4 13.9 16.3, 1.4 13.9 16.3, 1.4 3.9 15.3), (6.4 8.9 17.3, 7.4 8.9 17.3, 7.4 9.9 18.3, 6.4 9.9 18.3, 6.4 8.9 17.3)) |
Changes to test/sql_stmt_tests/translate14.testcase.
1 2 3 4 5 6 7 |
translate - Polygon XYM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))"), 1.4, 3.9, 5.3)) POLYGON M((1.4 3.9 1, 11.4 3.9 2, 11.4 13.9 3, 1.4 13.9 4, 1.4 3.9 1), (6.4 8.9 1, 7.4 8.9 2, 7.4 9.9 3, 6.4 9.9 3, 6.4 8.9 1)) |
| | |
1 2 3 4 5 6 7 |
translate - Polygon XYM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POLYGONM((0 0 1, 10 0 2, 10 10 3, 0 10 4, 0 0 1), (5 5 1, 6 5 2, 6 6 3, 5 6 3, 5 5 1))'), 1.4, 3.9, 5.3)) POLYGON M((1.4 3.9 1, 11.4 3.9 2, 11.4 13.9 3, 1.4 13.9 4, 1.4 3.9 1), (6.4 8.9 1, 7.4 8.9 2, 7.4 9.9 3, 6.4 9.9 3, 6.4 8.9 1)) |
Changes to test/sql_stmt_tests/translate15.testcase.
1 2 3 4 5 6 7 |
translate - Polygon XYZM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))"), 1.4, 3.9, 5.3)) POLYGON ZM((1.4 3.9 15.3 1, 11.4 3.9 15.3 2, 11.4 13.9 16.3 3, 1.4 13.9 16.3 4, 1.4 3.9 15.3 1), (6.4 8.9 17.3 1, 7.4 8.9 17.3 2, 7.4 9.9 18.3 3, 6.4 9.9 18.3 4, 6.4 8.9 17.3 1)) |
| | |
1 2 3 4 5 6 7 |
translate - Polygon XYZM :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POLYGONZM((0 0 10 1, 10 0 10 2, 10 10 11 3, 0 10 11 4, 0 0 10 1), (5 5 12 1, 6 5 12 2, 6 6 13 3, 5 6 13 4, 5 5 12 1))'), 1.4, 3.9, 5.3)) POLYGON ZM((1.4 3.9 15.3 1, 11.4 3.9 15.3 2, 11.4 13.9 16.3 3, 1.4 13.9 16.3 4, 1.4 3.9 15.3 1), (6.4 8.9 17.3 1, 7.4 8.9 17.3 2, 7.4 9.9 18.3 3, 6.4 9.9 18.3 4, 6.4 8.9 17.3 1)) |
Changes to test/sql_stmt_tests/translate16.testcase.
1 2 3 4 5 6 7 |
translate - text shift (Z error) :memory: #use in-memory database SELECT ST_Translate(GeomFromText("POINT(1 2)"), 1, 2.5, "alpha"); 1 # rows (not including the header row) 1 # columns ST_Translate(GeomFromText("POINT(1 2)"), 1, 2.5, "alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
translate - text shift (Z error) :memory: #use in-memory database SELECT ST_Translate(GeomFromText('POINT(1 2)'), 1, 2.5, 'alpha'); 1 # rows (not including the header row) 1 # columns ST_Translate(GeomFromText('POINT(1 2)'), 1, 2.5, 'alpha') (NULL) |
Changes to test/sql_stmt_tests/translate17.testcase.
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POINTZ(1 2 3)"), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POINTZ(1 2 3)"), 1, 3, 4)) POINT Z(2 5 7) |
| | |
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POINTZ(1 2 3)'), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POINTZ(1 2 3)'), 1, 3, 4)) POINT Z(2 5 7) |
Changes to test/sql_stmt_tests/translate18.testcase.
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POINTM(1 2 3)"), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POINTM(1 2 3)"), 1, 3, 4)) POINT M(2 5 3) |
| | |
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POINTM(1 2 3)'), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POINTM(1 2 3)'), 1, 3, 4)) POINT M(2 5 3) |
Changes to test/sql_stmt_tests/translate19.testcase.
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POINTZM(1 2 3 4)"), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POINTZM(1 2 3 4)"), 1, 3, 4)) POINT ZM(2 5 7 4) |
| | |
1 2 3 4 5 6 7 |
translate :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POINTZM(1 2 3 4)'), 1, 3, 4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POINTZM(1 2 3 4)'), 1, 3, 4)) POINT ZM(2 5 7 4) |
Changes to test/sql_stmt_tests/translate2.testcase.
1 2 3 4 5 6 7 |
translate2 :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POINT(1 2)"), -1, -3, -4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POINT(1 2)"), -1, -3, -4)) POINT(0 -1) |
| | |
1 2 3 4 5 6 7 |
translate2 :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POINT(1 2)'), -1, -3, -4)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POINT(1 2)'), -1, -3, -4)) POINT(0 -1) |
Changes to test/sql_stmt_tests/translate4.testcase.
1 2 3 4 5 6 7 |
translate - text input (null) :memory: #use in-memory database SELECT ST_Translate("shift", -1, -3, -4); 1 # rows (not including the header row) 1 # columns ST_Translate("shift", -1, -3, -4) (NULL) |
| | |
1 2 3 4 5 6 7 |
translate - text input (null) :memory: #use in-memory database SELECT ST_Translate('shift', -1, -3, -4); 1 # rows (not including the header row) 1 # columns ST_Translate('shift', -1, -3, -4) (NULL) |
Changes to test/sql_stmt_tests/translate5.testcase.
1 2 3 4 5 6 7 8 9 10 |
translate - text shift (error) :memory: #use in-memory database SELECT ST_Translate(GeomFromText("POINT(1 2)"), 1, "three", 2); 1 # rows (not including the header row) 1 # columns ST_Translate(GeomFromText("POINT(1 2)"), 1, "three", 2) (NULL) |
| | |
1 2 3 4 5 6 7 8 9 10 |
translate - text shift (error) :memory: #use in-memory database SELECT ST_Translate(GeomFromText('POINT(1 2)'), 1, 'three', 2); 1 # rows (not including the header row) 1 # columns ST_Translate(GeomFromText('POINT(1 2)'), 1, 'three', 2) (NULL) |
Changes to test/sql_stmt_tests/translate6.testcase.
1 2 3 4 5 6 7 |
translate - text shift both (error) :memory: #use in-memory database SELECT ST_Translate(GeomFromText("POINT(1 2)"), "text", "three", "alpha"); 1 # rows (not including the header row) 1 # columns ST_Translate(GeomFromText("POINT(1 2)"), "text", "three", "alpha") (NULL) |
| | |
1 2 3 4 5 6 7 |
translate - text shift both (error) :memory: #use in-memory database SELECT ST_Translate(GeomFromText('POINT(1 2)'), 'text', 'three', 'alpha'); 1 # rows (not including the header row) 1 # columns ST_Translate(GeomFromText('POINT(1 2)'), 'text', 'three', 'alpha') (NULL) |
Changes to test/sql_stmt_tests/translate7.testcase.
1 2 3 4 5 6 7 |
translate - float shift :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("POINT(1 2)"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("POINT(1 2)"), 1.4, 3.9, 5.3)) POINT(2.4 5.9) |
| | |
1 2 3 4 5 6 7 |
translate - float shift :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('POINT(1 2)'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('POINT(1 2)'), 1.4, 3.9, 5.3)) POINT(2.4 5.9) |
Changes to test/sql_stmt_tests/translate8.testcase.
1 2 3 4 5 6 7 |
translate - Linestring XY :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("LINESTRING(1 2, 3 4)"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("LINESTRING(1 2, 3 4)"), 1.4, 3.9, 5.3)) LINESTRING(2.4 5.9, 4.4 7.9) |
| | |
1 2 3 4 5 6 7 |
translate - Linestring XY :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('LINESTRING(1 2, 3 4)'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('LINESTRING(1 2, 3 4)'), 1.4, 3.9, 5.3)) LINESTRING(2.4 5.9, 4.4 7.9) |
Changes to test/sql_stmt_tests/translate9.testcase.
1 2 3 4 5 6 7 |
translate - Linestring XYZ :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText("LINESTRINGZ(1 2 10, 3 4 10)"), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText("LINESTRINGZ(1 2 10, 3 4 10)"), 1.4, 3.9, 5.3)) LINESTRING Z(2.4 5.9 15.3, 4.4 7.9 15.3) |
| | |
1 2 3 4 5 6 7 |
translate - Linestring XYZ :memory: #use in-memory database SELECT AsText(ST_Translate(GeomFromText('LINESTRINGZ(1 2 10, 3 4 10)'), 1.4, 3.9, 5.3)); 1 # rows (not including the header row) 1 # columns AsText(ST_Translate(GeomFromText('LINESTRINGZ(1 2 10, 3 4 10)'), 1.4, 3.9, 5.3)) LINESTRING Z(2.4 5.9 15.3, 4.4 7.9 15.3) |
Changes to test/sql_stmt_tests/uncompressgeom1.testcase.
1 2 3 4 5 6 7 |
uncompressgeometry :memory: #use in-memory database SELECT AsText(UncompressGeometry(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))", 4326))) 1 # rows (not including the header row) 1 # columns AsText(UncompressGeometry(GeomFromText("POLYGON((1 2, 3 1, 4 4, 1 2))", 4326))) POLYGON((1 2, 3 1, 4 4, 1 2)) |
| | |
1 2 3 4 5 6 7 |
uncompressgeometry :memory: #use in-memory database SELECT AsText(UncompressGeometry(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))', 4326))) 1 # rows (not including the header row) 1 # columns AsText(UncompressGeometry(GeomFromText('POLYGON((1 2, 3 1, 4 4, 1 2))', 4326))) POLYGON((1 2, 3 1, 4 4, 1 2)) |
Changes to test/sql_stmt_tests/uncompressgeom2.testcase.
1 2 3 4 5 6 7 |
uncompressgeometry - non blob :memory: #use in-memory database SELECT UncompressGeometry("foo") 1 # rows (not including the header row) 1 # columns UncompressGeometry("foo") (NULL) |
| | |
1 2 3 4 5 6 7 |
uncompressgeometry - non blob :memory: #use in-memory database SELECT UncompressGeometry('foo') 1 # rows (not including the header row) 1 # columns UncompressGeometry('foo') (NULL) |
Changes to test/sql_stmt_tests/wkb1.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XY (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOINT(1.2 3.4)", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOINT(1.2 3.4)", 4326))); 0104000000010000000101000000333333333333F33F3333333333330B40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XY (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOINT(1.2 3.4)', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOINT(1.2 3.4)', 4326))); 0104000000010000000101000000333333333333F33F3333333333330B40 |
Changes to test/sql_stmt_tests/wkb10.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XYZ (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRINGZ((1.2 3.4 100, 5.6 7.8 101))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRINGZ((1.2 3.4 100, 5.6 7.8 101))", 4326))); 01ED0300000100000001EA03000002000000333333333333F33F3333333333330B40000000000000594066666666666616403333333333331F400000000000405940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XYZ (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRINGZ((1.2 3.4 100, 5.6 7.8 101))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRINGZ((1.2 3.4 100, 5.6 7.8 101))', 4326))); 01ED0300000100000001EA03000002000000333333333333F33F3333333333330B40000000000000594066666666666616403333333333331F400000000000405940 |
Changes to test/sql_stmt_tests/wkb11.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XYM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRINGM((1.2 3.4 12, 5.6 7.8 13))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRINGM((1.2 3.4 12, 5.6 7.8 13))", 4326))); 01D50700000100000001D207000002000000333333333333F33F3333333333330B40000000000000284066666666666616403333333333331F400000000000002A40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XYM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRINGM((1.2 3.4 12, 5.6 7.8 13))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRINGM((1.2 3.4 12, 5.6 7.8 13))', 4326))); 01D50700000100000001D207000002000000333333333333F33F3333333333330B40000000000000284066666666666616403333333333331F400000000000002A40 |
Changes to test/sql_stmt_tests/wkb12.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XYZM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRINGZM((1.2 3.4 100 12, 5.6 7.8 101 13))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRINGZM((1.2 3.4 100 12, 5.6 7.8 101 13))", 4326))); 01BD0B00000100000001BA0B000002000000333333333333F33F3333333333330B400000000000005940000000000000284066666666666616403333333333331F4000000000004059400000000000002A40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XYZM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRINGZM((1.2 3.4 100 12, 5.6 7.8 101 13))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRINGZM((1.2 3.4 100 12, 5.6 7.8 101 13))', 4326))); 01BD0B00000100000001BA0B000002000000333333333333F33F3333333333330B400000000000005940000000000000284066666666666616403333333333331F4000000000004059400000000000002A40 |
Changes to test/sql_stmt_tests/wkb13.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY(single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8))", 4326))); 010700000001000000010200000002000000333333333333F33F3333333333330B4066666666666616403333333333331F40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY(single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8))', 4326))); 010700000001000000010200000002000000333333333333F33F3333333333330B4066666666666616403333333333331F40 |
Changes to test/sql_stmt_tests/wkb14.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101))", 4326))) 01EF0300000100000001EA03000002000000333333333333F33F3333333333330B40000000000000594066666666666616403333333333331F400000000000405940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101))', 4326))) 01EF0300000100000001EA03000002000000333333333333F33F3333333333330B40000000000000594066666666666616403333333333331F400000000000405940 |
Changes to test/sql_stmt_tests/wkb15.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13))", 4326))); 01D70700000100000001D207000002000000333333333333F33F3333333333330B40000000000000284066666666666616403333333333331F400000000000002A40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13))', 4326))); 01D70700000100000001D207000002000000333333333333F33F3333333333330B40000000000000284066666666666616403333333333331F400000000000002A40 |
Changes to test/sql_stmt_tests/wkb16.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13))", 4326))); 01BF0B00000100000001BA0B000002000000333333333333F33F3333333333330B400000000000005940000000000000284066666666666616403333333333331F4000000000004059400000000000002A40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13))', 4326))); 01BF0B00000100000001BA0B000002000000333333333333F33F3333333333330B400000000000005940000000000000284066666666666616403333333333331F4000000000004059400000000000002A40 |
Changes to test/sql_stmt_tests/wkb17.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8), LINESTRING(5 6, 7 8))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8), LINESTRING(5 6, 7 8))", 4326))); 010700000002000000010200000002000000333333333333F33F3333333333330B4066666666666616403333333333331F40010200000002000000000000000000144000000000000018400000000000001C400000000000002040 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8), LINESTRING(5 6, 7 8))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(LINESTRING(1.2 3.4, 5.6 7.8), LINESTRING(5 6, 7 8))', 4326))); 010700000002000000010200000002000000333333333333F33F3333333333330B4066666666666616403333333333331F40010200000002000000000000000000144000000000000018400000000000001C400000000000002040 |
Changes to test/sql_stmt_tests/wkb18.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101), LINESTRINGZ(5 6 110, 7 8 111))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101), LINESTRINGZ(5 6 110, 7 8 111))", 4326))); 01EF0300000200000001EA03000002000000333333333333F33F3333333333330B40000000000000594066666666666616403333333333331F40000000000040594001EA03000002000000000000000000144000000000000018400000000000805B400000000000001C4000000000000020400000000000C05B40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101), LINESTRINGZ(5 6 110, 7 8 111))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(LINESTRINGZ(1.2 3.4 100, 5.6 7.8 101), LINESTRINGZ(5 6 110, 7 8 111))', 4326))); 01EF0300000200000001EA03000002000000333333333333F33F3333333333330B40000000000000594066666666666616403333333333331F40000000000040594001EA03000002000000000000000000144000000000000018400000000000805B400000000000001C4000000000000020400000000000C05B40 |
Changes to test/sql_stmt_tests/wkb19.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13), LINESTRINGM(5 6 11, 7 8 12))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13), LINESTRINGM(5 6 11, 7 8 12))", 4326))); 01D70700000200000001D207000002000000333333333333F33F3333333333330B40000000000000284066666666666616403333333333331F400000000000002A4001D2070000020000000000000000001440000000000000184000000000000026400000000000001C4000000000000020400000000000002840 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13), LINESTRINGM(5 6 11, 7 8 12))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(LINESTRINGM(1.2 3.4 12, 5.6 7.8 13), LINESTRINGM(5 6 11, 7 8 12))', 4326))); 01D70700000200000001D207000002000000333333333333F33F3333333333330B40000000000000284066666666666616403333333333331F400000000000002A4001D2070000020000000000000000001440000000000000184000000000000026400000000000001C4000000000000020400000000000002840 |
Changes to test/sql_stmt_tests/wkb2.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XYZ (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOINTZ(1.2 3.4 100)", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOINTZ(1.2 3.4 100)", 4326))); 01EC0300000100000001E9030000333333333333F33F3333333333330B400000000000005940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XYZ (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOINTZ(1.2 3.4 100)', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOINTZ(1.2 3.4 100)', 4326))); 01EC0300000100000001E9030000333333333333F33F3333333333330B400000000000005940 |
Changes to test/sql_stmt_tests/wkb20.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13), LINESTRINGZM(5 6 110 11, 7 8 111 12))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13), LINESTRINGZM(5 6 110 11, 7 8 111 12))", 4326))); 01BF0B00000200000001BA0B000002000000333333333333F33F3333333333330B400000000000005940000000000000284066666666666616403333333333331F4000000000004059400000000000002A4001BA0B000002000000000000000000144000000000000018400000000000805B4000000000000026400000000000001C4000000000000020400000000000C05B400000000000002840 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (2 lines) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13), LINESTRINGZM(5 6 110 11, 7 8 111 12))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(LINESTRINGZM(1.2 3.4 100 12, 5.6 7.8 101 13), LINESTRINGZM(5 6 110 11, 7 8 111 12))', 4326))); 01BF0B00000200000001BA0B000002000000333333333333F33F3333333333330B400000000000005940000000000000284066666666666616403333333333331F4000000000004059400000000000002A4001BA0B000002000000000000000000144000000000000018400000000000805B4000000000000026400000000000001C4000000000000020400000000000C05B400000000000002840 |
Changes to test/sql_stmt_tests/wkb21.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))); 010700000001000000010300000001000000050000000000000000002440000000000000244000000000000026400000000000002440000000000000264000000000000026400000000000002440000000000000264000000000000024400000000000002440 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))); 010700000001000000010300000001000000050000000000000000002440000000000000244000000000000026400000000000002440000000000000264000000000000026400000000000002440000000000000264000000000000024400000000000002440 |
Changes to test/sql_stmt_tests/wkb22.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))", 4326))); 01EF0300000100000001EB0300000100000005000000000000000000244000000000000024400000000000005940000000000000264000000000000024400000000000405940000000000000264000000000000026400000000000805940000000000000244000000000000026400000000000C05940000000000000244000000000000024400000000000005940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))', 4326))); 01EF0300000100000001EB0300000100000005000000000000000000244000000000000024400000000000005940000000000000264000000000000024400000000000405940000000000000264000000000000026400000000000805940000000000000244000000000000026400000000000C05940000000000000244000000000000024400000000000005940 |
Changes to test/sql_stmt_tests/wkb23.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))", 4326))); 01BF0B00000100000001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))', 4326))); 01BF0B00000100000001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F |
Changes to test/sql_stmt_tests/wkb24.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))", 4326))); 01BF0B00000100000001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (single polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))', 4326))); 01BF0B00000100000001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F |
Changes to test/sql_stmt_tests/wkb25.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))", 4326))); 010700000002000000010300000001000000050000000000000000002440000000000000244000000000000026400000000000002440000000000000264000000000000026400000000000002440000000000000264000000000000024400000000000002440010300000001000000050000000000000000002E400000000000002E4000000000000030400000000000002E40000000000000304000000000000030400000000000002E4000000000000030400000000000002E400000000000002E40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)), POLYGON((15 15, 16 15, 16 16, 15 16, 15 15)))', 4326))); 010700000002000000010300000001000000050000000000000000002440000000000000244000000000000026400000000000002440000000000000264000000000000026400000000000002440000000000000264000000000000024400000000000002440010300000001000000050000000000000000002E400000000000002E4000000000000030400000000000002E40000000000000304000000000000030400000000000002E4000000000000030400000000000002E400000000000002E40 |
Changes to test/sql_stmt_tests/wkb26.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)), POLYGONZ((15 15 100, 16 15 101, 16 16 102, 15 16 103, 15 15 100)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)), POLYGONZ((15 15 100, 16 15 101, 16 16 102, 15 16 103, 15 15 100)))", 4326))); 01EF0300000200000001EB0300000100000005000000000000000000244000000000000024400000000000005940000000000000264000000000000024400000000000405940000000000000264000000000000026400000000000805940000000000000244000000000000026400000000000C0594000000000000024400000000000002440000000000000594001EB03000001000000050000000000000000002E400000000000002E40000000000000594000000000000030400000000000002E4000000000004059400000000000003040000000000000304000000000008059400000000000002E4000000000000030400000000000C059400000000000002E400000000000002E400000000000005940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)), POLYGONZ((15 15 100, 16 15 101, 16 16 102, 15 16 103, 15 15 100)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)), POLYGONZ((15 15 100, 16 15 101, 16 16 102, 15 16 103, 15 15 100)))', 4326))); 01EF0300000200000001EB0300000100000005000000000000000000244000000000000024400000000000005940000000000000264000000000000024400000000000405940000000000000264000000000000026400000000000805940000000000000244000000000000026400000000000C0594000000000000024400000000000002440000000000000594001EB03000001000000050000000000000000002E400000000000002E40000000000000594000000000000030400000000000002E4000000000004059400000000000003040000000000000304000000000008059400000000000002E4000000000000030400000000000C059400000000000002E400000000000002E400000000000005940 |
Changes to test/sql_stmt_tests/wkb27.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)), POLYGONM((15 15 1, 16 15 2, 16 16 3, 15 16 3, 15 15 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)), POLYGONM((15 15 1, 16 15 2, 16 16 3, 15 16 3, 15 15 1)))", 4326))); 01D70700000200000001D3070000010000000500000000000000000024400000000000002440000000000000F03F00000000000026400000000000002440000000000000004000000000000026400000000000002640000000000000084000000000000024400000000000002640000000000000084000000000000024400000000000002440000000000000F03F01D307000001000000050000000000000000002E400000000000002E40000000000000F03F00000000000030400000000000002E4000000000000000400000000000003040000000000000304000000000000008400000000000002E40000000000000304000000000000008400000000000002E400000000000002E40000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)), POLYGONM((15 15 1, 16 15 2, 16 16 3, 15 16 3, 15 15 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)), POLYGONM((15 15 1, 16 15 2, 16 16 3, 15 16 3, 15 15 1)))', 4326))); 01D70700000200000001D3070000010000000500000000000000000024400000000000002440000000000000F03F00000000000026400000000000002440000000000000004000000000000026400000000000002640000000000000084000000000000024400000000000002640000000000000084000000000000024400000000000002440000000000000F03F01D307000001000000050000000000000000002E400000000000002E40000000000000F03F00000000000030400000000000002E4000000000000000400000000000003040000000000000304000000000000008400000000000002E40000000000000304000000000000008400000000000002E400000000000002E40000000000000F03F |
Changes to test/sql_stmt_tests/wkb28.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)), POLYGONZM((15 15 100 1, 16 15 101 2, 16 16 102 3, 15 16 103 3, 15 15 100 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)), POLYGONZM((15 15 100 1, 16 15 101 2, 16 16 102 3, 15 16 103 3, 15 15 100 1)))", 4326))); 01BF0B00000200000001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F01BB0B000001000000050000000000000000002E400000000000002E400000000000005940000000000000F03F00000000000030400000000000002E400000000000405940000000000000004000000000000030400000000000003040000000000080594000000000000008400000000000002E4000000000000030400000000000C0594000000000000008400000000000002E400000000000002E400000000000005940000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (2 polygons) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)), POLYGONZM((15 15 100 1, 16 15 101 2, 16 16 102 3, 15 16 103 3, 15 15 100 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)), POLYGONZM((15 15 100 1, 16 15 101 2, 16 16 102 3, 15 16 103 3, 15 15 100 1)))', 4326))); 01BF0B00000200000001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F01BB0B000001000000050000000000000000002E400000000000002E400000000000005940000000000000F03F00000000000030400000000000002E400000000000405940000000000000004000000000000030400000000000003040000000000080594000000000000008400000000000002E4000000000000030400000000000C0594000000000000008400000000000002E400000000000002E400000000000005940000000000000F03F |
Changes to test/sql_stmt_tests/wkb29.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1 2), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))", 4326))); 0107000000020000000101000000000000000000F03F0000000000000040010300000001000000050000000000000000002440000000000000244000000000000026400000000000002440000000000000264000000000000026400000000000002440000000000000264000000000000024400000000000002440 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1 2), POLYGON((10 10, 11 10, 11 11, 10 11, 10 10)))', 4326))); 0107000000020000000101000000000000000000F03F0000000000000040010300000001000000050000000000000000002440000000000000244000000000000026400000000000002440000000000000264000000000000026400000000000002440000000000000264000000000000024400000000000002440 |
Changes to test/sql_stmt_tests/wkb3.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XYM (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOINTM(1.2 3.4 12)", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOINTM(1.2 3.4 12)", 4326))); 01D40700000100000001D1070000333333333333F33F3333333333330B400000000000002840 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XYM (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOINTM(1.2 3.4 12)', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOINTM(1.2 3.4 12)', 4326))); 01D40700000100000001D1070000333333333333F33F3333333333330B400000000000002840 |
Changes to test/sql_stmt_tests/wkb30.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))", 4326))); 01EF0300000200000001E9030000000000000000F03F0000000000000040000000000000594001EB0300000100000005000000000000000000244000000000000024400000000000005940000000000000264000000000000024400000000000405940000000000000264000000000000026400000000000805940000000000000244000000000000026400000000000C05940000000000000244000000000000024400000000000005940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1 2 100), POLYGONZ((10 10 100, 11 10 101, 11 11 102, 10 11 103, 10 10 100)))', 4326))); 01EF0300000200000001E9030000000000000000F03F0000000000000040000000000000594001EB0300000100000005000000000000000000244000000000000024400000000000005940000000000000264000000000000024400000000000405940000000000000264000000000000026400000000000805940000000000000244000000000000026400000000000C05940000000000000244000000000000024400000000000005940 |
Changes to test/sql_stmt_tests/wkb31.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 11), POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1 2 11), POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)))", 4326))); 01D70700000200000001D1070000000000000000F03F0000000000000040000000000000264001D3070000010000000500000000000000000024400000000000002440000000000000F03F00000000000026400000000000002440000000000000004000000000000026400000000000002640000000000000084000000000000024400000000000002640000000000000084000000000000024400000000000002440000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 11), POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1 2 11), POLYGONM((10 10 1, 11 10 2, 11 11 3, 10 11 3, 10 10 1)))', 4326))); 01D70700000200000001D1070000000000000000F03F0000000000000040000000000000264001D3070000010000000500000000000000000024400000000000002440000000000000F03F00000000000026400000000000002440000000000000004000000000000026400000000000002640000000000000084000000000000024400000000000002640000000000000084000000000000024400000000000002440000000000000F03F |
Changes to test/sql_stmt_tests/wkb32.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 11), POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 11), POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))", 4326))); 01BF0B00000200000001B90B0000000000000000F03F00000000000000400000000000005940000000000000264001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZM (point, polygon) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 11), POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1 2 100 11), POLYGONZM((10 10 100 1, 11 10 101 2, 11 11 102 3, 10 11 103 3, 10 10 100 1)))', 4326))); 01BF0B00000200000001B90B0000000000000000F03F00000000000000400000000000005940000000000000264001BB0B00000100000005000000000000000000244000000000000024400000000000005940000000000000F03F00000000000026400000000000002440000000000040594000000000000000400000000000002640000000000000264000000000008059400000000000000840000000000000244000000000000026400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F |
Changes to test/sql_stmt_tests/wkb33.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XY (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)))", 4326))); 01060000000100000001030000000200000005000000000000000000244000000000000024400000000000002E4000000000000024400000000000002E400000000000002E4000000000000024400000000000002E4000000000000024400000000000002440050000000000000000002640000000000000264000000000000028400000000000002640000000000000284000000000000028400000000000002640000000000000284000000000000026400000000000002640 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XY (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOLYGON(((10 10, 15 10, 15 15, 10 15, 10 10), (11 11, 12 11, 12 12, 11 12, 11 11)))', 4326))); 01060000000100000001030000000200000005000000000000000000244000000000000024400000000000002E4000000000000024400000000000002E400000000000002E4000000000000024400000000000002E4000000000000024400000000000002440050000000000000000002640000000000000264000000000000028400000000000002640000000000000284000000000000028400000000000002640000000000000284000000000000026400000000000002640 |
Changes to test/sql_stmt_tests/wkb34.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XYZ (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOLYGONZ(((10 10 100, 15 10 101, 15 15 102, 10 15 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOLYGONZ(((10 10 100, 15 10 101, 15 15 102, 10 15 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)))", 4326))); 01EE0300000100000001EB03000002000000050000000000000000002440000000000000244000000000000059400000000000002E40000000000000244000000000004059400000000000002E400000000000002E40000000000080594000000000000024400000000000002E400000000000C0594000000000000024400000000000002440000000000000594005000000000000000000264000000000000026400000000000005940000000000000284000000000000026400000000000405940000000000000284000000000000028400000000000805940000000000000264000000000000028400000000000C05940000000000000264000000000000026400000000000005940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XYZ (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOLYGONZ(((10 10 100, 15 10 101, 15 15 102, 10 15 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOLYGONZ(((10 10 100, 15 10 101, 15 15 102, 10 15 103, 10 10 100), (11 11 100, 12 11 101, 12 12 102, 11 12 103, 11 11 100)))', 4326))); 01EE0300000100000001EB03000002000000050000000000000000002440000000000000244000000000000059400000000000002E40000000000000244000000000004059400000000000002E400000000000002E40000000000080594000000000000024400000000000002E400000000000C0594000000000000024400000000000002440000000000000594005000000000000000000264000000000000026400000000000005940000000000000284000000000000026400000000000405940000000000000284000000000000028400000000000805940000000000000264000000000000028400000000000C05940000000000000264000000000000026400000000000005940 |
Changes to test/sql_stmt_tests/wkb35.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XYM (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOLYGONM(((10 10 1, 15 10 2, 15 15 3, 10 15 3, 10 10 1), (11 11 1, 12 11 2, 12 12 3, 11 12 3, 11 11 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOLYGONM(((10 10 1, 15 10 2, 15 15 3, 10 15 3, 10 10 1), (11 11 1, 12 11 2, 12 12 3, 11 12 3, 11 11 1)))", 4326))); 01D60700000100000001D3070000020000000500000000000000000024400000000000002440000000000000F03F0000000000002E40000000000000244000000000000000400000000000002E400000000000002E40000000000000084000000000000024400000000000002E40000000000000084000000000000024400000000000002440000000000000F03F0500000000000000000026400000000000002640000000000000F03F00000000000028400000000000002640000000000000004000000000000028400000000000002840000000000000084000000000000026400000000000002840000000000000084000000000000026400000000000002640000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XYM (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOLYGONM(((10 10 1, 15 10 2, 15 15 3, 10 15 3, 10 10 1), (11 11 1, 12 11 2, 12 12 3, 11 12 3, 11 11 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOLYGONM(((10 10 1, 15 10 2, 15 15 3, 10 15 3, 10 10 1), (11 11 1, 12 11 2, 12 12 3, 11 12 3, 11 11 1)))', 4326))); 01D60700000100000001D3070000020000000500000000000000000024400000000000002440000000000000F03F0000000000002E40000000000000244000000000000000400000000000002E400000000000002E40000000000000084000000000000024400000000000002E40000000000000084000000000000024400000000000002440000000000000F03F0500000000000000000026400000000000002640000000000000F03F00000000000028400000000000002640000000000000004000000000000028400000000000002840000000000000084000000000000026400000000000002840000000000000084000000000000026400000000000002640000000000000F03F |
Changes to test/sql_stmt_tests/wkb36.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XYZM (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOLYGONZM(((10 10 100 1, 15 10 101 2, 15 15 102 3, 10 15 103 3, 10 10 100 1), (11 11 100 1, 12 11 101 2, 12 12 102 3, 11 12 103 3, 11 11 100 1)))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOLYGONZM(((10 10 100 1, 15 10 101 2, 15 15 102 3, 10 15 103 3, 10 10 100 1), (11 11 100 1, 12 11 101 2, 12 12 102 3, 11 12 103 3, 11 11 100 1)))", 4326))); 01BE0B00000100000001BB0B00000200000005000000000000000000244000000000000024400000000000005940000000000000F03F0000000000002E400000000000002440000000000040594000000000000000400000000000002E400000000000002E400000000000805940000000000000084000000000000024400000000000002E400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F05000000000000000000264000000000000026400000000000005940000000000000F03F00000000000028400000000000002640000000000040594000000000000000400000000000002840000000000000284000000000008059400000000000000840000000000000264000000000000028400000000000C059400000000000000840000000000000264000000000000026400000000000005940000000000000F03F |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPolygon XYZM (single polygon with interior ring) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOLYGONZM(((10 10 100 1, 15 10 101 2, 15 15 102 3, 10 15 103 3, 10 10 100 1), (11 11 100 1, 12 11 101 2, 12 12 102 3, 11 12 103 3, 11 11 100 1)))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOLYGONZM(((10 10 100 1, 15 10 101 2, 15 15 102 3, 10 15 103 3, 10 10 100 1), (11 11 100 1, 12 11 101 2, 12 12 102 3, 11 12 103 3, 11 11 100 1)))', 4326))); 01BE0B00000100000001BB0B00000200000005000000000000000000244000000000000024400000000000005940000000000000F03F0000000000002E400000000000002440000000000040594000000000000000400000000000002E400000000000002E400000000000805940000000000000084000000000000024400000000000002E400000000000C059400000000000000840000000000000244000000000000024400000000000005940000000000000F03F05000000000000000000264000000000000026400000000000005940000000000000F03F00000000000028400000000000002640000000000040594000000000000000400000000000002840000000000000284000000000008059400000000000000840000000000000264000000000000028400000000000C059400000000000000840000000000000264000000000000026400000000000005940000000000000F03F |
Changes to test/sql_stmt_tests/wkb4.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XYZM (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTIPOINTZM(1.2 3.4 100 12)", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTIPOINTZM(1.2 3.4 100 12)", 4326))); 01BC0B00000100000001B90B0000333333333333F33F3333333333330B4000000000000059400000000000002840 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiPoint XYZM (single point) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTIPOINTZM(1.2 3.4 100 12)', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTIPOINTZM(1.2 3.4 100 12)', 4326))); 01BC0B00000100000001B90B0000333333333333F33F3333333333330B4000000000000059400000000000002840 |
Changes to test/sql_stmt_tests/wkb5.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1.2 3.4), POINT(5.6 7.8))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTION(POINT(1.2 3.4), POINT(5.6 7.8))", 4326))); 0107000000020000000101000000333333333333F33F3333333333330B40010100000066666666666616403333333333331F40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XY (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1.2 3.4), POINT(5.6 7.8))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTION(POINT(1.2 3.4), POINT(5.6 7.8))', 4326))); 0107000000020000000101000000333333333333F33F3333333333330B40010100000066666666666616403333333333331F40 |
Changes to test/sql_stmt_tests/wkb6.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1.2 3.4 100), POINTZ(5.6 7.8 101))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZ(POINTZ(1.2 3.4 100), POINTZ(5.6 7.8 101))", 4326))); 01EF0300000200000001E9030000333333333333F33F3333333333330B40000000000000594001E903000066666666666616403333333333331F400000000000405940 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYZ (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1.2 3.4 100), POINTZ(5.6 7.8 101))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZ(POINTZ(1.2 3.4 100), POINTZ(5.6 7.8 101))', 4326))); 01EF0300000200000001E9030000333333333333F33F3333333333330B40000000000000594001E903000066666666666616403333333333331F400000000000405940 |
Changes to test/sql_stmt_tests/wkb7.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1.2 3.4 12), POINTM(5.6 7.8 11))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONM(POINTM(1.2 3.4 12), POINTM(5.6 7.8 11))", 4326))); 01D70700000200000001D1070000333333333333F33F3333333333330B40000000000000284001D107000066666666666616403333333333331F400000000000002640 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryCollection XYM (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1.2 3.4 12), POINTM(5.6 7.8 11))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONM(POINTM(1.2 3.4 12), POINTM(5.6 7.8 11))', 4326))); 01D70700000200000001D1070000333333333333F33F3333333333330B40000000000000284001D107000066666666666616403333333333331F400000000000002640 |
Changes to test/sql_stmt_tests/wkb8.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: GeometryColelction XYZM (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1.2 3.4 100 12), POINTZM(5.6 7.8 101 11))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("GEOMETRYCOLLECTIONZM(POINTZM(1.2 3.4 100 12), POINTZM(5.6 7.8 101 11))", 4326))); 01BF0B00000200000001B90B0000333333333333F33F3333333333330B400000000000005940000000000000284001B90B000066666666666616403333333333331F4000000000004059400000000000002640 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: GeometryColelction XYZM (2 points) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1.2 3.4 100 12), POINTZM(5.6 7.8 101 11))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('GEOMETRYCOLLECTIONZM(POINTZM(1.2 3.4 100 12), POINTZM(5.6 7.8 101 11))', 4326))); 01BF0B00000200000001B90B0000333333333333F33F3333333333330B400000000000005940000000000000284001B90B000066666666666616403333333333331F4000000000004059400000000000002640 |
Changes to test/sql_stmt_tests/wkb9.testcase.
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XY (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText("MULTILINESTRING((1.2 3.4, 5.6 7.8))", 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText("MULTILINESTRING((1.2 3.4, 5.6 7.8))", 4326))); 010500000001000000010200000002000000333333333333F33F3333333333330B4066666666666616403333333333331F40 |
| | |
1 2 3 4 5 6 7 |
Hex Wkb: MultiLinestring XY (single line) :memory: #use in-memory database SELECT Hex(AsBinary(GeomFromText('MULTILINESTRING((1.2 3.4, 5.6 7.8))', 4326))); 1 # rows (not including the header row) 1 # columns Hex(AsBinary(GeomFromText('MULTILINESTRING((1.2 3.4, 5.6 7.8))', 4326))); 010500000001000000010200000002000000333333333333F33F3333333333330B4066666666666616403333333333331F40 |
Changes to test/sql_stmt_tests/wkbtosql1.testcase.
1 2 3 4 5 6 7 |
ST_WKBToSQL :memory: #use in-memory database SELECT AsText(ST_WKBToSQL(AsBinary(GeomFromText("Point(1 2)", 4326)))) 1 # rows (not including the header row) 1 # columns AsText(ST_WKBToSQL(AsBinary(GeomFromText("Point(1 2)", 4326)))) POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
ST_WKBToSQL :memory: #use in-memory database SELECT AsText(ST_WKBToSQL(AsBinary(GeomFromText('Point(1 2)', 4326)))) 1 # rows (not including the header row) 1 # columns AsText(ST_WKBToSQL(AsBinary(GeomFromText('Point(1 2)', 4326)))) POINT(1 2) |
Changes to test/sql_stmt_tests/wkttosql1.testcase.
1 2 3 4 5 6 7 |
ST_WKTToSQL :memory: #use in-memory database SELECT AsEWKT(ST_WKTToSQL("Point(1 2)")) 1 # rows (not including the header row) 1 # columns AsEWKT(ST_WKTToSQL("Point(1 2)")) SRID=0;POINT(1 2) |
| | |
1 2 3 4 5 6 7 |
ST_WKTToSQL :memory: #use in-memory database SELECT AsEWKT(ST_WKTToSQL('Point(1 2)')) 1 # rows (not including the header row) 1 # columns AsEWKT(ST_WKTToSQL('Point(1 2)')) SRID=0;POINT(1 2) |
Changes to test/sql_stmt_tests/wkttosql3.testcase.
1 2 3 4 5 6 7 |
ST_WKTToSQL - bad WKT :memory: #use in-memory database SELECT ST_WKTToSQL("Point(1 2 3)") 1 # rows (not including the header row) 1 # columns ST_WKTToSQL("Point(1 2 3)") (NULL) |
| | |
1 2 3 4 5 6 7 |
ST_WKTToSQL - bad WKT :memory: #use in-memory database SELECT ST_WKTToSQL('Point(1 2 3)') 1 # rows (not including the header row) 1 # columns ST_WKTToSQL('Point(1 2 3)') (NULL) |