#4670 closed defect (fixed)
St_AddPoint always adds the new point in position 0 for each position provided apart for -1 or leaving it out
Reported by: | pizzuga | Owned by: | Algunenano |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.5.5 |
Component: | postgis | Version: | 2.5.x -- EOL |
Keywords: | Cc: |
Description
In my Debian 9.12 (both postgres 11 and 12 are running on the same machine and both affected by the bug) with postgis_full_version as:
POSTGIS="3.0.1 ec2a9aa" [EXTENSION] PGSQL="120" GEOS="3.7.1-CAPI-1.11.1 27a5e771" PROJ="Rel. 4.9.3, 15 August 2016" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" WAGYU="0.4.3 (Internal)"
and
POSTGIS="2.5.4" [EXTENSION] PGSQL="110" GEOS="3.7.1-CAPI-1.11.1 27a5e771" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.1.2, released 2016/10/24" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" (core procs from "2.5.2 r17328" need upgrade) RASTER (raster procs from "2.5.2 r17328" need upgrade)
St_AddPoint adds the new point always as start point for each value inside the possible valid range. -1 or leaving it out works like expected, maybe due to the correction in #4599.
Attached an example to reproduce the bug.
Attachments (1)
Change History (6)
by , 5 years ago
Attachment: | St_AddPoint.sql added |
---|
comment:1 by , 5 years ago
Milestone: | → PostGIS 2.5.5 |
---|---|
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.
Simpler repro: