static String determineFieldCreation(GfrSqlTblAbs tbl,
int fieldIndex)
throws Exception
{
GfrFldAbs fldType = (GfrFldAbs) tbl.get(fieldIndex);
if (fldType instanceof FldOgcPoint)
{
//int size = tbl.getFieldSize(fieldIndex);
String str = "GeomFromText('" + "POINT" + "(1.01 2.02)', 4326)";
return ((GfrFldAbs) tbl.get(fieldIndex)).getName() + DicSql86.STR_SPACE + DicOgc.STR_GEOMETRY + DicSql86.STR_SPACE;
//return "g GEOMETRY";
}
else
{
throw new Exception(
"NotSupportedFieldTypeException :" + fldType.getClass());
}
}