Uploaded image for project: 'GeoServer'
  1. GEOS-8090

DXF extension: Invalid output on empty feature collection

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.11.0
    • Fix Version/s: 2.10.4, 2.11.1
    • Component/s: DXF
    • Labels:
      None

      Description

      The DXF extension creates an invalid DXF if the input feature collection is empty.
      The might be due to a bbox comprising no features.

      Reason:
      An geometric envelop is calculated, but the envelop is null internally. The calculation of the aspect ration fails (division by zero) and a none valid aspect ratio is written to the DXF.
      The DXF is broken then.

      BTW: There is no component "DXF" to choose, so I selected "Main". Maybe anyone can correct this.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              awaterme Andreas W
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: