code: public static int getGeometryTypeFromGeometry(Geometry geometry) {
          Integer sfsGeomCode = GEOM_TYPE_TO_SFS_CODE.get(geometry.getGeometryType().toLowerCase());
          if(sfsGeomCode == null) {
              return GeometryTypeCodes.GEOMETRY;
          } else {
              return sfsGeomCode;
          }
      }
docs: Return the sfs geometry type identifier of the provided Geometry
  
  @param geometry Geometry instance
  
  @return The sfs geometry type identifier