public static String tickToString(StringBuilder clslbls,long timestamp,long location,long elevation,Object value){
  try {
    StringBuilder sb=new StringBuilder();
    sb.append(timestamp);
    sb.append("/");
    if (GeoTimeSerie.NO_LOCATION != location) {
      double[] latlon=GeoXPLib.fromGeoXPPoint(location);
      sb.append(latlon[0]);
      sb.append(":");
      sb.append(latlon[1]);
    }
    sb.append("/");
    if (GeoTimeSerie.NO_ELEVATION != elevation) {
      sb.append(elevation);
    }
    sb.append(" ");
    if (null != clslbls && clslbls.length() > 0) {
      sb.append(clslbls);
      sb.append(" ");
    }
    encodeValue(sb,value);
    return sb.toString();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
  return null;
}

public static String tickToString ( StringBuilder clslbls , long timestamp , long location , long elevation , Object value ) { try { StringBuilder sb = new StringBuilder ( ) ; sb . append ( timestamp ) ; sb . append ( "/" ) ; if ( GeoTimeSerie . NO_LOCATION != location ) { double [ ] latlon = GeoXPLib . fromGeoXPPoint ( location ) ; sb . append ( latlon [ 0 ] ) ; sb . append ( ":" ) ; sb . append ( latlon [ 1 ] ) ; } sb . append ( "/" ) ; if ( GeoTimeSerie . NO_ELEVATION != elevation ) { sb . append ( elevation ) ; } sb . append ( " " ) ; if ( null != clslbls && clslbls . length ( ) > 0 ) { sb . append ( clslbls ) ; sb . append ( " " ) ; } encodeValue ( sb , value ) ; return sb . toString ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } return null ; }
return a string representation of a gts measurement at ' tick '
