Uploaded image for project: 'GeoTools'
  1. GeoTools
  2. GEOT-5453

JDBCDataStore fails to update and delete features with a compound CRS in geometries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.4, 15.1
    • Component/s: jdbc
    • Labels:
      None

      Description

      The code results in class cast exception, e.g.:

      Caused by: org.opengis.geometry.MismatchedDimensionException: Argument "Amersfoort / RD New + NAP height" has 3 dimensions, while 2 was expected.
      	at org.geotools.geometry.jts.ReferencedEnvelope.checkCoordinateReferenceSystemDimension(ReferencedEnvelope.java:300)
      	at org.geotools.geometry.jts.ReferencedEnvelope.<init>(ReferencedEnvelope.java:158)
      	at org.geotools.jdbc.JDBCFeatureStore.removeFeatures(JDBCFeatureStore.java:429)
      

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime [Administrator]
              Reporter:
              aaime Andrea Aime [Administrator]
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: