[Git][debian-gis-team/postgis][upstream] New upstream version 2.5.0+dfsg
Bas Couwenberg
gitlab at salsa.debian.org
Mon Sep 24 07:15:25 BST 2018
Bas Couwenberg pushed to branch upstream at Debian GIS Project / postgis
Commits:
db11ce50 by Bas Couwenberg at 2018-09-24T05:22:18Z
New upstream version 2.5.0+dfsg
- - - - -
14 changed files:
- ChangeLog
- NEWS
- Version.config
- doc/postgis_comments.sql
- doc/reference_processing.xml
- doc/release_notes.xml
- extensions/upgradeable_versions.mk
- postgis/mvt.c
- postgis/postgis.sql.in
- postgis/sqldefines.h
- postgis_svn_revision.h
- raster/rt_pg/rtpg_inout.c
- regress/mvt.sql
- regress/mvt_expected
Changes:
=====================================
ChangeLog
=====================================
@@ -1,3 +1,34 @@
+2018-09-23 01:07 Regina Obe <lr at pcorp.us>
+
+ * [r16833] Prep for 2.5.0 release
+
+2018-09-22 13:06 Raúl Marín Rodríguez <rmrodriguez at carto.com>
+
+ * [r16832] St_AsMVTGeom: Avoid type changes due to validation
+
+ References #4181
+
+2018-09-21 13:20 Darafei Praliaskouski <me at komzpa.net>
+
+ * [r16827] ST_ChaikinSmoothing: also smooth start/end point of
+ polygon by default
+
+ Closes #4156
+ Closes https://github.com/postgis/postgis/pull/305
+
+2018-09-17 05:05 Regina Obe <lr at pcorp.us>
+
+ * [r16823] Flip version to 2.5.0rc3dev
+
+2018-09-17 03:01 Regina Obe <lr at pcorp.us>
+
+ * [r16821] Add upgrade path from 2.4.5
+
+2018-09-17 02:44 Regina Obe <lr at pcorp.us>
+
+ * [r16819] Fix parse errors in po files. Update ChangeLog in prep
+ for release
+
2018-09-16 23:58 Regina Obe <lr at pcorp.us>
* [r16816] Replace long tag with short-tag for xref ST_MemSize. Was
=====================================
NEWS
=====================================
@@ -1,60 +1,9 @@
-PostGIS 2.5.0rc2
-2018/09/16
-WARNING: If compiling with PostgreSQL+JIT, LLVM >= 6 is required
-
-New since PostGIS 2.5.0rc1
- - #4162, ST_DWithin documentation examples for storing geometry and
- radius in table (Darafei Praliaskouski, github user Boscop).
- - #4163, MVT: Fix resource leak when the first geometry is NULL (Raúl Marín)
- - #4172, Fix memory leak in lwgeom_offsetcurve (Raúl Marín)
- - #4164, Parse error on incorrectly nested GeoJSON input (Paul Ramsey)
- - #4176, ST_Intersects supports GEOMETRYCOLLECTION (Darafei Praliaskouski)
- - #4177, Postgres 12 disallows variable length arrays in C (Laurenz Albe)
- - #4160, Use qualified names in topology extension install (Raúl Marín)
- - #4180, installed liblwgeom includes sometimes getting used
- instead of source ones (Regina Obe)
-
-PostGIS 2.5.0rc1
-2018/08/19
-New since PostGIS 2.5.0beta2
- - #4146, Fix compilation error against Postgres 12 (Raúl Marín).
- - #4147, #4148, Honor SOURCE_DATE_EPOCH when present (Christoph Berg).
-
-PostGIS 2.5.0beta2
-2018/08/11
-New since PostGIS 2.5.0beta1
- - #4115, Fix a bug that created MVTs with incorrect property values under
- parallel plans (Raúl Marín).
- - #4120, ST_AsMVTGeom: Clip using tile coordinates (Raúl Marín).
- - #4132, ST_Intersection on Raster now works without throwing TopologyException
- (Vinícius A.B. Schmidt, Darafei Praliaskouski)
- - #4109, Fix WKT parser accepting and interpreting numbers with
- multiple dots (Raúl Marín, Paul Ramsey)
- - #4140, Use user-provided CFLAGS in address standardizer and the
- topology module (Raúl Marín)
- - #4143, Fix backend crash when ST_OffsetCurve fails (Dan Baston)
- - #4145, Speedup MVT column parsing (Raúl Marín)
-
- See PostGIS 2.5.0 section for full details
-
-
-PostGIS 2.5.0beta1
-2018/07/03
-New since PostGIS 2.5.0alpha
- - #1847, spgist 2d and 3d support for PG 11+
- (Esteban Zimányi and Arthur Lesuisse from Université Libre de Bruxelles (ULB),
- Darafei Praliaskouski)
-
- - Numerous packaging fixes
- See PostGIS 2.5.0 section for full details
-
-
-PostGIS 2.5.0alpha
-2018/05/28
-See PostGIS 2.5.0 section for details
-
PostGIS 2.5.0
-2018/xx/xx
+2018/09/23
+WARNING: If compiling with PostgreSQL+JIT, LLVM >= 6 is required
+Supported PostgreSQL versions for this release are:
+PostgreSQL 9.4 - PostgreSQL 12 (in development)
+GEOS >= 3.5
* New Features *
- #1847, spgist 2d and 3d support for PG 11+
@@ -82,8 +31,9 @@ PostGIS 2.5.0
- #3885, version number removed from address_standardize lib file
(Regina Obe)
- #3893, raster support functions can only be loaded in the same schema
- with core PostGIS functions.
+ with core PostGIS functions. (Sandro Santilli)
- #4035, remove dummy pgis_abs type from aggregate/collect routines.
+ (Paul Ramsey)
- #4069, drop support for GEOS < 3.5 and PostgreSQL < 9.4 (Regina Obe)
- #4082, ST_BandMetaData extended to include filesize, timestamp (Even Rouault)
@@ -132,6 +82,34 @@ PostGIS 2.5.0
- #4115, Fix a bug that created MVTs with incorrect property values under
parallel plans (Raúl Marín).
- #4120, ST_AsMVTGeom: Clip using tile coordinates (Raúl Marín).
+ - #4132, ST_Intersection on Raster now works without throwing TopologyException
+ (Vinícius A.B. Schmidt, Darafei Praliaskouski)
+ - #4177, #4180 Support for PostgreSQL 12 dev branch (Laurenz Albe, Raúl Marín)
+ - #4156, ST_ChaikinSmoothing: also smooth start/end point of
+ polygon by default (Darafei Praliaskouski)
+
+PostGIS 2.5.0rc2
+2018/09/16
+Refer to https://trac.osgeo.org/postgis/browser/tags/2.5.0rc2/NEWS
+
+PostGIS 2.5.0rc1
+2018/08/19
+Refer to https://trac.osgeo.org/postgis/browser/tags/2.5.0rc1/NEWS
+
+PostGIS 2.5.0beta2
+2018/08/11
+Refer to https://trac.osgeo.org/postgis/browser/tags/2.5.0beta2/NEWS
+
+
+PostGIS 2.5.0beta1
+2018/07/03
+Refer to https://trac.osgeo.org/postgis/browser/tags/2.5.0beta1/NEWS
+
+
+PostGIS 2.5.0alpha
+2018/05/28
+Refer to https://trac.osgeo.org/postgis/browser/tags/2.5.0alpha/NEWS
+
PostGIS 2.4.4
2018/04/08
=====================================
Version.config
=====================================
@@ -5,7 +5,7 @@
POSTGIS_MAJOR_VERSION=2
POSTGIS_MINOR_VERSION=5
-POSTGIS_MICRO_VERSION=0rc2
+POSTGIS_MICRO_VERSION=0
# Liblwgeom interface versioning, reset to 0:0:0 (cur:age:rev)
# when changing POSTGIS_MINOR_VERSION
=====================================
doc/postgis_comments.sql
=====================================
@@ -711,7 +711,7 @@ COMMENT ON FUNCTION ST_SimplifyPreserveTopology(geometry, float) IS 'args: geomA
COMMENT ON FUNCTION ST_SimplifyVW(geometry, float) IS 'args: geomA, tolerance - Returns a "simplified" version of the given geometry using the Visvalingam-Whyatt algorithm';
-COMMENT ON FUNCTION ST_ChaikinSmoothing(geometry, integer, boolean) IS 'args: geomA, nIterations, preserveEndPoints - Returns a "smoothed" version of the given geometry using the Chaikin algorithm';
+COMMENT ON FUNCTION ST_ChaikinSmoothing(geometry, integer, boolean) IS 'args: geom, nIterations = 1, preserveEndPoints = false - Returns a "smoothed" version of the given geometry using the Chaikin algorithm';
COMMENT ON FUNCTION ST_FilterByM(geometry, double precision, double precision, boolean) IS 'args: geom, min, max = null, returnM = false - Filters vertex points based on their m-value';
=====================================
doc/reference_processing.xml
=====================================
@@ -3158,9 +3158,9 @@ LINESTRING(5 2,7 25,10 10)
<funcsynopsis>
<funcprototype>
<funcdef>geometry <function>ST_ChaikinSmoothing</function></funcdef>
- <paramdef><type>geometry</type> <parameter>geomA</parameter></paramdef>
- <paramdef><type>integer</type> <parameter>nIterations</parameter></paramdef>
- <paramdef><type>boolean</type> <parameter>preserveEndPoints</parameter></paramdef>
+ <paramdef><type>geometry</type> <parameter>geom</parameter></paramdef>
+ <paramdef><type>integer</type> <parameter>nIterations = 1</parameter></paramdef>
+ <paramdef><type>boolean</type> <parameter>preserveEndPoints = false</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
@@ -3173,13 +3173,12 @@ LINESTRING(5 2,7 25,10 10)
The function puts new vertex points at 1/4 of the line before and after each point and removes the original point.
To reduce the number of points use one of the simplification functions on the result.
The new points gets interpolated values for all included dimensions, also z and m.</para>
-
+ <para>Second argument, number of iterations is limited to max 5 iterations</para>
+ <para>Note third argument is only valid for polygons, and will be ignored for linestrings</para>
+ <para>This function handles 3D and the third dimension will affect the result.</para>
<note><para>Note that returned geometry will get more points than the original.
To reduce the number of points again use one of the simplification functions on the result.
(see <xref linkend="ST_Simplify" /> and <xref linkend="ST_SimplifyVW" />)</para></note>
- <note><para>Second argument, number of iterations is limited to max 5 iterations</para></note>
- <note><para>Note third argument is only valid for polygons, and will be ignored for linestrings</para></note>
- <note><para>This function handles 3D and the third dimension will affect the result.</para></note>
<para>Availability: 2.5.0</para>
</refsection>
@@ -3187,14 +3186,13 @@ LINESTRING(5 2,7 25,10 10)
<title>Examples</title>
<para>A triangle is smoothed</para>
<programlisting>
-
select ST_AsText(ST_ChaikinSmoothing(geom)) smoothed
-FROM (SELECT 'LINESTRING(0 0, 8 8, 0 16)'::geometry geom) As foo;
--result
- smoothed
-------------------------------
-LINESTRING(0 0,6 6,6 10,0 16)
-
+FROM (SELECT 'POLYGON((0 0, 8 8, 0 16, 0 0))'::geometry geom) As foo;
+┌───────────────────────────────────────────┐
+│ smoothed │
+├───────────────────────────────────────────┤
+│ POLYGON((2 2,6 6,6 10,2 14,0 12,0 4,2 2)) │
+└───────────────────────────────────────────┘
</programlisting>
</refsection>
<refsection>
=====================================
doc/release_notes.xml
=====================================
@@ -3,8 +3,12 @@
<title>Appendix</title>
<subtitle>Release Notes</subtitle>
<sect1>
- <title>Release 2.5.0rc2</title>
- <para>Release date: 2018/09/16</para>
+ <title>Release 2.5.0</title>
+ <para>Release date: 2018/09/23</para>
+ <para>If compiling with PostgreSQL+JIT, LLVM >= 6 is required</para>
+ <para>Supported PostgreSQL versions for this release are:
+ PostgreSQL 9.4 - PostgreSQL 12 (in development)
+ GEOS >= 3.5</para>
<simplesect>
<title>New Features</title>
<para>#1847, spgist 2d and 3d support for PG 11+
@@ -30,62 +34,55 @@
<simplesect>
<title>Breaking Changes</title>
- <para>#4054, ST_SimplifyVW changed from > tolerance to >= tolerance</para>
- <para>#3885, version number removed from address_standardize lib file
- (Regina Obe)</para>
- <para>#3893, raster support functions can only be loaded in the same schema
- with core PostGIS functions.</para>
- <para>#4035, remove dummy pgis_abs type from aggregate/collect routines.</para>
- <para>#4069, drop support for GEOS < 3.5 and PostgreSQL < 9.4 (Regina Obe)</para>
- <para>#4082, ST_BandMetaData extended to include filesize, timestamp (Even Rouault)</para>
- </simplesect>
-
- <simplesect><title>Enhancements and Fixes</title>
+ <para>Upgrade scripts from multiple old versions are now all symlinks
+ to a single upgrade script (Sandro Santilli)</para>
<para>#3944, Update to EPSG register v9.2 (Even Rouault)</para>
<para>#3927, Parallel implementation of ST_AsMVT</para>
<para>#3925, Simplify geometry using map grid cell size before generating MVT</para>
<para>#3899, BTree sort order is now defined on collections of EMPTY and
- same-prefix geometries (Darafei Praliaskouski)</para>
+ same-prefix geometries (Darafei Praliaskouski)</para>
<para>#3864, Performance improvement for sorting POINT geometries
- (Darafei Praliaskouski)</para>
- <para>#3900, GCC warnings fixed, make -j is now working (Darafei Praliaskouski)</para>
- <para>TopoGeo_addLinestring robustness improvements (Sandro Santilli)
- #1855, #1946, #3718, #3838</para>
+ (Darafei Praliaskouski)</para>
+ <para>#3900, GCC warnings fixed, make -j is now working (Darafei Praliaskouski)
+ - TopoGeo_addLinestring robustness improvements (Sandro Santilli)
+ #1855, #1946, #3718, #3838</para>
<para>#3234, Do not accept EMPTY points as topology nodes (Sandro Santilli)</para>
<para>#1014, Hashable geometry, allowing direct use in CTE signatures (Paul Ramsey)</para>
<para>#3097, Really allow MULTILINESTRING blades in ST_Split() (Paul Ramsey)</para>
- <para>#3942, geojson: Do not include private header for json-c >= 0.13 (Björn Esser)</para>
+ <para>#3942, geojson: Do not include private header for json-c >= 0.13 (Björn Esser)</para>
<para>#3954, ST_GeometricMedian now supports point weights (Darafei Praliaskouski)</para>
- <para>#3965, ST_ClusterKMeans used to lose some clusters on initialization
- (Darafei Praliaskouski)</para>
- <para>#3971, ST_ClusterKMeans now uses better initial seed (Darafei Praliaskouski)</para>
- <para>#3977, ST_ClusterKMeans is now faster and simpler (Darafei Praliaskouski)</para>
+ <para>#3965, #3971, #3977, #4071 ST_ClusterKMeans rewritten: better initialization,
+ faster convergence, K=2 even faster (Darafei Praliaskouski)</para>
<para>#3982, ST_AsEncodedPolyline supports LINESTRING EMPTY and MULTIPOINT EMPTY
- (Darafei Praliaskouski)</para>
+ (Darafei Praliaskouski)</para>
<para>#3986, ST_AsText now has second argument to limit decimal digits
- (Marc Ducobu, Darafei Praliaskouski)</para>
+ (Marc Ducobu, Darafei Praliaskouski)</para>
<para>#4020, Casting from box3d to geometry now returns correctly connected
- PolyhedralSurface (Matthias Bay)</para>
+ PolyhedralSurface (Matthias Bay)</para>
<para>#2508, ST_OffsetCurve now works with collections (Darafei Praliaskouski)</para>
<para>#4006, ST_GeomFromGeoJSON support for json and jsonb as input
- (Paul Ramsey, Regina Obe)</para>
- <para>#4037, Invalid input geometry is fixed with MakeValid for GEOS exceptions in
- ST_Intersection, ST_Union, ST_Difference, ST_SymDifference (Darafei
- Praliaskouski)</para>
+ (Paul Ramsey, Regina Obe)</para>
<para>#4038, ST_Subdivide now selects pivot for geometry split that reuses input
- vertices. ST_ClipByBox2D is stubbed with ST_Intersection because of
- robustness issues. (Darafei Praliaskouski)</para>
+ vertices. (Darafei Praliaskouski)</para>
<para>#4025, #4032 Fixed precision issue in ST_ClosestPointOfApproach,
- ST_DistanceCPA, and ST_CPAWithin (Paul Ramsey, Darafei Praliaskouski)</para>
- <para>#4071, ST_ClusterKMeans crash on NULL/EMPTY fixed (Darafei Praliaskouski)</para>
+ ST_DistanceCPA, and ST_CPAWithin (Paul Ramsey, Darafei Praliaskouski)</para>
<para>#4076, Reduce use of GEOS in topology implementation (Björn Harrtell)</para>
- <para>#4080, Add external raster band index to ST_BandMetaData</para>
- <para>Add Raster Tips section to Documentation for information about
- Raster behavior (e.g. Out-DB performance, maximum open files)</para>
+ <para>#4080, Add external raster band index to ST_BandMetaData
+ - Add Raster Tips section to Documentation for information about
+ Raster behavior (e.g. Out-DB performance, maximum open files)</para>
<para>#4084: Fixed wrong code-comment regarding front/back of BOX3D (Matthias Bay)</para>
<para>#4060, #4094, PostgreSQL JIT support (Raúl Marín, Laurenz Albe)</para>
+ <para>#3960, ST_Centroid now uses lwgeom_centroid (Darafei Praliaskouski)</para>
+ <para>#4027, Remove duplicated code in lwgeom_geos (Darafei Praliaskouski,
+ Daniel Baston)</para>
+ <para>#4115, Fix a bug that created MVTs with incorrect property values under
+ parallel plans (Raúl Marín).</para>
<para>#4120, ST_AsMVTGeom: Clip using tile coordinates (Raúl Marín).</para>
- <para>#4145, Speedup MVT column parsing (Raúl Marín)</para>
+ <para>#4132, ST_Intersection on Raster now works without throwing TopologyException
+ (Vinícius A.B. Schmidt, Darafei Praliaskouski)</para>
+ <para>#4177, #4180 Support for PostgreSQL 12 dev branch (Laurenz Albe, Raúl Marín)</para>
+ <para>#4156, ST_ChaikinSmoothing: also smooth start/end point of
+ polygon by default (Darafei Praliaskouski)</para>
</simplesect>
</sect1>
=====================================
extensions/upgradeable_versions.mk
=====================================
@@ -39,5 +39,4 @@ UPGRADEABLE_VERSIONS = \
2.4.3 \
2.4.4 \
2.4.5 \
- 2.5.0beta2 \
- 2.5.0rc1
+ 2.5.0rc2
=====================================
postgis/mvt.c
=====================================
@@ -849,14 +849,24 @@ LWGEOM *mvt_geom(LWGEOM *lwgeom, const GBOX *gbox, uint32_t extent, uint32_t buf
if (lwgeom == NULL || lwgeom_is_empty(lwgeom))
return NULL;
- /* if polygon(s) make valid and force clockwise as per MVT spec */
+
if (lwgeom->type == POLYGONTYPE ||
lwgeom->type == MULTIPOLYGONTYPE ||
lwgeom->type == COLLECTIONTYPE)
{
+ /* Force validation as per MVT spec */
lwgeom = lwgeom_make_valid(lwgeom);
- /* In image coordinates CW actually comes out a CCW, so */
- /* we also reverse. ¯\_(ツ)_/¯ */
+
+ /* Drop type changes tp play nice with MVT renderers */
+ if (!(lwgeom->type == POLYGONTYPE ||
+ lwgeom->type == MULTIPOLYGONTYPE ||
+ lwgeom->type == COLLECTIONTYPE))
+ {
+ lwgeom_free(lwgeom);
+ return NULL;
+ }
+
+ /* In image coordinates CW actually comes out a CCW, so we reverse */
lwgeom_force_clockwise(lwgeom);
lwgeom_reverse_in_place(lwgeom);
}
=====================================
postgis/postgis.sql.in
=====================================
@@ -3156,7 +3156,7 @@ CREATE OR REPLACE FUNCTION ST_FilterByM(geometry, double precision, double preci
COST 1; -- reset cost, see #3675
-- Availability: 2.5.0
-CREATE OR REPLACE FUNCTION ST_ChaikinSmoothing(geometry, integer default 1, boolean default true)
+CREATE OR REPLACE FUNCTION ST_ChaikinSmoothing(geometry, integer default 1, boolean default false)
RETURNS geometry
AS 'MODULE_PATHNAME', 'LWGEOM_ChaikinSmoothing'
LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL
=====================================
postgis/sqldefines.h
=====================================
@@ -8,8 +8,8 @@
*/
#define POSTGIS_PGSQL_VERSION 96
#define POSTGIS_GEOS_VERSION 36
-#define POSTGIS_PROJ_VERSION 51
-#define POSTGIS_LIB_VERSION '2.5.0rc2'
+#define POSTGIS_PROJ_VERSION 52
+#define POSTGIS_LIB_VERSION '2.5.0'
#define POSTGIS_LIBXML2_VERSION 2.9.4
#define POSTGIS_SFCGAL_VERSION 13
@@ -25,13 +25,13 @@
* won't substitute within apostrophes)
*/
#define _POSTGIS_SQL_SELECT_POSTGIS_VERSION 'SELECT ''2.5 USE_GEOS=1 USE_PROJ=1 USE_STATS=1''::text AS version'
-#define _POSTGIS_SQL_SELECT_POSTGIS_BUILD_DATE 'SELECT ''2018-09-17 03:14:40''::text AS version'
+#define _POSTGIS_SQL_SELECT_POSTGIS_BUILD_DATE 'SELECT ''2018-09-23 20:12:17''::text AS version'
#define _POSTGIS_SQL_SELECT_POSTGIS_PGSQL_VERSION 'SELECT ''96''::text AS version'
#ifdef POSTGIS_SVN_REVISION
-#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.5.0rc2'::text || ' r' || POSTGIS_SVN_REVISION::text AS version $$
+#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.5.0'::text || ' r' || POSTGIS_SVN_REVISION::text AS version $$
#else
-#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.5.0rc2'::text AS version $$
+#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '2.5.0'::text AS version $$
#endif
#define SRID_USR_MAX 998999
=====================================
postgis_svn_revision.h
=====================================
@@ -1 +1 @@
-#define POSTGIS_SVN_REVISION 16822
+#define POSTGIS_SVN_REVISION 16836
=====================================
raster/rt_pg/rtpg_inout.c
=====================================
@@ -37,8 +37,23 @@ Datum RASTER_out(PG_FUNCTION_ARGS);
Datum RASTER_to_bytea(PG_FUNCTION_ARGS);
+/** obsolete as of 2.5.0 stubbing for smoother upgrade from 2.4 **/
+Datum RASTER_to_binary(PG_FUNCTION_ARGS);
+
Datum RASTER_noop(PG_FUNCTION_ARGS);
+/**
+ * Legacy return error if called
+ * Removed in PostGIS 2.5.0
+ */
+PG_FUNCTION_INFO_V1(RASTER_to_binary);
+Datum RASTER_to_binary(PG_FUNCTION_ARGS)
+{
+
+ elog(ERROR, "RASTER_to_binary: This function is out of date. Run ALTER EXTENSION postgis UPDATE; to fix");
+
+}
+
/**
* Input is Hex WKB
* Used as the input function of the raster type
=====================================
regress/mvt.sql
=====================================
@@ -257,6 +257,14 @@ SELECT 'PG43 - OFF', ST_AsText(ST_AsMVTGeom(
ST_MakeBox2D(ST_Point(0, 0), ST_Point(100, 100)),
10, 0, false));
+-- Geometry type change
+SELECT 'PG44', ST_AsEWKT(ST_AsMVTGeom(
+ 'SRID=3857;MULTIPOLYGON(((-8238038.43842083 4974073.00356281,-8238058.59985694 4974035.91194892,-8238046.74211362 4974077.68076013,-8238038.43842083 4974073.00356281)))'::geometry,
+ 'SRID=3857;POLYGON((-8242969.13027341 4975133.29702555,-8242969.13027341 4970241.3272153,-8238077.16046316 4970241.3272153,-8238077.16046316 4975133.29702555,-8242969.13027341 4975133.29702555))'::geometry,
+ 4096,
+ 16,
+ true));
+
-- geometry encoding tests
SELECT 'TG1', encode(ST_AsMVT(q, 'test', 4096, 'geom'), 'base64') FROM (SELECT 1 AS c1,
ST_AsMVTGeom(ST_GeomFromText('POINT(25 17)'),
=====================================
regress/mvt_expected
=====================================
@@ -46,6 +46,7 @@ PG42 - ON |LINESTRING(0 10,0 0,1 0)
PG42 - OFF|LINESTRING(0 10,0 0,1 0)
PG43 - ON |MULTIPOLYGON(((5 5,0 0,10 0,5 5)),((0 10,5 5,10 10,0 10)))
PG43 - OFF|MULTIPOLYGON(((5 5,-1 -1,11 -1,5 5)),((5 5,11 11,-1 11,5 5)))
+PG44|
TG1|GiEKBHRlc3QSDBICAAAYASIECTLePxoCYzEiAigBKIAgeAI=
TG2|GiMKBHRlc3QSDhICAAAYASIGETLePwIBGgJjMSICKAEogCB4Ag==
TG3|GiYKBHRlc3QSERICAAAYAiIJCQCAQArQD88PGgJjMSICKAEogCB4Ag==
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/commit/db11ce50616f6e19e237cee194e8b9ac52921314
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/commit/db11ce50616f6e19e237cee194e8b9ac52921314
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180924/171e3e9c/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list