[postgis-tickets] [PostGIS] #4669: ST_GeomFromGeoJSON can't create 4d geomtries
PostGIS
trac at osgeo.org
Tue Apr 21 01:50:37 PDT 2020
#4669: ST_GeomFromGeoJSON can't create 4d geomtries
---------------------+---------------------
Reporter: fredj | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 2.5.x
Keywords: |
---------------------+---------------------
ST_GeomFromGeoJSON can create 2 and 3d geometries but not 4d:
{{{
SELECT
ST_AsText(ST_GeomFromGeoJSON('{"type":"LineString","coordinates":[[100,
200, 3, 4], [500, 600, 7, 8]]}'));
st_astext
------------------------------------
LINESTRING Z (100 200 3,500 600 7)
(1 row)
}}}
In this case, I'm expecting to have
{{{
st_astext
-----------------------------------------
LINESTRING ZM (100 200 3 4,500 600 7 8)
(1 row)
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4669>
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