GeometricAttributeType.toString

Description

I have a problem with a shape file that does not render (anymore). It
took me hours to figure out that the geometric attribute in one shape
file has a non-null coordinate system, and that the geometric attribute
in the other shape file is null.

Why did this take so long? When logging the schema of the shape files,
the type of the geometric attribute is written like
"DefaultAttributeType [name=the_geom, type=class com.vivid... ...
max=1]". I could not figure out where then the coordinate system comes
from. It turns out, that the type of the geometric attribute is not a
DefaultAttributeType, but a GeometricAttributeType, a subclass. Which
has a coordinate system. But not a toString method, that is why it says
it is a DefaultAttributeType.

What about adding a toString method to GeometricAttributeType?

Thanks, Arjan.

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Priority

Lowest
Configure