[postgis-tickets] [PostGIS] #4792: ST_Transform crashes server (windows)
PostGIS
trac at osgeo.org
Mon Nov 16 11:06:01 PST 2020
#4792: ST_Transform crashes server (windows)
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 3.1.0
Component: postgis | Version: master
Resolution: | Keywords:
----------------------+---------------------------
Comment (by pramsey):
I cannot replicate. If I strip away all the contents of
/usr/local/share/proj, I get this error
{{{
SELECT ST_Astext(
ST_Transform(
ST_SetSRID(geometry('POINT(-100 40 100)'),7406),
5500));
ERROR: proj_crs_is_swapped: proj_crs_get_coordinate_system returned NULL
}}}
but that's because I stripped away the EPSG database as well as all the
grid files. If I return just the proj.db, I get a result, no sadness.
{{{
SELECT ST_Astext(
ST_Transform(
ST_SetSRID(geometry('POINT(-100 40 100)'),7406),
5500));
st_astext
--------------------------------------------------------------------
POINT Z (-100.00041762022582 40.00000948365177 30.480060960121918)
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4792#comment:2>
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