GeoTools
  1. GeoTools
  2. GEOT-2744

DefaultCoordinateSystemAxis nameMatchesXY bug prevents successful comparison between X/Y and Easting/Northing

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.8, 2.6-M3
    • Component/s: None
    • Labels:
      None

      Description

      The code:

      xy = xy.trim();
              if (xy.length() == 0) {
                  // try match
              }
      

      should read:

      xy = xy.trim();
              if (xy.length() == 1) {
                  // try match
              }
      

        Activity

        Hide
        Andrea Aime added a comment -
        Fixed on trunk
        Show
        Andrea Aime added a comment - Fixed on trunk

          People

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

            Dates

            • Created:
              Updated:
              Resolved: