[Geoserver-devel] [JIRA] (GEOS-8090) DXF extension: Invalid output on empty feature collection

Andreas W created an issue

GeoServer / BugGEOS-8090

DXF extension: Invalid output on empty feature collection

Issue Type:

BugBug

Affects Versions:

2.11.0

Assignee:

Unassigned

Components:

Main

Created:

13/Apr/17 5:03 PM

Priority:

MediumMedium

Reporter:

Andreas W

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.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.892.2#100040-sha1:0bee0d5)

Atlassian logo