GeoTools
  1. GeoTools
  2. GEOT-4440

InfoTool display WKT for geometry attributes

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Component/s: swing
    • Labels:
      None
    • Testcase included:
      yes

      Description

      It seems that the FeatureLayerHelper used by the InfoTool to display information about features could provide information of a geometry in form of its WKT string value rather than just listing its type.

      Currently what the InfoTool reports for a Geometry attribute is:

      Pos x=-177.6643 y=144.6747
      points
          fid-62f5bba6_13dd745ee49_-7ffc
          geom: point
         
      points
      

      It seems useful that it instead put out something like the following:

      Pos x=-177.6643 y=144.6747
      points
          fid-62f5bba6_13dd745ee49_-7ffc
          geom: POINT (-177.66429899135449 146.7491757925072)
         
      points
      

      A safe and simple patch to do this is attached for the dev team's consideration.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Farrukh Najmi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: