Examples of GfrFldAbs


Examples of org.geoforge.sql.field.GfrFldAbs

   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());
      }
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.