Uploaded image for project: 'Hibernate ORM'
  1. HHH-10987

Cannot save JTS geometry with SRID 3857 into SRID 3857 column

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0, 5.0.9, 5.2.1
    • Fix Version/s: 5.0.10, 5.2.2, 5.1.1
    • Component/s: hibernate-spatial
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Create a Postgres table with geometry(point, 3857) column, then try to persist a JTS Point into it with 3857 SRID. You will get an error saying that SRID 3785 geometry cannot be saved into a SRID 3857 column, due to this GeoLatte bug:
      https://github.com/GeoLatte/geolatte-geom/issues/41

      Please update to GeoLatte 1.0.3 that fixes this bug. 3857 is a pretty widely used geom and this is preventing me from upgrading to Hibernate 5.0+...

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: