Details
Description
The attached shapefile was seen to generate exceptions when trying to render with a StreamingRenderer. The problem is caused by a specific feature, that fails with a ClassCastException when trying to cast from a CoordinateArraySequence to a LiteCoordinateSequence (in LiteShape2's constructor). Debugging indicates that the referred feature's geometry had a declared LiteCoordinateSequenceFactory, but deep inside the shell of its MultiPolygon's polygon was actually a CoordinateArraySequence.
The strangest thing here is that:
- no such errors arise when using ShapefileRenderer with the referred shapefile
- no such errors arise when using StreamingRenderer with other shapefiles
Attachments include:
- the shapefile that causes the errors
- a simple Java program that renders output to a JPanel (used for testing)
Issue Links
- is depended upon by
-
UDIG-1615
Create Polygon Tool Validation Broken
-