GeoTools
  1. GeoTools
  2. GEOT-1044

Oracle sql encoder assumes 0 as lack of SRID, but it may not be so

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.3.M0, 2.3.0, 2.4-M0
    • Fix Version/s: 2.7-M0
    • Component/s: jdbc-oracle plugin
    • Labels:
      None

      Description

      Some users may have to use 0 in Oracle data store in order to handle ArcGIS issues with unknown SRID.
      The SQLEncoderOracle should use a nullable object for the SRID, in order to be able and distinguish the two
      cases during geometry encoding, and encode the srid as null only when it's really null

        Issue Links

          Activity

          Hide
          Andrea Aime added a comment -
          This is a case where SRID as 0 seems to be needed
          Show
          Andrea Aime added a comment - This is a case where SRID as 0 seems to be needed
          Hide
          Andrea Aime added a comment -
          JDBC-NG uses -1 to represent lack of srs
          Show
          Andrea Aime added a comment - JDBC-NG uses -1 to represent lack of srs
          Hide
          Andrea Aime added a comment -
          Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update
          Show
          Andrea Aime added a comment - Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

            People

            • Assignee:
              Andrea Aime
              Reporter:
              Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: