GeoTools
  1. GeoTools
  2. GEOT-3063

Remove DataStore.getView method

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7-M0
    • Component/s: main
    • Labels:
      None
    • Testcase included:
      yes

      Description

      DataStore.getView(Query) returns a SimpleFeatureSource. The javadocs are a bit vague on the purpose of this method. It doesn't seem to be used in GeoTools or GeoServer (aaime) although Jody says he makes some use of it in uDig to get read-only views.

      Suggest that it be dropped or deprecated in 2.7 (the patch removes it) and replaced by a DataUtilities method.

      This is an API change so there's a proposal for it at http://docs.codehaus.org/display/GEOTOOLS/Remove+DataStore+getView+method

      1. DataStore_getView_2.patch
        18 kB
        Michael Bedward
      2. DataStore_getView.patch
        17 kB
        Michael Bedward

        Activity

        Hide
        Michael Bedward added a comment -
        added WS_DataStore and ContentDataStore changes to patch
        Show
        Michael Bedward added a comment - added WS_DataStore and ContentDataStore changes to patch
        Hide
        Michael Bedward added a comment -
        committed to trunk r35372
        Show
        Michael Bedward added a comment - committed to trunk r35372

          People

          • Assignee:
            Michael Bedward
            Reporter:
            Michael Bedward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: