Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2149

Simplify Spatial LatLng and LLRect classes

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1
    • None
    • modules/spatial
    • None
    • New

    Description

      Currently in the contrib there is FloatLatLng, and FixedLatLng, which both extend LatLng. The reason for this separation is not clear and is not needed in the current functionality. The functionality that is used can be collapsed into LatLng, which can be made a concrete class. Internally LatLng can benefit from the improvements suggested in LUCENE-1934.

      LLRect, which uses LatLng, can also be simplified by removing the unused functionality, and using the new LatLng class.

      All classes can be improved through documentation, some method renaming, and general code tidy up.

      Attachments

        1. LUCENE-2149.patch
          29 kB
          Chris Male

        Issue Links

          Activity

            People

              cmale Chris Male
              cmale Chris Male
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: