GeoTools
  1. GeoTools
  2. GEOT-3212

WrappingPojectionHandler border behavior

    Details

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

      Description

      The WrappingProjectionHandler postProcess method, checks if the viewing area might contain the geometry multiple times.

      Actually I have a use case with an Oracle layer where this check fails

      min < renderingEnvelope.getMaxX()

      i.e. the west-most location inside the current rendering envelope is always greater thant the renderingEnvelope max-X thus causing the while cycle below

      while (min < renderingEnvelope.getMaxX())

      { ... }

      passing over leaving the geomType null and causing an NPE when checking for geomType binding type.

      1. gt-render.diff
        0.7 kB
        Alessio Fabiani

        Activity

        Hide
        Alessio Fabiani added a comment -
        The check fails when min is equal to renderingEnvelope.getMaxX()
        Show
        Alessio Fabiani added a comment - The check fails when min is equal to renderingEnvelope.getMaxX()
        Hide
        Andrea Aime added a comment -
        Fixed on 2.6.x and trunk
        Show
        Andrea Aime added a comment - Fixed on 2.6.x and trunk
        Hide
        Andrea Aime added a comment -
        Mass closing all issues in resolved state that have not been reopened nor commented over in the last month
        Show
        Andrea Aime added a comment - Mass closing all issues in resolved state that have not been reopened nor commented over in the last month

          People

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

            Dates

            • Created:
              Updated:
              Resolved: