[Mobilitydb-users] transform() and LCC

Wendell Turner WTurner at cssiinc.com
Wed May 29 06:44:33 PDT 2024


Hello,

I'm having trouble using transform() to convert to Lambert Conformal Conic.  The response is:

  ERROR: Transform: Could not form projection from 'srid=4326' to 'srid=102004' (SQLSTATE XX000)"

The PostGIS installation populates the spatial_ref_sys table with many projections, including LCC:

    # select auth_name, auth_srid from spatial_ref_sys where srid=102004;
     auth_name | auth_srid
    -----------+-----------
     ESRI      |    102004

I see in  meos/src/point/type_srid.c there is:

  len = snprintf(srid_to_str, MAX_EPSG_STR, "EPSG:%d", srid_to);

Does this mean that there an issue with non-EPSG projection codes?

Thank you,
Wendell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mobilitydb-users/attachments/20240529/a780f164/attachment.htm>


More information about the Mobilitydb-users mailing list