[postgis-tickets] [PostGIS] #4350: MultiLinestring with gap returned as ST_OffsetCurve for simple linestring
PostGIS
trac at osgeo.org
Mon Mar 18 07:28:25 PDT 2019
#4350: MultiLinestring with gap returned as ST_OffsetCurve for simple linestring
----------------------------+--------------------------
Reporter: rouen | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS GEOS
Component: postgis | Version: 2.3.x
Keywords: ST_OffsetCurve |
----------------------------+--------------------------
I have simple linestring in srid 4326. Transforming it to srid 3857 and
calling ST_OffsetCurve with distance -1 (meter) returns multilinestring
with gap in the middle.
WITH sample AS (
SELECT ST_SetSRID(ST_GeomFromText('LINESTRING(18.9410244
48.4221217,18.9411421 48.4221211,18.9413075 48.4221223,18.9413848
48.4221223,18.9415133 48.4221223)'),4326) AS geom
)
SELECT ST_AsText(geom),
ST_AsText(ST_Transform(ST_OffsetCurve(ST_Transform(geom,3857), -1),4326))
FROM sample
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4350>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list