String attName = ati.getName();
attributes[count] = ft.getAttributeType(attName);
if (attributes[count].isGeometry()) //DJB: added this to set SRS
{
GeometricAttributeType old = (GeometricAttributeType) attributes[count];
try {
attributes[count] = new GeometricAttributeType(old,getSRS(SRS)) ;
}
catch (Exception e)
{
e.printStackTrace(); //DJB: this is okay to ignore since (a) it should never happen (b) we'll use the default one (crs=null)
}